BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 eXtreme Movie Manager (Rel. 7), No More Updates
 Scripts
 Need help with the included OFDB.de -Script
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Cubi
New Member

51 Posts

Posted - 05 Apr 2005 :  19:44:29  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Cubi
New Member

51 Posts

Posted - 06 Apr 2005 :  01:12:20  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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 !
Go to Top of Page

Cubi
New Member

51 Posts

Posted - 06 Apr 2005 :  17:44:24  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 06 Apr 2005 :  21:36:37  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Cubi
New Member

51 Posts

Posted - 07 Apr 2005 :  02:00:55  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

eb1
Starting Member

Germany
34 Posts

Posted - 08 Apr 2005 :  19:46:55  Show Profile  Edit Reply  Send eb1 an ICQ Message  Reply with Quote  View user's IP address  Delete Reply
sorry, i don't have much time now for EMM, here is the fixed version : http://137.226.147.185/ofdb-script-08_04_2005.rar

nothing else is changed!
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 08 Apr 2005 :  20:47:24  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.11 sec. Powered By: Snitz Forums 2000 Version 3.4.07