terminal UI for viewing youtube and/or peertube subscriptions. Especially well suited for Raspberry Pi.
mpv_mode
is enabled (default))mpv_mode
is disabled)You can download a self-contained binary from releases page
Download your youtube subscriptions OPML (you can do that by pressing 'c' in the app).
and save it as the following file: ~/.config/youtube-subscriptions/subscription_manager
Create a configuration file (see configuration section)
and add the channel urls you want to register to channel_urls
list.
press h for help.
You can optionnaly add a user configuration at
$HOME/.config/youtube-subscriptions/config.json
example:
```json { "videopath": "HOME/.cache/yts/videos", "cachepath": "HOME/.cache/yts/yts.json", "youtubedlformat": "[height <=? 360][ext = mp4]", "videoextension": "mp4", "kindsymbols": { "Audio": "ﱘ", "Video": "", "Other": "" }, "players": [ ["/usr/bin/mplayer", "-fs"] ], "channelids": [], "channelurls": [], "mpvmode": true, "mpv_path": "/usr/local/bin/mpv" }
```
| field | description | default value
| ------ | ----------- | -------------
| videopath | directory where videos will be stored | /tmp
| cachepath | file path where video list will be stored | /tmp/yts.json
| blockishplayer | blockish player to use (supersedes players) | None
| players | list of players command for videos in order of priority |
| youtubedlformat | see youtube-dl doc | [height <=? 360][ext = mp4]
| videoextension | youtube-dl video extension as per format | mp4
| kindsymbols | hash of characters to describe the media | { "Audio": "a", "Video": "v", "Magnet": "m", "Other": "o" }
| channelids | list of additional channel ids which will be also fetched | []
| channelurls | list of additional channel urls which will be also fetched (can be used for peertube) | []
| mpvmode | try and start mpv to play the youtubee video first | true
| mpvpath | path to mpv binary (will be use if mpvmode is true) | /usr/bin/mpv
| openmagnet | tool to use to open magnet links (e.g. transmission-remote-cli | None
__HOME
will be substituted with the home path.
simply run:
sh
./cross-build-raspberry.sh
binary will be in target/arm-unknown-linux-gnueabihf/release/youtube-subscriptions