SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations

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 11-04-2010, 11:08 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,595
Arrow How To: Add custom online video feed definitions (default STV; v7.0+)

Note: This topic covers how to add custom online video links; to discuss custom links that you've added, see: Suggest Online Video Feeds (v7.0+)


Sample custom properties files are attached to this post showing example custom online video feeds.

Be sure to edit the custom online video properties files, or add your own additional custom files, instead of editing the original files that are installed with SageTV. If you edit OnlineVideoLinks.properties and OnlineVideoUIText.properties, your changes will be overwritten the next time a SageTV update is installed or when SagetV downloads updated online video files.


The attached CustomOnlineVideoLinks.zip file contains 2 files:
  • CustomOnlineVideoLinks.properties
  • CustomOnlineVideoUIText.properties.
These properties files can be added to the <install dir>\SageTV\STVs\SageTV7\OnlineVideos directory and then used to customize the online video feeds.

You will need to use the default STV from SageTV v7.0.23 or later in order to use these properties files.

See the comments near the top of the CustomOnlineVideoLinks.properties file for instructions for adding new links. The first time you access a new link in SageTV, the titles and icon URL will be automatically created in the CustomOnlineVideoUIText.properties file, which you can edit later, if you wish. The links are listed in the UI in alphabetical order, based on the feed's property name ('FeedName').


The custom files can also be used to modify the default set of links -- if the custom properties files contain the same properties as the default properties files, the custom setup will be used instead. Just remember, if you do this, your custom setup will still override the default definitions for every upgrade install afterwards.


Additional notes:
  1. One of the changes for v7 was to extend support for externally generated feeds; see the explanation of the new capabilities in the "Externally generated feeds" section of the sample CustomOnlineVideoLinks.properties file. See the "Movie Showtimes" plugin from SageTV forum user 'evilpenguin' for an example customization using externally generated feeds.

  2. The "Weather" item on the Online Services menu is not part of the online video properties files; it is part of the STV. Weather will always be 1st in the list.

  3. The default online video properties files will automatically be updated when updates are available. If you really insist on disabling updating the default properties files, and thus missing any fixes that the properties file updates would take care of, you can chnage the option in SageTV at Detailed Setup -> Advanced -> Automatic Update Checks. Please be sure to remember that you've done this if you have problems with the online feeds in the future.

- Andy
Attached Files
File Type: zip CustomOnlineVideoLinks.zip (4.6 KB, 716 views)
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #2  
Old 12-19-2010, 04:42 PM
nyc6035 nyc6035 is offline
Sage User
 
Join Date: Nov 2010
Location: New York
Posts: 9
Smile

Thanks for posting the files (with the instructions inside). Works great. I've been able to add some newsfeeds easily.
Reply With Quote
  #3  
Old 12-24-2010, 09:43 AM
dibs dibs is offline
Sage User
 
Join Date: Mar 2008
Posts: 73
There is a live concert webcast I'd like to show through my extender. Not sure if I would be able to do this by adding a custom video feed, but the link for the "sample stream" is this:
http://www.livephish.com/packages/2,...l?launchPlayer

Will I be able to do this by simply manipulating those custom files under "links" and just add the URL for the live feed when they have it available? If there is something I need to find out from the provider or an easier way to do this, please let me know as I am not a brain scientist with this stuff.

Thanks!
Reply With Quote
  #4  
Old 12-28-2010, 12:10 PM
brainbone brainbone is offline
Sage Expert
 
Join Date: Oct 2006
Posts: 624
Any way to add an age rating to a custom video feed that SageTV will obey (R, PG, etc.)?
Reply With Quote
  #5  
Old 12-31-2010, 08:08 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,595
Quote:
Originally Posted by brainbone View Post
Any way to add an age rating to a custom video feed that SageTV will obey (R, PG, etc.)?
Not that I know of, but you could use the parental control access code to restrict access to all online video features via Detailed Setup -> Customize -> Online Video options -> Online Video Access.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #6  
Old 01-01-2011, 05:15 AM
jjstok jjstok is offline
Sage Advanced User
 
Join Date: Feb 2007
Posts: 92
Online Links

Will this allow me to create links to online resources such as TV.com, TBS, etc? It would be nice to avoid drilling all the way through the PlayOn selections.

Thanks
__________________
Dell PE 2800 - Dual Xeon - 2gb RAM - Windows 2003 sp2 - 2 Video Cards: Hauppauge WINTV HVR 1600 digital
Reply With Quote
  #7  
Old 01-15-2011, 02:01 PM
patja's Avatar
patja patja is offline
Sage Advanced User
 
Join Date: Aug 2008
Posts: 94
I'm having a heck of a time trying to get this to work. Posted a support request but am checking here in case anyone else can see something obvious I am missing. I am getting exceptions in the log that seem to indicate Sage is not picking up the URL value for my custom feeds. They show up with the right labels and icons and everything, but always yield "No videos found" when I click into them. Running 7.0.23.246 Windows client with the latest WHS server, Java 1.6.0_23, and the standard theme SageTV7.xml STV version 7.0.23.1

