Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 108
pvr.mythtv add-on
#61
Has anyone compiled an android version of this? Specificly I'm looking to use it on a fire tv. The current cmyth add-on has a huge lag when opening the EPG on the Fire TV, hoping this might be faster.

Also, I don't know where feature request for this plugin should go, but in the EPG it would be very nice to be able to input a channel number and jump to that channel in the guide. Also the guide should do horizontal scrolling by 30mins instead of the current 60. (I don't know if either of those are part of this addon, or if it's an XBMC issue.)
Reply
#62
(2014-07-12, 17:11)Djangostar Wrote:
(2014-07-12, 11:36)janbar Wrote:
(2014-07-11, 23:52)Djangostar Wrote: http://xbmclogs.com/show.php?id=244805

New log , I updated /upgraded (ppa) and tried the channels again , still a no go , I am gonna try to reinstall the backend this weekend , just in case .

I commited and pushed a fix. ppa packages are built now. Let me know.
Your case is interesting because it allows to fix how to handle the protocol (which is undocumented for part).

Cool ! I havn't reinstalled myth yet but let me try the fix and let you know in 10 mins .

Edit : This is the update I got from ppa .

Unpacking wine-compholio-i386 (1.7.22~ubuntu14.04.1) over (1.7.21~ubuntu14.04.1) ...
Preparing to unpack .../xbmc-pvr-mythtv_1.9.14-0~339~ubuntu14.04.1_amd64.deb ...
Unpacking xbmc-pvr-mythtv (1.9.14-0~339~ubuntu14.04.1) over (1.9.14-0~336~ubuntu14.04.1) ...

I rebooted the system , tried a channel, it says buffering for about 3 sec and goes back to the channel selection page .

I double checked the tuner delay is still at 30 sec .

here is the new log . http://xbmclogs.com/show.php?id=245286

We have made progress a little. Now the defect is reading the stream buffer. I think your backend has logged some errors for "timeout on write" in its log (/var/log/mythtv/mythbackend.log): You could confirm me. I am trying to reproduce this situation and let you know.
Reply
#63
(2014-07-13, 10:14)janbar Wrote:
(2014-07-12, 17:11)Djangostar Wrote:
(2014-07-12, 11:36)janbar Wrote: I commited and pushed a fix. ppa packages are built now. Let me know.
Your case is interesting because it allows to fix how to handle the protocol (which is undocumented for part).

Cool ! I havn't reinstalled myth yet but let me try the fix and let you know in 10 mins .

Edit : This is the update I got from ppa .

Unpacking wine-compholio-i386 (1.7.22~ubuntu14.04.1) over (1.7.21~ubuntu14.04.1) ...
Preparing to unpack .../xbmc-pvr-mythtv_1.9.14-0~339~ubuntu14.04.1_amd64.deb ...
Unpacking xbmc-pvr-mythtv (1.9.14-0~339~ubuntu14.04.1) over (1.9.14-0~336~ubuntu14.04.1) ...

I rebooted the system , tried a channel, it says buffering for about 3 sec and goes back to the channel selection page .

I double checked the tuner delay is still at 30 sec .

here is the new log . http://xbmclogs.com/show.php?id=245286

We have made progress a little. Now the defect is reading the stream buffer. I think your backend has logged some errors for "timeout on write" in its log (/var/log/mythtv/mythbackend.log): You could confirm me. I am trying to reproduce this situation and let you know.

Hi Janbar ,

Thx for the update , I couldn't find an instance of "timeout on write" in the backend log , so I posted the whole log for you , in case it could help
http://xbmclogs.com/show.php?id=245958

I was thinking of reinstalling the whole backend , just in case ...Would you prefere I wait ? Whatever you need let me know .
Reply
#64
(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 !

Note: To enable the API service of your backend, you have to run mythtv-setup and set the security pin as "0000".

I gave up on OpenElec and switched to RaspXBM once there I followed the compile instructions for xmbc ubuntu and it complied directly on the Raspberry PI. I unzipped it in the correct folder and it seems to be working ok when playing video from my Master Backend but isn't playing from my slave backend.

Attached is the log from the XMBC box.

http://xbmclogs.com/show.php?id=246140

I first tired to play "A Ring by Spring" that is stored on my slave backend and it timed out. Then I was able to play "Sons of Guns" without a problem. I don't see anything in the backend logs to give me a clue.

Thanks
Robert
Reply
#65
(2014-07-13, 20:59)rmiddle 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 !

Note: To enable the API service of your backend, you have to run mythtv-setup and set the security pin as "0000".

I gave up on OpenElec and switched to RaspXBM once there I followed the compile instructions for xmbc ubuntu and it complied directly on the Raspberry PI. I unzipped it in the correct folder and it seems to be working ok when playing video from my Master Backend but isn't playing from my slave backend.

Attached is the log from the XMBC box.

http://xbmclogs.com/show.php?id=246140

I first tired to play "A Ring by Spring" that is stored on my slave backend and it timed out. Then I was able to play "Sons of Guns" without a problem. I don't see anything in the backend logs to give me a clue.

Thanks
Robert
To run it you have to add your slave hostname and its IP into the file /etc/hosts. For instance i don't get slave settings. You will find the slave name into the recorded table: select distinct hostname from recorded.

EDIT: Later I will make a patch to get IP of the slave, to avoid use the resolver DNS or hosts file.
EDIT: I saw a bug in your log about field priority. It is resolved now. You have to rebuild it from the last master.
Reply
#66
(2014-07-13, 16:24)Djangostar Wrote:
(2014-07-13, 10:14)janbar Wrote:
(2014-07-12, 17:11)Djangostar Wrote: Cool ! I havn't reinstalled myth yet but let me try the fix and let you know in 10 mins .

Edit : This is the update I got from ppa .

Unpacking wine-compholio-i386 (1.7.22~ubuntu14.04.1) over (1.7.21~ubuntu14.04.1) ...
Preparing to unpack .../xbmc-pvr-mythtv_1.9.14-0~339~ubuntu14.04.1_amd64.deb ...
Unpacking xbmc-pvr-mythtv (1.9.14-0~339~ubuntu14.04.1) over (1.9.14-0~336~ubuntu14.04.1) ...

I rebooted the system , tried a channel, it says buffering for about 3 sec and goes back to the channel selection page .

I double checked the tuner delay is still at 30 sec .

here is the new log . http://xbmclogs.com/show.php?id=245286

We have made progress a little. Now the defect is reading the stream buffer. I think your backend has logged some errors for "timeout on write" in its log (/var/log/mythtv/mythbackend.log): You could confirm me. I am trying to reproduce this situation and let you know.

Hi Janbar ,

Thx for the update , I couldn't find an instance of "timeout on write" in the backend log , so I posted the whole log for you , in case it could help
http://xbmclogs.com/show.php?id=245958

I was thinking of reinstalling the whole backend , just in case ...Would you prefere I wait ? Whatever you need let me know .

So, i refactored the buffer reader using old algorithm (mythtv is capricious). The new version including this change is 1.9.17 and it is available from the ppa. I let you try it. I hope it will resolve your issue. Finally if you have always the defect with my last version, you should try the old addon (cmyth) to see what happen. Let me know.

EDIT: If you have to reinstall the backend then don't wait. Maybe it could resolve it Wink
Reply
#67
@all,

If you see any "ERROR" in your log, please report me. it helps. Thanks.

Samples:

A bug:
Code:
13:05:57 T:2902021184   ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)BindObject: failed (-22) field "Priority" type 7: -1

Caused by connection timeout (network defect or bug): In first instance it is not a addon bug
Code:
13:09:06 T:2856318016   ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)__connectAddr: failed to connect (110)
Code:
13:09:06 T:2856318016   ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)__connectAddr: failed to connect (60)

Caused by connection refused (network defect or backend is stopped): Not an addon bug. Bad settings or backend stopped ...
Code:
13:09:06 T:2856318016   ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)__connectAddr: failed to connect (111)
Code:
13:09:06 T:2856318016   ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)__connectAddr: failed to connect (61)
Reply
#68
(2014-07-14, 02:40)janbar Wrote:
(2014-07-13, 20:59)rmiddle 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 !

Note: To enable the API service of your backend, you have to run mythtv-setup and set the security pin as "0000".

I gave up on OpenElec and switched to RaspXBM once there I followed the compile instructions for xmbc ubuntu and it complied directly on the Raspberry PI. I unzipped it in the correct folder and it seems to be working ok when playing video from my Master Backend but isn't playing from my slave backend.

Attached is the log from the XMBC box.

http://xbmclogs.com/show.php?id=246140

I first tired to play "A Ring by Spring" that is stored on my slave backend and it timed out. Then I was able to play "Sons of Guns" without a problem. I don't see anything in the backend logs to give me a clue.

