2012-08-23, 15:43
@LehighBri, I pm'd aaronb about creating folders per show. This is his reply:
Perhaps this will be of some help in getting the program list a bit more organized. I think this plugin has a lot of promise but I can't see scrolling through a ton of episodes to find the right one.
Quote:To create a folder for each show you can use the commented out lines in the add-on as an example and modify them for your needs. For example, using this one:
#addDir('Sports',strUrl + '/sage/Search?searchType=TVFiles&Categories=Sports+event&SearchString=&xml=yes',2,'sports.jpg')
change the first argument Sports to whichever name you want for the folder, and then for the url string inside the quotes (starting with /sage/Search and ending with xml=yes) go to the web interface for SageTV and search for the that show, and copy the resulting url starting with /sage. The last argument, sports.jpg, you can put any image you want for the folder in the add-on directory under /resources/media and then put the filename as that argument. That step is optional, you don't have to have a picture, it's just one of the few customizations I was able to figure out how to do.
Adding these folders is pretty manual right now, this was my first add-on, as I get better with Python I'm hoping to figure out how to parse the entire show list and create the folders dynamically.
Perhaps this will be of some help in getting the program list a bit more organized. I think this plugin has a lot of promise but I can't see scrolling through a ton of episodes to find the right one.