With a file named CustomOnlineVideoLinks_Pat.properties with contents:
CustomSources=xPodcastPat
xFeedPodcastPat/Cyriak=xPodcastPat;http://gdata.youtube.com/feeds/base/...ak/uploads_YTC
xFeedPodcastPat/Brewing=xPodcastPat;http://www.basicbrewing.com/radio/video.rss

and a file named CustomOnlineVideoUIText_Pat.properties with contents:
Source/xPodcastPat/LongName=Pats Online Videos
Source/xPodcastPat/ShortName=Pat
Category/Cyriak/ThumbURL=http://i2.ytimg.com/i/9Ntx-EF3LzKY1nQ5rTUP2g/1.jpg?v=84cdc4
Category/Cyriak/LongName=Cyriak YouTube Channel
Category/Cyriak/ShortName=Cyriak
Category/Brewing/ThumbURL=http://www.basicbrewing.com/radio/images/MicCU.jpg
Category/Brewing/LongName=Basic Brewing Video
Category/Brewing/ShortName=Brewing

I get errors like these in the log (seems like Sage is not picking up the URL):

Sat 1/15 11:53:41.686 [AWT-EventQueue-0@187aeca] Online Video category selection: xPodcastPat--Brewing
Sat 1/15 11:53:41.689 [AWT-EventQueue-0@187aeca] FeedContext: Brewing/URLContext=
Sat 1/15 11:53:41.692 [AWT-EventQueue-0@187aeca] Searching Pats Online Videos for Brewing, URL:
Sat 1/15 11:53:41.695 [AWT-EventQueue-0@187aeca] processOptionsMenu optionsMenu=default:BASE-70961|OptionsMenu:Wait while video list is downloaded
Sat 1/15 11:53:41.700 [ReProcessHook@1c1d928] EXCEPTION in getValueAsObject:sage.a.e: Error in method reflection of new_java_net_URL of java.net.MalformedURLException: no protocol: for:sage_media_rss_RSSParser_parseXmlFile(new_java_net_URL(SearchURL), hand, false)
Sat 1/15 11:53:41.709 [ReProcessHook@1c1d928] setUI(sage.b6@1586edb[Online Video Search Results]) histIdx=3 uiHistory=[sage.b6@1c012fa[Main Menu], sage.b6@14e7b87[Online Services Menu], sage.b6@1f5e42b[Online Video Menu], sage.b6@1586edb[Online Video Search Results]]
Sat 1/15 11:53:41.750 [ReProcessHook@1c1d928] EXCEPTION in getValueAsObject:sage.a.e: Error in method reflection of sage_media_rss_RSSItem_getTitle of java.lang.NullPointerException for:sage_media_rss_Translate_decode(sage_media_rss_RSSItem_getTitle(RSSItem))
Sat 1/15 11:53:41.756 [ReProcessHook@1c1d928] EXCEPTION in getValueAsObject:sage.a.e: Error in method reflection of sage_media_rss_RSSItem_getMediaGroup of java.lang.NullPointerException for:sage_media_rss_RSSItem_getMediaGroup(RSSItem)
Reply With Quote
  #8  
Old 01-17-2011, 10:01 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,595
The Brewing link works fine for me. But, you don't have the custom URL lines set up correctly -- see the sample custom properties files for more info, but you should use:
Code:
xFeedPodcastCustom/Brewing=xPodcastPat;http://www.basicbrewing.com/radio/video.rss
For the YouTube Channel link, you need to add the _YTC suffix to the feedname, not the URL. And, it needs to be a URL that returns the RSS feed that SageTV can understand. One way to do this would be to look in the SageTV log for an existing YouTube channel & then substitute the channel name you want to use; thus try using:
Code:
xFeedPodcastCustom/Cyriak_YTC=xPodcastPat;http://gdata.youtube.com/feeds/api/users/Cyriak/uploads?alt=rss&max-results=20&start-index=1
Or, you can overwrite the existing YouTube channels definition with your own that adds the channel you want to add:
Code:
xYouTubeChannels/Categories=Cyriak,HBO,CBS,ABCNews,BBC,universalmusicgroup,sonybmg,RCARecords,NBA,NationalGeographic,YTVideoGuide,MontyPython
The downside to that method is that if the original online videos properties file changes that line, it won't automatically be updated in your custom file. The advantage is that it will allow viewing multiple pages of results.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #9  
Old 01-17-2011, 07:50 PM
patja's Avatar
patja patja is offline
Sage Advanced User
 
Join Date: Aug 2008
Posts: 94
Thanks Andy, with your pointers to what I was missing I've got it all working now.
Reply With Quote
  #10  
Old 02-02-2011, 11:24 PM
zands zands is offline
Sage User
 
Join Date: Nov 2008
Posts: 28
I'm a bit of a dunce... can i add something like this stream through the video feed section:
http://sharxdemo2.servehttp.com/en/login.asp

