Opened 18 years ago
Closed 16 years ago
#3579 closed enhancement (fixed)
Display movie's metadata image as folder icon
Reported by: | anonymous | Owned by: | Anduin Withers |
---|---|---|---|
Priority: | minor | Milestone: | 0.22 |
Component: | mythvideo | Version: | head |
Severity: | medium | Keywords: | mythvideo folder image |
Cc: | Ticket locked: | no |
Description
If the user did not set his own folder icon by placing a folder.(png|jpg|gif) image into the folder, this patch will try to retrieve an image of the first file in the folder by checking if this file has metadata and then using the image stored there.
Attachments (5)
Change History (10)
Changed 18 years ago by
Attachment: | mythvideo.diff added |
---|
comment:1 Changed 17 years ago by
Milestone: | 0.21 → 0.22 |
---|
comment:2 Changed 16 years ago by
Status: | new → infoneeded_new |
---|
comment:3 Changed 16 years ago by
Status: | infoneeded_new → new |
---|
It is fine, I'll rework the patch eventually.
comment:4 Changed 16 years ago by
Updated for trunk with a slight improvement, it'll actually iterate through a directory until it finds a valid node (in case the folder's first few items are subfolders).
Changed 16 years ago by
Attachment: | findfirstnodeimage.2.diff added |
---|
Better still, loop through until a valid cover image is found.
Changed 16 years ago by
Attachment: | findfirstnodeimage.3.diff added |
---|
Do not try to load if it's the default image.
Changed 16 years ago by
Attachment: | findfirstnodeimage.4.diff added |
---|
Fix issue if no metadata was found in the folder.
This no longer applies to trunk. Can you try and rework the patch, if it is still required?