IPB

Welcome Guest ( Log In | Register )

> Notice!

Please take a minute to check our Frequently Asked Questions. Use Search to reveal possible related topics.

Also make sure you've read the Forum Guidelines before posting in this forum.

 
Reply to this topicStart new topic
> Import Tags from file name, split from 1204
bashdabash
post Nov 12 2009, 15:09
Post #1


Member


Group: Members
Posts: 3
Joined: 12-November 09
Member No.: 11282
Mp3tag Version: 2.44



Hi, new to this forum, can't find where to post my question so I thought best to add to this one.

I am trying without success to get this:

"15 You're Not Gangsta Like Ross Whiteman D12 featuring King Gordy.mp3"

To be:

Track 15
Title Your Not Gangsta Like Ross Whiteman
Artist D12 featuring King Gordy

or

Artist D12
Featuring King Gordy

or

Group/Band
D12
Featuring King Gordy

(Note - bold and italics used for illustration purposes only, "bold text" represents field names and "italic texts" represents field data.)
Go to the top of the page
 
+Quote Post
DetlevD
post Nov 12 2009, 18:01
Post #2


Member


Group: Full Members
Posts: 4612
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.58



QUOTE (bashdabash @ Nov 12 2009, 15:09) *
...I am trying without success to get this:
"15 You're Not Gangsta Like Ross Whiteman D12 featuring King Gordy.mp3"
To be:
Track 15
Title Your Not Gangsta Like Ross Whiteman
Artist D12 featuring King Gordy
or
Artist D12
Featuring King Gordy
or

Group/Band
D12
Featuring King Gordy....


The filename is not so well formed to allow Mp3tag to guess how to fill the fitting tag fields.
As a first step you may reformat the filename by a regular expression like you find it in the following proposal and then let Mp3tag guess the values.

Action #1
Actiontype 7: Import tag fields (guess values)
Source format: $regexp(%_filename%,'^(\d+)÷(.+)÷(.+?)÷featuring÷(.+?)$','$1÷-÷$2÷-÷$3÷-÷$4')
Guessing pattern: %TRACK%÷-÷%TITLE%÷-÷%ARTIST%÷-÷%FEATURING%
Note: Replace each special ÷ character with one space character.

This is rather tricky and does not work in all cases but with filenames havin the same word structure like the example filename.

DD.20091112.1800.CET


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
bashdabash
post Nov 12 2009, 18:43
Post #3


Member


Group: Members
Posts: 3
Joined: 12-November 09
Member No.: 11282
Mp3tag Version: 2.44



QUOTE (DetlevD @ Nov 12 2009, 17:01) *
The filename is not so well formed to allow Mp3tag to guess how to fill the fitting tag fields.
As a first step you may reformat the filename by a regular expression like you find it in the following proposal and then let Mp3tag guess the values.

Action #1
Actiontype 7: Import tag fields (guess values)
Source format: $regexp(%_filename%,'^(\d+)÷(.+)÷(.+?)÷featuring÷(.+?) ,'$1÷-÷$2÷-÷$3÷-÷$4')
Guessing pattern: %TRACK%÷-÷%TITLE%÷-÷%ARTIST%÷-÷%FEATURING%
Note: Replace each special ÷ character with one space character.

This is rather tricky and does not work in all cases but with filenames havin the same word structure like the example filename.

DD.20091112.1800.CET


Thanks for that help, I guess it might be easier to just put some dashes in the title, I and looking through my 6000+ collection and only a couple hundred files are like this.

A quick question because I can't fine the post - How do I remove the "." from eg. "01." so it shows as "01" in the track field?
Go to the top of the page
 
+Quote Post
Quaraxkad
post Nov 12 2009, 19:58
Post #4


Member


Group: Full Members
Posts: 23
Joined: 12-November 09
Member No.: 11278
Mp3tag Version: 2.44h



QUOTE (bashdabash @ Nov 12 2009, 12:43) *
A quick question because I can't fine the post - How do I remove the "." from eg. "01." so it shows as "01" in the track field?


Where did that dot come from? There isn't one in that example filename, if you're talking about something else give an example.

This post has been edited by Quaraxkad: Nov 12 2009, 19:58
Go to the top of the page
 
+Quote Post
bashdabash
post Nov 15 2009, 19:57
Post #5


Member


Group: Members
Posts: 3
Joined: 12-November 09
Member No.: 11282
Mp3tag Version: 2.44



QUOTE (Quaraxkad @ Nov 12 2009, 18:58) *
Where did that dot come from? There isn't one in that example filename, if you're talking about something else give an example.


The dot is after the track number, in my case the track number is 01. 02. 03. etc. when the track field is populated I want it to be show as 01 02 03 without the dot.
Go to the top of the page
 
+Quote Post
Quaraxkad
post Nov 16 2009, 01:33
Post #6


Member


Group: Full Members
Posts: 23
Joined: 12-November 09
Member No.: 11278
Mp3tag Version: 2.44h



QUOTE (bashdabash @ Nov 15 2009, 13:57) *
The dot is after the track number, in my case the track number is 01. 02. 03. etc. when the track field is populated I want it to be show as 01 02 03 without the dot.


Where does the track number come from though? Are you doing Filename to tag, and there's a dot in the filename? If that's the case then you just need to add a . to the formatting string after the track number. Need more more information to give a more specific answer.

If you just want to remove the . from existing TRACK fields, make a Replace action that searches the TRACK field and replace . with nothing.
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: 25th April 2014 - 00:50