• 1
  • 55
  • 56
  • 57(current)
  • 58
  • 59
  • 108
pvr.mythtv add-on
Thanks for the reply Janbar - so is the "Recordings" video source actually generated by Kodi using the same information in the Recordings menu under TV? I guess I just assumed the video source was being generated by the Mythtv addon as it only appeared after I enabled the addon.

Although the scanner doesn't seem to work correctly, I'm assuming if the title search was for pvr://recordings/Default/NCIS/NCIS - S08, E11, TV (5 Later), 20150308_200500.pvr then the scanner would find the correct information for that episode.
Reply
Yes, "Recording" video source uses same information from recordings screen. Those info are filled by the addon and fields list (see previous post) is defined by the PVR interface.
Video feature has its own interface and a restricted set of fields can be imported/shared from other source. Currently "Title" is a shared field, and video scanner use it to identify the show. But it still complex to match a serie/episode because title field hasn't standard format. MythTV addon concatenate title and subtitle from the backend to generate the recording title: title + " - " + subtitle.
Reply
Hello janbar and friends,

I have a MythTV server running on my home network, on a private IP address. Connecting to it using Kodi / Openelec / pvr.mythtv works perfectly on the local LAN. However, I want to be able to connect from internet as well and have therefore set up iptables with DNAT for 6544 and 6543 on my firewall so I can enter the public IP address in my Kodi client.

It loads up EPG, channels and recordings. I can watch recordings but when I switch to Live TV it tries to connect to the private IP address on port 6543. I have not told the pvr.mythtv about this address so I guess it is picked up from the server somehow.

Is this a bug, working as intended or is there something I need to configure differently?

System: RaspberryPI 2, Openelec 5.0.6, Kodi 14.2, pvr.mythtv 1.12.10.

Edit: Adding a snippet of debug output:
Code:
17:47:27 T:1564472384   DEBUG: AddOnLog: MythTV PVR Client: (CPPMyth)SpawnLiveTV: trying recorder num (1) channum (3)
17:47:27 T:1564472384   DEBUG: AddOnLog: MythTV PVR Client: (CPPMyth)SendCommand: GET_RECORDER_FROM_NUM[]:[]1
17:47:27 T:1564472384   DEBUG: AddOnLog: MythTV PVR Client: (CPPMyth)RcvMessageLength: 21
17:47:27 T:1564472384   DEBUG: AddOnLog: MythTV PVR Client: (CPPMyth)GetRecorderFromNum75: open recorder 1 (192.168.10.1:6543)
Reply
(2015-03-17, 17:38)hallon Wrote: Hello janbar and friends,

I have a MythTV server running on my home network, on a private IP address. Connecting to it using Kodi / Openelec / pvr.mythtv works perfectly on the local LAN.

However, I want to be able to connect from internet as well and have therefore set up iptables with DNAT for 6544 and 6543 on my firewall so I can enter the public IP address in my Kodi client. It loads up EPG, channels and recordings. I can watch recordings but when I switch to Live TV it tries to connect to the private IP address on port 6543. I have not told the pvr.mythtv about this address so I guess it is picked up from the server somehow.

Is this a bug, working as intended or is there something I need to configure differently?

System: RaspberryPI 2, Openelec 5.0.6, Kodi 14.2, pvr.mythtv 1.12.10.
awesome , it rans over public network !
About liveTV it is not a bug. On LiveTV negociation, Addon receives the IP address of selected encoder from the backend itself, so the local IP configured during myth setup. For now this functionnality could not be implemented because encoder IP is provide by the backend using protocol commands.
But probably a new version of the addon using exclusively the WEB API of the backend could run. It is in my next todo but few months of dev are needed.
Reply
(2015-03-17, 19:55)janbar Wrote: About liveTV it is not a bug. On LiveTV negociation, Addon receives the IP address of selected encoder from the backend itself, so the local IP configured during myth setup. For now this functionnality could not be implemented because encoder IP is provide by the backend using protocol commands.
But probably a new version of the addon using exclusively the WEB API of the backend could run. It is in my next todo but few months of dev are needed.

I was afraid that would be the case. Thank you for the quick reply.
Reply
Why not run a VPN so that the remote machine appears on the same subnet and can access all machines on your lan.
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
@all , for those wishing to donate, I added a paypal link on the page http://janbar.github.io/pvr.mythtv/

PS: It is not a requirement. Wink
Reply
All;

A New issue seems to have popped up in 14.2.RC1 .. My libcmyth is 1.11.3. All 3 devices on 3 different tv's are Intel Nuc's. One is running Openelec 5.0.6. The other 2 are running 5.0.5

On the system that is running 5.0.6 .... after a random amount of time watching LiveTV, the sound will stop. You can still hear the 'white noise' per-se on the speakers, so I know the audio device is still alive. You can stop livetv and sound comes back.

I'm not sure if this issue might have been introduced in 14.2-RC1, LibCmyth, or if it's an openelec issue. I'm going to post this message on Openelec's forum also.

Before upgrading to Openelec 5.0.6 it was fine. The 2 tv's that still run 5.0.5 are also still working fine.

Thanks!
Reply
(2015-03-18, 10:35)janbar Wrote: @all , for those wishing to donate, I added a paypal link on the page http://janbar.github.io/pvr.mythtv/
C
PS: It is not a requirement. Wink

Probably should be though. Your work is awesome. Wish I could afford to donate to all who work on kodi and linux and Firefox and eclipse and and and..... So much awesome free software that I use.
Reply
(2015-03-18, 10:35)janbar Wrote: @all , for those wishing to donate, I added a paypal link on the page http://janbar.github.io/pvr.mythtv/

PS: It is not a requirement. Wink

It speaks French to me Huh
Reply
(2015-03-18, 13:12)wangel Wrote: All;

A New issue seems to have popped up in 14.2.RC1 .. My libcmyth is 1.11.3. All 3 devices on 3 different tv's are Intel Nuc's. One is running Openelec 5.0.6. The other 2 are running 5.0.5

On the system that is running 5.0.6 .... after a random amount of time watching LiveTV, the sound will stop. You can still hear the 'white noise' per-se on the speakers, so I know the audio device is still alive. You can stop livetv and sound comes back.

I'm not sure if this issue might have been introduced in 14.2-RC1, LibCmyth, or if it's an openelec issue. I'm going to post this message on Openelec's forum also.

Before upgrading to Openelec 5.0.6 it was fine. The 2 tv's that still run 5.0.5 are also still working fine.

Thanks!

Hi, if you haven't updated the addon , many reasons could cause this stopping:
- Kodi player panic , network disconnection , backend crash. About the last cause i am tracking one with the myth ticket https://code.mythtv.org/trac/ticket/12405 . If you have some logs from your backend you could know if it has crashed and restarted at this time.
Reply
Would like some help trying to pinpoint why I can't watch live tv with the plugin. I have the Helix version compiled from Git, against Kodi from Gentoo portage. (Kodi compiled Mar 21 2015 by GCC 4.8.3 for Linux x86 64-bit version 3.13.0 (199936)).

Mythtv is v0.28-pre-2738-g39dd1ee from git.

Recordings work fine - Live Tv just shows that Channel is unavailable. Nothing in the MythBackend logs.

Code:
13:26:56 T:139948030539776  NOTICE: DVDPlayer: Opening: pvr://recordings/Default/The Vampire Diaries/The Vampire Diaries - A Bird in a Gilded Cage, TV (The CW (HD)), 20150320_000000.pvr
13:26:56 T:139948030539776 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
13:26:56 T:139945125603072  NOTICE: Thread DVDPlayer start, auto delete: false
13:26:56 T:139945125603072  NOTICE: Creating InputStream
13:26:56 T:139945125603072  NOTICE: Creating Demuxer
13:26:57 T:139945125603072  NOTICE: Opening stream: 0 source: 256
13:26:57 T:139945125603072  NOTICE: Creating video codec with codec id: 2
13:26:57 T:139945125603072  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-2 video
13:26:57 T:139945125603072  NOTICE: Creating video thread
13:26:57 T:139945238808320  NOTICE: Thread RefClock start, auto delete: false
13:26:57 T:139945125603072  NOTICE: Opening stream: 1 source: 256
13:26:57 T:139945318536960  NOTICE: Thread DVDPlayerVideo start, auto delete: false
13:26:57 T:139945125603072  NOTICE: Finding audio codec for: 86019
13:26:57 T:139945318536960  NOTICE: running thread: video_thread
13:26:57 T:139945125603072  NOTICE: Creating audio thread
13:26:57 T:139945117210368  NOTICE: Thread DVDPlayerAudio start, auto delete: false
13:26:57 T:139945117210368  NOTICE: running thread: CDVDPlayerAudio::Process()
13:26:57 T:139945125603072  NOTICE: Opening stream: 0 source: 256
13:26:57 T:139945125603072  NOTICE: Creating video codec with codec id: 2
13:26:57 T:139945125603072  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-2 video
13:26:57 T:139945117210368  NOTICE: Creating audio stream (codec id: 86019, channels: 2, sample rate: 48000, pass-through)
13:26:57 T:139945318536960  NOTICE:  fps: 59.940060, pwidth: 1280, pheight: 720, dwidth: 1280, dheight: 720
13:26:57 T:139945318536960  NOTICE: Display resolution DESKTOP : 1920x1080@ 60.00 - Full Screen (16)
13:26:58 T:139948030539776  NOTICE: Using GL_TEXTURE_2D
13:26:58 T:139948030539776  NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
13:26:58 T:139948030539776  NOTICE: GL: NPOT texture support detected
13:26:58 T:139948030539776  NOTICE: GL: Using GL_ARB_pixel_buffer_object
13:27:01 T:139948030539776  NOTICE: CDVDPlayer::CloseFile()
13:27:01 T:139948030539776  NOTICE: DVDPlayer: waiting for threads to exit
13:27:01 T:139945125603072  NOTICE: CDVDPlayer::OnExit()
13:27:01 T:139945125603072  NOTICE: Closing stream player 1
13:27:01 T:139945125603072  NOTICE: Waiting for audio thread to exit
13:27:01 T:139945117210368  NOTICE: thread end: CDVDPlayerAudio::OnExit()
13:27:01 T:139945125603072  NOTICE: Closing audio device
13:27:01 T:139945125603072  NOTICE: Deleting audio codec
13:27:01 T:139945125603072  NOTICE: Closing stream player 2
13:27:01 T:139945125603072  NOTICE: waiting for video thread to exit
13:27:01 T:139945318536960  NOTICE: thread end: video_thread
13:27:01 T:139945125603072  NOTICE: deleting video codec
13:27:01 T:139948030539776  NOTICE: DVDPlayer: finished waiting
13:27:02 T:139945125603072  NOTICE: Thread BackgroundLoader start, auto delete: false
13:27:02 T:139948030539776  NOTICE: CDVDPlayer::CloseFile()
13:27:02 T:139948030539776  NOTICE: DVDPlayer: waiting for threads to exit
13:27:02 T:139948030539776  NOTICE: DVDPlayer: finished waiting
13:27:02 T:139948030539776  NOTICE: CDVDPlayer::CloseFile()
13:27:02 T:139948030539776  NOTICE: DVDPlayer: waiting for threads to exit
13:27:02 T:139948030539776  NOTICE: DVDPlayer: finished waiting
13:27:03 T:139945238808320  NOTICE: Thread BackgroundLoader start, auto delete: false
13:27:08 T:139945238808320  NOTICE: Previous line repeats 1 times.
13:27:08 T:139945238808320  NOTICE: Thread LanguageInvoker start, auto delete: false
13:27:08 T:139945238808320  NOTICE: -->Python Interpreter Initialized<--
13:27:15 T:139948030539776  NOTICE: DVDPlayer: Opening: pvr://channels/tv/All channels/95.pvr
13:27:15 T:139948030539776 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
13:27:15 T:139945238808320  NOTICE: Thread DVDPlayer start, auto delete: false
13:27:15 T:139945238808320  NOTICE: Creating InputStream
13:27:15 T:139945238808320   ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)__connectAddr: failed to connect (22)
13:27:15 T:139945238808320   ERROR: Previous line repeats 5 times.
13:27:15 T:139945238808320   ERROR: AddOnLog: MythTV PVR Client: OpenLiveStream: Failed to open live stream
13:27:15 T:139945238808320   ERROR: CDVDPlayer::OpenInputStream - error opening [pvr://channels/tv/All channels/95.pvr]
13:27:15 T:139945238808320  NOTICE: CDVDPlayer::OnExit()
13:27:15 T:139948030539776  NOTICE: CDVDPlayer::CloseFile()
13:27:15 T:139948030539776  NOTICE: DVDPlayer: waiting for threads to exit
13:27:15 T:139948030539776  NOTICE: DVDPlayer: finished waiting
13:27:15 T:139948030539776  NOTICE: CDVDPlayer::CloseFile()
13:27:15 T:139948030539776  NOTICE: DVDPlayer: waiting for threads to exit
13:27:15 T:139948030539776  NOTICE: DVDPlayer: finished waiting
13:27:21 T:139945238808320  NOTICE: Thread LanguageInvoker start, auto delete: false
13:27:21 T:139945238808320  NOTICE: -->Python Interpreter Initialized<--
Reply
(2015-03-22, 20:30)rdoac Wrote: Would like some help trying to pinpoint why I can't watch live tv with the plugin. I have the Helix version compiled from Git, against Kodi from Gentoo portage. (Kodi compiled Mar 21 2015 by GCC 4.8.3 for Linux x86 64-bit version 3.13.0 (199936)).

Mythtv is v0.28-pre-2738-g39dd1ee from git.

Recordings work fine - Live Tv just shows that Channel is unavailable. Nothing in the MythBackend logs.

Code:
13:26:56 T:139948030539776  NOTICE: DVDPlayer: Opening: pvr://recordings/Default/The Vampire Diaries/The Vampire Diaries - A Bird in a Gilded Cage, TV (The CW (HD)), 20150320_000000.pvr
13:26:56 T:139948030539776 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
13:26:56 T:139945125603072  NOTICE: Thread DVDPlayer start, auto delete: false
13:26:56 T:139945125603072  NOTICE: Creating InputStream
13:26:56 T:139945125603072  NOTICE: Creating Demuxer
13:26:57 T:139945125603072  NOTICE: Opening stream: 0 source: 256
13:26:57 T:139945125603072  NOTICE: Creating video codec with codec id: 2
13:26:57 T:139945125603072  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-2 video
13:26:57 T:139945125603072  NOTICE: Creating video thread
13:26:57 T:139945238808320  NOTICE: Thread RefClock start, auto delete: false
13:26:57 T:139945125603072  NOTICE: Opening stream: 1 source: 256
13:26:57 T:139945318536960  NOTICE: Thread DVDPlayerVideo start, auto delete: false
13:26:57 T:139945125603072  NOTICE: Finding audio codec for: 86019
13:26:57 T:139945318536960  NOTICE: running thread: video_thread
13:26:57 T:139945125603072  NOTICE: Creating audio thread
13:26:57 T:139945117210368  NOTICE: Thread DVDPlayerAudio start, auto delete: false
13:26:57 T:139945117210368  NOTICE: running thread: CDVDPlayerAudio::Process()
13:26:57 T:139945125603072  NOTICE: Opening stream: 0 source: 256
13:26:57 T:139945125603072  NOTICE: Creating video codec with codec id: 2
13:26:57 T:139945125603072  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-2 video
13:26:57 T:139945117210368  NOTICE: Creating audio stream (codec id: 86019, channels: 2, sample rate: 48000, pass-through)
13:26:57 T:139945318536960  NOTICE:  fps: 59.940060, pwidth: 1280, pheight: 720, dwidth: 1280, dheight: 720
13:26:57 T:139945318536960  NOTICE: Display resolution DESKTOP : 1920x1080@ 60.00 - Full Screen (16)
13:26:58 T:139948030539776  NOTICE: Using GL_TEXTURE_2D
13:26:58 T:139948030539776  NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
13:26:58 T:139948030539776  NOTICE: GL: NPOT texture support detected
13:26:58 T:139948030539776  NOTICE: GL: Using GL_ARB_pixel_buffer_object
13:27:01 T:139948030539776  NOTICE: CDVDPlayer::CloseFile()
13:27:01 T:139948030539776  NOTICE: DVDPlayer: waiting for threads to exit
13:27:01 T:139945125603072  NOTICE: CDVDPlayer::OnExit()
13:27:01 T:139945125603072  NOTICE: Closing stream player 1
13:27:01 T:139945125603072  NOTICE: Waiting for audio thread to exit
13:27:01 T:139945117210368  NOTICE: thread end: CDVDPlayerAudio::OnExit()
13:27:01 T:139945125603072  NOTICE: Closing audio device
13:27:01 T:139945125603072  NOTICE: Deleting audio codec
13:27:01 T:139945125603072  NOTICE: Closing stream player 2
13:27:01 T:139945125603072  NOTICE: waiting for video thread to exit
13:27:01 T:139945318536960  NOTICE: thread end: video_thread
13:27:01 T:139945125603072  NOTICE: deleting video codec
13:27:01 T:139948030539776  NOTICE: DVDPlayer: finished waiting
13:27:02 T:139945125603072  NOTICE: Thread BackgroundLoader start, auto delete: false
13:27:02 T:139948030539776  NOTICE: CDVDPlayer::CloseFile()
13:27:02 T:139948030539776  NOTICE: DVDPlayer: waiting for threads to exit
13:27:02 T:139948030539776  NOTICE: DVDPlayer: finished waiting
13:27:02 T:139948030539776  NOTICE: CDVDPlayer::CloseFile()
13:27:02 T:139948030539776  NOTICE: DVDPlayer: waiting for threads to exit
13:27:02 T:139948030539776  NOTICE: DVDPlayer: finished waiting
13:27:03 T:139945238808320  NOTICE: Thread BackgroundLoader start, auto delete: false
13:27:08 T:139945238808320  NOTICE: Previous line repeats 1 times.
13:27:08 T:139945238808320  NOTICE: Thread LanguageInvoker start, auto delete: false
13:27:08 T:139945238808320  NOTICE: -->Python Interpreter Initialized<--
13:27:15 T:139948030539776  NOTICE: DVDPlayer: Opening: pvr://channels/tv/All channels/95.pvr
13:27:15 T:139948030539776 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
13:27:15 T:139945238808320  NOTICE: Thread DVDPlayer start, auto delete: false
13:27:15 T:139945238808320  NOTICE: Creating InputStream
13:27:15 T:139945238808320   ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)__connectAddr: failed to connect (22)
13:27:15 T:139945238808320   ERROR: Previous line repeats 5 times.
13:27:15 T:139945238808320   ERROR: AddOnLog: MythTV PVR Client: OpenLiveStream: Failed to open live stream
13:27:15 T:139945238808320   ERROR: CDVDPlayer::OpenInputStream - error opening [pvr://channels/tv/All channels/95.pvr]
13:27:15 T:139945238808320  NOTICE: CDVDPlayer::OnExit()
13:27:15 T:139948030539776  NOTICE: CDVDPlayer::CloseFile()
13:27:15 T:139948030539776  NOTICE: DVDPlayer: waiting for threads to exit
13:27:15 T:139948030539776  NOTICE: DVDPlayer: finished waiting
13:27:15 T:139948030539776  NOTICE: CDVDPlayer::CloseFile()
13:27:15 T:139948030539776  NOTICE: DVDPlayer: waiting for threads to exit
13:27:15 T:139948030539776  NOTICE: DVDPlayer: finished waiting
13:27:21 T:139945238808320  NOTICE: Thread LanguageInvoker start, auto delete: false
13:27:21 T:139945238808320  NOTICE: -->Python Interpreter Initialized<--

Probably your mythtv setup uses IPv6 addresses but you haven't IPv6 infrastructure => remove IPv6 addresses in your mythtv setup, replacing with "::1".
Any IPv6 addresses look like "FE80:..." are not usable outside the backend host.

EDIT: I will add a note in the new github io page to help user to configure its backend. You haven't this issue using mythfront because it runs in the same host of its backend.
Reply
@rdoac, i filled the manual section "Basic settings" at http://janbar.github.io/pvr.mythtv/manual/index.html . Please let me know if it helps.
Reply
Perfect - this resolved the problem.
Reply
  • 1
  • 55
  • 56
  • 57(current)
  • 58
  • 59
  • 108

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