Reducing amount of artists in file

Could you please copy & paste one of this complete path and filennames from your Windows File Explorer in your answer here in this forum?
Something like (181 characters long):
K:\W\Wolfgang Amadeus Mozart\_CW\Complete Mozart Edition (disc 10) (Volume 1ː Symphonies)\2000\02 - Symphony No. 34 in C major, K. 338ː II. Andante di molto più tosto allegretto.mp3
or
K:\J\Joseph Haydn\Haydn Edition (disc 29) (Symphonies Nos. 93 - 95)\2008\08 - Symphony No. 94 in G major, Hob. Iː94 ''Surprise''ː IV. Finale. Allegro molto.mp3

If I manually shorten the same file using my beyond compare app they load ok

I just renamed a file to the first ecample:


... and I can load it again and again ...

and also this one:

D you find the files locally or on a NAS?

https://www.howtogeek.com/266621/how-to-make-windows-10-accept-file-paths-over-260-characters/

The latest version I have is v3.22b

See here for the currently latest version:

Yet, I do not think that this really makes a difference. 3.22b is good enough.

I copied your text onto a copy of an existing mp3 file and loaded the file from within MP3Tag

It did load. So that advances things. Thank you.

However I am still looking for a solution to use scripting to reduce the amount of naming

I have thousands of CDs and at my age would never do it manually.

Could you supply a complete filename with all the path information so that others could try it?

You did not answer the question whether the file resides locally or somewhere in the network.


As can hopefully be seen the files reside on my "K" or music drive on my computer.

I have used a different sample from the one I gave earlier to speed up my reply as I won't have access to my computer for the next 14 days due to other commitments.

These files show multiple artists in the music though.

You made it really difficult for us that we had to type in the whole path.
But even "k:\dbpoweramp de cluttered\various artists\various artists - classic fm the no. 1 classical collection the nation's 50 favourite works cd1\1-04 - emperor piano concerto II. - stephen kovacevich, london snymphony orchestra, sir colin davis" has less than 254 characters (about 240) - which would be well inside the magic number.
obviously, these files loaded - but the more interesting file name would have been one of a file that does not load.
And please: next time issue it (also) as plain text and not (only) as a picture.

1 Like

Sorry about that but I had to do it in a hurry. Hence the different example.

I will not be able to update this entry for two more weeks as I don’t have my computer with me.

Summary:

You have 2 problems:
a) File names with more than 256 characters that cannot be loaded into Mp3tag
b) Your tags ARTIST and TITLE contains both the same (redudant) COMPOSER

Please let us start with your first problem in two weeks, when you are back and can access your computer and give us a real example for a NOT loading complete filename.

Hi back again after a longer than expected break and a lot of work to sort out as a result of Storm Babet at my parents place in Edinburgh taking some of the roof off,

I think I have now resolved the long names loading issue into MP3Tag as suggested by LyricsLover by loading from within MP3Tag itself.

My concern now is reducing tags files that have the composer at each end of the title. The main problem is that I don't use the composer field in my file make up.

Just Album Number-Track Number - Title - Artist

Please show us some example titles how they look currently and how you would like to see it.

Maybe we can find a pattern to remove this composer part at each end of the title.

These are a few examples. All are genuine tracks in my collection without the track and disk numbers. They were formatted from the original CD's using MP3Tag originally in Disk-Track - Title - Artist format.

Tchaikovsky Nutcracker Suite, Op. 71a - Waltz Of The Flowers - Orchestre Symphonique De Montréal, Charles Dutoit & Pyotr Ilyich Tchaikovsky.mp3

Khachaturian Masquerade - Suite - Waltz - Armenian Philharmonic Orchestra, Loris Tjeknavorian & Aram Khachaturian.mp3

Tchaikovsky Swan Lake, Op. 20, Th.12 Act 1 - Waltz - Orchestre Symphonique De Montréal, Charles Dutoit & Pyotr Ilyich Tchaikovsky.mp3

Tchaikovsky Swan Lake, Op. 20, Th.12 Act 2 - No. 10 Scène (Moderato) - Orchestre Symphonique De Montréal, Charles Dutoit & Pyotr Ilyich Tchaikovsky.mp3

Grieg Peer Gynt, Op. 23 - No. 19, Solveig's Song - Mary-Anne Haeggander, San Francisco Symphony, Herbert Blomstedt & Edvard Grieg.mp3

Mozart Ave verum corpus, K.618 - The Choir of King's College, Cambridge, James Vivian, Stephen Cleobury & Wolfgang Amadeus Mozart.mp3

Mozart Serenade in G Major, K. 525 Eine kleine Nachtmusik - II. Romance (Andante) - Wiener Philharmoniker, Karl Böhm & Wolfgang Amadeus Mozart.mp3

You can use the converter or define actions. The converter gives you a preview of the result.
The unique delimiter before the composer at the end seems to be "&".

First I would fill the composer tagfield with the help of the converter Filename->Tag
As format string you wirite:
%dummy% & %composer%

Normally someone would build a new filename from the tags but you did not write whether you have the necessary tags filled.
So you can just cut off the composer from the filename with the converter Filename->Filename.
Old filename pattern: %1 & %2
New filename pattern: %1

1 Like

I tend to use TITLE - ARTIST - ALBUM - YEAR - TRACK - GENRE - ALBUM ARTEIST - DISCNUMBER tags to formulate the folder/cd and rely on Musicbrains and DISCOGS to fill in the extras.

I have tried the %dummy% & %composer% coding wich only works if the composer comes after the & symbol.

