• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 108
pvr.mythtv add-on
#1
Hi,

Since MythTV 0.26 the backend provides a new API to monitor and control the PVR. Today with MythTV 0.27 and future 0.28, this web service API supports most of the functions we need in the add-on. So at the begining of this year i am starting the design of a new library interoperates with it and finally i forked the new add-on "pvr.mythtv" to replace the old based on a fork of "cmyth". So I don't want maintain any more "cmyth" because by the way it will be obsolete.
Using the new API it easier to keep the addon supported.

The development branch is available at https://github.com/janbar/pvr.mythtv.
Ubuntu user can install it from my ppa: ppa:jlbarriere68/ppa https://launchpad.net/~jlbarriere68/+archive/ppa

Have a nice day !

Note: To enable the API service of your backend, you have to run mythtv-setup and set the security pin as "0000".
Reply
#2
Compiled addons are available here since 15 March 2015: http://janbar.github.io/pvr.mythtv/index.html

You will find lastest OpenElec, OSX and windows binaries.
Reply
#3
Nice
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#4
Am using this at the moment. I noticed that if one frontend is watching a channel, I can't watch it on a second frontend. I can watch another channel ok. I have three tuners, so that shouldn't be an issue.

Also, If I leave XBMC idle for a day or so, I can't watch any channels without exiting and restarting XBMC.

Anyone else seeing this?
Reply
#5
(2014-06-30, 17:37)rdoac Wrote: Am using this at the moment. I noticed that if one frontend is watching a channel, I can't watch it on a second frontend. I can watch another channel ok. I have three tuners, so that shouldn't be an issue.

Also, If I leave XBMC idle for a day or so, I can't watch any channels without exiting and restarting XBMC.

Anyone else seeing this?

Hi, i just tried the case and i haven't the issue. MythTV Server status page show:

Encoder 1 [ DVB : /dev/dvb/adapter0/frontend0 ] is local on mediacenter and is watching Live TV 'Esprits criminels' on TF1 HD. This recording is scheduled to end at 23:20.
Encoder 2 [ DVB : /dev/dvb/adapter0/frontend0 ] is local on mediacenter and is watching Live TV 'Esprits criminels' on TF1 HD. This recording is scheduled to end at 23:20.
Encoder 3 [ DVB : /dev/dvb/adapter1/frontend0 ] is local on mediacenter and is not recording.
Encoder 4 [ DVB : /dev/dvb/adapter1/frontend0 ] is local on mediacenter and is not recording.

Could you show your server status page when you try it ?

Nota: server status page could be accessed via http://mediacenter:6544
Reply
#6
Current Tuner Activity
Encoder 1 is currently idle.
Encoder 2 is currently idle.
Encoder 3 is currently idle.
Encoder 4 is currently idle.
Encoder 5 is currently idle.
Encoder 6 is currently idle.
Encoder 7 is currently idle.
Encoder 8 is currently idle.
Encoder 9 is currently idle.
Encoder 10 is currently idle.
Encoder 16 is currently idle.
Encoder 18 is currently idle.
Encoder 20 is currently watching "SportsCenter" on Live TV.
Frontend Status
hp Online
newhp Online
oac Online

Can't go to channel 17 after coming home from work. It was streaming 23.
Reply
#7
(2014-06-28, 13:52)janbar Wrote: Hi,

Since MythTV 0.26 the backend provides a new API to monitor and control the PVR. Today with MythTV 0.27 and future 0.28, this web service API supports most of the functions we need in the add-on. So at the begining of this year i am starting the design of a new library interoperates with it and finally i forked the new add-on "pvr.mythtv" to replace the old based on a fork of "cmyth". So I don't want maintain any more "cmyth" because by the way it will be obsolete.
Using the new API it easier to keep the addon supported.

The development branch is available at https://github.com/janbar/xbmc-pvr-addons.
Ubuntu user can install it from my ppa: ppa:jlbarriere68/ppa https://launchpad.net/~jlbarriere68/+archive/ppa

Have a nice day !
When compiling for windows, what version of Visual Studio/C++ should I be using to compile it on? It doesn't compile with 2010.
Reply
#8
(2014-06-28, 13:52)janbar Wrote: Hi,

Since MythTV 0.26 the backend provides a new API to monitor and control the PVR. Today with MythTV 0.27 and future 0.28, this web service API supports most of the functions we need in the add-on. So at the begining of this year i am starting the design of a new library interoperates with it and finally i forked the new add-on "pvr.mythtv" to replace the old based on a fork of "cmyth". So I don't want maintain any more "cmyth" because by the way it will be obsolete.
Using the new API it easier to keep the addon supported.

The development branch is available at https://github.com/janbar/xbmc-pvr-addons.
Ubuntu user can install it from my ppa: ppa:jlbarriere68/ppa https://launchpad.net/~jlbarriere68/+archive/ppa

Have a nice day !
Also, when using this addon, the "Don't show information for unknown channels" EPG option appears to always be set to true, despite what i've actually set the value to in the EPG settings. Basically, despite what i've set that option to, channels with no EPG data are always being hidden on the EPG.
Reply
#9
Moving from a all-in-one mythbuntu back/front to a fresh install of mythbuntu as a back-end on one box and xbmcbuntu on my htpc. Couldn't get the default myth plugin to show live TV.

