• 1
  • 94
  • 95
  • 96(current)
  • 97
  • 98
  • 148
New MythTV add-on using libcmyth
thanks @jfath !
Reply
I have one bug that occurs every once in a while; I haven't figured out what triggers it..

When I switch the recordings screen, xbmc will freeze, and then start to eat memory.. All of it if I let it go. No logs yet on it; the version is tracked against cfetzer's git repo, and the current xbmc git also. I normally do a 'git pull' on both, and then recompile the whole thing.

I am also seeing the current version when I do enter a recording show directory, there is no longer a '..' to return to the parent directory.
Reply
Christian,

I compiled from your branch today, and I'm using the latest MythTV 0.26/fixes release on MythBuntu.

This is the MythBackend version:
Code:
martin@mythbuntu12:~$ mythbackend --version
Please attach all output as a file in bug reports.
MythTV Version : v0.26.0-28-ge3087dd
MythTV Branch : fixes/0.26
Network Protocol : 75
Library API : 0.26.20120822-1

The addon can't connect in XBMC and I get this error in the log:

Code:
17:00:49 T:4613750784   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_length: buffer is '13      ' ret = 13
17:00:49 T:4613750784   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_string: string received 'REJECT'
17:00:49 T:4613750784   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_string: string received '75'
17:00:49 T:4613750784   ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_connect: asked for version 8, got version 75
17:00:49 T:4613750784   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy {
17:00:49 T:4613750784   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy: shutdown and close connection fd = 31
17:00:49 T:4613750784   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy }
17:00:49 T:4613750784   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_connect_addr: connecting to 10.0.1.15:lds-distrib fd = 15
17:00:49 T:4613750784   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_create {
17:00:49 T:4613750784   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_create }
17:00:49 T:4613750784   ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_connect: failed to connect with any version
17:00:49 T:4613750784   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy {
17:00:49 T:4613750784   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy: shutdown and close connection fd = 15
17:00:49 T:4613750784   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy }
17:00:49 T:4613750784   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_connect_ctrl: done connecting control connection ret = 0x0
17:00:49 T:4613750784   DEBUG: AddOnLog: MythTV cmyth PVR Client: Lock 335003328
17:00:49 T:4613750784   DEBUG: AddOnLog: MythTV cmyth PVR Client: Lock acquired 335003328
17:00:49 T:4613750784   DEBUG: AddOnLog: MythTV cmyth PVR Client: Unlock 335003328
17:00:49 T:4613750784   DEBUG: AddOnLog: MythTV cmyth PVR Client: IsConnected - 0
17:00:49 T:4613750784   DEBUG: CAddonCallbacksAddon - QueueNotification - MythTV cmyth PVR Client - Error Message : 'Connect: Failed to connect to MythTV backend 10.0.1.15: 6543'
17:00:49 T:4613750784   ERROR: AddOnLog: MythTV cmyth PVR Client: Failed to connect to backend
17:00:49 T:4613750784   DEBUG: Calling TransferSettings for: MythTV cmyth PVR Client
17:00:49 T:4613750784   ERROR: PVR - couldn't get the capabilities for add-on 'unknown'. Please contact the developer of this add-on: …….
Reply
@Ayla: you're not running a 0.26 enabled version of the addon.
I guess you didn't run ./configure --enable-addons-with-dependencies and your addon wasn't rebuilt.
Check also the timestamps of the addon.
Reply
(2012-11-01, 18:29)cfetzer Wrote: @Ayla: you're not running a 0.26 enabled version of the addon.
I guess you didn't run ./configure --enable-addons-with-dependencies and your addon wasn't rebuilt.
Check also the timestamps of the addon.

Thanks for the quick reply Christian,

I started over; deleted everything, compiled again, and now it works Smile
Reply
(2012-11-01, 18:03)tdavis Wrote: I have one bug that occurs every once in a while; I haven't figured out what triggers it..

When I switch the recordings screen, xbmc will freeze, and then start to eat memory.. All of it if I let it go. No logs yet on it; the version is tracked against cfetzer's git repo, and the current xbmc git also. I normally do a 'git pull' on both, and then recompile the whole thing.

Never seen this. If you're running linux you could attach gdb, call 'thread apply all bt full' and pastebin the log.
Reply
(2012-11-01, 19:15)cfetzer Wrote:
(2012-11-01, 18:03)tdavis Wrote: I have one bug that occurs every once in a while; I haven't figured out what triggers it..

When I switch the recordings screen, xbmc will freeze, and then start to eat memory.. All of it if I let it go. No logs yet on it; the version is tracked against cfetzer's git repo, and the current xbmc git also. I normally do a 'git pull' on both, and then recompile the whole thing.

Never seen this. If you're running linux you could attach gdb, call 'thread apply all bt full' and pastebin the log.

Will do next time I see it.
Reply
About the 0.26 stability:
I was testing today a bit in depth what is working and what not.
There were only a few issues related to timers, but those are resolved now. (tested showing, adding, modifying, deleting timers)
Those are all resolved and pushed to my master.
So 0.26 support looks quite good now!

Cheers, Christian
Reply
(2012-10-31, 20:57)cfetzer Wrote: So far this looks good, is there more output afterwards?
Did you build it on the same system? Any suspicious warnings during build?
Maybe it could help if you pastebin the full build/and debug log.

Cheers, Christian

buildlog:
http://paste.ubuntu.com/1324260/

Terminal Output:
http://paste.ubuntu.com/1324265/

Log:
http://paste.ubuntu.com/1324272/

Any help much appreciated.

Thanks,

Dubstar_04
All Things PVR
Reply
Your xbmc release is too old and the PVR API has changed:
17:57:24 T:3049568064 NOTICE: Starting XBMC (12.0-ALPHA3 Git:20120623-3cb4695), Platform: Linux (Ubuntu 10.10, 2.6.35-30-generic i686). Built on Jun 24 2012

