$ xspf_fixup
A simple command line program to fix playlist (.xspf files) with broken links.
Refrences
Requirements
- Python 3.6+
Installation
From the Python package index (PyPI)
Run:
$ pip3 install xspf_fixup
From source
Download from Github
Standing inside the folder, run:
$ pip3 install -r requirements.txt
For install the dependencies and then run:
$ pip3 install .
Usage
user@host:~/tmp/xspf_fixup/examples$ xspf_fixup --help
Usage: xspf_fixup [OPTIONS] [FILES]...
A simple command line program to fix playlist (.xspf files) with broken
links.
For more info: (https://github.com/jbokser/xspf_fixup).
Options:
-v, --version Show version and exit.
-s, --show Show .xspf file info and exit.
-o, --overwrite Overwrite the .xspf file.
-r, --report Make a report in markdown for each .xspf file.
-h, --help Show this message and exit.
user@host:~/tmp/xspf_fixup/examples$ xspf_fixup -o ./test.xspf
Title Duration Location Result
-- ---------------- ---------- --------------------------- --------
1 Rockland Agus 03:01 videos/Rockland Agus.mp4 Fixed
2 Honky Tonk Way 04:06 videos/Honky Tonk Way.mp4 Fixed
3 Forge Ahead Agos 03:24 videos/Forge Ahead Agos.mp4 Fixed
Tracks count: ..... 3 (Fixed: 3)
Total duration: ... 10:32
user@host:~/tmp/xspf_fixup/examples$
user@host:~/tmp/xspf_fixup/examples$ to_xspf -h
Usage: to_xspf [OPTIONS]
A simple command line program to generate a playlist (.xspf file) with a
list of files.
Example:
$ ls examples/videos/*.mp4 | to_xspf.py > file.xspf
For more info: (https://github.com/jbokser/xspf_fixup).
Options:
-v, --version Show version and exit.
-i, --input-file FILENAME Input text file (or stdin).
-h, --help Show this message and exit.
user@host:~/tmp/xspf_fixup/examples$ ls videos/*.mp4 | to_xspf > files.xspf
File 'videos/Forge Ahead Agos.mp4': Ok
File 'videos/Honky Tonk Way.mp4': Ok
File 'videos/Rockland Agus.mp4': Ok
user@host:~/tmp/xspf_fixup/examples$
Why? (The rationale behind this)
Mainly used by me to fix the .xspf files that Luis "la cosa muerta" Musa gave me.
Author
Metadata
Release files for xspf-fixup 0.9.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| xspf_fixup-0.9.3.tar.gz | 18.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xspf_fixup-0.9.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.7 kB
Release files / xspf_fixup-0.9.3.tar.gz
| Download URL | xspf_fixup-0.9.3.tar.gz |
|---|---|
| Size | 18.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0ec6acf80a6bd283fcac29039bf8856c8ea4c01debc5cbb3b0663f9080a59bc
|
|
BLAKE2b-256 checksum How to use checksums |
05af78bcf8b593e84eccf75e12a20420cdfcda0e45b6166e0eba77e46fd9a0d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|
Release files / xspf_fixup-0.9.3-py3-none-any.whl
| Download URL | xspf_fixup-0.9.3-py3-none-any.whl |
|---|---|
| Size | 19.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b0a7621ba0cabd88fa9f5fb53eea0f5866feed56622f7fae08b8cb3c69d2063d
|
|
BLAKE2b-256 checksum How to use checksums |
d286d5e31339052a0c0a9e211985b0ae19315e1eab6c753a136a13cd06a3e485
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|
Security for xspf-fixup 0.9.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.