![]() ![]() |
May 12 2006, 19:15
Post
#1
|
|
![]() Member Group: Full Members Posts: 18 Joined: 12-May 06 From: Slovakia Member No.: 3132 Mp3tag Version: 2.38 |
hi everyone. i've recently switched from MediaTagger to mp3Tag due to the lack of IDv2.4 support. I've chosen mp3Tag, because exporting features are absolutely necessery for me. However i have some problems with migrating MediaTagger scripts to mp3Tag.
I've been using two kind of scripts with MediaTagger: a text one and a html one. (You can download the scripts and the results from here) Porting the txt scripts should be easy, but: - i'm always getting a second emtpy line - how can i align text ? with the html script i've much greater problems. i would be very happy if someone more experienced in script writing could port it, or point me to a similar script, if it already exists edit: how can i get rid of "eng||" at the beginning of the %unsyncedlyrics% field when exporting? hope i'm not bothering too much and thank you all in advance edit: scripts added as attachment, cause the url seems to be down This post has been edited by molnart: May 12 2006, 19:51
Attached File(s)
|
|
|
|
May 12 2006, 19:54
Post
#2
|
|
![]() Moderator Group: Moderators Posts: 5504 Joined: 4-September 03 From: Germany Member No.: 201 Mp3tag Version: 2.55a |
That's my txt port:
This post has been edited by dano: May 12 2006, 19:57
Attached File(s)
-------------------- |
|
|
|
May 12 2006, 20:10
Post
#3
|
|
![]() Member Group: Full Members Posts: 18 Joined: 12-May 06 From: Slovakia Member No.: 3132 Mp3tag Version: 2.38 |
thanks, dano. you helped me a lot
now anyone can help with the html script ? i've tried to create one (attachment), but i'm always getting messed up output (but at least it's not syntax error anymore) thanks in advance This post has been edited by molnart: May 14 2006, 12:10
Attached File(s)
|
|
|
|
May 15 2006, 16:14
Post
#4
|
|
![]() Member Group: Full Members Posts: 155 Joined: 29-March 06 Member No.: 2944 Mp3tag Version: 2.40c |
@ molnart:
I fixed your html script a bit. ONE BIG PROBLEM IS THAT YOU FORGOT TO MASK THE %! And I also fixed the thing with the lyrics but I recommend to you that you want to have the same script with a different program read the export help first. I don't want to blame you but Mp3tag uses a syntax that is quite different from other programs and so converting isn't that easy. When you want to I can convert it so that it works nearly as good as the script for mediatagger but therefor I need some time, as I have some other important things to do at the moment. Why don't you try out some of them that are going around?? Many persons on this board make some really good scripts (so do I) an. -------------------- |
|
|
|
May 15 2006, 18:13
Post
#5
|
|
![]() Croatian translator Group: Translators Posts: 315 Joined: 7-February 05 From: Croatia, Zagreb Member No.: 1533 Mp3tag Version: 2.41 |
Here goes my fix of SquallLeonhart38 fix.
lyr_htm__milka_edit_.zip ( 2.01K )
Number of downloads: 571This post has been edited by milka: May 15 2006, 18:14 -------------------- |
|
|
|
May 15 2006, 18:43
Post
#6
|
|
![]() Member Group: Full Members Posts: 18 Joined: 12-May 06 From: Slovakia Member No.: 3132 Mp3tag Version: 2.38 |
QUOTE (SquallLeonhart38 @ May 15 2006, 16:14) ONE BIG PROBLEM IS THAT YOU FORGOT TO MASK THE %! Thanks, that was truly the BIG problem. I've edited the file in frontpage and i was not aware of the %'s. I was playing a bit with the script you fixed, and i have to tell it's really close to my dream script now. I've tried to add some functions to calculate the average bitrate of the exported files, but somehow i've failed And one question: is there a reason why the tables by the lyrics are not being exported? I have no idea why they are not there... (but this is purely cosmetical, the script is now way better than the original from MediaTagger) thanks for your time guys once again This post has been edited by molnart: May 15 2006, 20:02
Attached File(s)
|
|
|
|
May 15 2006, 20:11
Post
#7
|
|
![]() Member Group: Full Members Posts: 155 Joined: 29-March 06 Member No.: 2944 Mp3tag Version: 2.40c |
About the things left of the lyrics:
I think it's because of the %s. Best run Notepad and search for % in the complete file. When there is one % then look if it's for exporting the data. When not, simply write it as %%. And I fell a bit ashame 'cause I didn't see the %s (perhaps because I didn't download the sample and so I didn't saw the table). -------------------- |
|
|
|
May 15 2006, 20:44
Post
#8
|
|
![]() Member Group: Full Members Posts: 18 Joined: 12-May 06 From: Slovakia Member No.: 3132 Mp3tag Version: 2.38 |
thanks, it were the %s
someone, any ideas how to calculate average bitrate? i've tried this, without success: CODE $puts(abr,0) $loop(%track%) $add(abr,%_bitrate%) $loopend() $div(abr,%_counter%) $get(abr) what am i doing wrong ? (most probably everything, but still |
|
|
|
May 15 2006, 21:13
Post
#9
|
|
![]() Moderator Group: Moderators Posts: 5504 Joined: 4-September 03 From: Germany Member No.: 201 Mp3tag Version: 2.55a |
CODE $loop(%_filename_ext%)$puts(Vbitrate,$add($get(Vbitrate),%_bitrate%)) $puts(cnt1,$add($get(cnt1),1))$loopend() $div($get(Vbitrate),$get(cnt1)) You always need $puts and $get when you're using variables. Maybe you can shorten it by replacing the cnt1 stuff with just %_counter%, try it yourself. -------------------- |
|
|
|
May 16 2006, 09:04
Post
#10
|
|
![]() Croatian translator Group: Translators Posts: 315 Joined: 7-February 05 From: Croatia, Zagreb Member No.: 1533 Mp3tag Version: 2.41 |
Thanks dano I will implement avarage bitrate calculate in my scripts.
Check out molnart.
lyr_htm290.zip ( 2.03K )
Number of downloads: 448This post has been edited by milka: May 16 2006, 09:04 -------------------- |
|
|
|
May 16 2006, 12:41
Post
#11
|
|
![]() Member Group: Full Members Posts: 155 Joined: 29-March 06 Member No.: 2944 Mp3tag Version: 2.40c |
Another possibility would be to use javascript. An example is attached.
Attached File(s)
-------------------- |
|
|
|
May 16 2006, 20:25
Post
#12
|
|
![]() Member Group: Full Members Posts: 18 Joined: 12-May 06 From: Slovakia Member No.: 3132 Mp3tag Version: 2.38 |
Thank you guys, you're great. I've finalised the script for now and i don't want to play with it for a time... only if someone would tell me that it is possible to detect the available jpg files in the directory and automatically create links to them
(now if you tell me that it IS possible i will fall off the chair immediately Finally i have a script that requires (almost) no editing after the export, thank you to all once again !
Attached File(s)
|
|
|
|
May 17 2006, 11:17
Post
#13
|
|
![]() Member Group: Full Members Posts: 155 Joined: 29-March 06 Member No.: 2944 Mp3tag Version: 2.40c |
QUOTE (molnart @ May 16 2006, 21:25) Thank you guys, you're great. I've finalised the script for now and i don't want to play with it for a time... only if someone would tell me that it is possible to detect the available jpg files in the directory and automatically create links to them (now if you tell me that it IS possible i will fall off the chair immediately Finally i have a script that requires (almost) no editing after the export, thank you to all once again ! And I look if it is possible to check if the file is available. EDIT: Removes script and no it isn't possible. This post has been edited by SquallLeonhart38: May 17 2006, 18:42 -------------------- |
|
|
|
May 19 2006, 08:39
Post
#14
|
|
![]() Croatian translator Group: Translators Posts: 315 Joined: 7-February 05 From: Croatia, Zagreb Member No.: 1533 Mp3tag Version: 2.41 |
molnart, I have updated your script and fixed some bugs.
Check out.
lyr_htm.zip ( 2.41K )
Number of downloads: 677This post has been edited by milka: May 19 2006, 08:42 -------------------- |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 21st May 2013 - 21:31 |