IMDB Plugin does not download movie poster anymore

Bug #1556555 reported by tellapu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Griffith
New
Undecided
Unassigned

Bug Description

For some weeks the IMDB Plugin does not download movie poster anymore. Any tips?
Maybe the PluginMovieIMDB.py needs a change.

Revision history for this message
Patricia (crazypat63) wrote :

Yup, same thing here, for a month a now. Other softwares made changes but not this one, so, no posters from IMDb.

Revision history for this message
nemoinis (nemoinis) wrote :

This change in PluginMovieIMDB.py works for me:

OLD:
    def get_image(self):
        tmp = gutils.trim(self.page, 'id="img_primary"', '</a>')
        self.image_url = gutils.trim(tmp, 'src="', '"')
NEW:
    def get_image(self):
        tmp = gutils.trim(self.page, "property='og:image'", ' />')
        self.image_url = gutils.trim(tmp, 'content="', '"')

Revision history for this message
tellapu (tellapu) wrote :

Hi nemoinis! Thanks a lot for this tip! Worked with me! Griffith is still alive!

Revision history for this message
tellapu (tellapu) wrote :

For somebody who does not know where to find the plugin, the quickest way is any terminal:
sudo gedit /usr/share/griffith/lib/plugins/movie/PluginMovieIMDB.py

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.