33 lines
2 KiB
Markdown
33 lines
2 KiB
Markdown
# music-library-tools
|
|
|
|
Consists of many tools used in my music library.
|
|
|
|
## Tool listing
|
|
|
|
WARNING! Most of these scripts have extremely hardcoded file directory paths. Fix them yourself (or wait untill I make them work differently) if you'd like to use these scripts elsewhere.
|
|
|
|
### Javascript
|
|
- `bun run pillow https://pillows.su/....`
|
|
Downloading any audio from a pillow.su link, with correct filename and et cetera.
|
|
- `bun run sendgb https://sendgb.com/...`
|
|
Downloading any audio from a sendgb.com link, with correct filename and et cetera.
|
|
- `bun run deezify`
|
|
Configuration for this is inside of the file, but this allows you to pull data from deezer and then look through it, and then send it off to OrpheusDL.
|
|
- `bun run now-playing`
|
|
Show the now playing of all of your users in Navidrome through a discord webhook.
|
|
- `bun run request-bot`
|
|
Discord bot that allows you to make requests to a administration team with metadata required to properly figure out if a request is trustworthy and required.
|
|
|
|
### Python
|
|
- `python3 misc/fix_singles.py`
|
|
Fixes singles that come from OrpheusDL. They are actually just saved as .lrc + .flac/.mp3/.m4a, and aren't in their own directory. This basically moves, let's say "A Milli.mp3" and "A Milli.lrc" to "Lil Wayne (singles)/A Milli.mp3" and "Lil Wayne (singles)/A Milli.lrc".
|
|
- `python3 misc/fix_utf8_filenames_only.py`
|
|
Some exports, as sometimes seen in Soulseek files, they come with extremely broken UTF8 filenames. Navidrome does not support these, so I have to fix them and take out all utf8 filenames.
|
|
- `python3 misc/fix_utf8_tags.py`
|
|
Same shit as with the above script, but for ID3v2 tags.
|
|
- `python3 misc/lrcput+txt.py`
|
|
The [lrcput script](https://github.com/JustOptimize/lrcput/blob/main/lrcput.py), but I added support for .txt files and not only .lrc's.
|
|
|
|
### Bash
|
|
- `./misc/fix_dates_deezer_dl.sh`
|
|
deezer-downloader gives albums with inconsistent dates. This breaks Navidrome, so we have to normalize the dates.
|