Posts: 321
Joined: Jan 2009
Reputation:
0
Fantastic (considering I still use SageTV as my DVR but am trying hard to find an alternative). Until then, I got your plugin setup and configured and it pulls in my list of recordings which is good. Couple questions though:
1. What is the default sort for the recordings and can that be altered? I have XBMC sort by date descending, but it looks like it is sorting by title descending.
2. I can't get XBMC to play a show (I've updated the configuration to point to my sage recordings directory but my UNC path is blank... is it an either/or or do I need to fill in both.... perhaps one for playback, one for metadata?)
3. How much, if at all, do you plan to enhance this?
Posts: 3,925
Joined: Apr 2004
Reputation:
33
kricker
Team-XBMC QA Specialist
Posts: 3,925
1. You should be able to change the sort to whatever you want. I have.
2. Both items need to be filled in. What the addon does is replace the local file path name in the Sage DB and replace it with the UNC path you specified. If they are both on the sam PC then you might be able to skip the UNC part.
3. Probably not much. I took the code from aaronb's post. I hardly understand Python, much less able to write it.
Posts: 3,925
Joined: Apr 2004
Reputation:
33
kricker
Team-XBMC QA Specialist
Posts: 3,925
You're right it appears that sorting by date isn't working properly. Maybe someone can view the code and figure out why.
The default value should have had the trailing "\" in it.
Posts: 321
Joined: Jan 2009
Reputation:
0
I know a little bit about python as well as the SageTV metadata structure and am willing to spend some development effort on this.
I'd love it if it could operate a little more like the SageTV functionality in terms of the hierarchy... e.g. something like "All Shows" -> List of all shows -> List of all episodes for that show
I see how "xbmcplugin.addDirectoryItem" is used to add the top level "All Shows" directory, but I'd love some quick help on how to create Show specific sub-directories beneath that, that would still act as directories, and then when those are clicked, a list of episodes specific to that show would appear. Thoughts?
The only other issue is sorting... looks like the date is pulled into xbmc's aired field in "yyyy-mm-dd" format but the sorting on that isn't working. Could use some guidance there too.
Posts: 87
Joined: Jun 2008
Reputation:
0
You can also modify the search string to show only Tv Files (/sage/Search?searchType=TVFiles&xml=yes). The XML will then list all of your Tv files (tag <title>) . Parse that then create a loop that passes a single instance of the TV Title to:
addDir('TV Title',strUrl + '/sage/Search?searchType=TVFiles&SearchString=TV Title&xml=yes',2,'something.jpg')
Not sure about how the image is displayed but perhaps the tv banners that TV Explorer could be used. Also not sure how fast it would be. Anyone up for trying this?
Posts: 3,925
Joined: Apr 2004
Reputation:
33
kricker
Team-XBMC QA Specialist
Posts: 3,925
2012-08-23, 16:42
(This post was last modified: 2012-08-23, 16:42 by kricker.)
Sure. If you work up the code and send it to me, I'll test it.
Posts: 3,925
Joined: Apr 2004
Reputation:
33
kricker
Team-XBMC QA Specialist
Posts: 3,925
LehighBri,
That works well. Looks like we need to do some fixing of special characters like "&" though. Right now they show up as &