Kodi Community Forum
Error when trying to open channel in xbmc - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: MythTV (https://forum.kodi.tv/forumdisplay.php?fid=170)
+---- Thread: Error when trying to open channel in xbmc (/showthread.php?tid=156988)



Error when trying to open channel in xbmc - cappiel - 2013-02-21

I have all the channel data loaded etc., but when I goto click/open a channel to watch nothing happens. Here's a piece of the log where the error occurs. Anyone seen this before? Looks like its requesting the intenral IP backend back to back on next to last line

Code:
19:28:58 T:140028567131904  NOTICE: CDVDPlayer::OnExit() deleting input stream
19:28:58 T:140030064555904  NOTICE: CDVDPlayer::CloseFile()
19:28:58 T:140030064555904 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:28:58 T:140030064555904  NOTICE: DVDPlayer: waiting for threads to exit
19:28:58 T:140030064555904  NOTICE: DVDPlayer: finished waiting
19:29:20 T:140030064555904  NOTICE: DVDPlayer: Opening: pvr://channels/tv/All TV channels/334.pvr
19:29:20 T:140030064555904 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:29:20 T:140030064555904  NOTICE: CXBMCRenderManager::ResetRenderBuffer - using 5 render buffers
19:29:20 T:140028567131904  NOTICE: Thread CDVDPlayer start, auto delete: false
19:29:20 T:140028567131904  NOTICE: Creating InputStream
19:29:20 T:140028567131904   ERROR: PVR - exception 'map::at' caught while trying to call 'OpenStream' on add-on '192.168.1.18:192.168.1.18:6543'. Please contact the developer of this add-on: Christian Fetzer, Jean-Luc Barrière, Tonny Petersen
19:29:20 T:140028567131904   ERROR: CDVDPlayer::OpenInputStream - error opening [pvr://channels/tv/All TV channels/334.pvr]

Entire log:
http://paste.ubuntu.com/1694816/


RE: Error when trying to open channel in xbmc - fetzerch - 2013-02-22

Hm that looks strange. Seems to be a problem in either your addon config or in the backend config.
Can you please upload a debug log as described here: http://wiki.xbmc.org/index.php?title=PVR/Backend/MythTV
We also need more info about your system. Especially addon and backend versions.


RE: Error when trying to open channel in xbmc - cappiel - 2013-02-22

Thanks cfetzer.

Running Mythbuntu 12.04 with Mythtv backend version .25 with a hdhomerun prime (i can watch the channels on the hdhomerun GUI)

xbmc mythtv add-on is v1.6.9

Full Debug log
http://paste.ubuntu.com/1702780/

I'm wondering if it has something to do with the IPv6 address on the backend. If my network doesn't use IPv6 what should be in that field?


RE: Error when trying to open channel in xbmc - User 57826 - 2013-02-22

(2013-02-22, 15:19)cappiel Wrote: Thanks cfetzer.

Running Mythbuntu 12.04 with Mythtv backend version .25 with a hdhomerun prime (i can watch the channels on the hdhomerun GUI)

xbmc mythtv add-on is v1.6.9

Full Debug log
http://paste.ubuntu.com/1702780/

I'm wondering if it has something to do with the IPv6 address on the backend. If my network doesn't use IPv6 what should be in that field?

How do you have your backend set up? Are you using a static IP or localhost (127.0.0.1) ?

How are you connecting to your backend? Is it on the same box, or a remote computer/frontend?

Can you connect using Mythfrontend?


RE: Error when trying to open channel in xbmc - cappiel - 2013-02-22

Static IP is setup for the backend 192.168.1.18.

Right now the front-end is on the same box as the back-end. Eventually will have other f-e connections from elsewhere on the network.

I'll try the mythfrontend when i get home later and report back


RE: Error when trying to open channel in xbmc - fetzerch - 2013-02-22

Can you reupload the log? I cannot access it.


RE: Error when trying to open channel in xbmc - cappiel - 2013-02-23

Debug log

http://paste.ubuntu.com/5556471/

MythTV frontend doesn't connect either, brings up a message about not being able to connect to the IP address

Here's the netstat detail,

Code:
tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN      987/mysqld      
tcp        0      0 192.168.1.18:6543       0.0.0.0:*               LISTEN      2002/mythbackend
tcp        0      0 127.0.0.1:6543          0.0.0.0:*               LISTEN      2002/mythbackend
tcp        0      0 192.168.1.18:3306       192.168.1.18:44451      ESTABLISHED 987/mysqld      
tcp        0      0 192.168.1.18:3306       192.168.1.18:44443      ESTABLISHED 987/mysqld      
tcp        0      0 192.168.1.18:3306       192.168.1.18:44436      ESTABLISHED 987/mysqld      
tcp        0      0 192.168.1.18:3306       192.168.1.18:44461      ESTABLISHED 987/mysqld      
tcp        0      0 192.168.1.18:44445      192.168.1.18:3306       ESTABLISHED 2002/mythbackend
tcp        0      0 192.168.1.18:44444      192.168.1.18:3306       ESTABLISHED 2002/mythbackend
tcp        0      0 192.168.1.18:44442      192.168.1.18:3306       ESTABLISHED 2002/mythbackend
tcp        0      0 192.168.1.18:3306       192.168.1.18:44444      ESTABLISHED 987/mysqld      
tcp        0      0 192.168.1.18:44440      192.168.1.18:3306       ESTABLISHED 2002/mythbackend
tcp        0      0 192.168.1.18:44443      192.168.1.18:3306       ESTABLISHED 2002/mythbackend
tcp        0      0 192.168.1.18:44436      192.168.1.18:3306       ESTABLISHED 2002/mythbackend
tcp        0      0 192.168.1.18:44461      192.168.1.18:3306       ESTABLISHED 2002/mythbackend
tcp        0      0 192.168.1.18:44453      192.168.1.18:3306       ESTABLISHED 2002/mythbackend
tcp        0      0 192.168.1.18:3306       192.168.1.18:44453      ESTABLISHED 987/mysqld      
tcp        0      0 192.168.1.18:3306       192.168.1.18:44438      ESTABLISHED 987/mysqld      
tcp        0      0 192.168.1.18:3306       192.168.1.18:44445      ESTABLISHED 987/mysqld      
tcp        0      0 192.168.1.18:44452      192.168.1.18:3306       ESTABLISHED 2002/mythbackend
tcp        0      0 192.168.1.18:3306       192.168.1.18:44440      ESTABLISHED 987/mysqld      
tcp        0      0 192.168.1.18:3306       192.168.1.18:44452      ESTABLISHED 987/mysqld      
tcp        0      0 192.168.1.18:3306       192.168.1.18:44442      ESTABLISHED 987/mysqld      
tcp        0      0 192.168.1.18:44438      192.168.1.18:3306       ESTABLISHED 2002/mythbackend
tcp        0      0 192.168.1.18:44451      192.168.1.18:3306       ESTABLISHED 2002/mythbackend
tcp6       0      0 fe80::225:22ff:fefa:822e:6543 :::*                    LISTEN      2002/mythbackend
tcp6       0      0 ::1:6543                :::*                    LISTEN      2002/mythbackend



RE: Error when trying to open channel in xbmc - fetzerch - 2013-02-23

Can you also enable 'Include more debug information in the log file' in the addon options? And post a log?
If mythfrontend doesn't connect either, then the problem is somewhere in your mythtv configuration.
Anyway, with that option enabled we might see where that doubled ip address comes from.

Netstat looks fine imo. If you don't need ipv6 then you can just clear that field in mythtv-setup.
Maybe people with more experience in mythtv-setup can help if you post screenshots from the ip config in mythtv-setup.


RE: Error when trying to open channel in xbmc - cappiel - 2013-02-23

Thank you, I'll go through the configs and double check my settings.

Found the additional logging

http://paste.ubuntu.com/5557902/


RE: Error when trying to open channel in xbmc - cappiel - 2013-02-24

Think I've figured out.

Cleared the address in the ipv6 field.

Then I when I moved a channel from "unassigned" to my input name, that channel opened in mythtv and xbmc. Anything unassigned still won't.