You are here

IMDB & movie posters

11 posts / 0 new
Last post
Maniac
Offline
Donator
Joined: 11 years
Last seen: 10 months
IMDB & movie posters

Hi,
Is there a property in the mdb that we can use to fetch movie poster url's? I've read somewhere that this is under work, but that was like a year ago.
I presume we cannot use showicon in the mdb proccessor?
Thanks

WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 12 years
Last seen: 2 hours
Is the support helpful?
support us

The situation is like this: Currently the following mdb elements are supported:

  - 'mdb-title' :
   If 'mdb-title' is used in the xmltv-target element <title>, it will only be added if different from the existing xmltv title (see 2. above)
   If used in any of the other supported xmltv-target elements, there is no such restriction and it will be listed in any case.
  - 'mdb-starrating' 'mdb-description' 'mdb-plot' 'mdb-commentsummary' 'mdb-review' 'mdb-actor' 'mdb-director' 'mdb-showid' 'mdb-subtitle'  'mdb-episodeid' 'mdb-episodenum' 'mdb-showicon' and 'mdb-productiondate'

 

That means that you can scrub the mdb-showicon from the mdb website (if it is not already in de mdb ini). You the can add the data of it to the supported target xmltv elements. Unfortunately (xmltv element) icon is not yet added to the list of target xmltv elements, so for the time being you have to allocate it else where. I am working on that, but progress is rather slow on that because of higher priorities. But any time soon there will be a major update of the mdb postprocessor ...

 

Jan

Maniac
Offline
Donator
Joined: 11 years
Last seen: 10 months

Thanks for the reply. 
Ok, so when I use the mdb_showicon in the imdb.com.imdb.ini file, how do I know what url it uses to scrub the data from? There are like 5 or 6 different urls in that file, is there a pattern in what url it uses?
I would like to fetch a poster from the main details page, for example: http://www.imdb.com/title/tt1731141/
mdb_showicon.scrub {single|<div class="image">|src="|"|itemprop="image" />}

With this line i keep getting the ad on top of the page :)

Jagad
Offline
Donator
Joined: 11 years
Last seen: 4 years

Hi!
I saw update 53 was recently released, but didnt see any major mdb postprocessor update. I think its the postprocessor that really makes WG++ better than everything else and are hoping for a higher development priority for it. I am like the threadstarter specifically interested retrieving the showicon url and to allocate it to an icon xmltv element. Also like to allocate other info, but there is not many xmltv elements supported atm, which makes it hard when trying to import the xmltv data into the PVR software EPG. Perhaps there is news on some kind of ETA? 
Regards
Jagad

WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 12 years
Last seen: 2 hours
Is the support helpful?
support us

Hi Jagad,

 

I am sorry that you are disapointed about the progress made with the postprocessor. Maybe you do not realize that upgrade 53 upgraded the postprocessor to version 1.4. The main addition is the ability to grab episode details for series. This addition is described in the home page http://www.webgrabplus.com/content/series-episode-data-added-functionality-mdb-postprocessor. In the mdb ini collection there is a dedicated ini to use that option.

 

You ask for support of mdbshowicon. In fact that is already supported by the postprocessor , see the complete list of supported mdb elements on the documentation page :

4. Supported MDB element-names.
  The following MDB element names are recognized by the program. (However, do realize that their values depend on the mdbini used and their existence in the mdb-site)
  - 'mdb-title' :
   If 'mdb-title' is used in the xmltv-target element <title>, it will only be added if different from the existing xmltv title (see 2. above)
   If used in any of the other supported xmltv-target elements, there is no such restriction and it will be listed in any case.
  - 'mdb-starrating' 'mdb-description' 'mdb-plot' 'mdb-commentsummary' 'mdb-review' 'mdb-actor' 'mdb-director' 'mdb-showid' 'mdb-subtitle' 'mdb-episodeid' 'mdb-episodenum' 'mdb-showicon' and 'mdb-productiondate'

And as xmltv target element:

