Kodi Community Forum
New MythTV add-on using libcmyth - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136)
+---- Thread: New MythTV add-on using libcmyth (/showthread.php?tid=110694)



RE: New MythTV add-on using libcmyth - Jogh - 2013-03-11

Hello Sfrooster

I wrestled with the same problem yesterday. Then I found this:
(2013-03-07, 21:31)cfetzer Wrote: If your XBMC is from todays nightly or build from yourself (PVR API 1.7.0), it needs the mythtv addon from the branch fetzerch/master.
If you're running XBMC Frodo or and older nightly (PVR API 1.6.0), it needs the mythtv addon from the branch fetzerch/frodo.
So I googled how to get the git command to point to the frodo branch:
Exchange
Code:
git clone git://github.com/fetzerch/xbmc-pvr-addons.git
with
Code:
git clone -b frodo git://github.com/fetzerch/xbmc-pvr-addons.git

This worked for me - using the frodo version of XBMC.

Best regards,
Jog


RE: New MythTV add-on using libcmyth - sfrooster - 2013-03-11

@Jogh

Thanks - I'm giving this a go right now!

(2013-03-11, 20:10)Jogh Wrote: Exchange
Code:
git clone git://github.com/fetzerch/xbmc-pvr-addons.git
with
Code:
git clone -b frodo git://github.com/fetzerch/xbmc-pvr-addons.git

Do you (or does anyone) know how to get today's Xbmc nightly, without building it?

(2013-03-07, 21:31)cfetzer Wrote: If your XBMC is from todays nightly or build from yourself (PVR API 1.7.0), it needs the mythtv addon from the branch fetzerch/master.

For some reason, I thought using ppa:team-xbmc/unstable was getting that, but I guess not. Maybe I should be using?:

Code:
sudo ppa-purge ppa:team-xbmc/unstable
sudo add-apt-repository ppa:team-xbmc/xbmc-nightly
sudo apt-get update
sudo apt-get install xbmc xbmc-bin



RE: New MythTV add-on using libcmyth - Rotol - 2013-03-13

Hi,

I'm running FreeBSD 9.1 amd64. XBMC 12.0 has just been released in ports and builds. It seems to work fine.

I have also compiled xbmc-pvr-addons. I had to manually remove all references to "-ldl" as this is part of libc in FreeBSD. Then I ran make zip.

When I install the myth addon from zip, it warns about the structure, but installs. When I enable the addon and tail xbmc.log, it complains about a lot of missing libraries, starting with

Code:
21:38:32 T:34689004544   ERROR: Unable to load /home/lounge/.xbmc/addons/pvr.mythtv.cmyth.linux~/XBMC_MythTV_cmyth.pvr, reason: Shared object "libz.so.1" not found, required by "XBMC_MythTV_cmyth.pvr"

I hackishly linked the missing library filenames to the closest versions on the system I could find - next was libm - until finally it wanted glibc to be 2.2, and it wasn't. I think it's 2.0.

Anyone have this addon running under FreeBSD? Thanks for any insight.


RE: New MythTV add-on using libcmyth - simora - 2013-03-14

I've noticed high CPU load on my mythbackend recently and when tail -f /var/log/mythtv/mythbackend the log is filled with failed channel icon stuff. Looking into it briefly i found that the files don't exist because they were not downloaded mostly on purpose because i don't care about those channels. I've included a paste of the log but it continues to repeat for all of 40 channels. This has been going on for at least the last 2 hours but for all i know it could have been going on for far more than that.

