I tested it again and i saw that i made a mistake. In both Windows and on my Synology NAS its creates for every artist a folder.
The script must work in that way that it always start with the name of the Album
I tested on Windows. Below you will see a screen image of the test
Here are the results if i run the script in Windows for this particular artist. I didn't see it with other Albums.
Like Billy Joel Billy Joel.
Properties: Select all
# MediaInfoLib - v22.12
[General]
Count : 379
StreamCount : 1
StreamKind : General
StreamKind/String : General
StreamKindID : 0
AudioCount : 1
Audio_Format_List : FLAC
Audio_Format_WithHint_List : FLAC
Audio_Codec_List : FLAC
Audio_Language_List : English
CompleteName : M:\[0002] - MUSIC-FILES\Avicii\[2014] - True\Avicii - 07 - Shame On Me.flac
FolderName : M:\[0002] - MUSIC-FILES\Avicii\[2014] - True
FileNameExtension : Avicii - 07 - Shame On Me.flac
FileName : Avicii - 07 - Shame On Me
FileExtension : flac
Format : FLAC
Format/String : FLAC
Format/Info : Free Lossless Audio Codec
Format/Url : https://xiph.org/flac/
Format/Extensions : fla flac
Format_Commercial : FLAC
InternetMediaType : audio/x-flac
FileSize : 31854266
FileSize/String : 30.4 MiB
FileSize/String1 : 30 MiB
FileSize/String2 : 30 MiB
FileSize/String3 : 30.4 MiB
FileSize/String4 : 30.38 MiB
Duration : 251425
Duration/String : 4 min 11 s
Duration/String1 : 4 min 11 s 425 ms
Duration/String2 : 4 min 11 s
Duration/String3 : 00:04:11.425
Duration/String5 : 00:04:11.425
OverallBitRate_Mode : VBR
OverallBitRate_Mode/String : Variable
OverallBitRate : 1013559
OverallBitRate/String : 1 014 kb/s
StreamSize : 0
StreamSize/String : 0.00 Byte (0%)
StreamSize/String1 : Byte0
StreamSize/String2 : 0.0 Byte
StreamSize/String3 : 0.00 Byte
StreamSize/String4 : 0.000 Byte
StreamSize/String5 : 0.00 Byte (0%)
StreamSize_Proportion : 0.00000
Title : Shame On Me
Album : True
Part : 1
Part/Position_Total : 1
Track : Shame On Me
Track/Position : 7
Track/Position_Total : 15
Performer : Peter Dyer (keys, talkbox);Audra Mae (vocals);Sterling Fox (vocals)
Composer : Arash Pournouri / Tim Bergling / Nile Rodgers / Avicii
Producer : PRMD,Universal Music
Label : PRMD
Genre : House / Electronic / Avicii
Recorded_Date : 2014-01-22
File_Created_Date : UTC 2023-07-23 19:39:40.679
File_Created_Date_Local : 2023-07-23 21:39:40.679
File_Modified_Date : UTC 2023-07-24 15:25:49.492
File_Modified_Date_Local : 2023-07-24 17:25:49.492
ISRC : CH3131340088
Cover : Yes
Cover_Type : Cover (front)
Cover_Mime : image/jpeg
Comment : {'Classical Extras': {'Artists options': {'run extra artists': True, 'orchestra strings': 'orchestra, philharmonic, philharmonica, philharmoniker, musicians, academy, symphony, orkester', 'choir strings': 'choir, choir vocals, chorus, singers, domchors, domspatzen, koor, kammerkoor', 'group strings': 'ensemble, band, group, trio, quartet, quintet, sextet, septet, octet, chamber, consort, players, les ,the , quartett', 'replace artist name with alias?': 'replace', 'alias vs credited-as': 'alias over-rides', 'use recording artist': False, 'recording artist name style': 'performer', 'disallow blank recording artist': False, 'recording artist effect on track artist': 'merge', 'Album prefix': True, 'include arrangers': True, 'exclude lyricists if no vocals': True, 'fix cyrillic': True, 'use release credited-as name': True, 'use release relationship credited-as name': True, 'use release-group credited-as name': True, 'use recording credited-as name': False, 'use recording relationship credited-as name': True, 'use track credited-as name': True, 'use credited-as name for performer': True, 'use credited-as name for composer': False, 'use credited instrument': True, 'exclude solo': True, 'chorusmaster': 'choirmaster', 'orchestrator': 'orch.', 'concertmaster': 'leader', 'lyricist': 'lyrics', 'librettist': 'libretto', 'writer': 'writer', 'arranger': 'arr.', 'reconstructed by': 'reconstructed', 'revised by': 'revised', 'translator': 'trans.', 'split lyrics': True, 'lyrics': 'lyrics', 'album lyrics': 'albumnotes', 'track lyrics': 'tracknotes', 'Tags to blank': 'artist, artistsort', 'Tags to blank 2': 'performer:orchestra, performer:choir, performer:choir vocals', 'File tags to keep': '', 'Clear previous tags': False, 'populate sort tags': True, 'standardize artists': False, 'translate artist names': False, 'line 1': {'source': 'album_soloists, album_ensembles, album_conductors', 'tag': 'artist, artists', 'conditional': False}, 'line 2': {'source': 'recording_artists', 'tag': 'artist, artists', 'conditional': True}, 'line 3': {'source': 'soloist_names, ensemble_names, conductors', 'tag': 'artist, artists', 'conditional': True}, 'line 4': {'source': 'soloists', 'tag': 'soloists, trackartist, involved people', 'conditional': False}, 'line 5': {'source': 'release', 'tag': 'release_name', 'conditional': False}, 'line 6': {'source': 'ensemble_names', 'tag': 'band', 'conditional': False}, 'line 7': {'source': 'composers', 'tag': 'artist', 'conditional': True}, 'line 8': {'source': 'MB_artists', 'tag': 'composer', 'conditional': True}, 'line 9': {'source': 'arranger', 'tag': 'composer', 'conditional': True}, 'line 10': {'source': '', 'tag': '', 'conditional': False}, 'line 11': {'source': '', 'tag': '', 'conditional': False}, 'line 12': {'source': '', 'tag': '', 'conditional': False}, 'line 13': {'source': '', 'tag': '', 'conditional': False}, 'line 14': {'source': '', 'tag': '', 'conditional': False}, 'line 15': {'source': '', 'tag': '', 'conditional': False}, 'line 16': {'source': '', 'tag': '', 'conditional': False}}}} (artists_options) / {'Classical Extras': {'Works options': {'run work parts': True, 'include collection relations': True, 'allow-empty-parts': True, 'min common words to eliminate': 2, 'in-string proximity trigger': 2, 'end-string proximity trigger': 1, 'hyphen-splitting': True, 'similarity threshold': 100, 'disallow empty part names': True, 'prepositions': "a, the, in, on, at, of, after, and, de, d'un, d'une, la, le, no, from, &, e, ed, et, un, une, al, ala, alla", 'ignore prefixes': ' part , act , scene, movement, movt, no. , no , n., n , nr., nr , book , the , a , la , le , un , une , el , il , tableau, from , KV ,Concerto in, Concerto', 'synonyms': '(1, one) / (2, two) / (3, three) / (&, and) / (Rezitativ, Recitativo, Recitative) / (Sinfonia, Sinfonie, Symphonie, Symphony) / (Arie, Aria) / (Minuetto, Menuetto, Minuetta, Menuet, Minuet) / (Bourée, Bouree , Bourrée)', 'replacements': '(words to be replaced, replacement words) / (please blank me, ) / (etc, etc)', 'Style': 'Extended', 'Work source': 'Hierarchy', 'Derive works from title': True, 'movement tag inc num': 'part, movement, subtitle', 'movement tag exc num': '', '1-level movement tag inc num': 'movement', '1-level movement tag exc num': '', 'movement num tag': 'movementnumber', 'movement tot tag': 'movementtotal', 'multi-level work tag': 'groupheading, work', 'single level work tag': '', 'top level work tag': 'top_work, style, grouping', 'multi-level work separator': ':', 'single level work separator': ':', 'movement number separator': '.', 'show partial recordings': True, 'partial text': '(part)', 'include arrangement of': True, 'arrangements text': 'Arrangement:', 'list medleys': True, 'medley text': 'Medley', 'main genre tag': 'genre', 'sub-genre tag': 'sub-genre', 'source genre from file': True, 'source genre from folksonomy tags': True, 'source genre from work-type(s)': True, 'infer genre from artist details(s)': False, 'apply filter to genres': True, 'classical main genres': 'Classical, Chamber music, Concerto, Symphony, Opera, Orchestral, Sonata, Choral, Aria, Ballet, Oratorio, Motet, Symphonic poem, Suite, Partita, Song-cycle, Overture, Mass, Cantata', 'classical sub-genres': 'Chant, Classical crossover, Minimalism, Avant-garde, Impressionist, Aria, Duet, Trio, Quartet', 'general main genres': 'Alternative music, Blues, Country, Dance, Easy listening, Electronic music, Folk, Folk / pop, Hip hop / rap, Indie, Religious, Asian, Jazz, Latin, New age, Pop, R&B / Soul, Reggae, Rock, World music, Celtic folk, French Medieval', 'general sub-genres': 'Song, Vocal, Christmas, Instrumental', 'treat arranger as for composer for genre-setting': True, 'make tracks classical': 'selective', 'exclude "classical" from main genre tag': False, 'classical flag': '1', 'classical flag tag': 'is_classical', 'default genre': 'Other', 'instruments tag': 'instrument', 'use MB instrument names': True, 'use credited instrument names': True, 'key tag': 'key', 'contingent include key in workname': 'contingent', 'workdate tag': 'work_year', 'use composed for workdate': True, 'use published for workdate': True, 'use premiered for workdate': True, 'use all workdate sources': 'all', 'annotate dates': True, 'include workdate in workname': True, 'period tag': 'period', 'treat arranger as for composer for period-setting': False, 'period map': 'Early, -3000,800; Medieval, 800,1400; Renaissance, 1400, 1600; Baroque, 1600,1750; Classical, 1750,1820; Early Romantic, 1800,1850; Late Romantic, 1850,1910; 20th Century, 1910,1975; Contemporary, 1975,2525'}}} (workparts_options)
MUSICBRAINZ_ALBUMSTATUS : official
MUSICBRAINZ_ALBUMTYPE : album
INSTRUMENT : talkbox; keys; keyboard / vocals
RELEASECOUNTRY : JP
COMPOSERSORT : Arash Pournouri / Bergling, Tim / Rodgers, Nile
MOVEMENTNAME : Shame on Me
INVOLVED PEOPLE : Peter Dyer (keys, talkbox) / Audra Mae (vocals) / Sterling Fox (vocals)
INVOLVED PEOPLE_SORT : Dyer, Peter / Mae, Audra / Sterling Fox
SUBTITLE : Shame on Me
ORIGINALDATE : 2013-08-13
ORIGINALYEAR : 2013
PRODUCER : Tim Bergling
ARTISTSORT : Avicii
Recorded/Location : https://www.discogs.com/Avicii-True-Avicii-By-Avicii/release/11298326
ARTISTS : Avicii
RELEASETYPE : album
TOP_WORK : Shame on Me
STYLE : Shame on Me
MUSICBRAINZ_RELEASEGROUPID : 61180839-f4a7-407f-b86f-24c48eef4066
SCRIPT : Latn
CATALOGNUMBER : UICO-9066
AB:GENRE : Electronic / Trance / Dance / Jazz
BARCODE : 4988005804662
ASIN : B00GNJA6ME
PART : Shame on Me
MEDIATYPE : CD
SOLOISTS : Peter Dyer (keys, talkbox) / Audra Mae (vocals) / Sterling Fox (vocals)
PERFORMER_SORT : Dyer, Peter / Mae, Audra / Sterling Fox
RELEASESTATUS : official
ALBUMARTISTSORT : Avicii
AB:MOOD : Not acoustic / Not aggressive / Electronic / Happy / Not party / Relaxed / Not sad
SOLOISTS_SORT : Dyer, Peter / Mae, Audra / Sterling Fox
SUB-GENRE : Song
TRACKARTISTSORT : Dyer, Peter / Mae, Audra / Sterling Fox
MEDIA : CD
ARTISTS_SORT : Avicii
STAMP : Version 2.0.14 of Classical Extras
COUNTRY : Japan
003_INFORMATION:GENRES : Candidate genres found but not matched: Eurodance
GROUPING : Shame on Me
MIXER : Tim Bergling
TRACKARTIST : Peter Dyer (keys, talkbox) / Audra Mae (vocals) / Sterling Fox (vocals)
WRITER : Arash Pournouri / Tim Bergling / Peter Dyer / Audra Mae / Nile Rodgers / Sterling Fox
CONTENTGROUP : Electronic/Pop
MUSICBRAINZ_RELEASETRACKID : 76f28cd0-b7ec-430a-a52d-4d561b36a8ac
MUSICBRAINZ_WORKID : b061f873-bba9-4e62-95fa-3ee0c3292627
WORK : Shame on Me
Album/Composer : Avicii
[Audio]
Count : 286
StreamCount : 1
StreamKind : Audio
StreamKind/String : Audio
StreamKindID : 0
Format : FLAC
Format/String : FLAC
Format/Info : Free Lossless Audio Codec
Format/Url : https://xiph.org/flac/
Format_Commercial : FLAC
InternetMediaType : audio/x-flac
Duration : 251425
Duration/String : 4 min 11 s
Duration/String1 : 4 min 11 s 425 ms
Duration/String2 : 4 min 11 s
Duration/String3 : 00:04:11.425
Duration/String5 : 00:04:11.425
BitRate_Mode : VBR
BitRate_Mode/String : Variable
BitRate : 1010497
BitRate/String : 1 010 kb/s
Channel(s) : 2
Channel(s)/String : 2 channels
ChannelPositions : Front: L R
ChannelPositions/String2 : 2/0/0
ChannelLayout : L R
SamplingRate : 44100
SamplingRate/String : 44.1 kHz
SamplingCount : 11087842
BitDepth : 16
BitDepth/String : 16 bits
Compression_Mode : Lossless
Compression_Mode/String : Lossless
StreamSize : 31758014
StreamSize/String : 30.3 MiB (100%)
StreamSize/String1 : 30 MiB
StreamSize/String2 : 30 MiB
StreamSize/String3 : 30.3 MiB
StreamSize/String4 : 30.29 MiB
StreamSize/String5 : 30.3 MiB (100%)
StreamSize_Proportion : 0.99698
Language : en
Language/String : English
Language/String1 : English
Language/String2 : en
Language/String3 : eng
Language/String4 : en
MD5_Unencoded : 00000000000000000000000000000000
Let me know if you need more info.
Maybe the scripts work fine and maybe some Albums have the wrong metadata or Media info.