Opened 11 years ago

Closed 11 years ago

#6329 closed enhancement (fixed)

Allow random image in imagetype widget

Reported by: robert.mcnamara@… Owned by: stuartm
Priority: minor Milestone: unknown
Component: MythTV - User Interface Library Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

This patch adds the ability to set a directory as the <filename> attribute in the imagetype widget. If the value for filename ends in "/", the contents of that directory will be checked for valid imagetypes, and a random image from the directory will be selected.

Attachments (2)

randomimage.diff (1.4 KB) - added by robert.mcnamara@… 11 years ago.
Random Image patch
randomimage.2.diff (1.6 KB) - added by robert.mcnamara@… 11 years ago.
Fixes a crash if directory was relative path

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by robert.mcnamara@…

Attachment: randomimage.diff added

Random Image patch

Changed 11 years ago by robert.mcnamara@…

Attachment: randomimage.2.diff added

Fixes a crash if directory was relative path

comment:1 Changed 11 years ago by stuartm

Resolution: fixed
Status: newclosed

(In [20170]) Allow random image in imagetype widget. Patch by Robert McNamara?. Closes #6329

Note: See TracTickets for help on using tickets.