![]() ![]() |
Oct 12 2010, 22:43
Post
#1
|
|
|
Member Group: Full Members Posts: 10 Joined: 12-October 10 Member No.: 13061 Mp3tag Version: 2.46c |
I want to be able to access the filename (without the file extension) within
a web source script, any way to do this? The reason is I want to pre-append the filename to the title for TV shows. The %_filename% variable does not seem to work in the web source script engine! |
|
|
|
Oct 12 2010, 23:54
Post
#2
|
|
![]() Member Group: Full Members Posts: 1571 Joined: 15-March 09 From: Germany Member No.: 9103 Mp3tag Version: 2.50 |
I want to be able to access the filename (without the file extension) within a web source script, any way to do this? The reason is I want to pre-append the filename to the title for TV shows. The %_filename% variable does not seem to work in the web source script engine! Funny, I just tried the same. I also found no way to get it work. What I tried: outputto "filename" outputto "_filename" outputto "FILENAME" outputto "_FILENAME" all do not work. But you can help yourself with an action group: Include something like: outputto "dummy filename" in your script. After running your script, run an action group with to actions: 1st: Format Tag Field: Field: _FILENAME String: %dummy filename% 2nd: Delete Tag Field: Field: DUMMY FILENAME |
|
|
|
Oct 13 2010, 23:57
Post
#3
|
|
|
Member Group: Full Members Posts: 10 Joined: 12-October 10 Member No.: 13061 Mp3tag Version: 2.46c |
Hmm, nice little work around there, thanks.
Really hoping the developers could add this little change in to an upcomming (next) release. Hint, hint, please, beg grovel |
|
|
|
Oct 16 2010, 12:09
Post
#4
|
|
|
Member Group: Full Members Posts: 10 Joined: 12-October 10 Member No.: 13061 Mp3tag Version: 2.46c |
Well I took your hint and knocked up a little Action script that does the job for me
Still be nice to get to the %_filename% within the web source script though This post has been edited by Monty68: Oct 16 2010, 13:02
Attached File(s)
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 24th May 2013 - 19:01 |