chibicitiberiu/ytsm

FR: Rss for latest videos

Opened this issue · 13 comments

Hi

It would be nice if Ytsm provides constructed Rss feeds for the most recent videos of the channels with playable videos. So I can subscribe top my own instance to see the latest vidoes without opening the web viw. The web view mosytly irrelevant now outside of subscribing and organizing, since one cant play videos in there at the moment, and it is a bit of heavy page, I cant keep it open more than 5 min on my laptop, turns my browser into a slug :(

Soon, the web view will have the possibility of viewing the videos, there is a feature related to this.
The only reason the web view could be heavy is because pagination is not yet implemented. Other than that, I can assure you that it's very lightweight, it only uses jquery and bootstrap as dependencies (and jstree for the tree view).

YouTube already has RSS feeds, both for channels and playlists. So what exactly should the RSS feed contain? Please try to be as detailed as possible.

The RSS feed will be created and offered by Ytsm and will contain the names of either downloaded videos or recent videos, and will provide link to playable videos, also will include thumbnails of the videos.

The reason I am asking for RSS by Ytsm instead of Youtube is that so that the user does not maintain separate lists like that. Ytsm is already grabbing videos and all that so why not rely on Youtube one more time instead of directly getting all that from my own manager. The whole reason one is using Ytsm to replace Google stuff and create central place for this on her own server.

Another reason is that I cant get thumbnails with youtube rss, at least the apps I used did not, like TinyTInyRss.

Btw the page load is insanely slow I cant keep my Firefox open more than 5 seconds after opening Ytsm, so if I can add a subscription in that first 5 sec I am good, if not I have to kill it and restart Firefox.
thanks

Okay, thank you.

Related to the second issue, do you have a large number of videos? I think the problem is the lack of pagination, which means it's trying to pull all the videos in the database

I am not sure what you would call large number of videos? Is there a way to count that without counting all that in the interface ?

Yeah my subs can total over 500 easily probably

Ok, that's probably the problem. I actually managed to crash firefox by importing all my subs from YouTube, which was around 10k videos. I definitely need to implement pagination.

Thanks for considering it, I love it already!

Btw is there a way to add subscriptions from the command line?

Ok I will try the txt method

Any word on pagination thing? It is impossibe to use it atm :(

I just implemented it. Check out PR #42. Will merge it in a day or so.