darkhz / invidtui

A TUI based Invidious client
MIT License
191 stars 6 forks source link

Feature request: Subscription feed #8

Closed AaronStiff closed 2 years ago

AaronStiff commented 2 years ago

Wondering whether a subscription feed would ever be added?

I'm unfamiliar with Go and new to Linux, but somehow I got Invidtui running. :) So cool that I can browse Invidious in the terminal, but I can't completely switch over since there's no way to check a list of channels I've "subscribed" to. Is that feature on the horizon? :)

Also, a question: are videos being proxied through an Invidious instance, and if not, is there a way to force that?

ghost commented 2 years ago

To subscribe to YouTube channels, you can use newsboat.

After installing newsboat go to .newsboat folder and create a file named urls. Then you put your YouTube suscriptions in this format: https://www.youtube.com/feeds/videos.xml?channel_id=here you put channel id ~Channelname tag1 tag2

You can use tags to filter the results you want (see query feeds in newsboat). You can open the videos with firefox or mpv or with a custom video player. The only thing I do not know, and I also would like to know, is how to send through invidious my feeds when opening them with newsboat through mpv player. Currently, if I want my feeds to go through invidious I open them with the browser, and then they are proxied through invidious thanks to this addon: libredirect.

AaronStiff commented 2 years ago

Many thanks! I will definitely look into this.

AaronStiff commented 2 years ago

@bambirombi

I believe if you add this line to your newsboat config file:

browser "<terminal-name> -e invidtui --search-video %u"

then the video will open through invidtui after pressing o while in a selection.

The only catch is that <terminal-name> must be a different terminal than the one you are using. I tried several things to get my terminal (Konsole) to open invidtui in a new window, but I failed to find a solution.

ghost commented 2 years ago

@AaronStiff I tried but did not work. How have you set the macro to open with "o"?

AaronStiff commented 2 years ago

I believe that is just the default keybinding:

https://newsboat.org/releases/2.28/docs/newsboat.html#_first_ui_interaction

darkhz commented 2 years ago

Viewing subscriptions will require authentication with invidious, a feature that I haven't implemented in invidtui. It is planned, however. I'll have it implemented natively in invidtui in the future releases.

elig0n commented 2 years ago

Besides invidious subs. that require authentication what do you think about implementing local subs. ?

AaronStiff commented 2 years ago

Honestly I'd prefer local subs myself!

darkhz commented 2 years ago

Subscriptions, playlists and feed can now be viewed in the dashboard after authenticating with an invidious instance. Local subs will take a little time to implement. I am closing this issue since subscription feature is implemented, but if you have any issues, create a new issue referencing the dashboard implementation instead.