Jump to content

Emby for Kodi - error on channel change in htsp client


barzog
 Share

Recommended Posts

I use latest Emby for Kodi on latest CoreElec for media access. Also HTSP client in Kodi configured for watching TV channels from tvheadend. On each TV channel change in Kodi HTSP I receive following error in kodi log:

2020-10-15 18:35:30.196 T:3405779840  NOTICE: EMBY.objects.monitor ->  [ play ] kodi_id: 23 media: channel
2020-10-15 18:35:38.145 T:3422565248  NOTICE: Opening stream: 1001 source: 256
2020-10-15 18:35:38.145 T:3422565248 WARNING: OpenStream - Unsupported stream 1001. Stream disabled.
2020-10-15 18:35:38.145 T:3422565248  NOTICE: Opening stream: 1003 source: 256
2020-10-15 18:35:38.145 T:3422565248  NOTICE: Finding audio codec for: 86016
2020-10-15 18:35:38.146 T:3422565248  NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder mp2
2020-10-15 18:35:38.146 T:3422565248  NOTICE: Creating audio thread
2020-10-15 18:35:38.146 T:3405779840  NOTICE: running thread: CVideoPlayerAudio::Process()
2020-10-15 18:35:38.179 T:3414172544  NOTICE: EMBY.hooks.monitor -> -->[ q:monitor/Player.OnAVChange ]
2020-10-15 18:35:38.193 T:3422565248  NOTICE: Opening stream: 1001 source: 256
2020-10-15 18:35:38.193 T:3422565248  NOTICE: CVideoPlayerVideo::OpenStream - Creating codec: 27
2020-10-15 18:35:38.196 T:3422565248  NOTICE: Creating video thread
2020-10-15 18:35:38.197 T:3363816320  NOTICE: running thread: video_thread
2020-10-15 18:35:38.197 T:3422565248  NOTICE: Opening stream: 1003 source: 256
2020-10-15 18:35:38.198 T:3422565248  NOTICE: Finding audio codec for: 86016
2020-10-15 18:35:38.198 T:3422565248  NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder mp2
2020-10-15 18:35:38.208 T:3405779840  NOTICE: Creating audio stream (codec id: 86016, channels: 2, sample rate: 48000, no pass-through)
2020-10-15 18:35:38.299 T:4087959568  NOTICE: Whitelist search for: width: 720, height: 576, fps: 50.000, 3D: false
2020-10-15 18:35:38.301 T:4087959568  NOTICE: Display resolution ADJUST : 1920x1080 @ 50.00 - Full Screen (29) (weight: 0.000)
2020-10-15 18:35:38.546 T:4087959568  NOTICE: VideoPlayer: OnLostDisplay received
2020-10-15 18:35:38.547 T:4087959568   ERROR: GetString: error reading /sys/class/amhdmitx/amhdmitx0/custom_mode
2020-10-15 18:35:38.768 T:4087959568  NOTICE: VideoPlayer: OnResetDisplay received
2020-10-15 18:35:38.789 T:3363816320 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2020-10-15 18:35:38.856 T:3355423616  NOTICE: EMBY.hooks.monitor -> -->[ q:monitor/Player.OnAVChange ]
2020-10-15 18:35:38.866 T:3522163584  NOTICE: Previous line repeats 1 times.
2020-10-15 18:35:38.867 T:3522163584  NOTICE: EMBY.objects.monitor -> [ xbmc/Player.OnAVStart ]
2020-10-15 18:35:38.868 T:3347030912  NOTICE: EMBY.hooks.monitor -> -->[ q:monitor/Player.OnAVChange ]
2020-10-15 18:35:38.873 T:3522163584  NOTICE: EMBY.objects.player -> [ onAVStarted ]
2020-10-15 18:35:38.877 T:3522163584   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.TypeError'>
                                            Error Contents: an integer is required
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/userdata/addon_data/plugin.video.emby/emby/objects/player.py", line 97, in onAVStarted
                                                item = self.set_item(current_file, False)
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/hooks/player.py", line 271, in set_item
                                                self.playlist = xbmc.PlayList(self.monitor.playlistid)
                                            TypeError: an integer is required
                                            -->End of Python script error report<--
2020-10-15 18:35:39.026 T:3355423616  NOTICE: EMBY.hooks.monitor -> -->[ q:monitor/Player.OnAVChange ]
 

Link to comment
Share on other sites

Looks not like a serious issue which has an impact to functionality. Is something broke after the error report?

...I can suppress the the error messages appears?

Edited by quickmic
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...