jhoff80 94 Posted May 27, 2017 Posted May 27, 2017 (edited) One of the bedroom PCs using Emby with Kodi is a Core m5 chip which apparently is not powerful enough to play 4k H.265/HEVC without stuttering (connected to a 1080p display in there, for what it's worth). I enable the force transcode H.265 option and playback immediately fails (the server never begins transcoding), with an error to check logs. 13:05:27.900 T:11816 NOTICE: EMBY.default_tvshows -> Parameter string: ?dbid=6794&mode=play&id=57d05b0cdfd69307fa1e0c1eb980d898&filename=2x01+-+Happy+Fucking+New+Year.mkv 13:05:28.029 T:11816 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.ValueError'> Error Contents: invalid literal for int() with base 10: '4K/HEVC/AC3' Traceback (most recent call last): File "C:\Users\Joe\AppData\Roaming\Kodi\addons\plugin.video.emby.tvshows\default.py", line 50, in <module> entrypoint.doPlayback(itemid, dbid) File "C:\Users\Joe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\entrypoint.py", line 46, in doPlayback pbutils.PlaybackUtils(item).play(itemId, dbId) File "C:\Users\Joe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\playbackutils.py", line 57, in play playurl = playutils.getPlayUrl() File "C:\Users\Joe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\playutils.py", line 92, in getPlayUrl elif self.isDirectPlay(): File "C:\Users\Joe\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\playutils.py", line 150, in isDirectPlay resolution = int(videotrack.split("P", 1)[0]) ValueError: invalid literal for int() with base 10: '4K/HEVC/AC3' -->End of Python script error report<-- Edited May 27, 2017 by jhoff80
Angelblue05 4132 Posted May 28, 2017 Posted May 28, 2017 Could you do me a favor? Go to the emby for kodi addon settings > advanced. Change your logging to Debug. Ok. Redo your test and provide the log. This should print the metadata for the episode so I can fix the error, thanks.
Angelblue05 4132 Posted May 30, 2017 Posted May 30, 2017 (edited) @@jhoff80 Perfect. Can you give this build a try? Edited May 30, 2017 by Angelblue05
Angelblue05 4132 Posted May 30, 2017 Posted May 30, 2017 Ok thanks, I'll add the fix to the next beta. You can keep using the custom version until then.
Recommended Posts