Skip to main content

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 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plaintext_playlist_py-0.1.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plaintext_playlist_py-0.1.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

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

Hashes for plaintext_playlist_py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a355f2cfb97c38caffa13a4a1cc8eac275eb6df50d8faf3fdf7b4c50ddc1ad48
MD5 1007f3774158f43c8a2fb398c568faae
BLAKE2b-256 369f339a8e1218a9d536f4c065bdeb8465198ea0f707dc3eba74443ff8ea6687

See more details on using hashes here.

File details

Details for the file plaintext_playlist_py-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for plaintext_playlist_py-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f370db8cb229ad119a3a5293dddc4067c3699542cdb4ffbd8bbf7bfc7878717
MD5 d7a43aef6d2b279f24c918d8b292cefd
BLAKE2b-256 8ae49a427371bc2a4b8e061fea7bfcf92c4f1e58f700d060a3b3de8174a62ea0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page