Mar 14 07:14:27 mythserv00 mythlogserver: mythbackend[15509]: I ProcessRequest mainserver.cpp:1510 (HandleAnnounce) MainServer::HandleAnnounce FileTransfer
Mar 14 07:14:27 mythserv00 mythlogserver: mythbackend[15509]: I ProcessRequest mainserver.cpp:1512 (HandleAnnounce) adding: buildroot as a remote file transfer
Mar 14 07:14:27 mythserv00 mythlogserver: mythbackend[15509]: I ProcessRequest mainserver.cpp:1510 (HandleAnnounce) MainServer::HandleAnnounce FileTransfer
Mar 14 07:14:27 mythserv00 mythlogserver: mythbackend[15509]: I ProcessRequest mainserver.cpp:1512 (HandleAnnounce) adding: buildroot as a remote file transfer
Mar 14 07:14:27 mythserv00 mythlogserver: mythbackend[15509]: E ProcessRequest fileringbuffer.cpp:285 (OpenFile) FileRingBuf(/home/administrator/.mythtv/channels/bbc_cbeebies_asia.jpg): OpenFile(): Could not open.
Mar 14 07:14:27 mythserv00 mythlogserver: mythbackend[15509]: E ProcessRequest fileringbuffer.cpp:285 (OpenFile) FileRingBuf(/home/administrator/.mythtv/channels/nbc_sports_network_hd.jpg): OpenFile(): Could not open.
Mar 14 07:14:27 mythserv00 mythlogserver: mythbackend[15509]: I ProcessRequest mainserver.cpp:1510 (HandleAnnounce) MainServer::HandleAnnounce FileTransfer
Mar 14 07:14:27 mythserv00 mythlogserver: mythbackend[15509]: I ProcessRequest mainserver.cpp:1512 (HandleAnnounce) adding: buildroot as a remote file transfer
Mar 14 07:14:27 mythserv00 mythlogserver: mythbackend[15509]: I ProcessRequest mainserver.cpp:1510 (HandleAnnounce) MainServer::HandleAnnounce FileTransfer
Mar 14 07:14:27 mythserv00 mythlogserver: mythbackend[15509]: I ProcessRequest mainserver.cpp:1512 (HandleAnnounce) adding: buildroot as a remote file transfer
Mar 14 07:14:27 mythserv00 mythlogserver: mythbackend[15509]: E ProcessRequest fileringbuffer.cpp:285 (OpenFile) FileRingBuf(/home/administrator/.mythtv/channels/star_plus_hd.jpg): OpenFile(): Could not open.
Mar 14 07:14:27 mythserv00 mythlogserver: mythbackend[15509]: E ProcessRequest fileringbuffer.cpp:285 (OpenFile) FileRingBuf(/home/administrator/.mythtv/channels/world_fishing_network.jpg): OpenFile(): Could not open.
Mar 14 07:14:27 mythserv00 mythlogserver: mythbackend[15509]: I ProcessRequest mainserver.cpp:1510 (HandleAnnounce) MainServer::HandleAnnounce FileTransfer
Mar 14 07:14:27 mythserv00 mythlogserver: mythbackend[15509]: I ProcessRequest mainserver.cpp:1512 (HandleAnnounce) adding: buildroot as a remote file transfer
Mar 14 07:14:27 mythserv00 mythlogserver: mythbackend[15509]: I ProcessRequest mainserver.cpp:1510 (HandleAnnounce) MainServer::HandleAnnounce FileTransfer
Mar 14 07:14:27 mythserv00 mythlogserver: mythbackend[15509]: I ProcessRequest mainserver.cpp:1512 (HandleAnnounce) adding: buildroot as a remote file transfer
Mar 14 07:14:27 mythserv00 mythlogserver: mythbackend[15509]: E ProcessRequest fileringbuffer.cpp:285 (OpenFile) FileRingBuf(/home/administrator/.mythtv/channels/zee_tv_hd.jpg): OpenFile(): Could not open.
Mar 14 07:14:27 mythserv00 mythlogserver: mythbackend[15509]: E ProcessRequest fileringbuffer.cpp:285 (OpenFile) FileRingBuf(/home/administrator/.mythtv/channels/ngcsverige.com.png): OpenFile(): Could not open.
Mar 14 07:14:28 mythserv00 mythlogserver: mythbackend[15509]: I ProcessRequest mainserver.cpp:1510 (HandleAnnounce) MainServer::HandleAnnounce FileTransfer
Mar 14 07:14:28 mythserv00 mythlogserver: mythbackend[15509]: I ProcessRequest mainserver.cpp:1512 (HandleAnnounce) adding: buildroot as a remote file transfer
Mar 14 07:14:28 mythserv00 mythlogserver: mythbackend[15509]: I ProcessRequest mainserver.cpp:1510 (HandleAnnounce) MainServer::HandleAnnounce FileTransfer
Mar 14 07:14:28 mythserv00 mythlogserver: mythbackend[15509]: I ProcessRequest mainserver.cpp:1512 (HandleAnnounce) adding: buildroot as a remote file transfer
Mar 14 07:14:28 mythserv00 mythlogserver: mythbackend[15509]: E ProcessRequest fileringbuffer.cpp:285 (OpenFile) FileRingBuf(/home/administrator/.mythtv/channels/cambodian_dtv_network.jpg): OpenFile(): Could not open.
Mar 14 07:14:28 mythserv00 mythlogserver: mythbackend[15509]: E ProcessRequest fileringbuffer.cpp:285 (OpenFile) FileRingBuf(/home/administrator/.mythtv/channels/smithsonian_channel_hd.jpg): OpenFile(): Could not open.
Mar 14 07:14:28 mythserv00 mythlogserver: mythbackend[15509]: I ProcessRequest mainserver.cpp:1510 (HandleAnnounce) MainServer::HandleAnnounce FileTransfer
Mar 14 07:14:28 mythserv00 mythlogserver: mythbackend[15509]: I ProcessRequest mainserver.cpp:1512 (HandleAnnounce) adding: buildroot as a remote file transfer
Mar 14 07:14:28 mythserv00 mythlogserver: mythbackend[15509]: E ProcessRequest fileringbuffer.cpp:285 (OpenFile) FileRingBuf(/home/administrator/.mythtv/channels/tv_japan.jpg): OpenFile(): Could not open.
Mar 14 07:14:28 mythserv00 mythlogserver: mythbackend[15509]: I ProcessRequest mainserver.cpp:1510 (HandleAnnounce) MainServer::HandleAnnounce FileTransfer
Mar 14 07:14:28 mythserv00 mythlogserver: mythbackend[15509]: I ProcessRequest mainserver.cpp:1512 (HandleAnnounce) adding: buildroot as a remote file transfer
Mar 14 07:14:28 mythserv00 mythlogserver: mythbackend[15509]: E ProcessRequest fileringbuffer.cpp:285 (OpenFile) FileRingBuf(/home/administrator/.mythtv/channels/bn_televizija_sat.jpg): OpenFile(): Could not open.


