Use mpv
to play some folders with RJcode in your local library.
Format a folder with RJcode:
- Convert
'.wav'
files to'.flac'
; - Tag
'.flac'
and'.mp3'
files using metadata from dlsite; - Save
cover.jpg
in all subfolders which have audio files; - Improve folder name readability.
pip install tqdm ffmpeg-python mutagen requests-html beautifulsoup4 pathvalidate natsort
Note that ffmpeg
and mpv
should be available from the command line.
Add to path (change dlft
and dlp
to whatever you like):
git clone https://github.com/somebelly/dlonsei-formatter.git
cd dlonsei-formatter
chmod +x dlonsei-formatter.py
chmod +x dlonsei-player.py
ln -s dlonsei-formatter.py <Somewhere in PATH/dlft>
ln -s dlonsei-player.py <Somewhere in PATH/dlp>
In a directory containing folders with RJcode:
dlft
Play some random folders:
dlp
or with some keywords:
dlp keyword1 keyword2 ...
E.g. (depending on your local library):
dlp 2017 癒し みもりあいの
will play
['RJ196614']