Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
- [x] Search for videos using keywords
- [x] Stream videos
- [x] Stream music
+- [x] Play direct links from YouTube and PeerTube
+- [x] Stream video from magnet links
- [ ] Download video
- [ ] Download music
- [ ] Configuration options
CLI Tube depends on the following:
- youtube-dl
- mpv (recommended) or vlc
+- peerflix (for magnet links)
Download the latest build from GitlabCI (amd64 GNU/Linux only).
quit(0)
+if searchQuery.startswith("magnet:"):
+ discard execProcess(&"peerflix \"{searchQuery}\" --{player}")
+ quit(0)
+
+
let searchResults = extractTitlesAndUrls(getYoutubePage(searchQuery))
let number =