RE: New MythTV add-on using libcmyth - simora - 2013-03-14

Created links for all the files to a dummy file and no more errors and CPU is down.


RE: New MythTV add-on using libcmyth - marker - 2013-03-15

I tried OpenElec RC5 and am unable to play recorded shows though I am able to play live television. Here is the log output when I tried to play a recording:

16:29:06 T:140372722059072 NOTICE: DVDPlayer: Opening: pvr://recordings/Default/Alphas/Alphas - God's Eye, TV (244 SYFY), 20121023_000000.pvr
16:29:06 T:140372722059072 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
16:29:06 T:140372722059072 NOTICE: CXBMCRenderManager::ResetRenderBuffer - using 5 render buffers
16:29:06 T:140371333998336 NOTICE: Thread CDVDPlayer start, auto delete: false
16:29:06 T:140371333998336 NOTICE: Creating InputStream
16:29:07 T:140371333998336 NOTICE: Creating Demuxer
16:29:07 T:140371333998336 ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_new_int64: received illegal integer: 'ERROR: Unknown file transfer soc'
16:29:07 T:140371333998336 ERROR: Previous line repeats 14 times.
16:29:07 T:140371333998336 ERROR: Open - error probing input format, pvr://recordings/Default/Alphas/Alphas - God's Eye, TV (244 SYFY), 20121023_000000.pvr
16:29:07 T:140371333998336 ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_new_int64: received illegal integer: 'ERROR: Unknown file transfer soc'
16:29:07 T:140371333998336 ERROR: Previous line repeats 14 times.16:29:07 T:140371333998336 ERROR: Open - error probing input format, pvr://recordings/Default/Alphas/Alphas - God's Eye, TV (244 SYFY), 20121023_000000.pvr
16:29:07 T:140371333998336 ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_new_int64: received illegal integer: 'ERROR: Unknown file transfer soc'
16:29:07 T:140371333998336 ERROR: Previous line repeats 14 times.at, pvr://rec16:29:07 T:140371333998336 ERROR: Open - error probing input format, pvr://recordings/Default/Alphas/Alphas - God's Eye, TV (244 SYFY), 20121023_000000.pvr
16:29:07 T:140371333998336 ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_new_int64: received illegal integer: 'ERROR: Unknown file transfer soc'16:29:07 T:140371333998336 ERROR: Previous line repeats 14 times.known file tr16:29:07 T:140371333998336 ERROR: Open - error probing input format, pvr://recordings/Default/Alphas/Alphas - God's Eye, TV (244 SYFY), 20121023_000000.pvr
16:29:07 T:140371333998336 ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_new_int64: received illegal integer: 'ERROR: Unknown file transfer soc'
16:29:07 T:140371333998336 ERROR: Previous line repeats 14 times.at, pvr://rec16:29:07 T:140371333998336 ERROR: Open - error probing input format, pvr://recordings/Default/Alphas/Alphas - God's Eye, TV (244 SYFY), 20121023_000000.pvr
16:29:07 T:140371333998336 ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_new_int64: received illegal integer: 'ERROR: Unknown file transfer soc'
16:29:07 T:140371333998336 ERROR: Previous line repeats 14 times.
16:29:07 T:140371333998336 ERROR: Open - error probing input format, pvr://recordings/Default/Alphas/Alphas - God's Eye, TV (244 SYFY), 20121023_000000.pvr
16:29:07 T:140371333998336 ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_new_int64: received illegal integer: 'ERROR: Unknown file transfer soc'
16:29:07 T:140371333998336 ERROR: Previous line repeats 14 times.SGQ_NOT_INITI16:29:07 T:140371333998336 ERROR: Open - error probing input format, pvr://recordings/Default/Alphas/Alphas - God's Eye, TV (244 SYFY), 20121023_000000.pvr
16:29:07 T:140371333998336 ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_new_int64: received illegal integer: 'ERROR: Unknown file transfer soc'
16:29:07 T:140371333998336 ERROR: Previous line repeats 14 times.
16:29:07 T:140371333998336 ERROR: Open - error probing input format, pvr://recordings/Default/Alphas/Alphas - God's Eye, TV (244 SYFY), 20121023_000000.pvr16:29:07 T:140371333998336 ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_new_int64: received illegal integer: 'ERROR: Unknown file transfer soc'
16:29:07 T:140371333998336 ERROR: Previous line repeats 14 times. auto delete:16:29:07 T:140371333998336 ERROR: Open - error probing input format, pvr://recordings/Default/Alphas/Alphas - God's Eye, TV (244 SYFY), 20121023_000000.pvr
16:29:07 T:140371333998336 ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_new_int64: received illegal integer: 'ERROR: Unknown file transfer soc'
16:29:07 T:140371333998336 ERROR: Previous line repeats 14 times.
16:29:07 T:140371333998336 ERROR: Open - error probing input format, pvr://recordings/Default/Alphas/Alphas - God's Eye, TV (244 SYFY), 20121023_000000.pvr
16:29:07 T:140371333998336 ERROR: OpenDemuxStream - Error creating demuxer
16:29:07 T:140371333998336 NOTICE: CDVDPlayer::OnExit()
16:29:07 T:140371333998336 NOTICE: CDVDPlayer::OnExit() deleting input stream
16:29:07 T:140372722059072 NOTICE: CDVDPlayer::CloseFile()
16:29:07 T:140372722059072 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
16:29:07 T:140372722059072 NOTICE: DVDPlayer: waiting for threads to exit
16:29:07 T:140372722059072 NOTICE: DVDPlayer: finished waiting
16:29:07 T:140371785934592 ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_storagegroup_get_fileinfo: QUERY_SG_FILEQUERY failed(EMPTY LIST)
16:29:09 T:140371333998336 NOTICE: Thread Background Loader start, auto delete: false
16:29:09 T:140372105733888 NOTICE: Thread Jobworker start, auto delete: true

I downgraded back to OpenElec RC3 which I was running before and am able to play recordings again. I'm running mythtv 0.26 on the backend and have ION2 boxes running the OpenElec ION release on the frontend. Has anyone else see this behavior?


RE: New MythTV add-on using libcmyth - Den4t - 2013-03-15

Hi !


[/quote]
cfetzer and me will test the file with a demo tuner to debug the thing. I will let you know.
br.
[/quote]

Janbar, cfetzer, is any news ?


RE: New MythTV add-on using libcmyth - simora - 2013-03-17

Using XBMC 12.0, 1.6.9 addon and Myth 0.26.

Recordings aren't updating. I leave XBMC on 24/7 and recordings list doesn't seem to update. Timers update just fine but recordings does not.


RE: New MythTV add-on using libcmyth - pokerbud81 - 2013-03-18

(2013-03-17, 22:49)simora Wrote: Using XBMC 12.0, 1.6.9 addon and Myth 0.26.

Recordings aren't updating. I leave XBMC on 24/7 and recordings list doesn't seem to update. Timers update just fine but recordings does not.

I'm having the same problem as simora

http://forum.xbmc.org/showthread.php?tid=159393

I did notice deleting updates instantly (deleting using xbmc & usingMythweb) Seems to only have problems adding new episode/shows


RE: New MythTV add-on using libcmyth - flitter2009 - 2013-03-18

Hi,

Thanks for all the continuing work!

Just checking, should I expect playback of files from slave backends to work with the add on?


RE: New MythTV add-on using libcmyth - fetzerch - 2013-03-18

(2013-03-18, 02:55)pokerbud81 Wrote:
(2013-03-17, 22:49)simora Wrote: Using XBMC 12.0, 1.6.9 addon and Myth 0.26.

Recordings aren't updating. I leave XBMC on 24/7 and recordings list doesn't seem to update. Timers update just fine but recordings does not.

I'm having the same problem as simora

http://forum.xbmc.org/showthread.php?tid=159393

I did notice deleting updates instantly (deleting using xbmc & usingMythweb) Seems to only have problems adding new episode/shows

Let's keep the discussion in that thread!
@janbar: please check http://forum.xbmc.org/showthread.php?tid=159393 can you reproduce it? I can't :-(


RE: New MythTV add-on using libcmyth - fetzerch - 2013-03-18

(2013-03-18, 03:56)flitter2009 Wrote: Hi,

Thanks for all the continuing work!

Just checking, should I expect playback of files from slave backends to work with the add on?

Yes, just pushed an update to the development repository.
It will stream the recordings from the master backend, so it needs to have access to the files recorded by the slave.


RE: New MythTV add-on using libcmyth - simora - 2013-03-19

@cfetzer

How about the channel icons issue with the backend? Don't want it to get lost since it was so detrimental to the backend.


RE: New MythTV add-on using libcmyth - pgjensen - 2013-03-19

Is the suspend/resume mythtv connection issue fixed in XBMC v12.1 with v1.7.10 plugin, or is that only for v13.0 nightlies?


RE: New MythTV add-on using libcmyth - fetzerch - 2013-03-20

(2013-03-19, 00:19)simora Wrote: @cfetzer

How about the channel icons issue with the backend? Don't want it to get lost since it was so detrimental to the backend.

It's on my todo list.

(2013-03-19, 22:44)pgjensen Wrote: Is the suspend/resume mythtv connection issue fixed in XBMC v12.1 with v1.7.10 plugin, or is that only for v13.0 nightlies?

Yes it should work in 1.7.10. But all 1.7 versions will only work with v13 nightlies.
Since it required an API change, it cannot be fixed in Frodo.