Pet project using sqlite database backend and curses frontend for a music player. Similar to cmus since I like how cmus works
ffmpeg-python
PortAudio
libsndfile
Use this when starting, initializes the database with your music library and playlists
Allows one to add songs to a playlist through the shell
The actual player
======
Many commands also have optional arguments, marked by Opt
Adds arg
to the currently highlighted playlist
or a playlist given as a second argument.
Can be either a file or directory.
Delete the currently highlighted playlist, or a playlist given as a second argument.
List the files of the currently highlighted playlist, or a playlist given
as a second argument, to a textfile in directory
.
Same as export, except for all playlists.
Find the first occurring exact instance of term
in the currently highlighted playlist's sort key and
go to it, other keys can be used by supplying a second argument.
Running find
again without arguments will go to the next instance.
Make a new blank playlist named name
, contents can be added from file on creation by supplying
a name of a file with paths to music files.
Change the playmode of the currently highlighted playlist to one of the following modes: shuffle, inorder, single
Rename the currently highlighted playlist to name
,
or rename a playlist given as a second argument
Sort the currently highlighted playlist by key
No arguments: Update the currently selected song's metadata with its corresponding file (for when the file is updated externally after it has been updated to the database). This does not change the actual file's metadata.
Two arguments: Update the currently selected song's tag
to value
in the database.
This does not change the actual file's metadata.