Parse plaintext playlists into python data
Project description
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 onmp3files usingmutagen-- prompts me to set the arist/album/album artist for groups of collections by scanning my music directory -
bin/linkmusic- arsync-like script which creates hardlinks for every file in my playlists into a separate directory (e.g.,~/.local/share/musicsync/). Then, I usesyncthingto sync all the songs in my playlists across my computers/onto my phone, without syncing my entire music collection -
bin/import-musicwhich calls out tobeetsand handles fetching metadata/converting/callingid3stuffand 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file plaintext_playlist_py-0.1.0.tar.gz.
File metadata
- Download URL: plaintext_playlist_py-0.1.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a355f2cfb97c38caffa13a4a1cc8eac275eb6df50d8faf3fdf7b4c50ddc1ad48
|
|
| MD5 |
1007f3774158f43c8a2fb398c568faae
|
|
| BLAKE2b-256 |
369f339a8e1218a9d536f4c065bdeb8465198ea0f707dc3eba74443ff8ea6687
|
File details
Details for the file plaintext_playlist_py-0.1.0-py3-none-any.whl.
File metadata
- Download URL: plaintext_playlist_py-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f370db8cb229ad119a3a5293dddc4067c3699542cdb4ffbd8bbf7bfc7878717
|
|
| MD5 |
d7a43aef6d2b279f24c918d8b292cefd
|
|
| BLAKE2b-256 |
8ae49a427371bc2a4b8e061fea7bfcf92c4f1e58f700d060a3b3de8174a62ea0
|