Skip to content

YouTube audio stream player...that can only play songs from a text file with song names

License

Notifications You must be signed in to change notification settings

ThatMightyGuy/playtxt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

playtxt

YouTube audio stream player...

...that can only play songs from a text file with song names

Pretty useful, if you ask me.

Currently only available for Linux, but probably would work on Windows with minimal modifications. // rectified, works now

Dependencies

[pip] bs4 requests

pip install bs4 requests

[pacman] youtube-dl mpv

sudo pacman -S youtube-dl mpv

[scoop] youtube-dl extras/mpv

scoop install git youtube-dl

scoop bucket add extras

scoop install mpv

Installation

sudo python setup.py install

Usage

playtxt.py -F (--file) <file> - plays a playlist

playtxt.py -N (--name) <song name> - plays a specific song

playtxt.py -C (--continue) - continue playing from a saved state

For help, scream playtxt.py -h (--help)

It was cobbled together in an hour, from a StackOverflow question somebody asked.

It basically was already pretty much done before me, but nobody made this, as far as I know, for some reason.

TODO:

Skip command

Looping

About

YouTube audio stream player...that can only play songs from a text file with song names

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages