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
 Suggestions / New Features
 Auto imdb-link converter
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Radioactive
New Member

94 Posts

Posted - 27 Apr 2011 :  16:12:30  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
hy

today i found out that some of my movies had a imdb-link like "http://www.imdb.com/Title?1393000" and so the script dosen't work because they need the link in the format "http://akas.imdb.com/title/tt1393000" or the old "http://www.imdb.com/title/tt1393000"

so i think it would be good to add an aouto imdb-converter with converts the link when it importat the link from a nfo or when a script write an imdb link into the c8-field

other imdb-links are:
http://german.imdb.com/title/tt

JDommi
Administrator

Germany
4638 Posts

Posted - 27 Apr 2011 :  16:24:33  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
As far as I know the IMDB scripts automatically convert the links to the aka version

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

Prinz
Senior Member

Germany
1522 Posts

Posted - 27 Apr 2011 :  16:28:31  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Links are automatically converted:


#DIRECTLINKBLOCK#
    #GETMOVIEVAR#=#23#=#DIRECTLINK#
    #PUT#=1#01#
    #SEARCHREPLACEVAR#=http://.*imdb.com|http://akas.imdb.com#23##01#
    #TAKEWEBQUERY#=#23#
#ENDDIRECTLINKBLOCK#

Edited by - Prinz on 27 Apr 2011 16:28:41
Go to Top of Page

Radioactive
New Member

94 Posts

Posted - 27 Apr 2011 :  16:36:49  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
ahh sorry
So i have to put the code into the ofdb.de and every other script too?

and what about imdb.de links

I think it would be better if the Programm converts the links so we a one link standard and so in every script nothing have to changed

Edited by - Radioactive on 27 Apr 2011 16:40:10
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 27 Apr 2011 :  16:53:08  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Third party scripts for non-imdb sites don't need that. That is only for the script that uses that site.

If a script uses additional search criteria like the c8 field it's the "Problem" of the script format Data correctly for it's use.
Go to Top of Page

Radioactive
New Member

94 Posts

Posted - 27 Apr 2011 :  17:24:52  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
hmm okay but because i need the imdb-number for the ofdb-script i used this code

#PUT#=1#01# <--for what is this?
#SEARCHREPLACEVAR#=http://.*imdb.*/*itle|#23##01#
#SEARCHREPLACEVAR#=/|#23##01#
#SEARCHREPLACEVAR#=?|#23##01#

but for the folling link it dosent work:
http://www.imdb.de/Title?1393000
it alway give me this ?1393000 but i need 1393000 without the ?
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 27 Apr 2011 :  19:11:40  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by Radioactive
#PUT#=1#01# <--for what is this?



0 = case sensitive
1 = case insensitive

quote:

#SEARCHREPLACEVAR#=?|#23##01#



That are RegEx search/replace functions. Special Char like ? have to be escaped with an \

#SEARCHREPLACEVAR#=\?|#23##01#
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 27 Apr 2011 :  19:43:55  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You could do all that for all versions with this regex:


#PUT#=1#01#
#SEARCHREPLACEVAR#=http://.*imdb[^\d]*(\d+).*|$1#23##01#


That always only gets the number.
Go to Top of Page

Radioactive
New Member

94 Posts

Posted - 27 Apr 2011 :  19:56:24  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
kk thx i will put i into the script of ofdb and themoviedb and make some test and then i will upload it
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.3 sec. Powered By: Snitz Forums 2000 Version 3.4.07