HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: diypig on 2009-08-12 14:11:55

Title: %album% with / search?
Post by: diypig on 2009-08-12 14:11:55
hi, i have foobar set up to look for lyrics in D:\Lyrics\%artist%\%album
now this works fine, BUT i have some albums with a / in them, like:
フラッシュバック / 木漏レビノ歌
(being japanese has no problem)
since windows will not let me have a / in folder names, i use a - instead.
but i want foobar, and the tags, to have the proper album name.
is there way/script to use that if the album has a slash in it to ignore it?

thank you very much!
Title: %album% with / search?
Post by: Yirkha on 2009-08-12 14:38:58
Try [font= "Courier New"]D:\Lyrics\%artist%\$replace(%album%,/,-)[/font] instead.
Title: %album% with / search?
Post by: diypig on 2009-08-12 15:11:01
if this works (i bet it will) YOU ARE GOD!
and sorry, i was debating whether this should go into 3rd party plugins, since it does not have to be specific to this lyrics thing.
anyway, thank you!

-edit. where can i find all these script things? i tried looking but i could not find it, sorry if it is obvious.
thanks again.

-edit again. yep it works, thank YOU!
Title: %album% with / search?
Post by: Yirkha on 2009-08-12 15:13:23
Main menu > Help > Title formatting help.
Or in the HA wiki (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Title_Formatting_Reference).
Title: %album% with / search?
Post by: diypig on 2009-08-12 15:45:44
thank you.
SimplePortal 1.0.0 RC1 © 2008-2021