BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 eXtreme Movie Manager (Rel. 7), No More Updates
 Suggestions / New Features
 Auto imdb-link converter

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
Radioactive Posted - 27 Apr 2011 : 16:12:30
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
8   L A T E S T    R E P L I E S    (Newest First)
Radioactive Posted - 27 Apr 2011 : 19:56:24
kk thx i will put i into the script of ofdb and themoviedb and make some test and then i will upload it
Prinz Posted - 27 Apr 2011 : 19:43:55
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.
Prinz Posted - 27 Apr 2011 : 19:11:40
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#
Radioactive Posted - 27 Apr 2011 : 17:24:52
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 ?
Prinz Posted - 27 Apr 2011 : 16:53:08
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.
Radioactive Posted - 27 Apr 2011 : 16:36:49
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
Prinz Posted - 27 Apr 2011 : 16:28:31
Links are automatically converted:


#DIRECTLINKBLOCK#
    #GETMOVIEVAR#=#23#=#DIRECTLINK#
    #PUT#=1#01#
    #SEARCHREPLACEVAR#=http://.*imdb.com|http://akas.imdb.com#23##01#
    #TAKEWEBQUERY#=#23#
#ENDDIRECTLINKBLOCK#
JDommi Posted - 27 Apr 2011 : 16:24:33
As far as I know the IMDB scripts automatically convert the links to the aka version

BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.08 sec. Powered By: Snitz Forums 2000 Version 3.4.07