A Python 3 console-based playlist music player!
Install the needed Python 3 libraries in requirements.txt, usually done using the following commands:
$ python3 -m pip install -r requirements.txtIf your Python 3 is managed by your operating system, then run the following commands, in order, to create a virtual environment and actually load into it:
$ python3 -m venv venv
$ source ./venv/bin/activateAnd then you can run the command earlier for non-externally managed environments.
Run the same command as non-externally managed Linux environments, without the 3 at the end of python if that's causing issues.
> python -m pip install -r requirements.txtMake sure to rename playlist_.py to playlist.py so that musicplayer.py imports it, and then replace the example data in playlist_.py with the songs you'd like to put in your playlist!
Once you're in the virtual environment (if you made one, or just using your system's environment), run the following command, depending on your OS:
$ python3 musicplayer.py> python3 musicplayer.pyWide characters may mess up the screen. If the screen looks jumbled on your end, consider checking if your playlist has wide characters (e.g. em dash, CJK, etc.) and replace them with non-wide characters.
Released under the MIT License. See the file named LICENSE.
