Author |
Topic |
|
Cubi
New Member
51 Posts |
Posted - 05 Apr 2005 : 19:44:29
|
Hi all, nice programm, but there is a little error in this script:
[OFDB.DE] - (import informations available for v 1.0+) @eb1 23_10_2004.txt
While updating, a dialogbox pops up with this message:
General Script Failure -> Check Script Line n°170
If i press continue, it updates all information expect the genre-box. I tried to find the script error, opened the script with this editor and yeah, its a problem with the "genre"-input. The website (ofdb.de) didn't changed their layout, the genre is still listed. But i have no idea how to fix this little error, this script is very complex - can somebody help me ?
The genre is one of the most-important informations and i hope i can use the ofdb.de script without this failure, soon.
Thx 4 ur help Cubi |
|
Cubi
New Member
51 Posts |
Posted - 05 Apr 2005 : 22:36:44
|
Ok, after some hours of learning the basics of this language - i realise how this script comes to the specific variables :)
I killed some loops, like "while" and "if" and the result was, it worked - the language is too complex for me to learn exactly what i deleted in this genre-section of the txt - but it worked. For everyone with the same problem, try to change the genre text to this:
#GENRE#
#STARTREADWEB#
#FINDLINE#="Daten"><b><a href="view.php?page=genre#12##ONERROR#=*ASK*
#PUT#=0#09#
#PUT#=0#03#
#FIND#=Genre#10##ONERROR#=*OK*
#FIND#=>#01# #ONERROR#=*OK*
#FIND#=<#02# #ONERROR#=*OK*
#TAKEWORD#=#03#,#01#,#02#
#CHECKVARIABLE#=#03#
#TAKEGENRE#=#03#
#ENDGENRE#
And i learned: The best way to get help, is to help yourself :)
Thx anyway, Cubi |
|
|
Cubi
New Member
51 Posts |
Posted - 06 Apr 2005 : 01:12:20
|
Hmm one problem still exists, it stores only one genre - and i know that for this, i need the loop-functions. But i don't know how, tried 1-2h and it doesn't work. Help pls ! |
|
|
Cubi
New Member
51 Posts |
Posted - 06 Apr 2005 : 17:44:24
|
Ok, this will be my last post here - i did it myself, and yeah its not perfect i know - i could somehow put this parts in a loop - but hey it finnaly works and im happy.
#GENRE#
#STARTREADWEB#
#FINDLINE#=Genre#12##ONERROR#=*ASK*
#FINDLINE#=genre&Genre#12##ONERROR#=*ASK*
#PUT#=#09#
#FIND#=">#01##ONERROR#=*OK*
#FIND#=>#01##ONERROR#=*OK*
#FIND#=<#02##ONERROR#=*OK*
#TAKEWORD#=#03#,#01#,#02#
#TAKEGENRE#=#03#
#FIND#=">#01##ONERROR#=*OK*
#FIND#=>#01##ONERROR#=*OK*
#FIND#=<#02##ONERROR#=*OK*
#TAKEWORD#=#03#,#01#,#02#
#IF# #03#==#09#
#GOTO#=SKIP1
#ENDIF#
#TAKEGENRE#=#03#
#FIND#=">#01##ONERROR#=*OK*
#FIND#=>#01##ONERROR#=*OK*
#FIND#=<#02##ONERROR#=*OK*
#TAKEWORD#=#03#,#01#,#02#
#IF# #03#==#09#
#GOTO#=SKIP1
#ENDIF#
#TAKEGENRE#=#03#
#FIND#=">#01##ONERROR#=*OK*
#FIND#=>#01##ONERROR#=*OK*
#FIND#=<#02##ONERROR#=*OK*
#TAKEWORD#=#03#,#01#,#02#
#IF# #03#==#09#
#GOTO#=SKIP1
#ENDIF#
#TAKEGENRE#=#03#
:SKIP1
#ENDGENRE#
Looks for a maximum of 4 genres, is the next genre "" (no more found) it does a goto to SKIP1 and end this genre-search. Again, i know, its not perfect - but nobody helped me so i had to figure it out for myself :)
Seeyou, Cubi |
|
|
Alessio Viti
Forum Admin
Italy
9171 Posts |
Posted - 06 Apr 2005 : 21:36:37
|
Thank you Cubi!
I am sorry I cannot help you, but I am really busy in the XMM 3.9
I am trying also to finish the first alpha of X Music Manager, but I need a lot of work to do.
If you send the modified script to me I will upload it in the server for all people.
Thank you again,
Alessio |
|
|
Cubi
New Member
51 Posts |
Posted - 07 Apr 2005 : 02:00:55
|
Yeah no problem, but on which email should i sent the modified script ?
And, again, its not perfekt (particular cause i used no loop) - but, hey, it works, i used it for all my videos and had no problems :)
Cubi |
|
|
eb1
Starting Member
Germany
34 Posts |
|
Alessio Viti
Forum Admin
Italy
9171 Posts |
Posted - 08 Apr 2005 : 20:47:24
|
Thank you very much eb1 !!
I will upload it in few hours for all users.
Alessio
@Cubi : you can write me here : alessioviti-at-binaryworks.it
Bye!
Alessio |
|
|
|
Topic |
|
|
|