own playlist 4 yahoo youtube widget
Posted: Sun Jun 10, 2012 2:42 pm
Hi,
I've been reading for years since I bought my b650.
It really sucks that I cannot bookmark my own videos
or get my favorites on the YouTube widget.
YOU NEED: telnet access to your TV and/or know how to edit a file on the TV-System
Now I found out that it is quite easy, all you have to do
is add a couple of lines to:
at line 310, the JavaScriptArray "standardFeeds" are the key and we can add some own stuff.
I added a user "htmlworld" (you can just use your own username)
or it is easy to add a YouTube Playlist (for my kids)
you have to know the PlaylistID: (e.g. E45288B6C5F1E0CF)
It is very important that the "id" is different for every line.
"label" is the name for the list in the Widget
and "value" is the URL of the VideoFeed from YouTube API
I love it, now i can add videos on my laptop or my phone to the youtube playlist
and watch it on TV. Hopefully someone can use it too.
TNX
boxbuchse
PS:
my Firmware: T-CHL7DEUC-2005.0
I've been reading for years since I bought my b650.
It really sucks that I cannot bookmark my own videos
or get my favorites on the YouTube widget.
YOU NEED: telnet access to your TV and/or know how to edit a file on the TV-System
Now I found out that it is quite easy, all you have to do
is add a couple of lines to:
Code: Select all
\mtd_down\widget\data\Widgets\Installed\com.youtube.widgets.tv.widget\Contents\Source\core\application.js
Code: Select all
var bu = 'http://gdata.youtube.com/feeds/api/standardfeeds/' + cc + '/';
var cl = 'client=ytapi-samsung-tv';
var rf = 'alt=json';
var fr = 'format=3';
var fl = 'racy=include'; //'racy=exclude'; No Filter!
var bp = '?' + cl + '&' + rf + '&' + fr + '&' + fl;
var standardFeeds = [
{ id: 'featured', label: $_('featured'), value: bu + 'recently_featured' + bp },
{ id: 'most-viewed', label: $_('most_viewed'), value: bu + 'most_viewed' + bp + '&time=today' },
{ id: 'most-recent', label: $_('most_recent'), value: bu + 'most_recent' + bp },
{ id: 'top-rated', label: $_('top_rated'), value: bu + 'top_rated' + bp },
{ id: 'top-favorites', label: $_('top_favorites'), value: bu + 'top_favorites' + bp },
Code: Select all
{ id: 'my-favorites0', label: 'HTML', value: 'http://gdata.youtube.com/feeds/api/users/htmlworld/uploads' + bp + '&orderby=published' },
you have to know the PlaylistID: (e.g. E45288B6C5F1E0CF)
Code: Select all
{ id: 'my-favorites1', label: 'Yakari', value: 'http://gdata.youtube.com/feeds/api/playlists/E45288B6C5F1E0CF' + bp },
"label" is the name for the list in the Widget
and "value" is the URL of the VideoFeed from YouTube API
I love it, now i can add videos on my laptop or my phone to the youtube playlist
and watch it on TV. Hopefully someone can use it too.
TNX
boxbuchse
PS:
my Firmware: T-CHL7DEUC-2005.0