Thanks
Robert
To run it you have to add your slave hostname and its IP into the file /etc/hosts. For instance i don't get slave settings. You will find the slave name into the recorded table: select distinct hostname from recorded.

EDIT: Later I will make a patch to get IP of the slave, to avoid use the resolver DNS or hosts file.
EDIT: I saw a bug in your log about field priority. It is resolved now. You have to rebuild it from the last master.

I just finished rebuilding this off master for the Raspberry PI. Below is a link to my build for the arm processor. Later tonight I will have access to the TV to test better.

https://db.tt/Dzz5zOof

Thanks
Robert
Reply
#69
(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 !

Note: To enable the API service of your backend, you have to run mythtv-setup and set the security pin as "0000".

Silly questions from a noob. I know enough about apt-get and git to be dangerous but wanted to make sure I'm following the correct directions.

I'm using the guide here (http://wiki.xbmc.org/index.php?title=Myt...FromSource) to build from source and have the following questions:

1. Do I really need to build and install XBMC just to build the addons (first 2 steps) or could I start with the "Install build utilities/libraries" step?
2. What's the exact git line I'd need to get your new addon to build? I'm thinking it's:
Code:
git clone git://github.com/janbar/xbmc-pvr-addons.git

BTW, I'm running this on a Raspberry Pi using the OpenELEC distro.

Thanks!
Reply
#70
(2014-07-15, 05:27)mcgski 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 !

Note: To enable the API service of your backend, you have to run mythtv-setup and set the security pin as "0000".

Silly questions from a noob. I know enough about apt-get and git to be dangerous but wanted to make sure I'm following the correct directions.

I'm using the guide here (http://wiki.xbmc.org/index.php?title=Myt...FromSource) to build from source and have the following questions:

1. Do I really need to build and install XBMC just to build the addons (first 2 steps) or could I start with the "Install build utilities/libraries" step?
2. What's the exact git line I'd need to get your new addon to build? I'm thinking it's:
Code:
git clone git://github.com/janbar/xbmc-pvr-addons.git

BTW, I'm running this on a Raspberry Pi using the OpenELEC distro.

Thanks!

I couldn't get it to compile under OpenElec I tired the instructions listed. OpenElec requires the full build to get all the required library's to be installed. Then they instructions are to swap out the standard plugin with the git based one. The only problem I had was it wouldn't compile for me. I ended up using a different SD card and rebuilt under Raspxbm on the actually PI to get it to compile. I included the Zip in the thread. You could try dumping my pre complied addon onto your OpenElec system and see if it works. I am assuming you are using an Raspberry PI. If you aren't try using one of the binrary bin the creater has made.

Thanks
Robert
Reply
#71
(2014-07-15, 02:05)rmiddle Wrote:
(2014-07-14, 02:40)janbar Wrote:
(2014-07-13, 20:59)rmiddle Wrote: I gave up on OpenElec and switched to RaspXBM once there I followed the compile instructions for xmbc ubuntu and it complied directly on the Raspberry PI. I unzipped it in the correct folder and it seems to be working ok when playing video from my Master Backend but isn't playing from my slave backend.

Attached is the log from the XMBC box.

http://xbmclogs.com/show.php?id=246140

I first tired to play "A Ring by Spring" that is stored on my slave backend and it timed out. Then I was able to play "Sons of Guns" without a problem. I don't see anything in the backend logs to give me a clue.

Thanks
Robert
To run it you have to add your slave hostname and its IP into the file /etc/hosts. For instance i don't get slave settings. You will find the slave name into the recorded table: select distinct hostname from recorded.

EDIT: Later I will make a patch to get IP of the slave, to avoid use the resolver DNS or hosts file.
EDIT: I saw a bug in your log about field priority. It is resolved now. You have to rebuild it from the last master.

I just finished rebuilding this off master for the Raspberry PI. Below is a link to my build for the arm processor. Later tonight I will have access to the TV to test better.

https://db.tt/Dzz5zOof

Thanks
Robert

Testing shows this version works as well as the cmyth based one. It might be a little slower and more likely to buffer but my testing is a little to limited at this point to say that for certain. No errors are showing in my logs at this point. Well testing both version I found a missing piece that might prevent me from moving from a mythfrontend based PC to a RPI based using this plugin. I need to be able to move shows / movies from one group (Catagory) to another. I opened an issue on github about it. Is there any change that feature being added?

Thanks
Robert

Update: Although everything seemed to work I was getting errors in the log. Attached is my current log. http://xbmclogs.com/show.php?id=247128
Reply
#72
Quote:I couldn't get it to compile under OpenElec I tired the instructions listed. OpenElec requires the full build to get all the required library's to be installed. Then they instructions are to swap out the standard plugin with the git based one. The only problem I had was it wouldn't compile for me. I ended up using a different SD card and rebuilt under Raspxbm on the actually PI to get it to compile. I included the Zip in the thread. You could try dumping my pre complied addon onto your OpenElec system and see if it works. I am assuming you are using an Raspberry PI. If you aren't try using one of the binrary bin the creater has made.

Thanks
Robert

Thanks Robert. I tried you're binary and it didn't work. Now my Pi won't boot so I'll have to start over.

Any thoughts on my questions?
Reply
#73
(2014-07-15, 15:31)mcgski Wrote:
Quote:I couldn't get it to compile under OpenElec I tired the instructions listed. OpenElec requires the full build to get all the required library's to be installed. Then they instructions are to swap out the standard plugin with the git based one. The only problem I had was it wouldn't compile for me. I ended up using a different SD card and rebuilt under Raspxbm on the actually PI to get it to compile. I included the Zip in the thread. You could try dumping my pre complied addon onto your OpenElec system and see if it works. I am assuming you are using an Raspberry PI. If you aren't try using one of the binrary bin the creater has made.

Thanks
Robert

Thanks Robert. I tried you're binary and it didn't work. Now my Pi won't boot so I'll have to start over.

Any thoughts on my questions?

I though I answered your questions.

1) You need to build everything since it requires the entire tree for build dependancys.
2) I couldn't get the instructions to work but that would be the correct git repo to use.