actual stream:
http://sharxdemo2.servehttp.com/stream.jpg

i've been trying with webfeedencoder and have some lag with encoding, trying to see if this works at all...

thanks in advance!
Reply With Quote
  #11  
Old 02-18-2011, 07:08 AM
bjkiller's Avatar
bjkiller bjkiller is offline
Sage Aficionado
 
Join Date: Mar 2007
Posts: 368
Question RBC TV

may be somebody can help me to add to 'online services' section RBC TV

website:
http://rbctv.rbc.ru/

Live video streem
mms://tv.gldn.net/rbc

Archive:
http://rbctv.rbc.ru/archive
__________________
Dear Google, Please don't ruin SageTV for us!!

Sage Server: [s]8xDVB-S2 with DVBE4Sage on YES DBS Israel 4W (3 virtual tuners) ,[/s] 3 x HD300 Extenders; 3 x HD200 Extender; 3 x SageTV Client;
Reply With Quote
  #12  
Old 03-29-2014, 09:42 AM
wbarber69's Avatar
wbarber69 wbarber69 is offline
Sage Expert
 
Join Date: Oct 2004
Location: Hammond, La.
Posts: 511
Send a message via ICQ to wbarber69 Send a message via AIM to wbarber69 Send a message via MSN to wbarber69 Send a message via Yahoo to wbarber69 Send a message via Skype™ to wbarber69
I'm about to delve into using custom feeds for the first time ever. And before I do it I was wondering if anyone already had an XML file for Revision3 content. Since the third party playon plugin stopped working I'm not able to get all the show I want to watch without using my xbox. Any help would be appreciated.
Reply With Quote
  #13  
Old 03-31-2014, 12:56 PM
wubdich's Avatar
wubdich wubdich is offline
Sage Advanced User
 
Join Date: Sep 2009
Location: Germany
Posts: 235
I added TekZilla to my custom feed by adding the following line to CustomOnlineVideoLinks.properties in ..\SageTV\SageTV\STVs\SageTV7\OnlineVideos
Code:
xFeedPodcastCustom/TekZilla=xPodcastVideo,xFlagTitleNone;http://revision3.com/tekzilla/feed/MP4-Large?subshow=false
Reply With Quote
  #14  
Old 04-17-2015, 07:07 AM
UgaData's Avatar
UgaData UgaData is offline
Sage Aficionado
 
Join Date: Sep 2005
Posts: 344
Performance issue creating CNET podcast feeds

I am trying to create a set files for the CNET podcast feeds.

http://www.cnet.com/cnet-podcasts/

Creating the feeds isn't a problem but the performance of the category for the feeds is. Previously, I created a new category for REV3 and TWIT feeds, both of these still work just fine. I set each of them up as a separate set of custom online feeds, 2 files for REV3 and 2 files for TWIT. I am doing it the same with CNET, which will give me 3 sets of custom feed files.

I haven't added all the CNET podcasts yet but after adding the new set of files to my Sage client, the performance of the the new CNET category brings SageTV to it knees. Everything is fine until I enter/open the CNET feeds then Sage begins to crawl, even the spinning circle of death stops spinning. Sage will eventually do something but it does take a while, a very long while. And it does remember key presses. Once in to a shows listings, it seems to be OK and the shows play fine.

But trying to maneuver through the category's list of podcasts is just a bear.

Is there a limit to the number of podcasts for a given category? (I doubt it, but .... )

Is it due to this being the third set of custom online video feeds?

Is it something to due with the thumbnails?
CNET may not like the torture of having their thumbnails pulled
I originally went with the larger 1400x1400 icon but changed to a smaller 300x300, but it still didn't seem to matter - performance wise.

Or is it something completely different.

Any thoughts?
__________________
"Unencumbered by the thought process"

The only constant in the Universe is change.
Reply With Quote
  #15  
Old 04-18-2015, 07:06 AM
UgaData's Avatar
UgaData UgaData is offline
Sage Aficionado
 
Join Date: Sep 2005
Posts: 344
Issue resolved.

I thought I had retried with a smaller icon. But, on second look, I was still using a larger thumbnail. Once the link to the smaller thumbnail was in place, the performance issue went away.

Go here to download files:
http://forums.sagetv.com/forums/show...38&postcount=6
__________________
"Unencumbered by the thought process"

The only constant in the Universe is change.

Last edited by UgaData; 04-18-2015 at 11:26 AM.
Reply With Quote
Reply


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

Advanced Search
Display Modes

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
Using the default STV in Custom STV Mode from custom STVs (v6.4 & later) Opus4 SageTV Studio 49 09-23-2011 05:50 PM
online video subcategory defined in feed? brainbone SageTV v7 Customizations 4 09-23-2010 09:23 AM
How To: Add custom online video feed definitions (default STV; v6.4+) Opus4 SageTV Customizations 69 08-15-2010 10:13 AM
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 04:14 AM.


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