2015-03-02, 18:04
Hi all,
I hope you can help me with my MythTV backend/Kodi front end config.
Problem: I have successfully setup my MythTV backend (v 0.27 stable) on Ubuntu (Trusty 14.04) using a HD HomeRun dual OTA networked tuner, using several excellent tutorials online. I have confirmed that I am able to watch live by launching mythfrontend (same machine the backend is running on) and am able to switch through channels, etc. To test, I have also scheduled a recording and it recorded successfully. The issue is that I am unable to watch live TV from the frontend (on different devices) running Kodi helix on OSX. I have installed Janbar's latest myth-pvr client (v 1.12.7) without success.
In Kodi, if I go to System-->System info-->PVR service, I can see that Kodi is indeed connecting to the backend because it can determine how many recordings (if any) are available to watch. However, it reports channels as 0. Thus, it never displays the "Live TV" menu item on the main Kodi home screen. So, it seems that although the backend and frontend are communicating, the Live TV and channel portion is not being reported correctly.
One last tidbit of info that may be relevant. When setting up mythtv, I use EPG info provided by Schedules Direct. All of the tutorials seem to indicate that in the Input Connection setup step, you do not want to perform a "scan" but instead "fetch" from Schedules Direct. This step never seemed to work correctly for me. I have to perform a full scan first, then fetch and manually weed out all of the channels that I do not want visible. Schedules Direct is providing the correct xmltvid and scheduling data for the channels I choose, so it is working. I have no idea how relevant this may or may not be to communication with Kodi.
I would be very happy to provide any additional logs/info required. Thanks much in advance!
Update: I pulled this from the Kodi log file. It seems that the channel list is not being parsed correctly. Any idea on how to rectify this?
Update - SOLVED:
Looking at the Kodi log and some googling I found a similarly described issue: http://www.gossamer-threads.com/lists/my...ers/342019 and http://forum.kodi.tv/showthread.php?tid=219917
There were some odd characters (unicode squares/boxes) in some of the channel names in Myth. After removing these unicode characters using Myth's Channel Editor, Kodi displayed the TV menu beautifully. Weirdly, the channels with the weird characters were flagged as non-visible in the Myth Channel Editor but they still were interfering with the PVR add on.
I hope you can help me with my MythTV backend/Kodi front end config.
Problem: I have successfully setup my MythTV backend (v 0.27 stable) on Ubuntu (Trusty 14.04) using a HD HomeRun dual OTA networked tuner, using several excellent tutorials online. I have confirmed that I am able to watch live by launching mythfrontend (same machine the backend is running on) and am able to switch through channels, etc. To test, I have also scheduled a recording and it recorded successfully. The issue is that I am unable to watch live TV from the frontend (on different devices) running Kodi helix on OSX. I have installed Janbar's latest myth-pvr client (v 1.12.7) without success.
In Kodi, if I go to System-->System info-->PVR service, I can see that Kodi is indeed connecting to the backend because it can determine how many recordings (if any) are available to watch. However, it reports channels as 0. Thus, it never displays the "Live TV" menu item on the main Kodi home screen. So, it seems that although the backend and frontend are communicating, the Live TV and channel portion is not being reported correctly.
One last tidbit of info that may be relevant. When setting up mythtv, I use EPG info provided by Schedules Direct. All of the tutorials seem to indicate that in the Input Connection setup step, you do not want to perform a "scan" but instead "fetch" from Schedules Direct. This step never seemed to work correctly for me. I have to perform a full scan first, then fetch and manually weed out all of the channels that I do not want visible. Schedules Direct is providing the correct xmltvid and scheduling data for the channels I choose, so it is working. I have no idea how relevant this may or may not be to communication with Kodi.
I would be very happy to provide any additional logs/info required. Thanks much in advance!
Update: I pulled this from the Kodi log file. It seems that the channel list is not being parsed correctly. Any idea on how to rectify this?
Code:
11:22:19 T:4776280064 NOTICE: PVRManager - starting up
11:22:19 T:4776816640 NOTICE: Thread PVRManager start, auto delete: false
11:22:19 T:4777353216 NOTICE: Thread PVRClient start, auto delete: false
11:22:19 T:140735091915968 NOTICE: initialize done
11:22:19 T:140735091915968 NOTICE: Running the application...
11:22:19 T:4777889792 NOTICE: Thread LanguageInvoker start, auto delete: false
11:22:19 T:4775743488 NOTICE: -->Python Interpreter Initialized<--
11:22:19 T:140735091915968 NOTICE: starting zeroconf publishing
11:22:19 T:140735091915968 NOTICE: ES: Starting event server
11:22:19 T:4811931648 NOTICE: Thread JobWorker start, auto delete: true
11:22:19 T:4812468224 NOTICE: Thread EventServer start, auto delete: false
11:22:19 T:4812468224 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
11:22:19 T:4812468224 NOTICE: UDP: Listening on port 9777
11:22:19 T:4813004800 NOTICE: Thread TCPServer start, auto delete: false
11:22:19 T:4777889792 NOTICE: -->Python Interpreter Initialized<--
11:22:19 T:4766699520 NOTICE: Thread RSSReader start, auto delete: false
11:22:19 T:4811395072 ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)Document: failed to parse: 1: illegal unprintable codepoint in string
11:22:19 T:4811395072 ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)GetChannelList1_2: unexpected content
11:22:19 T:4776816640 ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)Document: failed to parse: 1: illegal unprintable codepoint in string
11:22:19 T:4776816640 ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)GetChannelList1_2: unexpected content
11:22:19 T:4776816640 ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)Document: failed to parse: 1: illegal unprintable codepoint in string
11:22:19 T:4776816640 ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)GetChannelList1_2: unexpected content
11:22:19 T:4825026560 NOTICE: Thread PVRGUIInfo start, auto delete: false
11:22:19 T:4828172288 NOTICE: Thread EPGUpdater start, auto delete: false
11:22:19 T:4776816640 NOTICE: Start - EPG thread started
Update - SOLVED:
Looking at the Kodi log and some googling I found a similarly described issue: http://www.gossamer-threads.com/lists/my...ers/342019 and http://forum.kodi.tv/showthread.php?tid=219917
There were some odd characters (unicode squares/boxes) in some of the channel names in Myth. After removing these unicode characters using Myth's Channel Editor, Kodi displayed the TV menu beautifully. Weirdly, the channels with the weird characters were flagged as non-visible in the Myth Channel Editor but they still were interfering with the PVR add on.