Tried this one.

Setup looks good as it gets the channel info and shows upcoming recordings. It shows recorded programs and the proper screenshot. It hangs when I try to play live TV or any recording though.

I have the feeling I am missing something simple that is tripping me up.

Any ideas?
Reply
#10
See discussion here too

http://www.gossamer-threads.com/lists/my...ers/571731
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#11
Anyone have a link to a windows build? I have linux systems working but need a client for my desktop windows client.
HTPC(s): All running LibreELEC
  • AMD 2200G APU on Gigabyte AB350N-Gaming WIFI-CF
  • RPI3 x2 | RPI2 x2
NAS: FreeNAS (Latest Stable) | NFS/CIFS
Reply
#12
Also:

After playing with this on my Linux boxes I have a few questions which maybe related to the early start of this but wanted to see if that is the reason why:

1) I noticed the API doesn't do EDL, will the final module do EDL for commercial skip?

2) I noticed the API doesn't resume the play spot, will the final module support this feature?
HTPC(s): All running LibreELEC
  • AMD 2200G APU on Gigabyte AB350N-Gaming WIFI-CF
  • RPI3 x2 | RPI2 x2
NAS: FreeNAS (Latest Stable) | NFS/CIFS
Reply
#13
Since upgrading to Gotham, when I use the backspace key to return to the TV programs list from the episodes list, it always takes me back to the beginning of the list, i.e. "all programs". Previously, it remembered the position in the programs list.

Since we have several pages of programs, this requires us to do a lot of scrolling when browsing through them. Any time we look at an episodes list and then exit from it, we go all the way back to the beginning of the programs list.

Any chance this can be fixed in the new addon? Or is it something that changed in XBMC?
Reply
#14
(2014-07-01, 13:57)bergqvistjl Wrote:
(2014-06-28, 13:52)janbar Wrote: Hi,

Since MythTV 0.26 the backend provides a new API to monitor and control the PVR. Today with MythTV 0.27 and future 0.28, this web service API supports most of the functions we need in the add-on. So at the begining of this year i am starting the design of a new library interoperates with it and finally i forked the new add-on "pvr.mythtv" to replace the old based on a fork of "cmyth". So I don't want maintain any more "cmyth" because by the way it will be obsolete.
Using the new API it easier to keep the addon supported.

The development branch is available at https://github.com/janbar/xbmc-pvr-addons.
Ubuntu user can install it from my ppa: ppa:jlbarriere68/ppa https://launchpad.net/~jlbarriere68/+archive/ppa

Have a nice day !
When compiling for windows, what version of Visual Studio/C++ should I be using to compile it on? It doesn't compile with 2010.

It can compile with 2010 one month ago. But since master repository use VS2013, i upgraded the project too. So now you have to compile with VS2013.

(2014-07-01, 14:18)bergqvistjl Wrote:
(2014-06-28, 13:52)janbar Wrote: Hi,

Since MythTV 0.26 the backend provides a new API to monitor and control the PVR. Today with MythTV 0.27 and future 0.28, this web service API supports most of the functions we need in the add-on. So at the begining of this year i am starting the design of a new library interoperates with it and finally i forked the new add-on "pvr.mythtv" to replace the old based on a fork of "cmyth". So I don't want maintain any more "cmyth" because by the way it will be obsolete.
Using the new API it easier to keep the addon supported.

The development branch is available at https://github.com/janbar/xbmc-pvr-addons.
Ubuntu user can install it from my ppa: ppa:jlbarriere68/ppa https://launchpad.net/~jlbarriere68/+archive/ppa

Have a nice day !
Also, when using this addon, the "Don't show information for unknown channels" EPG option appears to always be set to true, despite what i've actually set the value to in the EPG settings. Basically, despite what i've set that option to, channels with no EPG data are always being hidden on the EPG.
i didn't know this setting ! But if channel hasn't any EPG why show it in EPG screen ? This is handled by xbmc itself, not the addon.
Reply
#15
(2014-07-01, 23:09)pyrodex Wrote: Anyone have a link to a windows build? I have linux systems working but need a client for my desktop windows client.

I can compile for windows 8 ! I let you know when it will be available in my cloud.

(2014-07-01, 21:34)nickr Wrote: See discussion here too

http://www.gossamer-threads.com/lists/my...ers/571731

About OSX build, you have to use my build tool available from my git: https://github.com/janbar/xbmc-pvr-toolchain-osx
So this repos has to be cloned in the mac and then you have to checkout the branch "pvr.myth":

Code:
git clone git://github.com/janbar/xbmc-pvr-toolchain-osx.git
cd xbmc-pvr-toolchain-osx
git checkout pvr.mythtv

Then clone inside the addon repos:
Code:
git clone git://github.com/janbar/xbmc-pvr-addons.git

Finally run "make" to build the addon:

Code:
make

A new folder "pvr.mythtv" will be created with all you need ! You have to copy it into $HOME/Library/Application\ Support/XBMC/addons/

EDIT: Xcode 5.1 is not supported. Use Xcode 5.0. Or go to post #16.
Reply
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 108

Logout Mark Read Team Forum Stats Members Help
pvr.mythtv add-on1