Skip to content

imdb_list is labeling tv series as movies. #1270

@playgge

Description

@playgge

Expected behaviour:

imdb_list setting series_name for a tv series.

Actual behaviour:

imdb_list is setting everything to movie_name.

Steps to reproduce:

  • Step 1: ...

Config:

paste relevant config
use paste service if config is too long

Log:

2016-07-06 19:17 DEBUG    imdb_list     imdb_to_trakt_tv parsing line from csv: 1, tt2085059, Fri Jun  3 19:35:35 2016, Fri Jun  3 19:35:35 2016, , Black Mirror, TV Series, , , 8.8, 60, 2011, drama, sci_fi, thriller, 56397, 2011-12-04, http://www.imdb.com/title/tt2085059/
2016-07-06 19:17 TRACE    entry         imdb_to_trakt_tv ENTRY SET: imdb_name = u'Black Mirror'
2016-07-06 19:17 TRACE    entry         imdb_to_trakt_tv ENTRY SET: imdb_genres = [u'drama', u'sci_fi', u'thriller']
2016-07-06 19:17 TRACE    entry         imdb_to_trakt_tv ENTRY SET: movie_name = u'Black Mirror'

It looks like there is a "TV series" label in row 6 of the csv file from imdb to identify the type.

I think this is the code:

                entry = Entry({
                    'title': '%s (%s)' % (row[5], row[11]) if row[11] != '????' else '%s' % row[5],
                    'url': row[15],
                    'imdb_id': row[1],
                    'imdb_url': row[15],
                    'imdb_list_position': int(row[0]),
                    'imdb_list_created': datetime.strptime(row[2], '%a %b %d %H:%M:%S %Y') if row[2] else None,
                    'imdb_list_modified': datetime.strptime(row[3], '%a %b %d %H:%M:%S %Y') if row[3] else None,
                    'imdb_list_description': row[4],
                    'imdb_name': row[5],
                    'movie_name': row[5],

Additional information:

  • Flexget Version:
  • Python Version:
  • Installation method:
  • OS and version:
  • Link to crash log:

Please verify that the following data is present before submitting your issue:

-Paste or link to a paste service (pastebin for example) of relevant config (preferably full config including templates if present. Remember to redact any personal information!

  • Paste or link to a paste service of debug level logs of relevant task/s. Use flexget -L debug execute --tasks <Task_name>
  • Flexget version: 2.1.0
  • Full Python version (2.7.11 for example). Run python -V to get it.
  • Installation method (pip, git install, etc.)
  • OS and version
  • Attach crash log if available

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions