Skip to main content

plaintext_playlist_py

Library to parse plaintext-playlist files

This is mostly for personal usage, making this installable as a library means I can use it across code/projects/scripts

Also includes some ID3/music scripts:

  • bin/id3stuff - a personal opinionated script to set ID3 metadata on mp3 files using mutagen -- prompts me to set the arist/album/album artist for groups of collections by scanning my music directory

  • bin/linkmusic - a rsync-like script which creates hardlinks for every file in my playlists into a separate directory (e.g., ~/.local/share/musicsync/). Then, I use syncthing to sync all the songs in my playlists across my computers/onto my phone, without syncing my entire music collection

  • bin/import-music which calls out to beets and handles fetching metadata/converting/calling id3stuff and moving music into my collection. You can see my config for that here

Installation

Runs on python3.10+

To install with pip, run:

pip install git+https://github.com/purarue/plaintext-playlist

Usage

plaintext_playlist_py

Can run plaintext_playlist_py list-all to list all items in playlists

Tests

git clone 'https://github.com/purarue/plaintext_playlist_py'
cd ./plaintext_playlist_py
pip install '.[testing]'
flake8 ./plaintext_playlist_py
mypy ./plaintext_playlist_py

Metadata

Release files for plaintext-playlist-py 0.1.0

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

Source distribution (sdist)

Source distribution for plaintext-playlist-py 0.1.0
File Size Uploaded
plaintext_playlist_py-0.1.0.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for plaintext-playlist-py 0.1.0
File Interpreter ABI Platform
plaintext_playlist_py-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.9 kB

Release files / plaintext_playlist_py-0.1.0.tar.gz

Download URL plaintext_playlist_py-0.1.0.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a355f2cfb97c38caffa13a4a1cc8eac275eb6df50d8faf3fdf7b4c50ddc1ad48
BLAKE2b-256 checksum
How to use checksums
369f339a8e1218a9d536f4c065bdeb8465198ea0f707dc3eba74443ff8ea6687
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / plaintext_playlist_py-0.1.0-py3-none-any.whl

Download URL plaintext_playlist_py-0.1.0-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f370db8cb229ad119a3a5293dddc4067c3699542cdb4ffbd8bbf7bfc7878717
BLAKE2b-256 checksum
How to use checksums
8ae49a427371bc2a4b8e061fea7bfcf92c4f1e58f700d060a3b3de8174a62ea0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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