1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

More leniency on image filenames

This commit is contained in:
Krateng
2019-04-03 16:03:48 +02:00
parent 4d96500644
commit a7963ee679
3 changed files with 116 additions and 58 deletions

View File

@@ -3,42 +3,41 @@ don't like the ones provided by Last.FM, you don't want to use Last.FM or it's
missing some artists / tracks that are important to you.
For artists, you can use a .jpg, .jpeg, .png or .gif image that is named like
the artist, but without whitespace and non-latin-alphabet characters (plus
extension). In case you want to have multiple images of the same format, you may
add any number from 0-9 to the name. If you need more images than that, create a
folder named like the artist and add any images inside. So, for example, if your
artist is "Dal★Shabet", all these files would be considered:
the artist, but with all non-alphanumeric characters removed. You may also chose
the safe route and omit everything but numbers and latin characters (except the
dot separating the name and the extension). You can either capitalize exactly as
the title or use only lower case, but not use arbitrary capizalization. In case
you want to have multiple images of the same format, you may create a folder
named like the artist and add any images inside. So, for example, if your artist
is "Dal★Shabet", all these files would be considered:
DalShabet.jpg
DalShabet4.png
DalShabet0.gif
dalshabet.png
DalShabet/bestimage.jpeg
DalShabet/serri_only.png
dalshabet/serri_only.png
The following files would not be considered:
Dal Shabet.gif (Whitespace)
Dal★Shabet.png (non-latin character)
DalShabet.png (non-alphanumeric character)
Dalshabet.gif (wrong capitalization)
DalShabet.webm (wrong extension)
DalShabet23.jpg (to digit number)
DalShabet/SomeoneLikeU_MV.mp4 (wrong extension)
DalShabet3/party.png (wrong folder name)
DalShabet/party.png (non-alphanumeric character in folder)
The same concept applies to tracks, however their name consists of all artists in
alphabetical order joined by a dash (-), then an underscore (_) and the track
title. Rules as above apply, so if your track was named "Epic Crossover 파티 협동"
and it was performed by HyunA, Dal★Shabet and Taylor Swift, the following files
would be considered:
The same concept applies to tracks, however their name consists of all artists
joined by a dash (-), then an underscore (_) and the track title. Artists should
be joined in alphabetical order, but filenames with the wrong order might still
work for a low artist number. Rules as above apply, so if your track was named
"Epic Crossover 파티 협동" and it was performed by HyunA, Dal★Shabet and Taylor
Swift, the following files would be considered:
DalShabet-HyunA-TaylorSwift_EpicCrossover.jpg
DalShabet-HyunA-TaylorSwift_EpicCrossover3.png
DalShabet-HyunA-TaylorSwift_EpicCrossover/albumcover.png
DalShabet-HyunA-TaylorSwift_EpicCrossover/dancing.gif
DalShabet-TaylorSwift-HyunA_EpicCrossover파티협동.png
dalshabet-hyuna-taylorswift_epiccrossover/albumcover.png
DalShabet-HyunA-TaylorSwift_EpicCrossover파티협동/dancing.gif
Not accepted would be:
DalShabet-HyunA-Taylor Swift_EpicCrossover.jpg (Whitespace)
DalShabet-HyunA-TaylorSwift_EpicCrossover파티협동.jpg (non-latin characters)
HyunA-DalShabet-TaylorSwift_EpicCrossover.jpg (wrong artist order)
DalShabet-HyunA-Taylor Swift_epiccrossover.jpg (wrong capitalization)