Skip to main content

So, what does this do?

automp allows you to automatically append options or use different keybinding depending on the file you’re playing. This is great if you want to skip the intro at the beginning (by providing an -ss xx:xx option) without doing anything or skipping something with a known length in the middle of the file at the press of a button(by providing a key=seek xx.xx mapping) To use it, just type automp every time you want to start mplayer instead of mplayer or use an alias.

The config file (which can be found in $XDG_CONFIG_HOME/mplayer-autocmd-config) is a file that’s parsed by Pythons configparser module, for a description of the terminology and it’s possibilities look at the documentation.

The section name is used as a “profile name”, it has no special meaning except for showing you which profile has been chosen.

There are only three supported options (or keys):

regex

A regular expression that has to match the filename using Pythons re.search function in order for the other stuff in the section to be applied.

remove_after_playing

If this is a True value according to the documentation for getboolean the file will be removed after it has been played.

options

A string containg the arguments to pass to mplayer for this profile.

Every other option is treated as a key (like on your keyboard) with the value being the command the key is bound to. For a list of all possible keys, use mplayer –input=keylist. For a list of all possible commands, use mplayer –input=cmdlist.

An example config file called example.config is part of the git repository.

Metadata

Release files for mplayer-autocmd 3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mplayer-autocmd 3
File Size Uploaded Provenance Actions
mplayer-autocmd-3.tar.gz 3.4 kB Without provenance Details for mplayer-autocmd-3.tar.gz

Release files / mplayer-autocmd-3.tar.gz

Download URL mplayer-autocmd-3.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f577adc154f22a232fc8890d050b6ade30d42bf8329890d5bb32e2019c5aa97c
BLAKE2b-256 checksum
How to use checksums
61afc9cc8dca7027dc641f08e3e4dc8ad0760a5830281981ac3bcd0685431977
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for mplayer-autocmd 3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page