IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Anyway to access the filename?
Monty68
post 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!
Go to the top of the page
 
+Quote Post
pone
post 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



QUOTE (Monty68 @ Oct 12 2010, 23:43) *
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

Go to the top of the page
 
+Quote Post
Monty68
post 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 biggrin.gif
Go to the top of the page
 
+Quote Post
Monty68
post 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 biggrin.gif

Still be nice to get to the %_filename% within the web source script though wink.gif

This post has been edited by Monty68: Oct 16 2010, 13:02
Attached File(s)
Attached File  Add_Filename_to_Title.mta ( 111bytes ) Number of downloads: 62
 
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: 24th May 2013 - 19:01