mirror of
https://github.com/sstent/vmimages.git
synced 2026-01-25 06:31:35 +00:00
sync
This commit is contained in:
@@ -64,6 +64,15 @@ in {
|
|||||||
return f' [{atype}]'
|
return f' [{atype}]'
|
||||||
'';
|
'';
|
||||||
first_artist = "albumartist.split(', ',1)[0:1][0]";
|
first_artist = "albumartist.split(', ',1)[0:1][0]";
|
||||||
|
|
||||||
|
clean_albumtype = ''
|
||||||
|
raw_type = album.get('MUSICBRAINZ_ALBUMTYPE', '')
|
||||||
|
if '; ' in raw_type:
|
||||||
|
return raw_type.replace('; ', '')
|
||||||
|
return raw_type
|
||||||
|
'';
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
albumtypes = {
|
albumtypes = {
|
||||||
bracket = "[]";
|
bracket = "[]";
|
||||||
@@ -201,13 +210,6 @@ in {
|
|||||||
"artist Sepultura _ Exodus" = "Sepultura";
|
"artist Sepultura _ Exodus" = "Sepultura";
|
||||||
"artist The Knife in collaboration with Mount Sims and Planningtorock" = "The Knife";
|
"artist The Knife in collaboration with Mount Sims and Planningtorock" = "The Knife";
|
||||||
"artist Unida _ Dozer" = "Unida";
|
"artist Unida _ Dozer" = "Unida";
|
||||||
"MUSICBRAINZ_ALBUMTYPE \"a; l; b; u; m;\"" = "album";
|
|
||||||
"MUSICBRAINZ_ALBUMTYPE \"e; p;\"" = "ep";
|
|
||||||
"MUSICBRAINZ_ALBUMTYPE \"s; i; n; g; l; e;\"" = "single";
|
|
||||||
"MUSICBRAINZ_ALBUMTYPE \"c; o; m; p; i; l; a; t; i; o; n;\"" = "compilation";
|
|
||||||
"MUSICBRAINZ_ALBUMTYPE \"l; i; v; e;\"" = "live";
|
|
||||||
"MUSICBRAINZ_ALBUMTYPE \"r; e; m; i; x;\"" = "remix";
|
|
||||||
"MUSICBRAINZ_ALBUMTYPE \"s; o; u; n; d; t; r; a; c; k;\"" = "soundtrack";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user