FreeTubeApp / FreeTube

An Open Source YouTube app for privacy
https://freetubeapp.io/
GNU Affero General Public License v3.0
13.34k stars 825 forks source link

Feature Request: Command Line & mpv Support #206

Closed SlidingHorn closed 4 years ago

SlidingHorn commented 5 years ago

I want to preface this by saying that this project looks awesome..

I think it would be extra awesome if we were able to run it solely from the command line using a player of our choice as well. This would make this application an absolute beast for those of us minimalist linux hipsters!

PrestonN commented 5 years ago

MPV (and other players like VLC) support have been asked before and is currently in the backlog. A CLI interface would be interesting to make as I haven't made one before. It looks to be possible to add on to the current project though it might be appealing to make it a stand alone project as well if users prefer a smaller download size (and possibly faster). I'd be interested in which direction you prefer for a CLI.

SlidingHorn commented 5 years ago

I'm clueless as to how Invidious' API works, but having the functionality to check subscriptions and see a list of recommended videos similar to those which would normally show on YouTube's home page would be awesome.

Having the ability to have something like a chronological "topic" feed would be cool too, if a recommendations section wouldn't be possible (i.e. something that polls videos about linux, or the NFL, or a particular game the user is interested in)

I'd assume one could set up a configuration file that would outline subscriptions and/or topics, etc.

SlidingHorn commented 5 years ago

also, an all lower-case command name would probably be preferred ;)

01010011010 commented 5 years ago

meanwhile using a simple shell script to call mpv via command line copy the invidio.us link and paste it to the script

tt.sh

/bin/bash

exec torify mpv $1

PrestonN commented 4 years ago

Closing in favor of #192

debnath-d commented 3 years ago

How does #192 address this issue?