Failed to Load ScreenShot of recordings

Help
Roger
2008-09-30
2013-04-08
  • Roger

    Roger - 2008-09-30

    Upgraded to latest XBMC now when you select a recording it fails to load the ScreenShot

    Still plays recording no problem

    XBMC Verision
    XBMC-SVN 2008-09-19 (19th of September 2008) rev15640 *BETA 1*

    Myth Backend Version
    MythTV Version   : 16592
    MythTV Branch    : trunk
    Library API           : 0.22.20080313-2
    Network Protocol : 40

    XBMCMythTV Version
    0.21.40

    Xbmcmythtv log
    2008-09-30 09:04:15.269000 [16] *** Loading Cold Case - Glory Days Please Wait...: Cold Case - Glory Days - New evidence prompts the team to reopen the 1973 case
    of a murdered football player, whose death may have been linked to a steroid cover-up.
    2008-09-30 09:04:17.430000 [16] > mythtvrecordedshowdetails.Window.loadShowDetails()
    2008-09-30 09:04:17.445000 [16] > mythtvrecordedshowdetails.Window.populateShowDetails()
    2008-09-30 09:04:17.481000 [16] show_title=[Cold Case - Glory Days]
    2008-09-30 09:04:17.497000 [16] show_air_date=[Sunday Sep 28, 09:00PM - 10:00PM]
    2008-09-30 09:04:17.512000 [16] show_channel=[3 KYW]
    2008-09-30 09:04:17.528000 [16] show_orig_air=[Unknown]
    2008-09-30 09:04:17.548000 [16] show_descr=[New evidence prompts the team to reopen the 1973 case of a murdered football player, whose death may have been linked
    to a steroid cover-up.]
    2008-09-30 09:04:17.562000 [16] show_category=[]
    2008-09-30 09:04:17.581000 [16] show_autoexpire=[No]
    2008-09-30 09:04:17.596000 [16] > getCommMarkup (1003, 20080928210000)
    2008-09-30 09:04:17.598000 [16]    SQL: [
                SELECT
                    mark,
                    type
                FROM
                    recordedmarkup
                WHERE
                    chanid = 1003
                    and starttime = 20080928210000
                    and type in (4, 5)  -- 4=comm start, 5=comm stop
                ORDER BY
                    mark
            ]
    2008-09-30 09:04:17.600000 [16] < getCommMarkup [[]]
    2008-09-30 09:04:17.608000 [16] > getCommMarkup (1003, 20080928210000)
    2008-09-30 09:04:17.609000 [16]    SQL: [
                SELECT
                    mark,
                    type
                FROM
                    recordedmarkup
                WHERE
                    chanid = 1003
                    and starttime = 20080928210000
                    and type in (4, 5)  -- 4=comm start, 5=comm stop
                ORDER BY
                    mark
            ]
    2008-09-30 09:04:17.620000 [16] < getCommMarkup [[]]
    2008-09-30 09:04:17.629000 [16] show_category=[]
    2008-09-30 09:04:17.635000 [16] < mythtvrecordedshowdetails.Window.populateShowDetails()
    2008-09-30 09:04:17.636000 [16] > mythtv.Settings.getSetting( tag=[mythtv_host] )
    2008-09-30 09:04:17.638000 [16] < mythtv.Settings.getSetting( tag=[mythtv_host] ) => [192.168.0.12]
    2008-09-30 09:04:19.592000 [16] hostIp: 192.168.0.12
    2008-09-30 09:04:19.593000 [16]    Failed to Load ScreenShot
    2008-09-30 09:04:19.601000 [16] < mythtvrecordedshowdetails.Window.loadShowDetails()
    2008-09-30 09:04:23.413000 [16] > mythtvrecordedshowdetails.Window.onControlHook()
    2008-09-30 09:04:23.439000 [16] > mythtvrecordedshowdetails.Window.play()
    2008-09-30 09:04:23.440000 [16]  File Size: 358849.230469
    2008-09-30 09:04:23.441000 [16] > mythtv.Settings.getSetting( tag=[mythtv_recplayer] )
    2008-09-30 09:04:23.448000 [16] < mythtv.Settings.getSetting( tag=[mythtv_recplayer] ) => [0]
    2008-09-30 09:04:23.449000 [16] Using MPlayer for Recorded Show Playback
    2008-09-30 09:04:23.450000 [16] > mythtvstruct.ProgramFromRecordings.remotePath()
    2008-09-30 09:04:23.451000 [16] > mythtvrecordedshowdetails.ProgramDetails.remoteMythPath()
    2008-09-30 09:04:23.452000 [16] < mythtvrecordedshowdetails.ProgramDetails.remoteMythPath() => [myth://192.168.0.12:6543/1003_20080928210000.avi]
    2008-09-30 09:04:23.458000 [16] > mythtv.Settings.getSetting( tag=[paths_recordedprefix] )
    2008-09-30 09:04:23.460000 [16] < mythtv.Settings.getSetting( tag=[paths_recordedprefix] ) => [smb://192.168.0.12/myth/tv]
    2008-09-30 09:04:23.461000 [16] > mythtv.Settings.getSetting( tag=[mythtv_host] )
    2008-09-30 09:04:23.467000 [16] < mythtv.Settings.getSetting( tag=[mythtv_host] ) => [192.168.0.12]
    2008-09-30 09:04:25.480000 [16] Host: mythbox hostIp: 192.168.0.12
    2008-09-30 09:04:25.484000 [16] < mythtvp.ProgramDetails.remotePath() => [smb://192.168.0.12/myth/tv/1003_20080928210000.avi]
    2008-09-30 09:04:27.465000 [3]  > onPlayBackStarted - doCommSkip: False Markups: []
    2008-09-30 09:04:27.554000 [2] < mythtvrecordedshowdetails.Window.play()
    2008-09-30 09:04:27.569000 [2] < mythtvrecordedshowdetails.Window.onControlHook()
    2008-09-30 09:04:42.891000 [15] < mythtvrecordedshowdetails.showWindow() => [0]
    2008-09-30 09:04:42.930000 [15] < mythtvrecordedshows.Window.showSelected()
    2008-09-30 09:04:42.932000 [15] < mythtvrecordedshows.Window.onControlHook()
    2008-09-30 09:04:46.060000 [15] > mythtvrecordedshows.Window.onActionHook( action=[<xbmcgui.Action object at 0x00D1B100>] )
    2008-09-30 09:04:46.078000 [15] < mythtvrecordedshows.Window.onActionHook()
    2008-09-30 09:04:46.082000 [15] > mythtvrecordedshows.Window.onActionPostHook( action=[<xbmcgui.Action object at 0x00D1B100>] )
    2008-09-30 09:04:46.083000 [15] < mythtvrecordedshows.Window.onActionPostHook()
    2008-09-30 09:04:46.631000 [15] > mythtvrecordedshows.Window.onActionHook( action=[<xbmcgui.Action object at 0x00D1B138>] )
    2008-09-30 09:04:46.644000 [15] < mythtvrecordedshows.Window.onActionHook()
    2008-09-30 09:04:46.646000 [15] > mythtvrecordedshows.Window.onActionPostHook( action=[<xbmcgui.Action object at 0x00D1B138>] )
    2008-09-30 09:04:46.762000 [15] > mythtvrecordedshows.Window.loadShowList()

    MythBackend Log
    2008-09-30 09:31:23.560 MainServer::HandleAnnounce FileTransfer
    2008-09-30 09:31:23.591 adding: 192.168.0.152 as a remote file transfer
    2008-09-30 09:31:23.659 MythSocket(7f8cac953490:-1): writeData: Error, socket went unconnected
    2008-09-30 09:31:23.662 MythSocket(7f8cac921a00:-1): writeStringList: Error, socket went unconnected.

    Thanks

     
    • Teresa

      Teresa - 2008-10-15

      I did some debugging for this.  There are a couple of choices to fix it. 

      1)  You can fix the python code in mythtvgui.py
      Comment out the bad line like I did and add the second line (or just modify the original line taking out the [:-1] ).
      #picBase = os.getcwd()[:-1]+'\\images\\'
      picBase = os.getcwd()+'\\images\\'

      2) the alternative is to create a new directory.  If you create an XBMC/scripts/xbmcmytht/images  directory.   *** note that its "xbmcmytht" not "xbmcmythtv".

      My guess is that os.getcwd() now returns a slightly different value(ie. used to have a carrage return or space or something that the old xbmcmythtv tried to chop off).

       
    • Roger

      Roger - 2008-10-15

      I went with Option 1. It worked great!

      Thanks

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks