[mythtv-commits] Ticket #9434: Mythcommflag incorrectly saves to filemarkup table when video storage group is imbedded in another storage group dir

MythTV noreply at mythtv.org
Tue Jan 4 05:24:18 UTC 2011


#9434: Mythcommflag incorrectly saves to filemarkup table when video storage group
is imbedded in another storage group dir
----------------------------------------+----------------------------
 Reporter:  philipn@…                   |          Owner:  cpinkham
     Type:  Bug Report                  |         Status:  assigned
 Priority:  minor                       |      Milestone:  unknown
Component:  MythTV - General            |        Version:  0.24-fixes
 Severity:  medium                      |     Resolution:
 Keywords:  mythcommflag storagegroups  |  Ticket locked:  0
----------------------------------------+----------------------------
Changes (by cpinkham):

 * owner:   => cpinkham
 * status:  new => assigned


Comment:

 Creating a one-off solution like this patch does it not acceptable.  What
 happens if users 'embed' Storage Groups other than 'Videos'?  If you can
 come up with a patch that supports this functionality and is generic and
 will work for all Storage Groups then I'll look at applying it.

 You might be able to achieve the desired functionality by just replacing
 this SQL Query:

 SELECT DISTINCT dirname FROM storagegroup;

 with this:

 SELECT DISTINCT dirname FROM storagegroup ORDER BY dirname DESC;

 I haven't tested that, but think that it may fix your issue.  If it does,
 please report back and I can make that change in git.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9434#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list