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
 IMDB Changes?
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 18 Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

JDommi
Administrator

Germany
4650 Posts

Posted - 13 Oct 2010 :  19:02:52  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Not just everybody wants to register. So the script has to handle the "normal" site structure. Although I don't know if the old layout depends on a cookie and XMM doesn't support cookies as far as I know.

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

siXor
Starting Member

1 Posts

Posted - 16 Oct 2010 :  05:21:06  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
still no big changes and fixes?

sry, don't wan't to pressure you. I'm new with XMM and I did just got my DVD's that I ordered and I'm waiting with amazement on how good this program is. But take your time, it's not your foult, it's imdb who changed the got damn design It even looks uglier now than before,

Good luck guys, I could wait a long time for this, only if it's not forever
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 16 Oct 2010 :  22:20:06  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

The IMDB Fastest works and has a lot of information, please use it until Prinz has finished with the IMDB Complete...

Let me know if there are some info missing.

Ale

http://www.facebook.com/pages/eXtreme-Movie-Manager/47220214342?ref=mf
Go to Top of Page

McYoda
Starting Member

Switzerland
12 Posts

Posted - 17 Oct 2010 :  12:53:10  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Alessio
The IMDB fastest does not seem to take the correct AKAS title. I chose no. 3 in the script settings, which would be German, but i still got the original title entered.
Tested with "Per un pugno di dollari".

Greets
McYoda

Edited by - McYoda on 17 Oct 2010 21:36:01
Go to Top of Page

Rincewindwiz
Junior Member

105 Posts

Posted - 18 Oct 2010 :  12:02:46  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
the IMDB scripts to not yet seem to work fully (no plot, no tagline, variable number of actors etc) despite the latest update (10/10/2010)
Any idea when a new update will be available?
TFAI

He uses statistics as a drunk uses lampposts - for support rather than illumination
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 18 Oct 2010 :  12:56:25  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

You speak about the Fastest? Because seem to work correctly...

Ale

http://www.facebook.com/pages/eXtreme-Movie-Manager/47220214342?ref=mf
Go to Top of Page

al627
Starting Member

3 Posts

Posted - 19 Oct 2010 :  14:36:02  Show Profile  Edit Reply  Send al627 an AOL message  Send al627 a Yahoo! Message  Reply with Quote  View user's IP address  Delete Reply
The IMDB Fastest seems to work on some but not all movies Examples what does not update "Armored"
Go to Top of Page

McYoda
Starting Member

Switzerland
12 Posts

Posted - 20 Oct 2010 :  09:53:17  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Alessio

Yes, I really mean the Fastest. I tried with several movies now and never get the german AKAS titles.

Edited by - McYoda on 20 Oct 2010 09:53:57
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 21 Oct 2010 :  22:42:15  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello Prinz,

Have you already start to IMDB Complete? If not I will try to do it this weekend.

Thank you,

Ale

http://www.facebook.com/pages/eXtreme-Movie-Manager/47220214342?ref=mf
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 22 Oct 2010 :  13:19:12  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
My PC broke down last week. Power Supply Unit failure. So i didn't had a working PC until today. I already fixed the actors before that last week, but i still have to fix the rest of the script.

I will try to fix it this weekend.

Edited by - Prinz on 22 Oct 2010 13:19:50
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 22 Oct 2010 :  14:30:58  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Great, thank you!

I will focus my work on bugs fixing...

Ale

http://www.facebook.com/pages/eXtreme-Movie-Manager/47220214342?ref=mf
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 25 Oct 2010 :  10:47:03  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Ale,

I'm almost finished with the script, but i have 2 problems. I think we need new functions for magic script to fix them.

I need to convert all existing links (movie,actors) to http://akas.imdb.com/... because all others like http://imdb.com/... ; http://www.imdb.com/...; ... are translated partly (for example: title) to the users language.

The Links that i need to convert are the custom 8 Links and even more complicated the old Directlinks.

I suggest a new function for search and replace with wildcard support and ignore case support. RegEx would be great. Something like this for replacing the custom 8 variable (RegEx Syntax could be different in .net ):


#GETMOVIEVAR#=#23#=#CUSTOM8VALUE#
#PUT#=1#01#
#SEARCHREPLACEVAR#=http://.*imdb\.com\(.*\)|http://akas.imdb.com\1#23##01#



Function:
#SEARCHREPLACEVAR#=text#?1##?2#

text Required. RegEX to search and replace
#?1# Required. Variable to search and replace
#?2# Required. Variable. Ignore Case = 1 . Don't Ignore Case = 0


Second i need to search and replace with this new function an existing Directlink. I would suggest a new block in magic script to manipulate the directlink before it's used/loaded:

