pvr.mythtv add-on

  Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
janbar Offline
Fan
Posts: 543
Joined: Sep 2012
Reputation: 36
Location: France
Post: #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".
(This post was last modified: 2015-04-18 00:52 by janbar.)
find quote
janbar Offline
Fan
Posts: 543
Joined: Sep 2012
Reputation: 36
Location: France
Post: #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.
(This post was last modified: 2015-03-23 19:47 by janbar.)
find quote
nickr Online
Donor
Posts: 12,210
Joined: May 2009
Reputation: 220
Location: Christchurch NZ
Post: #3
Nice

If I have helped you or increased your knowledge, click the 'thank user' button to give thanks :) (People with less than 20 posts won't see the "Thank you" button.)
find quote
rdoac Offline
Senior Member
Posts: 173
Joined: May 2009
Reputation: 0
Post: #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?
find quote
janbar Offline
Fan
Posts: 543
Joined: Sep 2012
Reputation: 36
Location: France
Post: #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
(This post was last modified: 2014-06-30 23:09 by janbar.)
find quote
rdoac Offline
Senior Member
Posts: 173
Joined: May 2009
Reputation: 0
Post: #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.
find quote
bergqvistjl Offline
Junior Member
Posts: 5
Joined: Jun 2014
Reputation: 0
Post: #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.
find quote
bergqvistjl Offline
Junior Member
Posts: 5
Joined: Jun 2014
Reputation: 0
Post: #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.
find quote
demianph Offline
Junior Member
Posts: 1
Joined: Jul 2014
Reputation: 0
Post: #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?
find quote
nickr Online
Donor
Posts: 12,210
Joined: May 2009
Reputation: 220
Location: Christchurch NZ
Post: #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 'thank user' button to give thanks :) (People with less than 20 posts won't see the "Thank you" button.)
find quote
pyrodex Offline
Senior Member
Posts: 258
Joined: Jan 2011
Reputation: 1
Post: #11
Anyone have a link to a windows build? I have linux systems working but need a client for my desktop windows client.

Den: OpenELEC 5.X w/MythTV | AMD A6-3500 | Panasonic VT25 50" | Denon AVR-991 | Harmony One | 5.1 Surround Sound
Bedroom: OpenELEC 5.X w/MythTV | AMD A6-3500 | Samsung UN32F6300AF 32" | Harmony 650
NAS: Ubuntu 14.04 | 32TB on Areca 1880 | SMB | Sickbeard | CouchPotato | MySQL DB (XBMC) | MythTV 0.27+fixes w/ 2x HDHomeRun Prime 3CC
find quote
pyrodex Offline
Senior Member
Posts: 258
Joined: Jan 2011
Reputation: 1
Post: #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?

Den: OpenELEC 5.X w/MythTV | AMD A6-3500 | Panasonic VT25 50" | Denon AVR-991 | Harmony One | 5.1 Surround Sound
Bedroom: OpenELEC 5.X w/MythTV | AMD A6-3500 | Samsung UN32F6300AF 32" | Harmony 650
NAS: Ubuntu 14.04 | 32TB on Areca 1880 | SMB | Sickbeard | CouchPotato | MySQL DB (XBMC) | MythTV 0.27+fixes w/ 2x HDHomeRun Prime 3CC
find quote
richardk Offline
Senior Member
Posts: 180
Joined: Jan 2010
Reputation: 0
Post: #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?
find quote
janbar Offline
Fan
Posts: 543
Joined: Sep 2012
Reputation: 36
Location: France
Post: #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.
(This post was last modified: 2014-07-02 01:53 by janbar.)
find quote
janbar Offline
Fan
Posts: 543
Joined: Sep 2012
Reputation: 36
Location: France
Post: #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.
(This post was last modified: 2014-07-02 09:55 by janbar.)
find quote
Post Reply