Observed since 20 Oct, 21:10 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
afplay-win
Tiny utility that mimics 'afplay' in windows
Tiny utility that mimics 'afplay' in windows
For a background on this please read this post
Install this tool using pip:
pip install afplay-win
For help, run:
afplay --help
You can also use:
python -m afplay --help
You can start playback from a specific time position using the --seek or -t option:
# Play from 30 seconds into the file
afplay song.mp3 --seek 30
afplay song.mp3 -t 30
# Play from 1 minute 30 seconds into the file
afplay song.mp3 --seek 1:30
afplay song.mp3 -t 1:30
# Play from 1 hour 10 minutes 30 seconds into the file
afplay song.mp3 --seek 1:10:30
afplay song.mp3 -t 1:10:30
Supported time formats:
SS: seconds (e.g., 30)MM:SS: minutes:seconds (e.g., 1:30)HH:MM:SS: hours:minutes:seconds (e.g., 1:10:30)To contribute to this tool, first checkout the code. Then create a new virtual environment:
cd afplay-win
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
python -m pytest
This implementation is inspired from playsound3
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
pytestEnvironment{
"extras": "",
"marker": "extra == \"test\"",
"requires_python": ">=3.8",
"evaluation": "NOT_EVALUATED"
} | pytest; extra == "test" | runtime |
bdist_wheel · 8.38 KB · Python py3
sdist · 8.43 KB · Python source
Observed since 20 Oct, 21:10 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:73dfa50dbee681f4fb3d9c356c0c1d85e645e406ad11e8ae25d005decde64ea1