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 sonic_blue » Sun Nov 24, 2013 6:39 am

mad_ady wrote:Alternatively, you can call the helper script as part of S99user-script on bootup and regenerate the cache. See the wiki (YoutubeSubscriptions page) for details


On second thought, it's annoying having to manually update if you are subscribed to channels which regularly add new videos, so I think it's better to regenerate the cache automatically on boot like you say here. I didn't find a 30 second delay was needed on my unit (fw 1.02.21, early mount enabled).

/conf/S99user-script

Code: Select all
#!/bin/sh
/usr/bin/php5-cgi /tmp/umsp-plugins/youtube-subscriptions/youtube-subscriptions-helper.php --insecure  >/tmp/youtube-subscriptions-helper.txt 2>&1
sonic_blue
DLX'er
 
Posts: 53
Joined: Wed Feb 20, 2013 8:31 am

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby mad_ady » Sun Nov 24, 2013 10:52 pm

Yes, that's the point - getting the newest videos on reboot. You can, however, apply both methods - restore an older cache and regenerate the new one. You could browse the old cache until the new one is ready and they would update without user intervention.

Feel free to add your explanation to the YoutubeSubscriptions wiki page so that it doesn't get lost in this thread.
User avatar
mad_ady
Developer
 
Posts: 4568
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby devilagent76 » Fri Jan 10, 2014 11:41 am

Since a few days the cache refresh is running endless, youbube subscriptions won't work anymore on my side. Anyone aware of some code changes or have similar issues?
devilagent76
n00b
 
Posts: 10
Joined: Fri Jan 10, 2014 11:36 am

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby Omegadrive » Fri Jan 10, 2014 9:59 pm

devilagent76 wrote:Since a few days the cache refresh is running endless, youbube subscriptions won't work anymore on my side. Anyone aware of some code changes or have similar issues?

Same issue here. :-(
Omegadrive
n00b
 
Posts: 12
Joined: Sat Sep 01, 2012 3:09 pm

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby jomjom79 » Sat Jan 11, 2014 6:23 am

Yeah same here. Worked this morning though..

Probably wont help much but..
Code: Select all
[1;33mkey pressed
ID: [(null)]
TEXT:[Youtube Subscriptions]
key pressed
bo id: 1, request id: 1
browser_handler_browse[1391],(1:1), id :umsp://plugins/youtube-subscriptions : 0 / 10
Create a empty object result for keep browsing result
browser_handler_browser_object_search_cache[446], 0[64], total: -1
browser_handler_browser_object_search_cache[447], 0[0]
key pressed
ID: [(null)]
TEXT:[Cache refresh started. Press Enter to see the progress.]
key pressed
bo id: 1, request id: 1
browser_handler_browse[1391],(1:1), id :umsp://plugins/youtube-subscriptions/youtube-subscriptions?rnd=1724992591 : 0 / 10
Create a empty object result for keep browsing result
browser_handler_browser_object_search_cache[446], 0[64], total: -1
browser_handler_browser_object_search_cache[447], 0[0]
key pressed
ID: [(null)]
TEXT:[Cache refresh is running for 136.26 seconds]
key pressed
bo id: 1, request id: 1
browser_handler_browse[1391],(1:1), id :umsp://plugins/youtube-subscriptions/youtube-subscriptions?rnd=944795695 : 0 / 10
Create a empty object result for keep browsing result
browser_handler_browser_object_search_cache[446], 0[64], total: -1
browser_handler_browser_object_search_cache[447], 0[0]
key pressed
ID: [(null)]
TEXT:[Cache refresh is running for 231.13 seconds]
key pressed
key pressed
key pressed
bo id: 1, request id: 1
browser_handler_browse[1391],(1:1), id :


Jomjom79
jomjom79
DLX'er
 
Posts: 154
Joined: Sun Aug 26, 2012 4:25 am
Location: Norway

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby mad_ady » Sat Jan 11, 2014 6:43 am

Thanks, I'll try to have a look soon.
User avatar
mad_ady
Developer
 
Posts: 4568
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby mad_ady » Sat Jan 11, 2014 9:54 pm

Ok, I've looked into it and fixed the issue. It was caused by one of Tronik's changes (adapted the plugins to work with UMSPX), but broke the helper script in the process).

Reboot and it should work now.
User avatar
mad_ady
Developer
 
Posts: 4568
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby devilagent76 » Sun Jan 12, 2014 12:26 am

mad_ady wrote:Ok, I've looked into it and fixed the issue. It was caused by one of Tronik's changes (adapted the plugins to work with UMSPX), but broke the helper script in the process).

Reboot and it should work now.


Thanks mad_ady, it's fixed indeed!
devilagent76
n00b
 
Posts: 10
Joined: Fri Jan 10, 2014 11:36 am

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby jomjom79 » Sun Jan 12, 2014 12:27 am

Ahhh phew..
For one moment there i was afraid i had to use the ps3 client... :o
All Hail the allmighty Mad_ady!!!

Jomjom79
jomjom79
DLX'er
 
Posts: 154
Joined: Sun Aug 26, 2012 4:25 am
Location: Norway

Re: Plugin: YouTube Subscriptions + new subscription videos   

Postby TroNik » Sun Jan 12, 2014 2:22 am

mad_ady wrote:Ok, I've looked into it and fixed the issue. It was caused by one of Tronik's changes (adapted the plugins to work with UMSPX), but broke the helper script in the process).

Oops sorry for that. Thanks for fixing.
TroNik
Developer
 
Posts: 73
Joined: Wed Dec 21, 2011 2:56 am

PreviousNext

Return to UMSP Media Server

Who is online

Users browsing this forum: No registered users and 2 guests