Author |
Topic |
|
JDommi
Administrator
Germany
4650 Posts |
Posted - 13 Oct 2010 : 19:02:52
|
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 |
|
|
siXor
Starting Member
1 Posts |
Posted - 16 Oct 2010 : 05:21:06
|
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 |
|
|
Alessio Viti
Forum Admin
Italy
9171 Posts |
|
McYoda
Starting Member
Switzerland
12 Posts |
Posted - 17 Oct 2010 : 12:53:10
|
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 |
|
|
Rincewindwiz
Junior Member
105 Posts |
Posted - 18 Oct 2010 : 12:02:46
|
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 |
|
|
Alessio Viti
Forum Admin
Italy
9171 Posts |
|
al627
Starting Member
3 Posts |
Posted - 19 Oct 2010 : 14:36:02
|
The IMDB Fastest seems to work on some but not all movies Examples what does not update "Armored" |
|
|
McYoda
Starting Member
Switzerland
12 Posts |
Posted - 20 Oct 2010 : 09:53:17
|
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 |
|
|
Alessio Viti
Forum Admin
Italy
9171 Posts |
|
Prinz
Senior Member
Germany
1522 Posts |
Posted - 22 Oct 2010 : 13:19:12
|
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 |
|
|
Alessio Viti
Forum Admin
Italy
9171 Posts |
|
Prinz
Senior Member
Germany
1522 Posts |
Posted - 25 Oct 2010 : 10:47:03
|
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. |
|
|
Alessio Viti
Forum Admin
Italy
9171 Posts |
|
Prinz
Senior Member
Germany
1522 Posts |
Posted - 25 Oct 2010 : 13:29:07
|
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 |
|
|
Alessio Viti
Forum Admin
Italy
9171 Posts |
|
Alessio Viti
Forum Admin
Italy
9171 Posts |
|
Alessio Viti
Forum Admin
Italy
9171 Posts |
Posted - 25 Oct 2010 : 20:59:45
|
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
|
|
|
JDommi
Administrator
Germany
4650 Posts |
Posted - 25 Oct 2010 : 21:01:46
|
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 |
|
|
Alessio Viti
Forum Admin
Italy
9171 Posts |
|
Prinz
Senior Member
Germany
1522 Posts |
Posted - 25 Oct 2010 : 22:06:03
|
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 |
|
|
Topic |
|
|