Help - Search - Members - Calendar
Full Version: Masstagger Script Help
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
db78
Currently my title names has a lot of (Remix) that I want to change to [Remix]. I tried to following the masstagger user guide, but I couldn't get the script to return everything before (Remix). All I managed to do was set up a script that returned the value of %title% back to me. Can somebody walk me through the steps?

Here's an example of what I want to do:

Artist: Beyonce
Title: Baby Boy (Remix)

I want to reformat the title to
Title: Baby Boy [Remix]
Frank Bicking
1. Guess values from other fields

Source format: %title%
Guessing pattern: %a% (%b%)

2. Format value from other fields

Destination field name: TITLE
Formatting pattern: %a%[ '['%b%']']

3. Remove fields A and B
db78
Actually I have another question. I have some song that are remixes, but don't have the parenthesis around them, and I want to modify them also. How do get the title of the name before the remix part.

Ex.

Title: Get Low Remix

Change to

Title: Get Low [Remix]
The Judge
Maybe I'm missing something really stupid here but surely this is really simple.

1. $replace(%title%,'(Remix)',Remix,[Remix],Remix)
//Do this so that you don't get doubling of the brackets when you carry out the second action.

2. $replace(%title%,Remix,[Remix])


And to get the stuff before 'Remix', you'll need to run something like

$substr(%title%,0,$strstr(%title%,'(Remix)'))

Haven't tested these out so they may need tweaking but the logic behind them should be fairly solid.
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-2008 Invision Power Services, Inc.