Renaming MP3s

Features wanted...
Post Reply
peterbonge
Posts: 363
Joined: 25 May 2004 21:53

Renaming MP3s

Post by peterbonge »

Code: Select all

    + Rename Special: added command "MP3: ID3 tag to Filename (artist - title)".
      Handy feature because it applies to all selected mp3-files at once (if
      no ID3 tag is found a file is not renamed).
    + Rename Special: added another ID3 tag to Filename command meeting the
      following MP3 File Naming Conventions:
      Artist - Album - Track# - Title.mp3
This is really useful! But I think this option should be customisable like the option to create new files/folders. My favourite file name formats are:

artist - title.mp3
track# - artist - title.mp3

And there are many other potential formats...
Regards,
Peter Bonge

My System:
Windows 11 Pro, 64-bit, German

admin
Site Admin
Posts: 65051
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Renaming MP3s

Post by admin »

peterbonge wrote:This is really useful! But I think this option should be customisable like the option to create new files/folders. My favourite file name formats are:

artist - title.mp3
track# - artist - title.mp3

And there are many other potential formats...
A typical peterbonge! :wink: You really like it flexible, don't you?!
It's true, the feature just screams for a configurable interface. On the other hand, there's also this thought: the purpose of file naming conventions for files like mp3 that are massively interchanged between people is that they are, well, conventions: different people conform to the same rules -- it's the basis of communication. Flexibility does not belong here.
What do you think?

track# - artist - title.mp3
This makes sense because it preserves the original sort order of the album. I will add this, but the hard way.

peterbonge
Posts: 363
Joined: 25 May 2004 21:53

Re: Renaming MP3s

Post by peterbonge »

admin wrote:A typical peterbonge! :wink: You really like it flexible, don't you?!
:D
It's true, the feature just screams for a configurable interface. On the other hand, there's also this thought: the purpose of file naming conventions for files like mp3 that are massively interchanged between people is that they are, well, conventions: different people conform to the same rules -- it's the basis of communication. Flexibility does not belong here.
What do you think?
Interchanging... is that allowed? 8)
Anyway this makes sense. But what are the best file name formats?
track# - artist - title.mp3
This makes sense because it preserves the original sort order of the album. I will add this, but the hard way.
Your format
Artist - Album - Track# - Title.mp3
also preserves the original sort order if the artist and the album doesn't change. But since it is always better to put all files of an album into its own folder (with the album as the name) the album doesn't have to be in the filename...
Regards,
Peter Bonge

My System:
Windows 11 Pro, 64-bit, German

admin
Site Admin
Posts: 65051
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

Yes, all agreed.

I found "Artist - Album - Track# - Title.mp3" somewhere in the web, and it's kind of complete and logical. But just like you, I have albums as folders, so I don't need the very long files names this pattern generates.

Anyway, now we have these 3 options in the menu (next BETA):
"MP3: ID3 tag to Filename (Artist - Title.mp3)"
"MP3: ID3 tag to Filename (Track# - Artist - Title.mp3)"
"MP3: ID3 tag to Filename (Artist - Album - Track# - Title.mp3)"

This should be enough.

armin
Posts: 6
Joined: 24 Sep 2004 06:32

Post by armin »

The trouble with sticking to conventions is that there are so many different ones. You're sure to leave somebody out. If there was a standard, sure, but all we have are conventions. I see no harm in making it flexible. In fact, it almost seems wrong not to.

I use:
\Genre\Artist\(Year) Album\Tracknumber - Title
So if you can't make it flexible, at least give me "Tracknumber - Title" =)

admin
Site Admin
Posts: 65051
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

armin wrote:The trouble with sticking to conventions is that there are so many different ones. You're sure to leave somebody out. If there was a standard, sure, but all we have are conventions. I see no harm in making it flexible. In fact, it almost seems wrong not to.
Alright, I'm convinced. And I gave you both: Track# - Title and configurable templates 8) See new BETA...

peterbonge
Posts: 363
Joined: 25 May 2004 21:53

Post by peterbonge »

Now the "ID3 tag to Filename" options are perfect. But what's about the "Filename to ID3 tag" option? :wink: It would be a good idea if this would also be customizeable. I think 3 entries for each would be enough...
Regards,
Peter Bonge

My System:
Windows 11 Pro, 64-bit, German

admin
Site Admin
Posts: 65051
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

Your wishes are prophecies: I was already working on this... :D

allen
Posts: 89
Joined: 10 Sep 2006 19:25
Location: Northern Maine

Post by allen »

admin wrote:
armin wrote:The trouble with sticking to conventions is that there are so many different ones. You're sure to leave somebody out. If there was a standard, sure, but all we have are conventions. I see no harm in making it flexible. In fact, it almost seems wrong not to.
Alright, I'm convinced. And I gave you both: Track# - Title and configurable templates 8) See new BETA...
That link doesn't seem to work . . . how does one manage the configurable templates? My mp3 player doesn't read tags, need a way to see the title before the artist, since I know what artist I'm looking at (within a folder) :)

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

allen wrote:That link doesn't seem to work . . . how does one manage the configurable templates? My mp3 player doesn't read tags, need a way to see the title before the artist, since I know what artist I'm looking at (within a folder) :)
Yeah, new link would be this ;)

Anyways, I beleive this is what you are looking for:

Code: Select all

        [FilenameToID3] 
        1=Artist - Title 
        2=Track - Artist - Title 
        3=Artist - Album - Track - Title 
        [ID3toFilename] 
        1=Artist - Title 
        2=Track - Artist - Title 
        3=Artist - Album - Track - Title 
      The schemes are identical with one exception: with FilenameToID3 
      the templates and the filenames must use " - " as the separator, 
      whereas with ID3toFilename you are free to choose any other 
      separator (though it would be rather stupid to do so because " - " 
      appears to have become the standard on this planet). 
      Note that FilenameToID3 cannot work as expected when e.g. an album 
      or song title contains " - ". So, the space-hyphen-space (" - ") 
      combination is to be avoided within terms, as this sequence has 
      special meaning as a field separator. 
Proud XYplorer Fanatic

allen
Posts: 89
Joined: 10 Sep 2006 19:25
Location: Northern Maine

Post by allen »

Precisely what I was looking for!

...was the feature removed? I've attempted to edit the ini file . . . but none of the changes take. Further more, after I launch and close xyplorer, my changes aren't re-written to the ini file :(

admin
Site Admin
Posts: 65051
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

allen wrote:Precisely what I was looking for!

...was the feature removed? I've attempted to edit the ini file . . . but none of the changes take. Further more, after I launch and close xyplorer, my changes aren't re-written to the ini file :(
Feature works well as advertised. Note that the INI is read at startup and written at exit (unless you exit w/out saving).

allen
Posts: 89
Joined: 10 Sep 2006 19:25
Location: Northern Maine

Post by allen »

I found the problem, my first scan for the settings in the ini file for some reason didn't find it . . . but they were already there, so my editing later was redundant.

Post Reply