Unfortunately many tracks I have have a / symbol in them. This is easily seen in the fields but not in the track name. I joins the words either side of the field when composing the final name, So instead of being for example Beatles/Tom Jones the file name shows BeatlesTom Jones. I therefore replace the / with an &. Therefore Tom Jones would become the composer which he isn't.

This Works "C:\Users\User\Desktop\Various Artists - Classic FM - Waltzing Classics CD1\1-02 - Tchaikovsky Swan Lake, Op. 20, Th.12 Act 1 - Waltz - Orchestre Symphonique De Montréal, Charles Dutoit & Pyotr Ilyich Tchaikovsky.mp3" ->
composer: Pyotr Ilyich Tchaikovsky

This Works "C:\Users\User\Desktop\Various Artists - Classic FM - Waltzing Classics CD1\1-03 - Khachaturian Masquerade - Suite - Waltz - Armenian Philharmonic Orchestra, Loris Tjeknavorian & Aram Khachaturian.mp3" ->
composer: Aram Khachaturian

This Does Not Work "C:\Users\User\Desktop\Various Artists - Classic FM - Waltzing Classics CD1\1-04 - Delibes Sylvia, Suite - 3. Pizzicati - Gothenburg Symphony Orchestra & Neeme Järvi.mp3" ->
composer: Neeme Järvi

This Does Not Work "C:\Users\User\Desktop\Various Artists - Classic FM - Waltzing Classics CD1\1-05 - J. Strauss II Tritsch-Tratsch-Polka, Op. 214 - Wiener Philharmoniker & Willi Boskovsky.mp3" ->
composer: Willi Boskovsky

As for your suggestion Filename->Filename. I'm not sure I understood it but i took i literally -

Result:

"C:\Users\User\Desktop\Various Artists - Classic FM - Waltzing Classics CD1\1-02 - Tchaikovsky Swan Lake, Op. 20, Th.12 Act 1 - Waltz - Orchestre Symphonique De Montréal, Charles Dutoit & Pyotr Ilyich Tchaikovsky.mp3" ->
"C:\Users\User\Desktop\Various Artists - Classic FM - Waltzing Classics CD1\1-02 - Tchaikovsky Swan Lake, Op. 20, Th.12 Act 1 - Waltz - Orchestre Symphonique De Montréal, Charles Dutoit.mp3"

"C:\Users\User\Desktop\Various Artists - Classic FM - Waltzing Classics CD1\1-03 - Khachaturian Masquerade - Suite - Waltz - Armenian Philharmonic Orchestra, Loris Tjeknavorian & Aram Khachaturian.mp3" ->
"C:\Users\User\Desktop\Various Artists - Classic FM - Waltzing Classics CD1\1-03 - Khachaturian Masquerade - Suite - Waltz - Armenian Philharmonic Orchestra, Loris Tjeknavorian.mp3"

"C:\Users\User\Desktop\Various Artists - Classic FM - Waltzing Classics CD1\1-04 - Delibes Sylvia, Suite - 3. Pizzicati - Gothenburg Symphony Orchestra & Neeme Järvi.mp3" ->
"C:\Users\User\Desktop\Various Artists - Classic FM - Waltzing Classics CD1\1-04 - Delibes Sylvia, Suite - 3. Pizzicati - Gothenburg Symphony Orchestra.mp3"

"C:\Users\User\Desktop\Various Artists - Classic FM - Waltzing Classics CD1\1-05 - J. Strauss II Tritsch-Tratsch-Polka, Op. 214 - Wiener Philharmoniker & Willi Boskovsky.mp3" ->
"C:\Users\User\Desktop\Various Artists - Classic FM - Waltzing Classics CD1\1-05 - J. Strauss II Tritsch-Tratsch-Polka, Op. 214 - Wiener Philharmoniker.mp3"

As with the first method it relies on the ampersand to delete / move what comes after it.

Its the front end and the back end of the file - if the composer - I want to get rid of. I do like the idea of moving the composer to the composer tag where it belongs but I don't use the composer field n the file name.

It doesn't account for some classical music where it seems to include the world and it's friends in the artist field.

What data do you have in the tag fields?
usually, MP3tag does not care about the filenames as they are something that the OS needs. And the OS wants to have a unique one and does not care about the sensibility of the presented data.

So if you have all the bits an pieces in the tag fields, write new filenames.
In all other cases: MP3tag cannot read and has now understanding that some strings represent an artist and others a composer and so on, so you would have to find a way to filter the files that show the same pattern and contents and then treat them in the corresponding way.

The screen shot above shows Track 1 of a straightforward Tchaikovsky track 1 AFTER going through Music Brains showing the extra tags,

The screen shot above shows Track 2 of a straightforward Tchaikovsky track BEFORE going through Music Brains showing the original tags

The data changed in MP3Tag is shown here

"Tchaikovsky Ballet Suites\1-119 - The Nutcracker Suite, Op. 71a I. Miniature Overture - French National Orchestra, Kiril Kondrashin.mp3" ->
"Tchaikovsky Ballet Suites [Explicit]\1-01 - The Nutcracker Suite, Op. 71a I. Miniature Overture - French National Orchestra, Kiril Kondrashin.mp3"

"Tchaikovsky Ballet Suites [Explicit]\1-2 - The Nutcracker Suite, Op. 71a II. March - French National Orchestra.mp3" ->
"Tchaikovsky Ballet Suites [Explicit]\1-02 - The Nutcracker Suite, Op. 71a II. March - French National Orchestra.mp3"

I would fill the composer field first.
and then you could use an action of the type "Format value" for _FILENAME with
Format string: $replace(%_filename%,%composer%,)
which would remove a string that can be found in the field COMPOSER from the filename ... provided they match.
I see, though, that you sometimes have abbreviated the composer name ... so you would have to cater for that as well somehow.