#DIRECTLINKBLOCK#
#GETMOVIEVAR#=#23#=#DIRECTLINK# // Get (old) Directlink
#PUT#=1#01# // set a Variable to ignore Case
#SEARCHREPLACEVAR#=http://.*imdb\.com\(.*\)|http://akas.imdb.com\1#23##01#
#TAKEDIRECTLINK#=#23# // Now take the new directlink, maybe you need a new function here (i don't know how the function is working inside the magic script engine)
#ENDDIRECTLINKBLOCK#


I hope you understand what i mean/ what the problems are.
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 25 Oct 2010 :  13:13:25  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello Prinz!

If I have correctly understand this function is to "update" the movies already imported in the past (that have the directlinks already inside the database). For the new imported movies there should be problems, right?

Alessio

http://www.facebook.com/pages/eXtreme-Movie-Manager/47220214342?ref=mf
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 25 Oct 2010 :  13:29:07  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Yes and No.

Yes, the first problem are the old directlinks.

But the second problem is that the user can put in the Custom 8 Field wrong url's even for new movies. Because of that the problem exists also with new movies with the Custom 8 Field.

The Actors (imdb.com) and the TV Show (imdb.com) Scripts have the same problem.

Edited by - Prinz on 25 Oct 2010 13:30:17
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 25 Oct 2010 :  14:57:20  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
OK, Prinz, I will try to do it quickly and I will send ou the EXE to test.

Thank you!

Ale

http://www.facebook.com/pages/eXtreme-Movie-Manager/47220214342?ref=mf
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 25 Oct 2010 :  20:45:46  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello Prinz,

This is the instruction that I have implement and test, seem to work:


#SEARCHREPLACEVAR#=http://[a-z]*.imdb.com|http://akas.imdb.com#23##01#

I will try to send you the exe in few hours...

Ale

http://www.facebook.com/pages/eXtreme-Movie-Manager/47220214342?ref=mf
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 25 Oct 2010 :  20:59:45  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Me again Prinz...

At this time, to check if the directlink is the correct one you load the webpage in serach for title:


#GETMOVIEVAR#=#23#=#CUSTOM8VALUE#
#OPENWEBSLOT2#=#23#
#LOADWEBSLOT2#

and then search for title ecc...

Now You can do this:

#GETMOVIEVAR#=#23#=#CUSTOM8VALUE#
#SEARCHREPLACEVAR#=http://[a-z]*.imdb.com|http://akas.imdb.com#23##01#
#OPENWEBSLOT2#=#23#
#LOADWEBSLOT2#

Should work correctly WITHOUT create a new block for process directlinks.

If then the directlinks is correct you can take directly it like before:

#IF# #15#==#16#
#TAKEDIRECTLINK#=#23#
#CONDITIONRIGHTPAGE# #00#==#00#
#GOTO#=ENDRIGHTPAGEEND
#ENDIF#


What do you think?

I will send the exe quickly

Ale

http://www.facebook.com/pages/eXtreme-Movie-Manager/47220214342?ref=mf
Go to Top of Page

JDommi
Administrator

Germany
4650 Posts

Posted - 25 Oct 2010 :  21:01:46  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Just to remind you, Ale. Keep MagicScript functions description uptodate, please!
As you know, it's really a pain to find new instructions in the scripts. The function and an example call would be enough.

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 25 Oct 2010 :  21:15:32  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You are right JDommi... sorry...

When Prinz will confirm that everything works correctly I will try to update it.

Thank you,

Ale

http://www.facebook.com/pages/eXtreme-Movie-Manager/47220214342?ref=mf
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 25 Oct 2010 :  22:06:03  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The Function:

#SEARCHREPLACEVAR#=http://.*imdb.com|http://akas.imdb.com#23##01#

is working for the custom 8 Field. I changed the regex syntax a bit because yours would ignore url's like http://imdb.com/...

But the Problem with the directlink remains. When you hit the Update Button on the HTML Movie Page the Directlink is directly loaded, which is for old movies (already in database) the wrong link. I don't think i can change this movie update problem without a new block which is executed before the webpage is loaded when the user hits the update button on the movie card, because the #RIGHTPAGEFOUND#, etc. is obviously not executed in that case.

Edit:

Found an error in the

#SEARCHREPLACEVAR#=http://.*imdb.com|http://akas.imdb.com#23##01#

function. If #23# is empty the functions throws an error, but she just should ignore this and do nothing.

Edited by - Prinz on 25 Oct 2010 22:33:31
Go to Top of Page
Page: of 18 Previous Topic Topic Next Topic   Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
Previous Page | Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.14 sec. Powered By: Snitz Forums 2000 Version 3.4.07