diff --git a/pandora/item/tasks.py b/pandora/item/tasks.py
index bd4ad070b..b60f16a6a 100644
--- a/pandora/item/tasks.py
+++ b/pandora/item/tasks.py
@@ -145,12 +145,11 @@ def update_sitemap(base_url):
#el.text = absolute_url("%s/video" % i.itemId)
el = ET.SubElement(video, "video:player_loc")
el.attrib['allow_embed'] = 'no'
- el.text = absolute_url("%s/video" % i.itemId)
+ el.text = absolute_url("%s/player" % i.itemId)
el = ET.SubElement(video, "video:title")
el.text = i.get('title')
el = ET.SubElement(video, "video:thumbnail_loc")
- icon = settings.CONFIG['user']['ui']['icons'] == 'frames' and 'icon' or 'poster'
- el.text = absolute_url("%s/%s256.jpg" %(i.itemId, icon))
+ el.text = absolute_url("%s/%96p.jpg" % i.itemId)
description = i.get('description', i.get('summary', ''))
if description:
el = ET.SubElement(video, "video:description")
diff --git a/pandora/item/views.py b/pandora/item/views.py
index 859089e92..9f3335405 100644
--- a/pandora/item/views.py
+++ b/pandora/item/views.py
@@ -700,14 +700,15 @@ def frame(request, id, size, position=None):
return HttpResponseForbidden()
frame = None
if not position:
- frames = item.poster_frames()
- if frames:
- position = item.poster_frame
- if position == -1 or position > len(frames):
- position = int(len(frames)/2)
- position = frames[int(position)]['position']
- elif item.poster_frame == -1 and item.sort.duration:
- position = item.sort.duration/2
+ if settings.CONFIG['media']['importFrames'] or item.poster_frame == -1:
+ frames = item.poster_frames()
+ if frames:
+ position = item.poster_frame
+ if position == -1 or position > len(frames):
+ position = int(len(frames)/2)
+ position = frames[int(position)]['position']
+ elif item.poster_frame == -1 and item.sort.duration:
+ position = item.sort.duration/2
else:
position = item.poster_frame
else:
diff --git a/pandora/templates/item.html b/pandora/templates/item.html
index 90a8b9d69..06be5fecf 100644
--- a/pandora/templates/item.html
+++ b/pandora/templates/item.html
@@ -16,12 +16,12 @@
-
-
+
+
-
+