-
Notifications
You must be signed in to change notification settings - Fork 641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simple subscription system #533
base: develop
Are you sure you want to change the base?
Conversation
This seems like a good start, but not quite complete. For one thing, the |
I agree like Kodi's Youtube |
To anyone who is still looking for mps-youtube to add support for getting your youtube subscriptions feed from your youtube account. As of right now that is basically not possible. I wanted the feature so I was going to try and implement it, however after looking into the youtube API, they removed that ability a while back. With the current API you would have to retrieve a list of all the channels the user is subscribed to, then get the last few videos from every one of those channels, then sort them chronologically. This would be very slow and taxing, and would probably hit the quota very quickly. The only other way is to just load the actual youtube sub page, and then parse the html. I may end up doing that for my setup, but I probably won't try to commit it here, as I think that goes against the youtube TOS. I just wanted to put this here just incase anyone comes across this and wants to implement it. I can save them the trouble of finding out you can't. :/ Hopefully youtube will update the API at some point, but I wouldn't hold your breath because this has been an open issue for years on their API, and they have yet to respond. It would seem they are gimping the API on purpose in order to keep end users using their site and not a 3rd party app. |
55b8765
to
43f811e
Compare
Why would it be slow and taxing? Using the xml API seems like a viable option. You'll have to download as many xmls as the number of channels in the subscription feed, get all the entries from all the xmls, then sort them according to the 'published' attribute using |
Couldn't you use the RSS feed generated on the "manage subscriptions" page? It gives you a .opml. |
Added a simple subscription system. I did not know how to make the doc, i leave it to you. This is my first contribution to a free project so i apologize if i did anything wrong.