diff --git a/pandora/item/models.py b/pandora/item/models.py index 5f9ea8ddf..9f4c59f52 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -947,7 +947,8 @@ class Item(models.Model): if settings.USE_IMDB: if len(self.itemId) == 7: cmd += ['-i', self.itemId] - cmd += ['-o', self.oxdbId] + oxdbId = self.oxdbId or self.oxdb_id() or self.ItemId + cmd += ['-o', oxdbId] else: cmd += ['-i', self.itemId] ox.makedirs(os.path.join(settings.MEDIA_ROOT,self.path())) diff --git a/pandora/item/views.py b/pandora/item/views.py index 4581cc479..e52d394a0 100644 --- a/pandora/item/views.py +++ b/pandora/item/views.py @@ -690,7 +690,7 @@ def poster(request, id, size=None): if item.poster: return image_to_response(item.poster, size) else: - poster_path = os.path.join(settings.STATIC_ROOT, 'png/posterDark.48.png') + poster_path = os.path.join(settings.STATIC_ROOT, 'png/poster.png') response = HttpFileResponse(poster_path, content_type='image/jpeg') response['Cache-Control'] = 'no-cache' return response diff --git a/static/png/poster.png b/static/png/poster.png new file mode 100644 index 000000000..8659c91db Binary files /dev/null and b/static/png/poster.png differ diff --git a/static/png/posterDark.48.png b/static/png/posterDark.48.png deleted file mode 100644 index 6e2968afa..000000000 Binary files a/static/png/posterDark.48.png and /dev/null differ