Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 19 months ago

Closed 12 months ago

Last modified 12 months ago

#11161 closed Bug Report - General (fixed)

Use image/jpeg media:content as thumbnails in MythNews

Reported by: hamelg@… Owned by: paulh
Priority: minor Milestone: 0.26.1
Component: Plugin - MythNews Version: 0.26
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Attached patch adds support for jpeg images in <media:content> tags so that these are treated like thumbnails.

This issue has been fixed for <enclosure> tags but not for <media:content> tag

see http://code.mythtv.org/trac/ticket/7680

Following feed can be used to test the patch : http://www.generation-nt.com/export/rss.xml

Attachments (1)

gha.patch (526 bytes) - added by hamelg@… 19 months ago.
patch file

Download all attachments as: .zip

Change History (4)

Changed 19 months ago by hamelg@…

patch file

comment:1 Changed 12 months ago by Paul Harrison <pharrison@…>

  • Owner set to Paul Harrison <pharrison@…>
  • Resolution set to fixed
  • Status changed from new to closed

In 7d9c51eb75ae37f39a57eb969c0ad7e532738e8a/mythtv:

MythNews?: improve media:content parsing in rss feeds

  • use the medium or type attributes to determine whether the content is an image or video. Previously we ignored the type and ended up trying to play an image.
  • if we haven't found any thumbnail image then use any images found in the media:content as the thumbnail. Fixes #11161.
  • parse all the media:content items not just the first one we find.

comment:2 Changed 12 months ago by Paul Harrison <pharrison@…>

In 2ed4e2931a120ba1e2d1a642d074b3e258f015ce/mythtv:

MythNews?: improve media:content parsing in rss feeds

  • use the medium or type attributes to determine whether the content is an image or video. Previously we ignored the type and ended up trying to play an image.
  • if we haven't found any thumbnail image then use any images found in the media:content as the thumbnail. Fixes #11161.
  • parse all the media:content items not just the first one we find.

(cherry picked from commit 7d9c51eb75ae37f39a57eb969c0ad7e532738e8a)

comment:3 Changed 12 months ago by paulh

  • Milestone changed from unknown to 0.26.1
  • Owner changed from Paul Harrison <pharrison@…> to paulh

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.