Help - Search - Members - Calendar
Full Version: _FILENAME
Mp3tag Forums > Mp3tag - International > Support
Sammy20
I like this feature of Mp3tag, but I'm having 2 problems with it.

1. If the artist or title contains Unicode data (or strange characters), an error in mp3tag pops up, and it doesn't copy over the file. Is there are way to make mp3tag remove the strange character before writing it to the filename?

2. Is is possible to copy over the cover art thats in the current directory as well?

Here's the current code i'm using:

Field:
_FILENAME

Format string
%artist%\%year% - %album%\%track% - %artist% - %title%
dano
1. I have no problems creating unicode folders/filenames. Do you use the latest version?
Can you tell the exact error message? (just press Ctrl+C to copy it)
But you can try the $ansi() function that converts the string to your system codepage and unsupported characters become question marks.
$validate() and $replace() can also be useful

2. Note possible. A little help is _DIRECTORY which just renames the directory (all files stay together)
Sammy20
---------------------------
Mp3tag v2.35
---------------------------
File "E:\Music\Assorted Albums\DVD 01\New Order\2005
- Waiting for the Sirens Call\New Order - Who's Joe.mp3"
could not be renamed to "E:\Music\Assorted Albums\DVD
01\New Order\2005 - Waiting for the Sirens Call\New
Order\2005 - Waiting For The Sirens Call\01 - New Order
- Who's Joe?.mp3".

Do you want to continue?
---------------------------
Yes No
---------------------------



Thats the error that pops up.

I would like to keep it totally silent with no user intereation. Plus the fact the file gets left behind in the original dir.


I'm gonna play around with the info you provided to see if I can get what I want done.

Thanks.
Sammy20
I'm having no luck with this. No matter what I try nothing works.

%artist%\%year% - %album%\%artist% - %track% - %title%

Thats my code. All I want it to do is make file copy procedure successful without special character errors popping up.

Can anyone help?
dano
Haven't you tried this?
$validate(%artist%\%year% - %album%\%artist% - %track% - %title%,_)
Sammy20
QUOTE
$validate(%artist%\%year% - %album%\%artist% - %track% - %title%,_)


I'm really bad at this code stuff. I just know the upmost basics.

I just tried that code, and it works great. No more hassleing me about special characters. I can even use it in the tag to filename box.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.