Sign up here and you can log into the forum!

Plugin: YouTube Subscriptions + new subscription videos

Discussion, features, plugins--everything about zoster's UMSP UPnP Media Server software

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby yoog » Tue Jan 17, 2012 9:18 am

mad_ady wrote:Unfortunately information in the first post is no longer accurate. I took over development of this plugin, but I am unable to edit the previous developer's post.

Details on how to configure the plugin are here: http://wiki.wdlxtv.com/Youtube_subscriptions
You won't need to copy/edit any more files in this version of firmware - you will be able do download the plugin from the web interface. The only thing you can add is a periodic cron job to update the cache more often (discussed in the wiki).

Good luck!

Thanks for the reply. Under AddOns Manager I selected "YouTube Subscriptop"
Under WDLXTV Configuration, UMSP Items, I have YouTube Subscription with the following options:
youtube-subscriptions selected
PROXY_LED selected
YOUTUBE_NEW_VIDEOS value is 300
YOUTUBE_PLAYLIST_SORT value is Leave_As_Is
YOUTUBE_SUBSCRIPTION_SORT value is New Video First
YOUTUBE_VIDEOS_PER_CHANNEL value is 30

I don't see anywhere a box to enter my credential, what am I missing?
After making selection, I saved and reboot via WebEnd reboot option.
yoog
n00b
 
Posts: 10
Joined: Sat Aug 27, 2011 7:05 am

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby mad_ady » Tue Jan 17, 2012 11:13 am

You are supposed to enter the credentials via the regular Youtube client. Depending on your firmware version this is either Video -> Youtube -> Log in (1.02) or Internet Media -> Youtube -> Log in (1.05). You are supposed to select "remember credentials". After you first login to the youtube app, youtube subscriptions will pick up your credentials.
User avatar
mad_ady
Developer
 
Posts: 3001
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby yoog » Tue Jan 17, 2012 1:52 pm

mad_ady wrote:You are supposed to enter the credentials via the regular Youtube client. Depending on your firmware version this is either Video -> Youtube -> Log in (1.02) or Internet Media -> Youtube -> Log in (1.05). You are supposed to select "remember credentials". After you first login to the youtube app, youtube subscriptions will pick up your credentials.

I figured it out soon after I posted the above post. But thank you very much for your prompt reply. In the previous firmware, if I remember correctly, credentials were enterted via WebEnd. Thanks again.
yoog
n00b
 
Posts: 10
Joined: Sat Aug 27, 2011 7:05 am

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby shanny » Sat Mar 03, 2012 8:41 am

Hello, since 1st march, subscription is not update content anymore. For example he shows me episode 13 of the updated list, but on the subscripted channel, there is even 18th episode.

What could it be?
WD TV Live HD with 1.05.04_V-WDLXTV-Live-0.5.1.1
shanny
WDTVer
 
Posts: 22
Joined: Sun Jan 01, 2012 1:52 pm

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby namtih » Sun Mar 04, 2012 7:21 am

Can't cornfirm it. I've used the plugin today and all channels were updated successfully.
Did you already try to restart your WD, so that the last plugin version is downloaded?

You could also try to execute the update command from the WD command line, so that you will perhaps get an helpful error message:
Code: Select all
/usr/bin/php5-cgi /tmp/umsp-plugins/youtube-subscriptions/youtube-subscriptions-helper.php --insecure
Moved on to the RaspberryPi + xbian (XBMC).
Thank you all for 2 great years and all your work to provide such fantastic firmware. Also a big thank you to the guys in the DD thread for all their ongoing support.
Good luck to all of you and perhaps we will see us in any Raspberry forum, cheers :-)
namtih
Donor
 
Posts: 238
Joined: Thu Dec 23, 2010 6:41 am
Location: Germany

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby mad_ady » Sun Mar 04, 2012 9:00 am

I've had a look and it seems some recent videos are missing from my list as well. My suspicion is that youtube has changed the ips of the gdata.youtube.com server (we were using a hardcoded ip).

I am in the process of testing with the new IPs. If all goes well I will update the plugin.
User avatar
mad_ady
Developer
 
Posts: 3001
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby mad_ady » Sun Mar 04, 2012 9:20 am

Well, it seems that gdata.youtube.com is no longer at 74.125.39.118, but it is instead somewhere in the 173.194.35.0 block (depends what DNS server you ask). I set it in the script to use 173.194.35.41 and regenerated the cache, but I'm not seeing some of the newer videos for all channels.

I get videos from today for a channel, but I'm not seeing a video posted yesterday on a different channel. It is most likely a cache problem with the youtube api. Can somebody with a yotube iphone/android client try this and compare the listings with what they get on the youtube page?

Reboot to get the updated ip.

I guess the old ip will still work for a while (even though I can't find it anymore in their dns records)...
User avatar
mad_ady
Developer
 
Posts: 3001
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby shanny » Mon Mar 05, 2012 8:46 am

namtih wrote:Can't cornfirm it. I've used the plugin today and all channels were updated successfully.
Did you already try to restart your WD, so that the last plugin version is downloaded?

You could also try to execute the update command from the WD command line, so that you will perhaps get an helpful error message:
Code: Select all
/usr/bin/php5-cgi /tmp/umsp-plugins/youtube-subscriptions/youtube-subscriptions-helper.php --insecure


Yes, i rebooted more than one time. I found out, that only one channel is not updated anymore, but this channel is using the old design. I will test it out.

Hmm, i will get no error. All is updated, but my channel i sad before.
WD TV Live HD with 1.05.04_V-WDLXTV-Live-0.5.1.1
shanny
WDTVer
 
Posts: 22
Joined: Sun Jan 01, 2012 1:52 pm

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby mad_ady » Mon Mar 05, 2012 9:13 am

What do you mean by "the channel is using the old design"? Running the helper does not generate an error because it works. The missing videos are the fault of the youtube api/servers not being synched up.
Can you test with other youtube apps on other platforms to see if they have the same issues? They should since they use the same API
User avatar
mad_ady
Developer
 
Posts: 3001
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby S4bb3 » Tue Mar 06, 2012 2:22 am

It might be wise to use Google DNS 8.8.8.8 & 8.8.4.4
S4bb3
Donor
 
Posts: 41
Joined: Fri Apr 30, 2010 10:01 pm

PreviousNext

Return to UMSP Media Server

Who is online

Users browsing this forum: No registered users and 1 guest