3 Fixes for IMDB-Plugin (forum seems to be down?!)

281 views
Skip to first unread message

magi.mich...@gmail.com

unread,
Feb 20, 2013, 6:33:58 PM2/20/13
to griffi...@googlegroups.com
Hi there,

since imdb.de seems to permantently redirect to imdb.com I switched to the imdb plugin, but I found three errors that did not seem to be fixed in the current svn version at:http://svn.berlios.de/wsvn/griffith/trunk/lib/plugins/movie/PluginMovieIMDB.py
1. Titles have broken umlauts (fixed that by changing the encoding from iso to utf8)
2. Original title is not importet (they changed the link slightly, so that griffith doesn't recognize it anymore, adapted it)
3. The releasedate is not imported (again the changed the link slightly[just one more space], adapted it)

I'm sorry I attached a full file and not a patch, but I think it's easier for other users to replace their IMDB-MoviePlugin.py
Please feel free to diff the file two files (original and this version) yourself to verify that everything is clean and legal, it should only list 3 differences (the ones mentioned above).

Kind Regrards,
Michael Skiba
PluginMovieIMDB.py

irene...@gmail.com

unread,
Feb 21, 2013, 10:12:55 AM2/21/13
to griffi...@googlegroups.com, magi.mich...@gmail.com
Not working for me. program freezes and does nothing. Thanks anyway.

irene...@gmail.com

unread,
Feb 21, 2013, 11:50:16 AM2/21/13
to griffi...@googlegroups.com, magi.mich...@gmail.com
I add to my previous reply:

What did solved the year problem was the addition (to the original plugin) of one space in this line

self.year = gutils.after(self.year, '" >')

Thanks for the tip! :)


On Wednesday, February 20, 2013 8:33:58 PM UTC-3, magi.mich...@gmail.com wrote:

Michael Jahn

unread,
Feb 21, 2013, 2:52:10 PM2/21/13
to griffi...@googlegroups.com
Your attached file has a corrupted formatting and didn't work.
I checked the IMDb plugin myself and fixed it. You can get the current
plugin from the source code repository:
http://svn.berlios.de/svnroot/repos/griffith/trunk/lib/plugins/movie/PluginMovieIMDB.py
> --
> You received this message because you are subscribed to the Google
> Groups "Griffith" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to griffith-use...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

videos.edit...@gmail.com

unread,
Jan 20, 2016, 12:53:48 PM1/20/16
to Griffith, magi.mich...@gmail.com
Hi, when I try to use this plugin, I get

Traceback (most recent call last):
  File "/usr/bin/griffith", line 275, in source_changed
    add.source_changed(self)
  File "/usr/share/griffith/lib/add.py", line 334, in source_changed
    plugin = __import__(plugin_name)
  File "/usr/share/griffith/lib/plugins/movie/PluginMovieIMDB.py", line 3
    __revision__ = '$Id$'
    ^
IndentationError: unexpected indent
Traceback (most recent call last):
  File "/usr/bin/griffith", line 266, in get_from_web
    add.get_from_web(self)
  File "/usr/share/griffith/lib/add.py", line 283, in get_from_web
    plugin = __import__(plugin_name)
  File "/usr/share/griffith/lib/plugins/movie/PluginMovieIMDB.py", line 3
    __revision__ = '$Id$'
    ^
IndentationError: unexpected indent
Traceback (most recent call last):
  File "/usr/bin/griffith", line 266, in get_from_web
    add.get_from_web(self)
  File "/usr/share/griffith/lib/add.py", line 283, in get_from_web
    plugin = __import__(plugin_name)
  File "/usr/share/griffith/lib/plugins/movie/PluginMovieIMDB.py", line 3
    __revision__ = '$Id$'
    ^
IndentationError: unexpected indent


As to Mike's version, the link is broken.
Reply all
Reply to author
Forward
0 new messages