A command line music playlist & player written in python (depends on mplayer).
Features
- quick search through filenames (‘mplay tschaikovski’)
- positive & negative patterns (‘mplay classic -v mozart bach’)
- and/or conjunctions (for pos/neg list separately)
- random playlists
- web-radio stations in a config-file with custom naming (‘mplay -r b4’)
- white noise generator
- custom sorting by modification, access, date, reverse, not accessed for a long time (‘mplay -datime’)
What’s new
- Python 3 support
- small fix for long playlists
- fixed help text
Download:
Current Version 1.1
Signature
mplay -- Copyright (C) 2018 Tobias Petri
This program comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to redistribute it
under certain conditions (see LICENSE file)
----
mplay 1.1
USAGE mplay [-s [u|d]path|[m|a|c]time|none][-cuah] pos_patterns ... [-v [-ua] negpatterns ...] [-r stationname] [--version] [-l]
Press Ctrl+C to jump into interactive mode. "q" jumps to the next playlist item.
e.g. mplay -s Mozart Classic
mplay -r b4
OPTIONS
-c Use current directory
-v From here on, patterns/options refer to the negative list
-V From here on, patterns/options refer to the positive list
-s Sort mode: '[u|d][path|[m|a|c]time|none]'
> u|d: up or down
> path: by path
> mtime: by modification time
> atime: by access time
> ctime: by meta-change time
> lnum: by leading numbers
> none: no sorting
> Default is 'none'.
> '-s' with no arguments triggers the default from the config file.
> '-s datime' triggers 'long time not played (accessed)
>
-u patterns are unsorted i.e. conjunctions
-a pattern are alternative i.e. disjunctions
-8 repeat forever
-r use radio station
-w play white noise only
-i interactive mode, don't play immediately
--version show version number
--bw play backwards (ffmpeg required)
-l list radio stations