Kodi Community Forum

Full Version: pvr.mythtv add-on
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I updated to use the mythbuntu 0.28 ppa and upgraded to 0.28 flawlessly and now the mark as watched works fine.
I was wondering why the ppa version is 1.9.14, but the actual addon version installed is 1.9.19.
(2014-08-03, 06:04)JasonPell Wrote: [ -> ]I updated to use the mythbuntu 0.28 ppa and upgraded to 0.28 flawlessly and now the mark as watched works fine.
OK well you do appreciate that you're running the development version of Mythtv?
I see that the cmyth add-on is able to differentiate between radio and TV channels. Will this feature be available in this Mythtv addon?
Yes of course but it seems stable enough for my purposes. I disabled the 0.28 ppa post install so I don't get any further updates that might be regressions.

(2014-08-03, 07:40)nickr Wrote: [ -> ]
(2014-08-03, 06:04)JasonPell Wrote: [ -> ]I updated to use the mythbuntu 0.28 ppa and upgraded to 0.28 flawlessly and now the mark as watched works fine.
OK well you do appreciate that you're running the development version of Mythtv?
Ok cool, I might even do the same then. Can you tell me the exact myth version you are on?
Hi,

I used the mythbuntu 0.28 ppa and installed

0.28.0~master.20140803.b3e1e21-0ubuntu0mythbuntu1



(2014-08-03, 12:05)nickr Wrote: [ -> ]Ok cool, I might even do the same then. Can you tell me the exact myth version you are on?
(2014-08-03, 12:49)JasonPell Wrote: [ -> ]Hi,

I used the mythbuntu 0.28 ppa and installed

0.28.0~master.20140803.b3e1e21-0ubuntu0mythbuntu1

Do you know is comskip works with this addon and 0.28?
No idea I don't use that feature. I think I need to configure post recording ad processing. We mosly record ABC in oz which has no ads
(2014-08-01, 21:50)MikeB2013 Wrote: [ -> ]
(2014-07-31, 21:19)MikeB2013 Wrote: [ -> ]In live tv,on changing from channel 80 to 82 (in this case) live tv stops and I am dropped back to main xbmc screen.

I have also noticed some pixellation in live tv, does the

"NOTICE: AddOnLog: MythTV PVR Client: (CPPMyth)Read: read position is ahead (8637848)" have anything to do with this?

Mythtv backend version v0.28-pre-2038-gf825a92


Log is here http://xbmclogs.com/show.php?id=257816


Mike

Problem solved, channel changing and pixellation issues are gone.

I set "Enable demuxing MPEG-TS" in Advanced Options in mythtv pvr addon and restarted xbmc.

I suggest anyone else with pixellation issues tries this. It may well cure the problem.


Mike

Hi, here some explanations

I log the notice " read position is ahead ($current_stream_position) " when player request data ahead. Here the backend cannot provide them because they don't exist yet ! So i apply a wait for 100ms to increase the time shift. After few "read ahead" the timeshift is enought large to avoid this situation, unless the player read at higher speed or requires shift forward because errors.
Option "Enable demuxing MPEG-TS" allows to use the internal demuxer of the addon instead using this one of XBMC (ffmpeg). I coded it last year to allow fast channel switch and to support new XBMC feature about timeshift position. Here i used it always (i coded it at least for me Big Grin ) but it can be use only if your encoder (tv card) provides mpeg-ts streams. Hopefully this is the most common. Some encoders (often analog tuner) could provide mpeg-ps stream instead (with variable frame rate!), there you cannot enable it.
Dedicated for mpeg-ts its code is very efficient and less-cost than ffmpeg. Also it could handle better the stream errors, and using it the player may react differently. So the resolution of your defect could be one of these cases and it could be very difficult to understand why. Sure I encourage to enable it whenever possible.

(2014-08-03, 13:32)teeedubb Wrote: [ -> ]
(2014-08-03, 12:49)JasonPell Wrote: [ -> ]Hi,

I used the mythbuntu 0.28 ppa and installed

0.28.0~master.20140803.b3e1e21-0ubuntu0mythbuntu1

Do you know is comskip works with this addon and 0.28?

Not yet. Now no backend service exists to retrieve framerate of recording. And it is not for lack of providing the code (see my PRs to MythTV github). But i think about since few weeks ago to find a solution without backend helper. In this case i could provide this feature only for constant framerate. I let you know...
(2014-08-03, 06:20)JasonPell Wrote: [ -> ]I was wondering why the ppa version is 1.9.14, but the actual addon version installed is 1.9.19.

I updated !
Hello,

After reading about this new PVR plugin, I also wanted to give it a try. I'm mostly interested in the channel change timeout.

Installing went perfectly fine but when enabling live tv (or upon starting xbmc), I get the following error in the xbmc log (The additional debug information for the pvr plugin is already enabled)

Code:
15:42:15 T:140617464133376   ERROR: PVR - Persist - invalid channel uid: 0
15:42:15 T:140617464133376   ERROR: PVRChannelGroup - Load - failed to update channels
15:42:15 T:140617464133376   ERROR: PVRChannelGroupInternal - Load - failed to load channels
15:42:15 T:140617464133376   ERROR: PVR - Load - failed to load channels
15:42:15 T:140617464133376   ERROR: PVRManager - Process - failed to load PVR data, retrying

Mythtv is version 0.27 (Built from 0.27 fixes branch yesterday)
Xbmc is Gotham 13.1 (Now also tested with 13.2 beta 3)
Both running on different machines with Ubuntu 14.04
I already tried to reset the EPG and PVR database

Do you have an idea of what could cause this?

Anyway, thanks for the work
(2014-08-04, 15:59)Natronch Wrote: [ -> ]Hello,

After reading about this new PVR plugin, I also wanted to give it a try. I'm mostly interested in the channel change timeout.

Installing went perfectly fine but when enabling live tv (or upon starting xbmc), I get the following error in the xbmc log (The additional debug information for the pvr plugin is already enabled)

Code:
15:42:15 T:140617464133376   ERROR: PVR - Persist - invalid channel uid: 0
15:42:15 T:140617464133376   ERROR: PVRChannelGroup - Load - failed to update channels
15:42:15 T:140617464133376   ERROR: PVRChannelGroupInternal - Load - failed to load channels
15:42:15 T:140617464133376   ERROR: PVR - Load - failed to load channels
15:42:15 T:140617464133376   ERROR: PVRManager - Process - failed to load PVR data, retrying

Mythtv is version 0.27 (Built from 0.27 fixes branch yesterday)
Xbmc is Gotham 13.1 (Now also tested with 13.2 beta 3)
Both running on different machines with Ubuntu 14.04
I already tried to reset the EPG and PVR database

Do you have an idea of what could cause this?

Anyway, thanks for the work

Please could you post the full log to xbmclog.com ? Thanks
xbmclogs.com did not seem to work. Therefore here:

http://pastebin.com/Cfzpbuhf

This line from my point of view is strange:
PVRChannelGroupInternal - AddAndUpdateChannels - added TV channel 'Channel 0'

There is no such "Channel 0" in the mythtv database.
There are some recordings which do not have a channel anymore. Maybe it is related to this?
Live TV has no audio on DVB-T2 channels using AAC/LATM audio encoding with "Enable demuxing MPEG-TS". This is UK Freeview HD standard.

Log file is http://xbmclogs.com/show.php?id=261339

Mike