RaspberryPi - Mediaportal PVR addon . Xbmc crashes when loading a channel
#7
Thanks for the help margro.

I've been really busy and just got round to trying to fix this now. I have tried what you said. Set the "Wait time after tuning a channel" to 3000 ms and still same problem.

I have managed to get it to start playback of a channel about twice out of 20 trys but it normally crashes. So I don't understand how it has worked before and I haven't changed anything

This is what the log says after I click a channel. Debug log is enabled You got any ideas from it :
I deleted my username and password for the smb connection from the log and changed it to just UsernameTongueassword . My username and password was correct

UPDATE: Just been playing about and if I only import a small group of channels under 100 it works and the channels play. I have around 350 channels I was importing and when I do that it crashes when trying to play.

UPDATE2: Just tested this more and its defiantly something to do with the above as its worked about 20 times now, but as soon as I import all my channels. It doesn't

UPDATE3: Maybe this is not the cause. It seems like totally random whether it works or not. How can you diagnose and fix a random issue ?

"
16:28:18 T:3035914976 DEBUG: OnKey: 11 (0b) pressed, action is Select
16:28:19 T:3035914976 DEBUG: CPlayerCoreFactory::GetPlayers(pvr://channels/tv/All TV channels/2.pvr)
16:28:19 T:3035914976 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
16:28:19 T:3035914976 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
16:28:19 T:3035914976 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
16:28:19 T:3035914976 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/mms/udp
16:28:19 T:3035914976 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
16:28:19 T:3035914976 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
16:28:19 T:3035914976 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
16:28:19 T:3035914976 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
16:28:19 T:3035914976 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
16:28:19 T:3035914976 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
16:28:19 T:3035914976 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
16:28:19 T:3035914976 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
16:28:19 T:3035914976 DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
16:28:19 T:3035914976 DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (4)
16:28:19 T:3035914976 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
16:28:19 T:3035914976 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
16:28:19 T:3035914976 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
16:28:19 T:3035914976 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: OMXPlayer (4)
16:28:19 T:3035914976 DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
16:28:19 T:3035914976 NOTICE: COMXPlayer: Opening: pvr://channels/tv/All TV channels/2.pvr
16:28:19 T:3035914976 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
16:28:19 T:3035914976 DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
16:28:19 T:3035914976 DEBUG: LinuxRendererGL: Cleaning up GL resources
16:28:19 T:3035914976 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avutil-51-arm.so)
16:28:19 T:3035914976 DEBUG: Loading: /opt/xbmc-bcm/xbmc-bin/lib/xbmc/system/players/dvdplayer/avutil-51-arm.so
16:28:19 T:3035914976 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/swscale-2-arm.so)
16:28:19 T:3035914976 DEBUG: Loading: /opt/xbmc-bcm/xbmc-bin/lib/xbmc/system/players/dvdplayer/swscale-2-arm.so
16:28:19 T:2783966224 NOTICE: Thread COMXPlayer start, auto delete: false
16:28:19 T:2783966224 DEBUG: COMXCoreComponent::Initialize : OMX.broadcom.clock handle 0x05547ee8 dllopen : 1
16:28:19 T:2783966224 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.clock input port 80 output port 81
16:28:19 T:2783966224 NOTICE: Creating InputStream
16:28:19 T:2783966224 DEBUG: PVRManager - OpenLiveStream - opening live stream on channel 'STV'
16:28:19 T:2783966224 DEBUG: opening live stream for channel 'STV'
16:28:19 T:2783966224 DEBUG: AddOnLog: MediaPortal PVR Client: ->OpenLiveStream(uid=473)
16:28:19 T:3035914976 DEBUG: ------ Window Init (DialogBusy.xml) ------
16:28:19 T:2864706576 DEBUG: webserver: request received for /jsonrpc
16:28:19 T:2864706576 DEBUG: JSONRPC: Incoming request: [{"id":0,"jsonrpc":"2.0","method":"Player.GetActivePlayers"},{"id":1,"jsonrpc":"2.0","method":"Application.GetProperties","params":{"properties":["volume","muted"]}}]
16:28:19 T:2864706576 DEBUG: JSONRPC: Calling player.getactiveplayers
16:28:19 T:2864706576 DEBUG: JSONRPC: Calling application.getproperties
16:28:19 T:2783966224 INFO: AddOnLog: MediaPortal PVR Client: Channel stream URL: rtsp://192.168.1.148/stream1011.0, timeshift buffer: E:\Timeshift\live1011-0.ts.tsbuffer
16:28:19 T:2783966224 DEBUG: AddOnLog: MediaPortal PVR Client: Sleeping 15 ms before opening stream: rtsp://192.168.1.148/stream1011.0
16:28:19 T:2783966224 INFO: AddOnLog: MediaPortal PVR Client: Creating a new TsReader...
16:28:19 T:2783966224 NOTICE: AddOnLog: MediaPortal PVR Client: CTsReader::Open(E:\Timeshift\live1011-0.ts.tsbuffer)
16:28:19 T:2783966224 INFO: AddOnLog: MediaPortal PVR Client: CTsReader:TranslatePath E:\Timeshift\live1011-0.ts.tsbuffer -> smb://UsernameTongueassword@HOMESERVER/E/Timeshift/live1011-0.ts.tsbuffer
16:28:19 T:2783966224 DEBUG: AddOnLog: MediaPortal PVR Client: FileReader::OpenFile() Trying to open smb://UsernameTongueassword@HOMESERVER/E/Timeshift/live1011-0.ts.tsbuffer
16:28:19 T:2783966224 INFO: AddOnLog: MediaPortal PVR Client: FileReader::OpenFile() smb://UsernameTongueassword@HOMESERVER/E/Timeshift/live1011-0.ts.tsbuffer.
16:28:20 T:2783966224 DEBUG: CSmbFile::Open - opened E/Timeshift/live1011-0.ts.tsbuffer, fd=10000
16:28:20 T:2783966224 DEBUG: AddOnLog: MediaPortal PVR Client: OpenFile: OpenFile(smb://UsernameTongueassword@HOMESERVER/E/Timeshift/live1011-0.ts.tsbuffer) succeeded.
16:28:20 T:2783966224 DEBUG: CSmbFile::Open - opened E/Timeshift/live1011-0.ts.tsbuffer1.ts, fd=10001
16:28:20 T:2783966224 DEBUG: CSmbFile::Close closing fd 10001
16:28:20 T:2783966224 DEBUG: PVRFile - Open - playback has started on filename pvr://channels/tv/All TV channels/2.pvr
16:28:20 T:2783966224 DEBUG: CDVDInputStreamPVRManager::Open - stream opened: pvr://channels/tv/All TV channels/2.pvr
16:28:20 T:2783966224 NOTICE: Creating Demuxer
16:28:20 T:2783966224 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avcodec-53-arm.so)
16:28:20 T:2783966224 DEBUG: Loading: /opt/xbmc-bcm/xbmc-bin/lib/xbmc/system/players/dvdplayer/avcodec-53-arm.so
16:28:20 T:2783966224 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avformat-53-arm.so)
16:28:20 T:2783966224 DEBUG: Loading: /opt/xbmc-bcm/xbmc-bin/lib/xbmc/system/players/dvdplayer/avformat-53-arm.so
"

It doesn't have anything more after that last line. The log ends.
Reply


Messages In This Thread
RE: RaspberryPi - Mediaportal PVR addon . Xbmc crashes when loading a channel - by sorrowuk - 2012-12-15, 18:31
Logout Mark Read Team Forum Stats Members Help
RaspberryPi - Mediaportal PVR addon . Xbmc crashes when loading a channel1