Youtube subscriptions

Internet TV, Radio, Podcasts
Post Reply
S@gittarius
Posts: 98
Joined: Sat May 08, 2010 8:12 pm

Youtube subscriptions

Post by S@gittarius »

First of all I'd like to acknowledge the greatest ever DLNA media server I've happened upon!
I tried dozens of them but neither got closer to what WMS is capable of. So a big thank you goes to the Author. I have some questions about podcasts and more specifically about these from Youtube.

1. Adding podcasts containing lists of video files like playlist etc. is a straight forward procedure. But how about creating dynamic folder structure like someone's subscription list? Requesting the following URL http://gdata.youtube.com/feeds/base/use ... scriptions returns a list of channels a [user] subscribed to rather than a list of video resources. In general I tried to create a folder which contains a list of podcasts dynamically created when I choose that folder on TV. So far in vain unfortunately. I hope you got the idea. I am quite sure this is something WMS is capable of through scripting.

My second question is connected to the first one and you'll see why.
2. The maximum number of items per page Youtube will answer with is 50 (default is 25). So if the podcast does contain more than that you have to split the list into pages. How to add service items in the list which will make going through pages back and forth? "Update podcasts" folder is an example for such a service item.
3. When browsing a podcast on TV the list is not sorted the way I'd like it to be - the newest first, even though I see it correctly in main program's form. Where is the problem?
As many users in the forum I am too considering to pay for WMS after the trial period comes to an end. I hope I'll find an assistance here to enjoy the newest items from my Youtube subscriptions.

Yet again congratulations for this marvelous masterpiece of software!
Eugene
Posts: 2940
Joined: Tue Nov 17, 2009 8:05 pm

Re: Youtube subscriptions

Post by Eugene »

S@gittarius wrote: 1. Adding podcasts containing lists of video files like playlist etc. is a straight forward procedure. But how about creating dynamic folder structure like someone's subscription list? Requesting the following URL http://gdata.youtube.com/feeds/base/use ... scriptions returns a list of channels a [user] subscribed to rather than a list of video resources. In general I tried to create a folder which contains a list of podcasts dynamically created when I choose that folder on TV. So far in vain unfortunately. I hope you got the idea. I am quite sure this is something WMS is capable of through scripting.
Subscriptions refer to channels, you can add links to channels

Code: Select all

http://gdata.youtube.com/feeds/base/users/user_name/uploads
S@gittarius wrote: My second question is connected to the first one and you'll see why.
2. The maximum number of items per page Youtube will answer with is 50 (default is 25). So if the podcast does contain more than that you have to split the list into pages. How to add service items in the list which will make going through pages back and forth? "Update podcasts" folder is an example for such a service item.
I do not think that the real problem, 25 is at least 3 weeks of daily updates of the channel. But you may do so by the example of processing rss-feed "Amazon on Demand". Example add subfolders for pages in the "Comedy Central".
S@gittarius wrote: 3. When browsing a podcast on TV the list is not sorted the way I'd like it to be - the newest first, even though I see it correctly in main program's form. Where is the problem?
You can turn on web-mode and check list of podcast items in Internet Explorer http://server-ip-address:server_port
S@gittarius
Posts: 98
Joined: Sat May 08, 2010 8:12 pm

Re: Youtube subscriptions

Post by S@gittarius »

Eugene wrote:
S@gittarius wrote: 1. Adding podcasts containing lists of video files like playlist etc. is a straight forward procedure. But how about creating dynamic folder structure like someone's subscription list? Requesting the following URL http://gdata.youtube.com/feeds/base/use ... scriptions returns a list of channels a [user] subscribed to rather than a list of video resources. In general I tried to create a folder which contains a list of podcasts dynamically created when I choose that folder on TV. So far in vain unfortunately. I hope you got the idea. I am quite sure this is something WMS is capable of through scripting.
Subscriptions refer to channels, you can add links to channels

Code: Select all

http://gdata.youtube.com/feeds/base/users/user_name/uploads
Actually I did it exactly the same way you propose but I consider doing so is a workaround. When I add a new subscription I'll have to alter WMS settings again. But nevertheless this is not so big deal.
Eugene wrote:
S@gittarius wrote: My second question is connected to the first one and you'll see why.
2. The maximum number of items per page Youtube will answer with is 50 (default is 25). So if the podcast does contain more than that you have to split the list into pages. How to add service items in the list which will make going through pages back and forth? "Update podcasts" folder is an example for such a service item.
I do not think that the real problem, 25 is at least 3 weeks of daily updates of the channel. But you may do so by the example of processing rss-feed "Amazon on Demand". Example add subfolders for pages in the "Comedy Central".
For sure. But some Youtuberians are pretty much productive and somehow manage to upload 5-10 videos per day. As a full time occupied person I cannot follow them at the same pace. Sometimes it takes a few weeks to find the time for enjoying these stuff. By that time most of my subscriptions have published more than 50 items. But if you have an example for paginating the results from channels I'll go through and try to adopt for Youtube.

Eugene wrote:
S@gittarius wrote: 3. When browsing a podcast on TV the list is not sorted the way I'd like it to be - the newest first, even though I see it correctly in main program's form. Where is the problem?
You can turn on web-mode and check list of podcast items in Internet Explorer http://server-ip-address:server_port
Ok. I'll give it a try but how to change the order if it's not the way I'd like it to be - the newest first. As discussed above the newest 50 items per channel will do the trick most of the time thus paginating results won't be such of a problem.

Now I have a more general question. Many users asked about scripting tutorial with a little success one may say. Is it possible to give me some direction not about scripting but when, which objects and how to access them? For example in the podcast's properties there are three sections for scripts. How and when to use them?

At last thank you for the fast reply.
S@gittarius
Posts: 98
Joined: Sat May 08, 2010 8:12 pm

Re: Youtube subscriptions

Post by S@gittarius »

Eugene wrote:
S@gittarius wrote: 3. When browsing a podcast on TV the list is not sorted the way I'd like it to be - the newest first, even though I see it correctly in main program's form. Where is the problem?
You can turn on web-mode and check list of podcast items in Internet Explorer http://server-ip-address:server_port
The result is always the same – items are sorted ascending by title.
Post Reply