IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> [X] Mp3tag omits "/" when converting (tags->filename)
wsdoud
post May 26 2011, 02:28
Post #1


Member


Group: Members
Posts: 2
Joined: 26-May 11
Member No.: 14540
Mp3tag Version: 2.48e



I have an mp3 file whose title tag contains a slash character "/". When I use the convert function in mp3tag to rename the file based on its tags, it omits the "/". For example, if the title tag is "16/05" and the artist tag is "Don Bigg", after the conversion (%artist% - %title%), the filename comes out as "Don Bigg - 1605". Does anyone know why does that happen or how to avoid it?

Thank you beforehand.

This post has been edited by wsdoud: May 26 2011, 02:29
Go to the top of the page
 
+Quote Post
Mike_nl
post May 26 2011, 04:14
Post #2


Member


Group: Full Members
Posts: 307
Joined: 16-February 08
From: SE-Asia
Member No.: 6480
Mp3tag Version: 2.61a



QUOTE (wsdoud @ May 26 2011, 08:28) *
I have an mp3 file whose title tag contains a slash character "/". When I use the convert function in mp3tag to rename the file based on its tags, it omits the "/". For example, if the title tag is "16/05" and the artist tag is "Don Bigg", after the conversion (%artist% - %title%), the filename comes out as "Don Bigg - 1605". Does anyone know why does that happen or how to avoid it?

Thank you beforehand.


This is because the '/' is an illegal character in a filename.

http://msdn.microsoft.com/en-us/library/aa...v=vs.85%29.aspx

Use any character in the current code page for a name, including Unicode characters and characters in the extended character set (128–255), except for the following:

The following reserved characters:
< (less than)
> (greater than)
: (colon)
" (double quote)
/ (forward slash)
\ (backslash)
| (vertical bar or pipe)
? (question mark)
* (asterisk)


--------------------
Life is too short, enjoy it
Go to the top of the page
 
+Quote Post
wsdoud
post Jun 6 2011, 15:19
Post #3


Member


Group: Members
Posts: 2
Joined: 26-May 11
Member No.: 14540
Mp3tag Version: 2.48e



QUOTE (Mike_nl @ May 26 2011, 04:14) *
This is because the '/' is an illegal character in a filename.

http://msdn.microsoft.com/en-us/library/aa...v=vs.85%29.aspx

Use any character in the current code page for a name, including Unicode characters and characters in the extended character set (128–255), except for the following:

The following reserved characters:
< (less than)
> (greater than)
: (colon)
" (double quote)
/ (forward slash)
\ (backslash)
| (vertical bar or pipe)
? (question mark)
* (asterisk)


Oh OK!

In fact, I have Mp3tag installed on Mac OS X ('/' character is allowed in filenames) using Winebottler, so I guess I'd have to add the '/' manually.

Thanks!
Go to the top of the page
 
+Quote Post
LosMintos
post Jun 7 2011, 12:31
Post #4


Member


Group: Full Members
Posts: 88
Joined: 23-September 08
Member No.: 7617
Mp3tag Version: 2.51



ZITAT(wsdoud @ Jun 6 2011, 16:19) *
In fact, I have Mp3tag installed on Mac OS X ('/' character is allowed in filenames) using Winebottler, so I guess I'd have to add the '/' manually.


This is not recommended because of portability of such files.
Go to the top of the page
 
+Quote Post
Mike_nl
post Jun 7 2011, 12:36
Post #5


Member


Group: Full Members
Posts: 307
Joined: 16-February 08
From: SE-Asia
Member No.: 6480
Mp3tag Version: 2.61a



QUOTE (wsdoud @ Jun 6 2011, 21:19) *
In fact, I have Mp3tag installed on Mac OS X ('/' character is allowed in filenames) using Winebottler, so I guess I'd have to add the '/' manually.



QUOTE (LosMintos @ Jun 7 2011, 18:31) *
This is not recommended because of portability of such files.


I concur with LosMintos, why don't you use a '-' (dash) instead ?

From 16/05 to 16-05 it doesn't looks that bad wink.gif


--------------------
Life is too short, enjoy it
Go to the top of the page
 
+Quote Post
pone
post Jun 7 2011, 12:42
Post #6


Member


Group: Full Members
Posts: 1688
Joined: 15-March 09
From: Germany
Member No.: 9103
Mp3tag Version: 2.59b



ZITAT(Mike_nl @ Jun 7 2011, 13:36) *
I concur with LosMintos, why don't you use a '-' (dash) instead ?

From 16/05 to 16-05 it doesn't looks that bad wink.gif



You know the $validate function?

$validate(%artist% - %title%,-)

will make you expample to "Don Bigg - 16-05.mp3"
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st November 2014 - 18:47