[mythtv] mythvideo DB enhancement

Michael T. Dean mtdean at thirdcontact.com
Mon Jan 7 18:46:32 UTC 2008

On 01/06/2008 03:31 PM, George Nassas wrote:
> On 6-Jan-08, at 1:59 PM, Chris Pinkham wrote:
> [ talking about storage groups ]
>>> what about icons 
>> That was one of the things I was thinking when I created them.  Right
>> now the backend can stream any file that is located in a Storage Group,
>> so part of the work to allow mythvideo and mythmusic to play remote
>> files is already done. 
> I was already leaning towards using a storage group for icons (can't 
> remember why I thought the idea was dumb) but this seals the deal. 

Don't know how others feel on this topic, but I was considering writing 
a patch that allows the user to create a specially-named Storage Group 
(i.e. "Previews" or "Thumbnails" or whatever--translated only for 
display) that, if defined, is used for storage of all 
mythfrontend/MythWeb/UPnP recording preview pixmaps.  If the special 
Storage Group is not defined, the previews will continue to be stored in 
the same Storage Group directory as the recording file.

The reason for the change is to make the recordings directory much 
cleaner, as having <filename> and <filename>.png and 
<filename>.100x0x155.png and--now, after Stuart M.'s recent 
change--<filename>.155.100x0.png and/or <filename>.155.png makes finding 
a particular recording file much harder when looking through the list.  
Also, keeping the icons in the same location as the recording files 
makes it more likely that a user who is trying to force regeneration of 
previews (i.e. rm *.png or rm <filename>*.png) could mistype the command 
and remove a(ll) recording (i.e. with an errant space in the command--rm 
<filename> *.png).

Anyway, if this type of functionality is desired, perhaps it would be 
useful for MythVideo covers, also.  I haven't written any code, so I 
don't have any starting point to give you, but thought I'd mention the 
idea.  (Oh, and feel free to implement it for the recording file preview 
pixmaps, also.  ;)


More information about the mythtv-dev mailing list