Thanks
Robert
Reply
#74
(2014-07-15, 05:27)mcgski 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 !

Note: To enable the API service of your backend, you have to run mythtv-setup and set the security pin as "0000".

Silly questions from a noob. I know enough about apt-get and git to be dangerous but wanted to make sure I'm following the correct directions.

I'm using the guide here (http://wiki.xbmc.org/index.php?title=Myt...FromSource) to build from source and have the following questions:

1. Do I really need to build and install XBMC just to build the addons (first 2 steps) or could I start with the "Install build utilities/libraries" step?
2. What's the exact git line I'd need to get your new addon to build? I'm thinking it's:
Code:
git clone git://github.com/janbar/xbmc-pvr-addons.git

BTW, I'm running this on a Raspberry Pi using the OpenELEC distro.

Thanks!

1: No you don't. You can start from "Install build utilities/libraries" step
2: True. And if your are a man in a hurry you can compile only the new addon using:

cd xbmc-pvr-addons
./bootstrap
./configure
make clean
make -C lib/cppmyth
make -C addons/pvr.mythtv zip

Now the zip file can be found at addons/pvr.mythtv-....zip
Also prefer unzip it directly in the addons folder of XBMC ($HOME/.xbmc/addons/) instead using the UI.
Reply
#75
(2014-07-15, 06:02)rmiddle Wrote:
(2014-07-15, 02:05)rmiddle Wrote:
(2014-07-14, 02:40)janbar Wrote: To run it you have to add your slave hostname and its IP into the file /etc/hosts. For instance i don't get slave settings. You will find the slave name into the recorded table: select distinct hostname from recorded.

EDIT: Later I will make a patch to get IP of the slave, to avoid use the resolver DNS or hosts file.
EDIT: I saw a bug in your log about field priority. It is resolved now. You have to rebuild it from the last master.

I just finished rebuilding this off master for the Raspberry PI. Below is a link to my build for the arm processor. Later tonight I will have access to the TV to test better.

https://db.tt/Dzz5zOof

Thanks
Robert

Testing shows this version works as well as the cmyth based one. It might be a little slower and more likely to buffer but my testing is a little to limited at this point to say that for certain. No errors are showing in my logs at this point. Well testing both version I found a missing piece that might prevent me from moving from a mythfrontend based PC to a RPI based using this plugin. I need to be able to move shows / movies from one group (Catagory) to another. I opened an issue on github about it. Is there any change that feature being added?

Thanks
Robert

Update: Although everything seemed to work I was getting errors in the log. Attached is my current log. http://xbmclogs.com/show.php?id=247128
About logged error, the last git master (and ppa) fix it. You have to rebuild it Big Grin

EDIT: Also i refactored the buffer of playback since 1.9.17. It runs better on slow network (< 3mB/s)
Reply
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 108

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