[mythtv-commits] Ticket #11544: Video files and Master Backend Override

MythTV noreply at mythtv.org
Tue May 21 10:51:42 UTC 2013


#11544: Video files and Master Backend Override
------------------------+----------------------------------------
 Reporter:  johan@…     |           Type:  Bug Report - General
   Status:  new         |       Priority:  minor
Milestone:  unknown     |      Component:  MythTV - Video Library
  Version:  0.26-fixes  |       Severity:  medium
 Keywords:              |  Ticket locked:  0
------------------------+----------------------------------------
 Situation:

 a. A NAS with video files accessible through NFS.

 b. A Master Backend with NFS mount to videos on NAS, directory specified
 with Storage Groups.

 c. A Slave Backend with NFS mount at the same location to videos on NAS.
 Storage group NOT overridden. (Inherited.)

 d. An independent Frontend.

 e. The slave backend is automatically shutdown, and therefor is not always
 available, the option "Master Backend Override" is enabled.
 This should make sure all media is streamed from the Master Backend.

 Observed issue:

 When the slave backend is available, doing a "Scan for Changes" on the
 frontend of the video files "sees" the video files available on the slave
 backend.
 When the slave backend is NOT available, doing a "Scan for Changes" on the
 frontend of the video files "sees" the video files available on the master
 backend.
 This affects the way the video location is stored in the database.

 The files will always play, irrespective of the status of the slave
 backend. (It automatically finds the correct location.)
 But, when the files are initially learned to be on the slave backend, and
 the slave backend is available, they will also be streamed from the slave
 and not from the master. (Verified by viewing "playback data".)
 When this is the case, the slave backend is still seen as "idle" and might
 shutdown, causing the stream to stop working.

 Is this normal behavior?

 I see several issues:

 1: When Streaming video files from Slave backend, this backend is still
 considered "idle" and might shutdown, interrupting the stream.

 2: The "Master Backend Override" seems to suggest the files will always be
 streamed from the Master Backend, even if they are also available on the
 Slave. This doesn't seem to be the case in this situation.

 3: Perhaps the videofile location stored in the DB should favor the Master
 Backend when the same file is also available on slave backends? Especially
 when using "Master Backend Override".

 I'm currently using 0.26-fixes, but I do not think thi is a new bug that
 was introduced in this version.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11544>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list