SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-28-2010, 01:38 PM
brainbone brainbone is offline
Sage Expert
 
Join Date: Oct 2006
Posts: 624
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?
Reply With Quote
  #2  
Old 07-28-2010, 01:56 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
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>
Then all you'd need to do is make one .properties file that loads this base feed, and then you can do whatever you want inside nested subcategory feeds.

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)
Reply With Quote
  #3  
Old 07-28-2010, 03:38 PM
brainbone brainbone is offline
Sage Expert
 
Join Date: Oct 2006
Posts: 624
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.
Reply With Quote
  #4  
Old 07-28-2010, 04:46 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
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)
Reply With Quote
  #5  
Old 09-23-2010, 09:23 AM
brainbone brainbone is offline
Sage Expert
 
Join Date: Oct 2006
Posts: 624
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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 01:22 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.