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 03-08-2014, 09:43 AM
wubdich's Avatar
wubdich wubdich is offline
Sage Advanced User
 
Join Date: Sep 2009
Location: Germany
Posts: 235
adding YouTube channels and playlists to SageTV

I managed to add some YouTube channels and playlists to the online section of SageTV. Maybee this is useful for someone else - i could'nt find any related posting in this forum.

Use the following URLs in CustomOnlineVideoLink.properties to add a YouTube channel to SageTV:
HTML Code:
http://www.youtube.com/rss/user/<userid>/feed.rss
use the following URL to add a Youtube playlist to SageTV:
HTML Code:
http://gdata.youtube.com/feeds/api/playlists/<playlistid>?alt=rss

Last edited by wubdich; 03-09-2014 at 02:35 PM.
Reply With Quote
  #2  
Old 03-09-2014, 10:06 AM
MrE MrE is offline
Sage User
 
Join Date: Mar 2006
Posts: 28
Not sure what I'm doing wrong, but it didn't work for me.

If I wanted to add the channel for user Britec09, how would code look?

Thanks.
Reply With Quote
  #3  
Old 03-09-2014, 02:48 PM
wubdich's Avatar
wubdich wubdich is offline
Sage Advanced User
 
Join Date: Sep 2009
Location: Germany
Posts: 235
Sorry - hostname in URL for YoutTube channel was wrong and is corrected now in the above posting

