[mythtv-commits] Ticket #7195: Fix watch recordings preview image loading speed regression

MythTV mythtv at cvs.mythtv.org
Fri Dec 4 03:19:45 UTC 2009


#7195: Fix watch recordings preview image loading speed regression
------------------------------+---------------------------------------------
 Reporter:  danielk           |       Owner:  danielk
     Type:  task              |      Status:  new    
 Priority:  minor             |   Milestone:  unknown
Component:  MythTV - General  |     Version:  head   
 Severity:  medium            |     Mlocked:  0      
------------------------------+---------------------------------------------

Comment(by danielk):

 Below is a log showing some of the inefficiencies of preview generation
 right now. First we try multiple times to locate the remote file on the
 locally accessible recording directories, in this case there is a local
 /jessdell-video directory, but this doesn't currently mount the remote
 directory.

 Eventually we realize we need one of the backends to generate the preview,
 but then we create a local path in
 PreviewGenerator::CreateAccessibleFilename() and try to download it with
 RemoteFile.. which of course does not work... I've left out the multiple
 iterations this goes through before finally locating the preview...

 {{{
 2009-12-03 22:05:07.554 SG(Default): FindRecordingFile: Searching for
 '1139_20091203180000.mpg'
 2009-12-03 22:05:07.554 SG(Default): FindRecordingDir: Checking
 '/jessdell-video' for '/jessdell-video/1139_20091203180000.mpg'
 2009-12-03 22:05:07.554 SG(Default): FindRecordingDir: Checking '/living-
 video' for '/living-video/1139_20091203180000.mpg'
 2009-12-03 22:05:07.554 SG(Default): FindRecordingDir: Checking '/bedroom-
 storage1' for '/bedroom-storage1/1139_20091203180000.mpg'
 2009-12-03 22:05:07.554 SG(Default): FindRecordingDir: Checking '/bedroom-
 storage2' for '/bedroom-storage2/1139_20091203180000.mpg'
 2009-12-03 22:05:07.554 SG(Default): FindRecordingDir: Checking '/tmp' for
 '/tmp/1139_20091203180000.mpg'
 2009-12-03 22:05:07.554 SG(Default): FindRecordingDir: Checking '/video'
 for '/video/1139_20091203180000.mpg'
 2009-12-03 22:05:07.556 SG(): FindRecordingDir: Checking '/tmp' for
 '/tmp/1139_20091203180000.mpg'
 2009-12-03 22:05:07.556 SG(): FindRecordingDir: Checking '/jessdell-video'
 for '/jessdell-video/1139_20091203180000.mpg'
 2009-12-03 22:05:07.556 SG(): FindRecordingDir: Checking '/living-video'
 for '/living-video/1139_20091203180000.mpg'
 2009-12-03 22:05:07.556 SG(): FindRecordingDir: Checking '/bedroom-
 storage1' for '/bedroom-storage1/1139_20091203180000.mpg'
 2009-12-03 22:05:07.556 SG(): FindRecordingDir: Checking '/bedroom-
 storage2' for '/bedroom-storage2/1139_20091203180000.mpg'
 2009-12-03 22:05:07.556 SG(): FindRecordingDir: Checking '/video' for
 '/video/1139_20091203180000.mpg'
 2009-12-03 22:05:07.556 SG(): FindRecordingDir: Checking '/video/livetv'
 for '/video/livetv/1139_20091203180000.mpg'
 2009-12-03 22:05:07.556 SG(Default) Error: FindRecordingFile: Unable to
 find '1139_20091203180000.mpg'!
 2009-12-03 22:05:07.556 ProgramInfo: GetPlaybackURL: Using default of:
 'myth://192.168.1.160:6543/1139_20091203180000.mpg'
 2009-12-03 22:05:07.558 MythSocket(23cab10:36): write -> 36 645
 QUERY_PIXMAP_GET_IF_MODIFIED[]:[]1259895718[]:[]204800[]:[]Seinfe...
 2009-12-03 22:05:07.577 MythSocket(23cab10:36): read  <- 36 93467
 1259895719[]:[]70073[]:[]57538[]:[]iVBORw0KGgoAAAANSUhEUgAAAUAAAA...
 2009-12-03 22:05:07.584 SG(Default): FindRecordingFile: Searching for
 '1139_20091203180000.mpg'
 2009-12-03 22:05:07.584 SG(Default): FindRecordingDir: Checking
 '/jessdell-video' for '/jessdell-video/1139_20091203180000.mpg'
 2009-12-03 22:05:07.584 SG(Default): FindRecordingDir: Checking '/living-
 video' for '/living-video/1139_20091203180000.mpg'
 2009-12-03 22:05:07.584 SG(Default): FindRecordingDir: Checking '/bedroom-
 storage1' for '/bedroom-storage1/1139_20091203180000.mpg'
 2009-12-03 22:05:07.584 SG(Default): FindRecordingDir: Checking '/bedroom-
 storage2' for '/bedroom-storage2/1139_20091203180000.mpg'
 2009-12-03 22:05:07.584 SG(Default): FindRecordingDir: Checking '/tmp' for
 '/tmp/1139_20091203180000.mpg'
 2009-12-03 22:05:07.584 SG(Default): FindRecordingDir: Checking '/video'
 for '/video/1139_20091203180000.mpg'
 2009-12-03 22:05:07.585 SG(): FindRecordingDir: Checking '/tmp' for
 '/tmp/1139_20091203180000.mpg'
 2009-12-03 22:05:07.585 SG(): FindRecordingDir: Checking '/jessdell-video'
 for '/jessdell-video/1139_20091203180000.mpg'
 2009-12-03 22:05:07.585 SG(): FindRecordingDir: Checking '/living-video'
 for '/living-video/1139_20091203180000.mpg'
 2009-12-03 22:05:07.585 SG(): FindRecordingDir: Checking '/bedroom-
 storage1' for '/bedroom-storage1/1139_20091203180000.mpg'
 2009-12-03 22:05:07.585 SG(): FindRecordingDir: Checking '/bedroom-
 storage2' for '/bedroom-storage2/1139_20091203180000.mpg'
 2009-12-03 22:05:07.585 SG(): FindRecordingDir: Checking '/video' for
 '/video/1139_20091203180000.mpg'
 2009-12-03 22:05:07.586 SG(): FindRecordingDir: Checking '/video/livetv'
 for '/video/livetv/1139_20091203180000.mpg'
 2009-12-03 22:05:07.586 SG(Default) Error: FindRecordingFile: Unable to
 find '1139_20091203180000.mpg'!
 2009-12-03 22:05:07.586 ProgramInfo: GetPlaybackURL: Using default of:
 'myth://192.168.1.160:6543/1139_20091203180000.mpg'
 [New Thread 0x7fcfbfdb7950 (LWP 5276)]
 2009-12-03 22:05:07.597 MythContext: Connecting to backend server:
 192.168.1.160:6543 (try 1 of 1)
 2009-12-03 22:05:07.597 MythSocket(2e72000:43): write -> 43 21
 MYTH_PROTO_VERSION 52
 2009-12-03 22:05:07.598 MythSocket(2e72000:43): read  <- 43 13
 ACCEPT[]:[]52
 2009-12-03 22:05:07.598 Using protocol version 52
 2009-12-03 22:05:07.598 MythSocket(2e72000:43): write -> 43 17      ANN
 Monitor t61 0
 2009-12-03 22:05:07.613 MythSocket(2e72000:43): read  <- 43 2       OK
 2009-12-03 22:05:07.613 MythSocket(2e72000:43): write -> 43 650
 QUERY_GENPIXMAP[]:[]Seinfeld[]:[]The Foundation[]:[]George is rea...
 2009-12-03 22:05:12.392 MythSocket(2e72000:43): read  <- 43 2       OK
 2009-12-03 22:05:12.392 Preview: outfile '1139_20091203180000.mpg.png' ->
 '/jessdell-video/1139_20091203180000.mpg.png'
 2009-12-03 22:05:12.394 MythSocket(2f0a790:43): Unable to lookup:
 2009-12-03 22:05:12.394 RemoteFile::openSocket(control socket), Error:
                         Could not connect to server :6543
 2009-12-03 22:05:12.394 RemoteFile::openSocket(control socket), Error:
 url: /jessdell-video/1139_20091203180000.mpg.png
 }}}

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7195#comment:3>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list