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 charbulinggit » Sat Apr 28, 2012 5:16 pm

for me none of my subscription channels are downloaded at all. "New subscription videos" says "There is no media in the current folder". Below are some of the messages I found in my /tmp/umsp-log.txt


2012.04.29 00:50:31 YTSubscriptions-live - Generating cache: sudo su -c '/usr/bin/php5-cgi /tmp/umsp-plugins/youtube-subscriptions/youtube-subscriptions-helper.php --insecure > /dev/null'
2012.04.29 00:57:16 YTSubscriptions-live - Generating cache: sudo su -c '/usr/bin/php5-cgi /tmp/umsp-plugins/youtube-subscriptions/youtube-subscriptions-helper.php --insecure > /dev/null'
2012.04.29 01:06:36 YTSubscriptions-proxy - Unable to find url_encoded_fmt_stream_map! There are changes on the Youtube side!
2012.04.29 01:06:38 YTSubscriptions-proxy - Unable to find url_encoded_fmt_stream_map! There are changes on the Youtube side!

and in my /tmp/messages.txt
Apr 29 09:08:01 WDTV cron.err crond[2883]: USER root pid 13604 cmd /usr/bin/php5-cgi /tmp/umsp-plugins/youtube-subscriptions/youtube-subscriptions-helper.php
Apr 29 09:12:01 WDTV cron.err crond[2883]: USER root pid 15190 cmd /usr/bin/php5-cgi /tmp/umsp-plugins/youtube-subscriptions/youtube-subscriptions-helper.php


I hope this problem gets fixed soon. Without youtube-subscriptions working properly, my wdtv for me is as good as trash
charbulinggit
n00b
 
Posts: 1
Joined: Sat Apr 28, 2012 5:08 pm

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby S4bb3 » Sat Apr 28, 2012 10:41 pm

Seems like there has been changes to the Youtube API. Atleast the log indicates so.
S4bb3
Donor
 
Posts: 41
Joined: Fri Apr 30, 2010 10:01 pm

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby mad_ady » Sun Apr 29, 2012 10:46 pm

I'm getting a few channels myself. Seems to be an issue with the youtube api, but I don't think they changed anything. Most likely your profile is not in sync with their api servers.
I'll see if I can get better results...
User avatar
mad_ady
Developer
 
Posts: 2996
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby mad_ady » Mon Apr 30, 2012 5:00 am

https://developers.google.com/youtube/forum/discussion?place=topic%2Fyoutube-api-gdata%2FlPzbSkKLfx4%2Fdiscussion

Seems others are facing the same issues. Hopefully youtube will fix it shortly.
User avatar
mad_ady
Developer
 
Posts: 2996
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby mad_ady » Tue May 01, 2012 11:17 am

Seems the issue was fixed on the youtube side.
User avatar
mad_ady
Developer
 
Posts: 2996
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby namtih » Tue May 01, 2012 11:32 pm

It's working like a charm :D
Great.
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 colinpowell » Mon May 21, 2012 3:35 am

Excuse me, which is earliest firmware/WDLXTV combo that the YouTube Subscriptions will work with?
colinpowell
n00b
 
Posts: 14
Joined: Wed May 02, 2012 8:38 pm
Location: Mildura, Victoria, Australia

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby mad_ady » Mon May 21, 2012 3:40 am

In the current form, YoutubeSubscriptions will work on *-0.4.7.x and older. If you want to use it on 0.4.2.x/0.4.5.x you will need the following workaround applied at boot:

Code: Select all
#!/bin/sh
cp /usr/share/umsp/funcs-log.php /tmp/funcs-log.php
sed -i '/^$/d' /tmp/funcs-log.php
mount -o bind /tmp/funcs-log.php /usr/share/umsp/funcs-log.php


See http://wiki.wdlxtv.com/Youtube_subscriptions#Troubleshooting (the last section) on where to apply it.
User avatar
mad_ady
Developer
 
Posts: 2996
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby namtih » Sat Aug 18, 2012 1:26 am

Unfortunately it seems YouTube made some changes to their API.
I'm from Germany and I'm not able to play some videos via the WD YouTube feature anymore. It seems that all videos/channels by American users are blocked - like http://www.youtube.com/user/NBA or http://www.youtube.com/user/IGNentertainment. I only get a black screen and after that the endless blue circle with every video.

I only found a German news regarding this topic at the moment: http://stadt-bremerhaven.de/youtube-sperrt-weiter-aus-proxy-erweiterungen-machtlos/
So I will try to translate it:
"Until now, when a user opened a blocked video an addon like ProxTube called this video via an proxy. But the video itself was loaded via the direct connection and not via the proxy. Now YouTube added a feature that saves the proxy-ip in the streaming-link of the video.

So when the proxy called the video the proxy-ip was saved in the streaming-link. The player now opens this streaming-link via the direct connection but receives an "404 Not Found" error, as the original ip (proxy) is not the same like player-ip (user-ip)."

I think this is the reason for my issues now.

Do other users also have similar problems now?
Any ideas for a fix?
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 Aug 19, 2012 10:15 pm

Copyright law is fucked up...

How were you accessing the videos until now on the wdtv? Were they blocked?
You should still be able to bypass the restriction with a good proxy, that will carry the data as well. For instance, if you have a friend living in an unrestricted part of the world, with access to the videos you want, you could use the existing youtube proxy on his wdtv to get your data. You'd need to make some small changes to get http://his.ip.address/umsp/plugins/youtube-subscriptions/youtube-subscriptions-proxy.php?videoid=desiredid

I'm sure other proxies exist online - but I haven't looked into it, since I am not affected.
A VPN service would also work.
User avatar
mad_ady
Developer
 
Posts: 2996
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

PreviousNext

Return to UMSP Media Server

Who is online

Users browsing this forum: No registered users and 1 guest