2. The allowed xmltv-target elements (the ones in the target xmltv file specified above) are :
  <title> (= special case : if the first mdb-title, which is the original showtitle, differs from the xmltv title it can be added to xmltv as extra 'original' title.)
  <sub-title>
  <desc>
  <date> = the xmltv element name containing the productiondate
  <star-rating>
  <review> (= optional new xmltv element)
  <director> e.g to add /substitute the (additional?) mdb-director
  <actor> e.g to add /substitute the (additional?) mdb-actor  
  <icon>  e.g. <icon>'mdb-showicon'</icon> !! no addtional text allowed!
  <episode-num> e.g. <episode-num>'mdb-episodenum'</episode-num>  !! no additional text allowed!

 

The problem is that the standard mdbini's this elelement is not yet grabbed. The variant for series imdb.com.imdb_series does have it already though .

Any chance that you are able to add this element yourself else to the ini? Else I will  plan to add it but that will take a while.  Sorry no ETA!

Is there anything else that you have in mind for the postprocessor?

 

Jan

Jagad
Offline
Donator
Joined: 11 years
Last seen: 4 years

Hi Jan!
 
Oh, not at all disappointed! Sorry if it came across that way. Was not my intention in any way. More the other way around, im very happy using this amazing software and are very glad about the great work you are doing. I saw its possible to make donations now and I will definitely do that.
I was reading the changelog of the 1.4 postprocessor and based of that didnt realize these changes were done. Im a bit reluctant to update WG++, cuz earlier when doing that my specially made inis didnt work anymore, so i havent tried 53 yet. I will do that though. Thanks again!
regards
Jagad

WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 12 years
Last seen: 2 hours
Is the support helpful?
support us

Fair enough. Interesting that you made some inis yourself? Not many people do that. I hope that upgrade 53 won't spoil it again, though I always keep downwards compatibilityl(as we should with all the existing ini's).
Are you going to look into the mdbini's to add the mdb_showicon? The syntax of the mbd ini's is a little different from the normal ones. But I guess you will understand it. If not I can assist.
 
Jan

Jagad
Offline
Donator
Joined: 11 years
Last seen: 4 years

Hi Jan!
Finally had some time to try things out. Luckily the update went well. Yes, it seems i do need your help retrieve movie poster icon URLs to work. You see im after the url to the movie poster .jpg and that does not have any show-id number in it, so i have difficulties to build up the imdb.ini url for it. For example im looking at True grit movie with the URL:
 
http://www.imdb.com/title/tt1403865/?ref_=fn_al_tt_1
 
the movie poster jpeg has the URL:
 
ia.media-imdb.com/images/M/MV5BMjIxNjAzODQ0N15BMl5BanBnXkFtZTcwODY2MjMyNA@@._V1_SX214_AL_.jpg
 
There is an another linkage adress (shown below) to the poster containing the show-id, but this URL contains all sorts of banners and other imdb related stuff. If using such an URL to show movie posters in the PVR EPG wouldnt work. I need to have the URL directly to the .jpg.
 
http://www.imdb.com/media/rm3393815552/tt1403865?ref_=tt_ov_i
 
So how to go about with this?
 
Regards
Jagad

WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 12 years
Last seen: 2 hours
Is the support helpful?
support us

Jagad,

 

I see both URL's you mention in the html page . Look at this copy of a part of the primary page http://www.imdb.com/title/tt1403865/

 

<div class="article title-overview">

 

<script>

if ('csm' in window) {

csm.measure('csm_TitleOverviewWidget_started');

}

</script>

<div id="title-overview-widget">

<table cellspacing="0" cellpadding="0" border="0" id="title-overview-widget-layout">

<tbody>

<tr>

<td rowspan="2" id="img_primary">

<div class="image">

<a href="/media/rm3393815552/tt1403865?ref_=tt_ov_i" > <img height="317"

width="214"

alt="True Grit (2010) Poster"

title="True Grit (2010) Poster"

src="http://ia.media-imdb.com/images/M/MV5BMjIxNjAzODQ0N15BMl5BanBnXkFtZTcwODY2MjMyNA@@._V1_SX214_AL_.jpg"

itemprop="image" />

</a> </div>

 

It shouldn't be too difficult to grab one or the other. If you send me the xmltv source file containing this show I can help you with it.

 

Jan

Jagad
Offline
Donator
Joined: 11 years
Last seen: 4 years

smileyYou've got mail smiley

WGMaker
Offline
WGMaker's picture
WG++ Team memberDonator
Joined: 12 years
Last seen: 2 hours
Is the support helpful?
support us
Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl