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 8, 9, 10 Forum
 Scripts
 IMDB cover
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Lo Zio
Starting Member

Italy
32 Posts

Posted - 17 Jul 2016 :  09:25:37  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Dear Alessio, once the IMDB script downloaded a bigger poster than now. I prefer the big one, so what can I do to modify the script?
Thank you for your attention.

Francesco

JDommi
Administrator

Germany
4650 Posts

Posted - 17 Jul 2016 :  10:34:31  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
As I don't have the script here @work I only can give you a hint of what might have to be changed...
<div class="poster">
<a href="/title/tt0360486/mediaviewer/rm269522944?ref_=tt_ov_i"
> <img alt="Constantine Poster" title="Constantine Poster"
src="http://ia.media-imdb.com/images/M/MV5BMTE5NDk5NTUyN15BMl5BanBnXkFtZTYwNzUyMDA3._V1_UX182_CR0,0,182,268_AL_.jpg"
itemprop="image" />

I think that Ale takes the pic from "src="http://ia.media-imdb.com/images/...". That's the small one.
For the big poster you have to take that src-link up to
"._V1_" and add the file extension.
So you will have
"http://ia.media-imdb.com/images/M/MV5BMTE5NDk5NTUyN15BMl5BanBnXkFtZTYwNzUyMDA3._V1_.jpg" instead of
"http://ia.media-imdb.com/images/M/MV5BMTE5NDk5NTUyN15BMl5BanBnXkFtZTYwNzUyMDA3._V1_UX182_CR0,0,182,268_AL_.jpg"

At least this change would do the trick for the movie Constantine. But it should work in general, too.

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

JDommi
Administrator

Germany
4650 Posts

Posted - 17 Jul 2016 :  21:33:40  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply

:MPLINEFOUND 
    #FINDPREVIOUS#="#11##ONERROR#=*OK*
    #COMPUTECURSOR#=+1
    #FIND#=._V1_#12# #ONERROR#=*OK*
	#COMPUTEVAR#=#12#+5
    #TAKEWORD#=#13#,#11#,#12#
	#STRING#=#13#=#13#.jpg
    #TAKEPOSTER#=#13#

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

Lo Zio
Starting Member

Italy
32 Posts

Posted - 19 Jul 2016 :  11:12:01  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you so much JDommi, I'll try to edit the script in that way.
Go to Top of Page

JDommi
Administrator

Germany
4650 Posts

Posted - 19 Jul 2016 :  11:27:04  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I hope that the pics are always .jpg - otherwise you have to open the cover page in a new webslot and get the "real" file extension...

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

Lo Zio
Starting Member

Italy
32 Posts

Posted - 19 Jul 2016 :  17:47:26  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you JDommi, I modified the script and now it works the way I want!

Maybe it's a silly question, but if I modify the line
#STRING#=#13#=#13#.jpg in
#STRING#=#13#=#13#.*
wouldn'it get any picture format?

(However I believe it unlikely that big pictures are coded in the PNG or GIF format)
Go to Top of Page

JDommi
Administrator

Germany
4650 Posts

Posted - 19 Jul 2016 :  18:12:09  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
No, url links are not working like file links in windows.
You would only get a file not found error.

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
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.12 sec. Powered By: Snitz Forums 2000 Version 3.4.07