Having a problem with file tokens

Main discussion forum
Post Reply
k31thw
Newbie
Newbie
Posts: 5
Joined: Wed Dec 29, 2010 1:11 pm

Having a problem with file tokens

Post by k31thw »

Hi Dimitris

I'm currently using 0.80 and have a problem when trying to use a file token other than %F1 or %F2.

I have a file "04 - The Beatles - Things We Said Today.mp3"

I set the following tokens:

Track - %F1
Artist - %F2
Title - %F3

When I Apply I get:

Track - 04
Artist - The Beatles - Things We Said Today
Title -

As you can see, %F2 appears to pick up everything after the first "_" and %F3 is null.

Any ideas?

Keith

hopalongrock
Sr. Member
Sr. Member
Posts: 290
Joined: Wed Sep 15, 2010 1:38 pm

Re: Having a problem with file tokens

Post by hopalongrock »

If you specified " - "  (hyphen, U+002D, 0x2D) in Use separator(s), please be sure that the file name "04 - The Beatles - Things We Said Today.mp3" really contains this separator, change the file name and write " - " where it is needed. Maybe the second separator is not an hyphen or minus, but an en/em dash character (U+2013 0x96/U+2014 0x97).
Alternatively you could specify additional separators containing en dash/em dash character instead of hyphen.
Last edited by hopalongrock on Wed Dec 29, 2010 6:55 pm, edited 1 time in total.

k31thw
Newbie
Newbie
Posts: 5
Joined: Wed Dec 29, 2010 1:11 pm

Re: Having a problem with file tokens

Post by k31thw »

Thanks for the suggestion, unfortunately it didn't help.

I renamed a file "01 - Introduction.mp3" to "0 - 1 - Intr - oduct - ion.mp3". Then tried the following:

Track - %F1
Artist - %F2
Title - %F3
Album - %F4

What I got was:

Track - 00
Artist - 1 - Intr - oduct - ion
Title - {null}
Album - {null}

So I'm fairly certain that TGF is only recognising %F1 & %F2

User avatar
jtclipper
Administrator
Administrator
Posts: 770
Joined: Tue Aug 10, 2010 12:04 pm

Re: Having a problem with file tokens

Post by jtclipper »

There must be something in the options that is causing that (Options/formatting/%variables)
I tried using '-' as a separator and it works ok it also works with a mask '% - % - % - %' could you provide a screenshot of the options used or you can just mail me the tgf.ini file along with your .mp3 so i can have a look.
Dimitris

k31thw
Newbie
Newbie
Posts: 5
Joined: Wed Dec 29, 2010 1:11 pm

Re: Having a problem with file tokens

Post by k31thw »

That's it!!! The Options were incorrect.

It was set to Use Mask with % - %; which probably explains everything - once you know!!!

Have set it to Use Separators and it now works perfectly  :)

Many thanks for your help and a Happy New Year

Keith

Post Reply