Extend coverlovin a bit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CoverLovin |
New
|
Undecided
|
Unassigned |
Bug Description
Hi all,
I've adjusted the tool a little bit. Because I need these changes for
a music player applet in Fvwm-Nightshade. If you like it feel free to use it
or some parts of the code. Unfortunately the dependencies are increase. Now
Mutagen AND ImageMagick (for converting) is needed.
Description of changes:
1) I changed the name creation because if you have a directory with
mixed songs from different artists 'cover.jpg' isn't ideal. Now you can
enter a list of keywords. Possible keys are: artist, album, title. While
processing the cover name will be created from the tags. As a delimiter
the '-' is used but can be changed with '--delimiter'.
2) While processing the song will be checked if an embedded cover is available.
If so it will extracted and saved/converted to the correct image format
and the used image size.
3) coverlovin processes by default only 1 directory but can be extended with
'--depth'. 0 is unlimited.
4) Now it is possible to scan only one file instead of directories. For
directory/ies '-d' is used and '-f' for file.
5) Some users like to see which version they use. I implemented this, too ^^
The --help output:
Usage: coverlovin.py [options]
Options:
-h, --help show this help message and exit
-s SIZE, --size=SIZE file size: small, medium, or large (default: medium)
-i IMAGE, --image=IMAGE
-n NAME, --name=NAME cover image file name. Comma seperated key list. Keys:
--delimiter=
-r REFERER, --referer=REFERER
-c COUNT, --count=COUNT
-o, --overwrite overwrite (default False)
-f FILE, --file=FILE file to scan
-d DIR, --directory=DIR
--depth=DEPTH directory depth to scan (default 1). 0 is unlimited
--debug show debug (default False)
--version show version
If you have ideas, improvements or find a bug feel free to contact me :-)
Best Regards,
Thomas
Those are some really nice features! I was using clementine's extract cover option to do #2 but now it will be much easier. But I would love to see album art fetching from discogs if that's possbile