Jump to content

Theme Development process


Recommended Posts

TimFromFL
Posted

I am not sure if this is the right subforum for this but it seemed (to me anyway) to be more appropriate than the theme and plugin forum. But I am starting to develop a theme for Emby Theater. I have my environment setup as per the instructions on the blog post but I had a couple of questions about the development workflow.

  1. Every time I update the code, does that require me to remove and re-add the plugin? So far to get changes to take effect I've had to uninstall the plugin each time. It seems that the theme is cached somewhere on the server when installed, is this correct? If there is a better way to update the theme while I am developing please let me know.
  2. My background is in .Net programming but from what I have gathered, I am using Node.JS for the theme interface, is there a reference that I should be using to expose info that isn't exposed by default in the js files? So far I have been looking for elements in other pages, locating the code and the trying to replicate.

Any information you can provide will be greatly appreciated. If there are any other pointers that you might think would be useful for someone trying to start out theming emby please pass it along also.

 

Tim

 

Posted

Hi @@TimFromFL, no, just restart the app. Hopefully you are using the chrome browser for development, in which case you can just refresh the page. Does that help?

 

For your second question I don't quite understand what you're asking?

TimFromFL
Posted

Hi @@TimFromFL, no, just restart the app. Hopefully you are using the chrome browser for development, in which case you can just refresh the page. Does that help?

 

For your second question I don't quite understand what you're asking?

I've been using firefox, but I will switch to using chrome to make things easier

I was just asking if there were any references that might be of interest for theme development. I don't have any specific issue currently based on where my theme is in development, but I was just trying to prepare for future enhancements.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...