[mythtv-commits] Ticket #12680: ThemeUpdateChecker accesses Videos storage group

MythTV noreply at mythtv.org
Mon Mar 7 21:08:57 UTC 2016


#12680: ThemeUpdateChecker accesses Videos storage group
--------------------------------------+------------------------
     Reporter:  thigger@…             |      Owner:
         Type:  Bug Report - General  |     Status:  new
     Priority:  minor                 |  Milestone:  unknown
    Component:  MythTV - General      |    Version:  0.27-fixes
     Severity:  medium                |   Keywords:
Ticket locked:  0                     |
--------------------------------------+------------------------
 Kind of expecting Wontfix on this as it's fairly minor, but it's causing a
 lot of trouble for me!

 To reproduce
  - use fixes/0.27 with Mythbuntu theme, theme update checker turned on,
 and a Videos storage group defined

 Expected
  - No access to videos storage group

 Result
  - Videos storage group is accessed (I believe that when the file isn't
 found, MythTV falls back to checking every storage group)

 Why this is important
  I store my videos on a remote machine which is woken up on file access
 using autofs - when I use a Videos storage group then it gets woken up
 every hour by ThemeUpdateChecker. Adding the videos directory directly to
 the frontend avoids the problem (though doesn't behave as well when using
 multiple directories)

  I wonder what other situations would also expose this behaviour of
 scanning inappropriate directories - is this a general problem with
 storage groups?


 Log
 {{{
 2016-03-06 02:06:39.093266 I  RemoteFile::Exists(): looking for remote
 file: myth://Temp@tol-htpc/remotethemes/themes.zip
 2016-03-06 02:06:39.093418 I  MythSocket(958ec58:61): write -> 61 54
    QUERY_FILE_EXISTS[]:[]remotethemes/themes.zip[]:[]Temp
 2016-03-06 02:06:39.096212 I  MythSocket(958ec58:61): read  <- 61 184
    1[]:[]/home/mythtv/.mythtv/tmp/remotethemes/themes.zip[]:[]2069[]...
 2016-03-06 02:06:39.096413 I  ThemeUpdateChecker Loading
 'myth://Temp@tol-htpc/remotethemes/0.27.4/Mythbuntu/themeinfo.xml'
 2016-03-06 02:06:39.096478 I  RemoteFile::Exists(): looking for remote
 file: myth://Temp@tol-htpc/remotethemes/0.27.4/Mythbuntu/themeinfo.xml
 2016-03-06 02:06:39.096583 I  MythSocket(958ec58:61): write -> 61 74
    QUERY_FILE_EXISTS[]:[]remotethemes/0.27.4/Mythbuntu/themeinfo.xml...
 2016-03-06 02:06:39.141926 I  MythSocket(958ec58:61): read  <- 61 1
 0
 2016-03-06 02:06:39.142067 I  ThemeUpdateChecker Loading
 'myth://Temp@tol-htpc/remotethemes/0.27.3/Mythbuntu/themeinfo.xml'
 2016-03-06 02:06:39.142138 I  RemoteFile::Exists(): looking for remote
 file: myth://Temp@tol-htpc/remotethemes/0.27.3/Mythbuntu/themeinfo.xml
 2016-03-06 02:06:39.142274 I  MythSocket(958ec58:61): write -> 61 74
    QUERY_FILE_EXISTS[]:[]remotethemes/0.27.3/Mythbuntu/themeinfo.xml...
 2016-03-06 02:06:39.144938 I  MythSocket(958ec58:61): read  <- 61 1
 0
 2016-03-06 02:06:39.150876 I  ThemeUpdateChecker Loading
 'myth://Temp@tol-htpc/remotethemes/0.27.2/Mythbuntu/themeinfo.xml'
 2016-03-06 02:06:39.150941 I  RemoteFile::Exists(): looking for remote
 file: myth://Temp@tol-htpc/remotethemes/0.27.2/Mythbuntu/themeinfo.xml
 2016-03-06 02:06:39.151058 I  MythSocket(958ec58:61): write -> 61 74
    QUERY_FILE_EXISTS[]:[]remotethemes/0.27.2/Mythbuntu/themeinfo.xml...
 2016-03-06 02:06:39.153438 I  MythSocket(958ec58:61): read  <- 61 1
 0
 2016-03-06 02:06:39.153545 I  ThemeUpdateChecker Loading
 'myth://Temp@tol-htpc/remotethemes/0.27.1/Mythbuntu/themeinfo.xml'
 2016-03-06 02:06:39.153605 I  RemoteFile::Exists(): looking for remote
 file: myth://Temp@tol-htpc/remotethemes/0.27.1/Mythbuntu/themeinfo.xml
 2016-03-06 02:06:39.153705 I  MythSocket(958ec58:61): write -> 61 74
    QUERY_FILE_EXISTS[]:[]remotethemes/0.27.1/Mythbuntu/themeinfo.xml...
 2016-03-06 02:06:39.155967 I  MythSocket(958ec58:61): read  <- 61 1
 0
 2016-03-06 02:06:39.156072 I  ThemeUpdateChecker Loading
 'myth://Temp@tol-htpc/remotethemes/0.27/Mythbuntu/themeinfo.xml'
 2016-03-06 02:06:39.156133 I  RemoteFile::Exists(): looking for remote
 file: myth://Temp@tol-htpc/remotethemes/0.27/Mythbuntu/themeinfo.xml
 2016-03-06 02:06:39.156312 I  MythSocket(958ec58:61): write -> 61 72
    QUERY_FILE_EXISTS[]:[]remotethemes/0.27/Mythbuntu/themeinfo.xml[]...
 2016-03-06 02:06:39.157263 I  MythSocket(958ec58:61): read  <- 61 200
    1[]:[]/home/mythtv/.mythtv/tmp/remotethemes/0.27/Mythbuntu/themei...
 2016-03-06 02:06:39.158085 I  MythSocket(9769de0:-1): MythSocket(-1, 0x0)
 ctor
 2016-03-06 02:06:39.158397 I  MythSocket(9769de0:-1): IP is local,
 using loopback address instead
 2016-03-06 02:06:39.158423 I  MythSocket(9769de0:-1): attempting
 connect() to (::1:6543)
 2016-03-06 02:06:39.158823 I  MythSocket(9769de0:57): Connected to
 (::1:6543)
 2016-03-06 02:06:39.159035 I  MythSocket(9769de0:57): write -> 57 30
    MYTH_PROTO_VERSION 77 WindMark
 2016-03-06 02:06:39.160563 I  MythSocket(9769de0:57): read  <- 57 13
    ACCEPT[]:[]77
 2016-03-06 02:06:39.160674 I  MythSocket(9769de0:57): write -> 57 23
    ANN Playback tol-htpc 0
 2016-03-06 02:06:39.160946 I  MythSocket(9769de0:57): read  <- 57 2
 OK
 2016-03-06 02:06:39.161035 I  MythSocket(9818110:-1): MythSocket(-1, 0x0)
 ctor
 2016-03-06 02:06:39.161264 I  MythSocket(9818110:-1): IP is local,
 using loopback address instead
 2016-03-06 02:06:39.161283 I  MythSocket(9818110:-1): attempting
 connect() to (::1:6543)
 2016-03-06 02:06:39.161587 I  MythSocket(9818110:60): Connected to
 (::1:6543)
 2016-03-06 02:06:39.161788 I  MythSocket(9818110:60): write -> 60 30
    MYTH_PROTO_VERSION 77 WindMark
 2016-03-06 02:06:39.162060 I  MythSocket(9818110:60): read  <- 60 13
    ACCEPT[]:[]77
 2016-03-06 02:06:39.162172 I  MythSocket(9818110:60): write -> 60 87
    ANN FileTransfer tol-htpc 0 0
 0[]:[]/remotethemes/0.27/Mythbuntu/...
 2016-03-06 02:06:39.164168 I  MythSocket(9818110:60): read  <- 60 19
    OK[]:[]122[]:[]1257
 2016-03-06 02:06:39.164309 I  MythSocket(9769de0:57): write -> 57 39
    QUERY_FILETRANSFER 122[]:[]REQUEST_SIZE
 2016-03-06 02:06:39.164651 I  MythSocket(9769de0:57): read  <- 57 10
    1257[]:[]1
 2016-03-06 02:06:39.164739 I  MythSocket(9769de0:57): write -> 57 49
    QUERY_FILETRANSFER 122[]:[]REQUEST_BLOCK[]:[]1257
 2016-03-06 02:06:39.165437 I  MythSocket(9769de0:57): read  <- 57 4
 1257
 2016-03-06 02:06:39.165508 I  MythSocket(9769de0:57): write -> 57 31
    QUERY_FILETRANSFER 122[]:[]DONE
 2016-03-06 02:06:39.165946 I  MythSocket(9769de0:57): read  <- 57 2
 OK
 2016-03-06 02:06:39.165980 I  (0x9818118)::DecrRef() -> 0
 2016-03-06 02:06:39.165997 I  MythSocket(9818110:60): MythSocket dtor : cb
 0x0
 2016-03-06 02:06:39.166309 I  (0x9769de8)::DecrRef() -> 0
 2016-03-06 02:06:39.166325 I  MythSocket(9769de0:57): MythSocket dtor : cb
 0x0

 }}}

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


More information about the mythtv-commits mailing list