[mythtv-commits] Ticket #12424: Replacement Gallery using MythUI & Storage Groups

MythTV noreply at mythtv.org
Wed Dec 16 16:01:59 UTC 2015


#12424: Replacement Gallery using MythUI & Storage Groups
-------------------------------------------+-----------------------------
 Reporter:  Roger Siddons <dizygotheca@…>  |          Owner:  rsiddons
     Type:  Patch - Feature                |         Status:  assigned
 Priority:  minor                          |      Milestone:  0.28
Component:  Plugin - MythGallery           |        Version:  Master Head
 Severity:  medium                         |     Resolution:
 Keywords:                                 |  Ticket locked:  0
-------------------------------------------+-----------------------------

Comment (by Roger Siddons <rsiddons@…>):

 In [changeset:"ade5ca7f623d0e4a23fc970534060571e4b168a4/mythtv"]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="ade5ca7f623d0e4a23fc970534060571e4b168a4"
 RemoteFile::CopyFile: Don't overwrite existing files by default

 CopyFile doesn't check for a file's existance before writing to it.
 For storage groups containing multiple dirs this can lead to multiple
 versions of a remote file (only
 one of which will be read).

 This patch will fail the copy operation (by default) if the destination
 file already exists.
 If the overwrite flag is set the destination file is deleted first,
 ensuring that multiple versions
 are never created.

 It also adds optional verification that the copy succeeded (by comparing
 file sizes) as writing can fail
 silently if the filesystem fills up.

 Refs #12424
 }}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12424#comment:14>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list