Skip to content

yobleck/mocs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mocs

"Music On Console" is great, but it can only sort songs alphabetically. Here is a python ncurses gui that allows songs to be sorted.

  • a-z and z-a
  • size small-large and large-small
  • date modified old-new and new-old

Installation

download files to any folder nut usually ~/.moc/sort/
alias mocs="python path/to/sorter.py" #in .bashrc for convenience
depends on python, mocp, and the python packages setproctitle and wcwidth

Usage

  1. open mocp and navigate to desired folder the quit mocp (but don't kill server)
  2. open mocs
    - vertical arrow keys to scroll songs
    - horizontal arrow keys to seek through song
    - "enter" to play
    - "space" to pause/unpause
    - "s" to stop
    - "m" to toggle through sort modes
    - "a" to toggle autoplay
    - "," volume down 5%
    - "." volume up 5%
    - "esc" to exit program

Use mocp instead of this to:

  • search for songs
  • create and use playlists
  • change settings/themes/muxing etc.

WIP

This mocp alternate frontend is WIP. It may have feature parity in the future, or maybe not since all this program does is call the commandline through the python subprocess module and present the results. V2 in progress

Known Issues:

- holding enter key breaks UI
- a number of UI elements have hardcoded postions and may look wrong for small terminals (should work with 80 col x 20 row and up)
- progress bar and some other elements may flicker on less robust terminals
- crude interface with mocp server

About

music on console gui with sorting

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages