|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
online video subcategory defined in feed?
I was looking at adding some custom online feeds to v7, but have a question:
Is it possible to have sagetv pull categories / sub categories from an XML feed rather than having to manually specify them in the CustomOnlineVideoLinks.properties and CustomOnlineVideoUIText.properties files? |
#2
|
||||
|
||||
Yep!
In v7, sage added the ability to specify subcatagories inside podcast feeds. In the simpliest terms you can think of it as a podcast feed of podcast feeds... Code:
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:content="http://purl.org/rss/1.0/modules/content/"> <channel> <title><![CDATA[Feed of Feeds]]></title> <description><![CDATA[Feed of Feeds]]></description> <language>en-us</language> <itunes:summary><![CDATA[Feed of Feeds]]></itunes:summary> <itunes:subtitle><![CDATA[Feed of Feeds]]></itunes:subtitle> <item> <title><![CDATA[Feed #1]]></title> <description><![CDATA[Feed #1]]></description> <pubDate></pubDate> <itunes:subtitle><![CDATA[Feed #1]]></itunes:subtitle> <itunes:duration></itunes:duration> <enclosure url="http://feed_1_URL.xml" length="" type="sagetv/subcategory" /> <media:content duration="" medium="video" fileSize="" url="http://feed_1_URL.xml" type="sagetv/subcategory"> <media:title><![CDATA[Feed #1]]></media:title> <media:description><![CDATA[Feed #1]]></media:description> <media:thumbnail url=""/> </media:content> </item> <item> <title><![CDATA[Feed #2]]></title> <description><![CDATA[Feed #2]]></description> <pubDate></pubDate> <itunes:subtitle><![CDATA[Feed #2]]></itunes:subtitle> <itunes:duration></itunes:duration> <enclosure url="http://feed_2_URL.xml" length="" type="sagetv/subcategory" /> <media:content duration="" medium="video" fileSize="" url="http://feed_2_URL.xml" type="sagetv/subcategory"> <media:title><![CDATA[Feed #2]]></media:title> <media:description><![CDATA[Feed #2]]></media:description> <media:thumbnail url=""/> </media:content> </item> </channel> </rss> If you give some more specific details about what you're trying to do I can help some more.
__________________
Clients: 1xHD200 Connected to 50" TH-50PZ750U Plasma Server : Shuttle SFF SSH55J2 w/ Win7 Home, SageTV v7, Core i3 540, 2GB RAM, 30GB SSD for OS, 1.5TB+2x1TB WDGP for Recordings, BluRay, 2xHDHR, 1xFirewire SageTV : PlayOn, SJQ, MediaShrink, Comskip, Jetty, Web Client, BMT Having a problem? Don't forget to include a log! (Instructions for: PlayOn For SageTV v1.5, MediaShrink) |
#3
|
|||
|
|||
Perfect! I'll give that a shot!
Do you know if SageTV caches these results, or can they be updated on every "visit"? I seem to remember that feeds seemed to be cached by sagetv for some time in v6 making it difficult to pull from lists that update often -- wondering if that holds true in v7. |
#4
|
||||
|
||||
Sage doesn't cache dynamic subcatagories so you should be good.
__________________
Clients: 1xHD200 Connected to 50" TH-50PZ750U Plasma Server : Shuttle SFF SSH55J2 w/ Win7 Home, SageTV v7, Core i3 540, 2GB RAM, 30GB SSD for OS, 1.5TB+2x1TB WDGP for Recordings, BluRay, 2xHDHR, 1xFirewire SageTV : PlayOn, SJQ, MediaShrink, Comskip, Jetty, Web Client, BMT Having a problem? Don't forget to include a log! (Instructions for: PlayOn For SageTV v1.5, MediaShrink) |
#5
|
|||
|
|||
I created an example feed simply using a copy and paste of the above XML, then then tried various method of trying to get that list to show in the online menu of SageTV, but only ended in getting my test "Test Feeds" menu item to show in "More Online Services" menu, but no sub categories from the feed ever appear -- only a "back" button.
So, I think I may need a little help/clarification with the "Then all you'd need to do is make one .properties file that loads this base feed" portion of your instructions. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How To: Add custom online video feed definitions (default STV; v6.4+) | Opus4 | SageTV Customizations | 69 | 08-15-2010 10:13 AM |
Help adding feed to Online Services | dstanley | SageTV Customizations | 1 | 12-31-2009 07:00 PM |
Automatic Online Video feed list updates - the first ones have been released | Opus4 | SageTV Beta Test Software | 4 | 06-06-2008 10:38 PM |
How To: Add custom online video feed definitions (default STV; v6.3.10) | Opus4 | SageTV Customizations | 34 | 06-04-2008 08:11 PM |
custom online video feed definitions in SageMC? | Brent | SageMC Custom Interface | 0 | 02-10-2008 06:44 PM |