Catalog PyPI
PACKAGE EXPLORERView in registry

afplay-win

PyPI

Tiny utility that mimics 'afplay' in windows

Versions collected1
Direct dependencies1From release 0.0.2
Last observed20 Oct, 21:10 UTC

README

Version 0.0.2 documentation

afplay-win

PyPI Changelog Tests License

Tiny utility that mimics 'afplay' in windows

For a background on this please read this post

Installation

Install this tool using pip:

pip install afplay-win

Usage

For help, run:

afplay --help

You can also use:

python -m afplay --help

Seek Functionality

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)

Development

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

Inspiration

This implementation is inspired from playsound3

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.0.23 Feb 20261

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
sukhbinder/afplay-win

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:10 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:0b73fcf06ab3f2bcd1089e3334221cf9d59901851462966108bd15fc7e567a9d