Package: python-freevo
Version: 1.8.1-3
Hello,
Recently I installed & configured freevo, and while I try to
import movie data for media, I discovered that imdb plugin don't get all
info.
Module affected:
/usr/share/pyshared/freevo/util/fxdimdb.py
in line 765 (aprox) you can find the "relevant" code:
# Find Plot Outline/Summary:
# Normally the tag is named "Plot Outline:" - however sometimes
# the tag is "Plot Summary:". Search for both strings.
as you can read, code search matches with strings 'Plot outline:'
or 'Plot summary:', but at this time, at least for me, imdb web returns
single string 'Plot:'
I fixed appending another comprobation:
imdb_result = soup.find(text='Plot Outline:')
if not imdb_result:
imdb_result = soup.find(text='Plot Summary:')
if not imdb_result:
imdb_result = soup.find(text='Plot:')
if imdb_result:
self.info['plot'] = imdb_result.next.strip()
else:
self.info['plot'] = u''
this patched code, works for me.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org