Either build it yourself or use the latest nightly. (and don't forget to use configure --enable-addons-with-dependencies when building the addon)

Cheers,
Christian
Reply
(2012-11-01, 20:17)cfetzer Wrote: Your xbmc release is too old and the PVR API has changed:
17:57:24 T:3049568064 NOTICE: Starting XBMC (12.0-ALPHA3 Git:20120623-3cb4695), Platform: Linux (Ubuntu 10.10, 2.6.35-30-generic i686). Built on Jun 24 2012

Either build it yourself or use the latest nightly. (and don't forget to use configure --enable-addons-with-dependencies when building the addon)

Cheers,
Christian


wow!! I've been updating the nightlies for a while and not noticed that ive been running an old version of XBMC that i compiled!!

It looks much more promising now other than these errors when i try to play back any tv related video.

Code:
19:29:46 T:2800364400  NOTICE: Creating Demuxer
19:29:46 T:2800364400   ERROR: AddOnLog: MythTV cmyth PVR Client: ReadLiveStream: Failed to read liveStream. Errorcode: -1!
19:29:46 T:2800364400   ERROR: Open - error probing input format, pvr://channels/tv/All TV channels/4.pvr
19:29:46 T:2800364400   ERROR: AddOnLog: MythTV cmyth PVR Client: ReadLiveStream: Failed to read liveStream. Errorcode: -1!
19:29:46 T:2800364400   ERROR: Open - error probing input format, pvr://channels/tv/All TV channels/4.pvr
19:29:46 T:2800364400   ERROR: AddOnLog: MythTV cmyth PVR Client: ReadLiveStream: Failed to read liveStream. Errorcode: -1!
19:29:46 T:2800364400   ERROR: Open - error probing input format, pvr://channels/tv/All TV channels/4.pvr
19:29:47 T:3049477952   ERROR: GLX: Same window as before, refreshing context
19:29:47 T:2800364400   ERROR: AddOnLog: MythTV cmyth PVR Client: ReadLiveStream: Failed to read liveStream. Errorcode: -1!
19:29:47 T:2800364400   ERROR: Open - error probing input format, pvr://channels/tv/All TV channels/4.pvr

Code:
19:52:35 T:2791000944   ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_old_int64: cmyth_rcv_u_long() failed (2)
19:52:35 T:2791000944   ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_file_read: received invalid invalid length, read position is ahead of request (req: 0, pos: 229376, len: 0)
19:52:35 T:2791000944   ERROR: AddOnLog: MythTV cmyth PVR Client: ReadLiveStream: Failed to read liveStream. Errorcode: -1!
19:52:35 T:2791000944   ERROR: Open - error probing input format, pvr://channels/tv/All TV channels/1.pvr
19:52:36 T:2915482480  NOTICE: AddOnLog: MythTV cmyth PVR Client: Process - Event file size update: -1379489093


Thanks for the help,

Dubstar_04
All Things PVR
Reply
(2012-10-30, 22:00)dst6se Wrote:
(2012-10-30, 21:31)janbar Wrote:
(2012-10-30, 11:46)dst6se Wrote: I have also tried all the different fixes but it still stop after a couple of sec , i tried both mythbackend 0.25, 0.26.
I am going slowly, but i updated ago the mythtv code to track the issue directly in the backend. I will tell you what happens. By chance i have always a channel doing sometime the issue.

If you need some help, with logs feel free to ask !!
Thanks for all the work !

@Aubrien
@dst6se

I worked hard to release a set of fixes for you. But maybe it is for nothing Cool
I refactored the chain setup. I think it will be a great release (hopefully).
You can try the updated addon from my master: git clone git://github.com/janbar/xbmc-pvr-addons.git
I rebase it from last master of cfetzer. So it includes last fixes from Christian and my improvement.
Let me know.
Reply
(2012-11-02, 00:17)janbar Wrote:
(2012-10-30, 22:00)dst6se Wrote:
(2012-10-30, 21:31)janbar Wrote: I am going slowly, but i updated ago the mythtv code to track the issue directly in the backend. I will tell you what happens. By chance i have always a channel doing sometime the issue.

If you need some help, with logs feel free to ask !!
Thanks for all the work !

@Aubrien
@dst6se

I worked hard to release a set of fixes for you. But maybe it is for nothing Cool
I refactored the chain setup. I think it will be a great release (hopefully).
You can try the updated addon from my master: git clone git://github.com/janbar/xbmc-pvr-addons.git
I rebase it from last master of cfetzer. So it includes last fixes from Christian and my improvement.
Let me know.
EDIT: All is okay now.
Reply
(2012-11-02, 00:48)janbar Wrote:
(2012-11-02, 00:17)janbar Wrote:
(2012-10-30, 22:00)dst6se Wrote: If you need some help, with logs feel free to ask !!
Thanks for all the work !

@Aubrien
@dst6se

I worked hard to release a set of fixes for you. But maybe it is for nothing Cool
I refactored the chain setup. I think it will be a great release (hopefully).
You can try the updated addon from my master: git clone git://github.com/janbar/xbmc-pvr-addons.git
I rebase it from last master of cfetzer. So it includes last fixes from Christian and my improvement.
Let me know.
Hiii stop. There is an error since the merge. I am seeing that now.


Oki , I tried after your post , and the result seems to work on the channels with problem !
I did not solve to get a freeze on any channel , but on all the other channels except the one with most problem , I hade to start a couple of times before it starts to play.
When the channel do not start, it took about 3 sek , and then stop trying to play the channel!

I do not know if you want the logs already !, if you want them I could post them !
Is it possible to donate a couple of $ for your help ??

Reply
@dst6se
No need money, i make this for the fun. Can you post the log please. Using pastebin or like you prefer. Thanks for all
Reply
  • 1
  • 94
  • 95
  • 96(current)
  • 97
  • 98
  • 148

Logout Mark Read Team Forum Stats Members Help
New MythTV add-on using libcmyth8