Skip to content

Wojnstup/PipeCatTurbo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

▶️ Watch Youtube and listen to music with dmenu! 🎵

Features:

  • Search for channels, playlists and videos
  • Set video or audio only mode
  • Shuffle through a playlst
  • Create a local playlist
  • Control your music with media controlls
  • Don't ping Google, for privacy concerns

Hint! You propably want to set a keybinding for this script, otherwise you'll hate it!

Select from several options in main menu

Search and select your videos, playlists and channels!

Watch your favourite creators without pinging Google!

Categorize your music with local playlists!

You can create local lists and append songs to them in dmenu, but also ~/.pipecat_turbo_lists has easy to edit syntax.

How does it work?

  • The local playlists are stored in ~/.pipecat_turbo_lists file
  • When launched, mpv creates a /tmp/mpvsocket file, so you can controll it or extract info from it with bash commands
  • While playing playlists, the script creates a /tmp/pipecat_list file, so you can move forward or backwards in your queue
  • All the info and videos are scraped from an Invidious instance somebody hosted, so you don't ping Google wihle being able to access all the Youtube content

Config and hacking?

The script doesn't have a config file by default. If you want to create a config file, you do it in ~/.config/pipecat_turbo.conf
The rest is explained in the comments in the script.

Example config - it's the one I use!

Dependencies:

  • mpv - for playing content
  • libnotify - for notifications
  • socat - for controlling mpv from dmenu
  • dmenu - for having a menu (obviously)
  • youtube-dl - for watching videos from the internet
  • a link to working Invidious instance, if the ones provided go down use a different one