Install
Install the actual MOC player/server
% sudo apt-get install -y moc or % brew install moc
Install with pip
% pip3 install mocp
Usage
In [1]: import moc
In [2]: moc.find_and_play('~/music-dir/blah*')
In [3]: moc.go('12:15') # jump to particular point in current track
In [4]: moc.go('1h23m12s') # jump to particular point in current track
In [5]: moc.go(500) # jump to particular point in current track
In [6]: moc.info_string()
Out[6]: '08:21 (501) of 95:35 into /home/user/music-dir/blah-thing/file.mp3'
Metadata
Release files for mocp 0.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mocp-0.4.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / mocp-0.4.4-py3-none-any.whl
| Download URL | mocp-0.4.4-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3fce5f61a968b61ec6b8360dc1aec3b99957e6c634dc232674e48ff42ff5d5b0
|
|
BLAKE2b-256 checksum How to use checksums |
c3840b346de355b040f0d6d92587d6b36de4fd719908b26320135a01fd0fa0f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |