fetzerch / xbmc-pvr-addons

XBMC PVR add-ons
GNU General Public License v3.0
19 stars 17 forks source link

[mythtv-cmyth] Multiple backend servers, recordings only play from primary #167

Closed nerddtvg closed 9 years ago

nerddtvg commented 10 years ago

In https://github.com/fetzerch/xbmc-pvr-addons/commit/a11bed37f1b65b97fde9835056da91445db34678 the functions identifying prog->proginfo_host as the backend IP to connect to for recording was removed. Now recordings that are on separate backend servers are requested from the primary backend IP and fail to play, show icons, or have any information.

Attached are XBMC logs as well as corresponding MythBackend logs from the primary backend server.

Primary: 10.0.0.254 Secondary (correct): 10.0.0.253 Playback: 10.0.0.252

You can see the MythBackend find the proper path and in turn error out playback because it is not the the proper file handler.

mythbackend.log:

Apr 25 17:38:06 Backend mythbackend: mythbackend[1617]: I ProcessRequest mainserver.cpp:1538 (HandleAnnounce) MainServer::HandleAnnounce FileTransfer
Apr 25 17:38:06 Backend mythbackend: mythbackend[1617]: I ProcessRequest mainserver.cpp:1540 (HandleAnnounce) adding: LivingRoom as a remote file transfer
Apr 25 17:38:27 Backend mythbackend: mythbackend[1617]: C ProcessRequest mainserver.cpp:1319 (HandleVersion) MainServer::HandleVersion - Client speaks protocol version 8 but we speak 77!
Apr 25 17:38:27 Backend mythbackend: mythbackend[1617]: I ProcessRequest mainserver.cpp:1420 (HandleAnnounce) MainServer::ANN Playback
Apr 25 17:38:27 Backend mythbackend: mythbackend[1617]: I ProcessRequest mainserver.cpp:1422 (HandleAnnounce) adding: LivingRoom as a client (events: 0)
Apr 25 17:38:27 Backend mythbackend: mythbackend[1617]: I ProcessRequest mainserver.cpp:1538 (HandleAnnounce) MainServer::HandleAnnounce FileTransfer
Apr 25 17:38:27 Backend mythbackend: mythbackend[1617]: I ProcessRequest mainserver.cpp:1540 (HandleAnnounce) adding: LivingRoom as a remote file transfer
Apr 25 17:38:27 Backend mythbackend: mythbackend[1617]: E ProcessRequest mainserver.cpp:6167 (LocalFilePath) ERROR: LocalFilePath unable to find local path for '1712_20140413235900.mpg', found 'myth://10.0.0.253:6543/1712_20140413235900.mpg' instead.
Apr 25 17:38:27 Backend mythbackend: mythbackend[1617]: E ProcessRequest mainserver.cpp:1610 (HandleAnnounce) Empty filename, cowardly aborting!

xbmc.log:

17:38:21 T:3005225344   DEBUG: CGUIMediaWindow::GetDirectory (pvr://recordings/Default/Once Upon a Time/)
17:38:21 T:3005225344   DEBUG:   ParentPath = [pvr://recordings/]
17:38:21 T:2544896832   DEBUG: CPVRDirectory::GetDirectory(pvr://recordings/Default/Once Upon a Time)
17:38:21 T:3005225344   DEBUG: RunQuery took 3 ms for 12 items query: SELECT  files.strFilename, files.playCount,  bookmark.timeInSeconds, bookmark.totalTimeInSeconds FROM files  LEFT JOIN bookmark ON    files.idFile = bookmark.idFile AND bookmark.type = 1  WHERE files.idPath=53
17:38:21 T:2610948928  NOTICE: Thread BackgroundLoader start, auto delete: false
17:38:22 T:2610948928   DEBUG: Thread BackgroundLoader 2610948928 terminating
17:38:22 T:2498747200   DEBUG: webserver: request received for /jsonrpc?Input.Down
17:38:22 T:2498747200   DEBUG: Previous line repeats 1 times.
17:38:22 T:2498747200   DEBUG: webserver: request received for /jsonrpc?Player.GetActivePlayers
17:38:22 T:2498747200   DEBUG: webserver: request received for /jsonrpc?Input.Select
17:38:22 T:3005225344   DEBUG: AddOnLog: MythTV cmyth PVR Client: GetRecordingLastPlayedPosition - Reading Bookmark for: Once Upon a Time - The Jolly Roger
17:38:22 T:3005225344   DEBUG: AddOnLog: MythTV cmyth PVR Client: GetRecordingLastPlayedPosition - Recording Once Upon a Time has no bookmark
17:38:22 T:3005225344   DEBUG: CPlayerCoreFactory::GetPlayers(pvr://recordings/Default/Once Upon a Time/Once Upon a Time - The Jolly Roger, TV (712 KDNLDT), 20140413_235900.pvr)
17:38:22 T:3005225344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
17:38:22 T:3005225344   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
17:38:22 T:3005225344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
17:38:22 T:3005225344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/mms/udp
17:38:22 T:3005225344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
17:38:22 T:3005225344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
17:38:22 T:3005225344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
17:38:22 T:3005225344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
17:38:22 T:3005225344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
17:38:22 T:3005225344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
17:38:22 T:3005225344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
17:38:22 T:3005225344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
17:38:22 T:3005225344   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
17:38:22 T:3005225344   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
17:38:22 T:3005225344   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
17:38:22 T:3005225344   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
17:38:22 T:3005225344   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
17:38:22 T:3005225344   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
17:38:22 T:3005225344   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
17:38:22 T:3005225344  NOTICE: DVDPlayer: Opening: pvr://recordings/Default/Once Upon a Time/Once Upon a Time - The Jolly Roger, TV (712 KDNLDT), 20140413_235900.pvr
17:38:22 T:3005225344 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
17:38:22 T:3005225344   DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
17:38:22 T:3005225344   DEBUG: LinuxRendererGL: Cleaning up GL resources
17:38:22 T:3005225344   DEBUG: CLinuxRendererGL::PreInit - precision of luminance 16 is 16
17:38:22 T:2610948928  NOTICE: Thread DVDPlayer start, auto delete: false
17:38:22 T:2610948928  NOTICE: Creating InputStream
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: OpenRecordedStream - title: Once Upon a Time - The Jolly Roger, ID: 1712 2014-04-13T23:59:00Z, duration: 3720
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: Suspend
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: Suspend Stopping Thread
17:38:22 T:2646055744   DEBUG: AddOnLog: MythTV cmyth PVR Client: Process FileOps Thread Stopped
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: EnablePlayback
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_connect_playback: connecting playback connection
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_connect_addr: setting socket option SO_RCVBUF to 128000
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_connect_addr: connecting to 10.0.0.254:6543 fd = 33
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_create {
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_create }
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_send_message
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_send_message: sending message '20      MYTH_PROTO_VERSION 8'
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_length
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_length: buffer is '13      ' ret = 13
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_string: string received 'REJECT'
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_string: string received '77'
17:38:22 T:2610948928   ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_connect: asked for version 8, got version 77
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy {
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy: shutdown and close connection fd = 33
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy }
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_connect_addr: setting socket option SO_RCVBUF to 128000
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_connect_addr: connecting to 10.0.0.254:6543 fd = 33
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_create {
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_create }
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_send_message
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_send_message: sending message '30      MYTH_PROTO_VERSION 77 WindMark'
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_length
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_length: buffer is '13      ' ret = 13
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_string: string received 'ACCEPT'
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_string: string received '77'
17:38:22 T:2610948928   ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_connect: asked for version 77, got version 77
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_connect: agreed on Version 77 protocol
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_send_message
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_send_message: sending message '25      ANN Playback LivingRoom 0'
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_length
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_length: buffer is '2       ' ret = 2
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_string: string received 'OK'
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_connect_playback: done connecting playback connection ret = 0xa99241e4
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: Lock 2779726472
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: Lock acquired 2779726472
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_connect_file: connecting data connection
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_connect_addr: setting socket option SO_RCVBUF to 65536
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_connect_addr: connecting to 10.0.0.254:6543 fd = 34
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_create {
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_create }
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_connect_file: done connecting data connection, conn = -1350196348
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_send_message
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_send_message: sending message '70      ANN FileTransfer LivingRoom 0 0 1000[]:[]/1712_20140413235900.mpg[]:[]'
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_length
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_length: buffer is '37      ' ret = 37
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_string: string received 'ERROR'
17:38:22 T:2610948928   ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_connect_file: reply ('ERROR') is not 'OK'
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy {
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy: shutdown and close connection fd = 34
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy }
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: Unlock 2779726472
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: Lock 2779726472
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: Lock acquired 2779726472
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: Unlock 2779726472
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: IsConnected - true
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: Resume
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: Resume Resuming Thread
17:38:22 T:2574252864   DEBUG: AddOnLog: MythTV cmyth PVR Client: Process FileOps Thread Started
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: DisablePlayback
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: OpenRecordedStream - Done - false
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy {
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_send_message
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_send_message: sending message '4       DONE'
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy: shutdown and close connection fd = 33
17:38:22 T:2610948928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_conn_destroy }
17:38:22 T:2610948928   ERROR: CDVDPlayer::OpenInputStream - error opening [pvr://recordings/Default/Once Upon a Time/Once Upon a Time - The Jolly Roger, TV (712 KDNLDT), 20140413_235900.pvr]
17:38:22 T:2610948928  NOTICE: CDVDPlayer::OnExit()
17:38:22 T:2610948928  NOTICE: CDVDPlayer::OnExit() deleting input stream
17:38:22 T:2610948928   DEBUG: CDVDInputStreamPVRManager::Close - stream closed
17:38:22 T:2610948928   DEBUG: OnPlayBackStopped : play state was 1, starting 1
17:38:22 T:3005225344   DEBUG: OnPlayBackStopped : play state was 3, starting 0
17:38:22 T:2610948928   DEBUG: Thread DVDPlayer 2610948928 terminating
17:38:22 T:2720004928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_length
17:38:22 T:2720004928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_length: buffer is '97      ' ret = 97
17:38:22 T:2720004928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_string: string received 'BACKEND_MESSAGE'
17:38:22 T:2720004928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_string: string received 'SYSTEM_EVENT CLIENT_DISCONNECTED HOSTNAME LivingRoom SENDER Backend'
17:38:22 T:2720004928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)__cmyth_rcv_data: data received 'empty'
17:38:22 T:2720004928   DEBUG: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)cmyth_event_get_message: leftover data: count 5, read 5, errno 0
17:38:22 T:2720004928   DEBUG: AddOnLog: MythTV cmyth PVR Client: Process - EVENT ID: CMYTH_EVENT_SYSTEM_EVENT, EVENT databuf: CLIENT_DISCONNECTED HOSTNAME LivingRoom SENDER Backend
17:38:22 T:3005225344   DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
17:38:22 T:3005225344   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
17:38:22 T:3005225344    INFO: AddOnLog: MythTV cmyth PVR Client: Received announcement: Player, xbmc, OnStop
17:38:22 T:3005225344  NOTICE: CDVDPlayer::CloseFile()
17:38:22 T:3005225344  NOTICE: DVDPlayer: waiting for threads to exit
17:38:22 T:3005225344  NOTICE: DVDPlayer: finished waiting
17:38:22 T:3005225344   DEBUG: LinuxRendererGL: Cleaning up GL resources
17:38:22 T:3005225344  NOTICE: CDVDPlayer::CloseFile()
17:38:22 T:3005225344  NOTICE: DVDPlayer: waiting for threads to exit
17:38:22 T:3005225344  NOTICE: DVDPlayer: finished waiting
17:38:22 T:3005225344   DEBUG: LinuxRendererGL: Cleaning up GL resources
17:38:23 T:2498747200   DEBUG: webserver: request received for /jsonrpc?Player.GetActivePlayers
17:38:26 T:2498747200   DEBUG: Previous line repeats 2 times.
17:38:26 T:2498747200   DEBUG: webserver: request received for /jsonrpc?Input.Back
17:38:26 T:3005225344   DEBUG: CGUIMediaWindow::GetDirectory (pvr://recordings/)
17:38:26 T:3005225344   DEBUG:   ParentPath = []
17:38:26 T:2565860160   DEBUG: CPVRDirectory::GetDirectory(pvr://recordings)
janbar commented 10 years ago

@nerddtvg , Hi, since 2 months ago i pushed a major update for the addon to my master. I don't use anymore cmyth library and i made a new library written with c++ to communicate with mythtv. So i renamed the addon to "pvr.mythtv" to avoid conflict with old addon. For me pvr.mythtv.cmyth is now obsolete and it could be easy to resolve this issue with the new. It will be great to try your case with the new. Let me know. Thanks

nerddtvg commented 10 years ago

I will grab a copy and compile it to find out!

Thanks! On May 29, 2014 6:27 AM, "Jean-Luc Barrière" notifications@github.com wrote:

@nerddtvg https://github.com/nerddtvg , Hi, since 2 months ago i pushed a major update for the addon to my master. I don't use anymore cmyth library and i made a new library written with c++ to communicate with mythtv. So i renamed the addon to "pvr.mythtv" to avoid conflict with old addon. For me pvr.mythtv.cmyth is now obsolete and it could be easy to resolve this issue with the new. It will be great to try your case with the new. Let me know. Thanks

— Reply to this email directly or view it on GitHub https://github.com/fetzerch/xbmc-pvr-addons/issues/167#issuecomment-44522686 .

nerddtvg commented 10 years ago

@janbar,

I've tried out the addon. It does not fix the problem listed above. However if any/all development is going to continue on that new PVR plugin I'll debug it and let you know.

Also, I just want to let you know a couple of minor issues. I can open bug reports in your repo if it is better:

I am running this on XBMC 14.0 Alpha 1 and MythTV v0.27-212-gb93fb14.

Thanks, nerddtvg

janbar commented 10 years ago

Hi,

Yes a security pin has to be initialize with 0000 before 0.28. Since 0.28 the pin is initialized during the installation with 0000. For now pin is not supported by the lib because i had not information about the protocol. Also has it any advantage ? About Icon channel, mythtv team had changed the behavior of the path. The addon implements the new behavior for 0.28. I have to find a workaround for 0.27. So it is easy to support multiple backend, by initializing the recording choosing the method: Current event or specific server.

I let you know. Br

Le lundi 2 juin 2014, nerddtvg notifications@github.com a écrit :

@janbar https://github.com/janbar,

I've tried out the addon. It does not fix the problem listed above. However if any/all development is going to continue on that new PVR plugin I'll debug it and let you know.

Also, I just want to let you know a couple of minor issues. I can open bug reports in your repo if it is better:

  • Security Pin for backend MUST be set to 0000 to work. The settings have that hardcoded in place and the plugin will fail to authenticate to port 6544 if it is something different.
  • Channel icons fail to load properly

I am running this on XBMC 14.0 Alpha 1 and MythTV v0.27-212-gb93fb14.

Thanks, nerddtvg

— Reply to this email directly or view it on GitHub https://github.com/fetzerch/xbmc-pvr-addons/issues/167#issuecomment-44793405 .

janbar commented 10 years ago

Hi,

So, thanks for help. Sure you can report bugs to my repo. This week-end i will push a commit to try to fix the issue with slave backend. I will let you know. As you can see, the addon does not use mysqllib anymore and does not read or alter database directly. Now it use MythTV web api to manage data operations. First it is more sustainable and more secure. Second in futur release myth team want to refactor some part of the database making cmyth obsolete. If you need any information about the new lib cppmyth you can contact me to my gmail account.

Have nice day.

Le lundi 2 juin 2014, nerddtvg notifications@github.com a écrit :

@janbar https://github.com/janbar,

I've tried out the addon. It does not fix the problem listed above. However if any/all development is going to continue on that new PVR plugin I'll debug it and let you know.

Also, I just want to let you know a couple of minor issues. I can open bug reports in your repo if it is better:

  • Security Pin for backend MUST be set to 0000 to work. The settings have that hardcoded in place and the plugin will fail to authenticate to port 6544 if it is something different.
  • Channel icons fail to load properly

I am running this on XBMC 14.0 Alpha 1 and MythTV v0.27-212-gb93fb14.

Thanks, nerddtvg

— Reply to this email directly or view it on GitHub https://github.com/fetzerch/xbmc-pvr-addons/issues/167#issuecomment-44793405 .

nerddtvg commented 10 years ago

Thank you. I love it. The API us obviously the best choice for the future. I'm going to have to spend time getting familiar with it before I can do much. Just lots of new methods and styles.

Nerddtvg On Jun 6, 2014 1:27 AM, "Jean-Luc Barrière" notifications@github.com wrote:

Hi,

So, thanks for help. Sure you can report bugs to my repo. This week-end i will push a commit to try to fix the issue with slave backend. I will let you know. As you can see, the addon does not use mysqllib anymore and does not read or alter database directly. Now it use MythTV web api to manage data operations. First it is more sustainable and more secure. Second in futur release myth team want to refactor some part of the database making cmyth obsolete. If you need any information about the new lib cppmyth you can contact me to my gmail account.

Have nice day.

Le lundi 2 juin 2014, nerddtvg notifications@github.com a écrit :

@janbar https://github.com/janbar,

I've tried out the addon. It does not fix the problem listed above. However if any/all development is going to continue on that new PVR plugin I'll debug it and let you know.

Also, I just want to let you know a couple of minor issues. I can open bug reports in your repo if it is better:

  • Security Pin for backend MUST be set to 0000 to work. The settings have that hardcoded in place and the plugin will fail to authenticate to port 6544 if it is something different.
  • Channel icons fail to load properly

I am running this on XBMC 14.0 Alpha 1 and MythTV v0.27-212-gb93fb14.

Thanks, nerddtvg

— Reply to this email directly or view it on GitHub < https://github.com/fetzerch/xbmc-pvr-addons/issues/167#issuecomment-44793405>

.

— Reply to this email directly or view it on GitHub https://github.com/fetzerch/xbmc-pvr-addons/issues/167#issuecomment-45306674 .

teeedubb commented 10 years ago

Nice work.

I too will switch to this new addon.

Thanks

On 06/06/14 16:27, Jean-Luc Barrière wrote:

Hi,

So, thanks for help. Sure you can report bugs to my repo. This week-end i will push a commit to try to fix the issue with slave backend. I will let you know. As you can see, the addon does not use mysqllib anymore and does not read or alter database directly. Now it use MythTV web api to manage data operations. First it is more sustainable and more secure. Second in futur release myth team want to refactor some part of the database making cmyth obsolete. If you need any information about the new lib cppmyth you can contact me to my gmail account.

Have nice day.

Le lundi 2 juin 2014, nerddtvg notifications@github.com a écrit :

@janbar https://github.com/janbar,

I've tried out the addon. It does not fix the problem listed above. However if any/all development is going to continue on that new PVR plugin I'll debug it and let you know.

Also, I just want to let you know a couple of minor issues. I can open bug reports in your repo if it is better:

  • Security Pin for backend MUST be set to 0000 to work. The settings have that hardcoded in place and the plugin will fail to authenticate to port 6544 if it is something different.
  • Channel icons fail to load properly

I am running this on XBMC 14.0 Alpha 1 and MythTV v0.27-212-gb93fb14.

Thanks, nerddtvg

— Reply to this email directly or view it on GitHub

https://github.com/fetzerch/xbmc-pvr-addons/issues/167#issuecomment-44793405 .

— Reply to this email directly or view it on GitHub https://github.com/fetzerch/xbmc-pvr-addons/issues/167#issuecomment-45306674.

janbar commented 10 years ago

Hi,

So i pushed a set of commits to try to manage slave recordings. I can't test it here [no slave :( ] but i checked for regression. It could have a conflict between event handlers. Let me know. Thanks

Also nerddtvg, with my backend 0.27, channel icons run ! It could be a an issue from your configuration: Try this url with your backend: http:// hostname :6544/Guide/GetChannelIcon?ChanId=1001 , specifying an existing chan ID. If you haven't response with the icon, then you have to reconfigure your channels using Myth setup. Migrating from 0.26 to 0.27 breaks the icon urls. Since 0.27 the icon path field (in DB) cannot use full path:

/home/mythtv/.mythtv/channels/cinaps.jpg is bad cinaps.jpg is good

Since and after 0.27 all channel icons are stored in a dedicated folder. So it requires to setup channel icons again.

br

2014-06-07 0:59 GMT+02:00 teeedubb notifications@github.com:

Nice work.

I too will switch to this new addon.

Thanks

On 06/06/14 16:27, Jean-Luc Barrière wrote:

Hi,

So, thanks for help. Sure you can report bugs to my repo. This week-end i will push a commit to try to fix the issue with slave backend. I will let you know. As you can see, the addon does not use mysqllib anymore and does not read or alter database directly. Now it use MythTV web api to manage data operations. First it is more sustainable and more secure. Second in futur release myth team want to refactor some part of the database making cmyth obsolete. If you need any information about the new lib cppmyth you can contact me to my gmail account.

Have nice day.

Le lundi 2 juin 2014, nerddtvg notifications@github.com a écrit :

@janbar https://github.com/janbar,

I've tried out the addon. It does not fix the problem listed above. However if any/all development is going to continue on that new PVR plugin I'll debug it and let you know.

Also, I just want to let you know a couple of minor issues. I can open bug reports in your repo if it is better:

  • Security Pin for backend MUST be set to 0000 to work. The settings have that hardcoded in place and the plugin will fail to authenticate to port 6544 if it is something different.
  • Channel icons fail to load properly

I am running this on XBMC 14.0 Alpha 1 and MythTV v0.27-212-gb93fb14.

Thanks, nerddtvg

— Reply to this email directly or view it on GitHub

< https://github.com/fetzerch/xbmc-pvr-addons/issues/167#issuecomment-44793405

.

— Reply to this email directly or view it on GitHub < https://github.com/fetzerch/xbmc-pvr-addons/issues/167#issuecomment-45306674 .

— Reply to this email directly or view it on GitHub https://github.com/fetzerch/xbmc-pvr-addons/issues/167#issuecomment-45392304 .

janbar commented 10 years ago

@nerddtvg , please when you will trying it, could you provide logs containing string "HandleBackendMessage". Many thanks.

teeedubb commented 10 years ago

Jean-Luc,

Sorry to pollute this thread, but I dont know if Im going blind, I cant see anywhere to post on your git hub page? I have a feature request :)

teeedubb commented 10 years ago

I got my icons back (in mythtv-frontend too) after reconfiguring my icons as per the mythtv wiki.

Cheers for the info.

On 08/06/14 22:44, Jean-Luc Barrière wrote:

Hi,

So i pushed a set of commits to try to manage slave recordings. I can't test it here [no slave :( ] but i checked for regression. It could have a conflict between event handlers. Let me know. Thanks

Also nerddtvg, with my backend 0.27, channel icons run ! It could be a an issue from your configuration: Try this url with your backend: http:// hostname :6544/Guide/GetChannelIcon?ChanId=1001 , specifying an existing chan ID. If you haven't response with the icon, then you have to reconfigure your channels using Myth setup. Migrating from 0.26 to 0.27 breaks the icon urls. Since 0.27 the icon path field (in DB) cannot use full path:

/home/mythtv/.mythtv/channels/cinaps.jpg is bad cinaps.jpg is good

Since and after 0.27 all channel icons are stored in a dedicated folder. So it requires to setup channel icons again.

br

2014-06-07 0:59 GMT+02:00 teeedubb notifications@github.com:

Nice work.

I too will switch to this new addon.

Thanks

On 06/06/14 16:27, Jean-Luc Barrière wrote:

Hi,

So, thanks for help. Sure you can report bugs to my repo. This week-end i will push a commit to try to fix the issue with slave backend. I will let you know. As you can see, the addon does not use mysqllib anymore and does not read or alter database directly. Now it use MythTV web api to manage data operations. First it is more sustainable and more secure. Second in futur release myth team want to refactor some part of the database making cmyth obsolete. If you need any information about the new lib cppmyth you can contact me to my gmail account.

Have nice day.

Le lundi 2 juin 2014, nerddtvg notifications@github.com a écrit :

@janbar https://github.com/janbar,

I've tried out the addon. It does not fix the problem listed above. However if any/all development is going to continue on that new PVR plugin I'll debug it and let you know.

Also, I just want to let you know a couple of minor issues. I can open bug reports in your repo if it is better:

  • Security Pin for backend MUST be set to 0000 to work. The settings have that hardcoded in place and the plugin will fail to authenticate to port 6544 if it is something different.
  • Channel icons fail to load properly

I am running this on XBMC 14.0 Alpha 1 and MythTV v0.27-212-gb93fb14.

Thanks, nerddtvg

— Reply to this email directly or view it on GitHub

<

https://github.com/fetzerch/xbmc-pvr-addons/issues/167#issuecomment-44793405

.

— Reply to this email directly or view it on GitHub <

https://github.com/fetzerch/xbmc-pvr-addons/issues/167#issuecomment-45306674

.

— Reply to this email directly or view it on GitHub

https://github.com/fetzerch/xbmc-pvr-addons/issues/167#issuecomment-45392304 .

— Reply to this email directly or view it on GitHub https://github.com/fetzerch/xbmc-pvr-addons/issues/167#issuecomment-45435901.

janbar commented 10 years ago

@teeedubb , now i enable issue tracking for my repo. Thanks.

fetzerch commented 9 years ago

This addon is discontinued in favor of pvr.myth.