To answer your question completly:
-> edit CustomOnlineVideosLinks.properties in ../SageTV/SageTV/STVs/SageTV7/OnlineVideos
-> check line starting with "CustomSources=" it should look similar like this
Code:
CustomSources=xPodcastVideo,xPodcastAudio
you can define your own additional categories here. They have to start with "xPodcast".
-> add following line at the end of CustomOnlineVideosLinks.properties using one of the defined categories:
Code:
xFeedPodcastCustom/Britec09=xPodcastVideo;http://www.youtube.com/rss/user/Britec09/feed.rss
(URL for RSS feed (e.g. http://www.youtube.com/rss/user/Britec09/feed.rss) can be validated by entering in browser

Last edited by wubdich; 03-09-2014 at 03:01 PM.
Reply With Quote
  #4  
Old 03-09-2014, 09:39 PM
MrE MrE is offline
Sage User
 
Join Date: Mar 2006
Posts: 28
Thanks, works great!

Is there a way to get a unique image for each channel to use as the "ThumbURL" in the "CustomOnlineVideoUIText.properties" so they all wouldn't have just the standard YouTube logo?
Reply With Quote
  #5  
Old 03-10-2014, 12:42 AM
wubdich's Avatar
wubdich wubdich is offline
Sage Advanced User
 
Join Date: Sep 2009
Location: Germany
Posts: 235
Quote:
Originally Posted by MrE View Post
Is there a way to get a unique image for each channel to use as the "ThumbURL" in the "CustomOnlineVideoUIText.properties" so they all wouldn't have just the standard YouTube logo?
I don't know a way to get the needed Image-URL via YoutTube-API so I simply grabbed the Image-URL which is referenced when searching a tube channel or on the channel homepage - see attached examples.

In case of Britec09 the URL is: https://yt3.ggpht.com/-CTcYtDU60LQ/A...k-no/photo.jpg

It's working without SSL as well and this is the way I used in CustomOnlineVideoUIText.properties:
http://yt3.ggpht.com/-CTcYtDU60LQ/AAAAAAAAAAI/AAAAAAAAAAA/VF-__almB54/s100-c-k-no/photo.jpg
Attached Images
File Type: png Britec09-00.png (156.7 KB, 178 views)
File Type: png Britec09-01.png (226.6 KB, 179 views)

Last edited by wubdich; 03-10-2014 at 09:29 AM.
Reply With Quote
  #6  
Old 03-11-2014, 09:17 PM
MrE MrE is offline
Sage User
 
Join Date: Mar 2006
Posts: 28
Thanks again - great tips!

Glad you posted it 'cuz I've been trying to figure out how to do this (with Youtube channels).
Reply With Quote
  #7  
Old 04-19-2015, 03:20 PM
MrE MrE is offline
Sage User
 
Join Date: Mar 2006
Posts: 28
Anyone know how to add the TekThing youtube channel to SageTV?

https://www.youtube.com/channel/UC6s...4mxnizvOroOvkQ

The TekThing channel doesn't seem to have a YouTube user ID, only a channel name.
Reply With Quote
  #8  
Old 04-19-2015, 05:34 PM
Thomas Wischgol's Avatar
Thomas Wischgol Thomas Wischgol is offline
Sage Aficionado
 
Join Date: Sep 2005
Posts: 276
Quote:
Originally Posted by MrE View Post
Anyone know how to add the TekThing youtube channel to SageTV?

https://www.youtube.com/channel/UC6s...4mxnizvOroOvkQ

The TekThing channel doesn't seem to have a YouTube user ID, only a channel name.
You can just use that channel name for the feed:
http://gdata.youtube.com/feeds/base/...direct&alt=rss
Reply With Quote
  #9  
Old 04-19-2015, 09:50 PM
MrE MrE is offline
Sage User
 
Join Date: Mar 2006
Posts: 28
Thanks!

The beginning of that url is different from what wubdich posted earlier in the thread. How did you find it?
Reply With Quote
  #10  
Old 04-20-2015, 06:34 PM
Thomas Wischgol's Avatar
Thomas Wischgol Thomas Wischgol is offline
Sage Aficionado
 
Join Date: Sep 2005
Posts: 276
I used a working feed I already had in my SagetV online video feeds. When you use that URL in firefox, YouTube turns this into this type of URL. I then just swapped the channel name in. For some reason using the simpler type of URL did not work for TekThing even though it works for other ones.
Reply With Quote
  #11  
Old 04-20-2015, 08:12 PM
Rob23 Rob23 is offline
Sage Advanced User
 
Join Date: Feb 2009
Posts: 101
All of my custom YouTube feeds stopped working today (had been working fine for as long as I can remember). I receive the following message in a new video at the top of each of my feeds:

"YouTube is upgrading to a newer version, which is not supported by this device or app. To learn more and see where you can watch YouTube, visit www.youtube.com/devicesupport"

Is anyone else experiencing this? Any workaround to get the feeds to work again?
Reply With Quote
  #12  
Old 04-22-2015, 06:16 PM
MrE MrE is offline
Sage User
 
Join Date: Mar 2006
Posts: 28
That Youtube error video is also showing up in the default Youtube feed channel.
Reply With Quote
  #13  
Old 04-23-2015, 04:12 AM
Smiley's Avatar
Smiley Smiley is offline
Sage User
 
Join Date: Oct 2008
Location: Fabjerg, Denmark
Posts: 62
It is also showing up in all searches, so it appears that Youtube is including it in all replies.
__________________
SageTV 7.1.9 WinXP-32, Headless, 3xUSB HD Tuners, 4GB RAM, 6TB storage, Intel X25 disc for OS and SageTV
Media Extenders: 4 x HD200, 1 x HD300
Reply With Quote
  #14  
Old 04-25-2015, 01:24 PM
pjpjpjpj pjpjpjpj is offline
Sage Icon
 
Join Date: Feb 2008
Posts: 2,164
Youtube redid their coding, I saw an article about how it broke on Google TV. That was the exact message that Google TV users receive.

I know... shocking that Sage's youtube integration would break when Google's does...
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 10 x64, Java 8, Gigabit network
Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such...
Software: SageTV v9x64, stock STV with ADM.
Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic).
Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each.
Reply With Quote
  #15  
Old 05-10-2015, 01:30 PM
MrE MrE is offline
Sage User
 
Join Date: Mar 2006
Posts: 28
The format of the url for pulling RSS feeds has changed.

Youtube user Burlington SEO has some nice videos explaining the change:

https://www.youtube.com/watch?v=HWO3Yk-B3SM

Basically, there are 2 new ways to get an RSS Feed.

1) Channel ID RSS Feed:

Code:
https://www.youtube.com/feeds/videos.xml?channel_id=YOURCHANNELID
2) UserName RSS Feed:
Code:
https://www.youtube.com/feeds/videos.xml?user=USERNAME

Unfortunately, the resulting XML is not in a format that SageTV can use (no visible video descriptions, or thumbnails, etc)
(but, the descriptions, thumbnails, etc are all listed in the xml page source)

Hopefully, someone can figure out how to solve this.

Last edited by MrE; 05-10-2015 at 02:12 PM.
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
Digiguide, XMLTV and SageTV Adding new channels emotionnotion SageTV United Kingdom 8 08-18-2011 10:12 AM
Enhancement Request: Youtube Video Playlists? CanadianEh SageTV Beta Test Software 4 05-24-2010 06:27 PM
Youtube Playlists? rwc SageTV Customizations 1 10-16-2009 01:48 PM
adding user channels to youtube boognish SageMC Custom Interface 1 07-23-2008 05:22 PM
SageTV 4 Keeps Adding Unwanted Channels david zero SageTV Software 1 12-23-2007 07:29 PM


All times are GMT -6. The time now is 03:22 AM.


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