MrFlibble 1 Posted October 30, 2015 Share Posted October 30, 2015 I have an odd issue playing a single file. The file plays in Kodi when not using Emby, other files that are simlar work fine though Emby. Its just the one single file and it produces a Python error. I can post the full log, however this is the error I see that is odd. 21:52:07 T:140431371253504 NOTICE: EMBY PlayUtils -> logMsg : File is transcoding. 21:52:07 T:140431371253504 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.IndexError'> Error Contents: list index out of range Traceback (most recent call last): File "/home/xxx/.kodi/addons/plugin.video.emby/default.py", line 125, in <module> Main() File "/home/xxx/.kodi/addons/plugin.video.emby/default.py", line 36, in __init__ entrypoint.doPlayback(id) File "/home/xxx/.kodi/addons/plugin.video.emby/resources/lib/Entrypoint.py", line 28, in doPlayback item = PlaybackUtils().PLAY(result, setup="default") File "/home/xxx/.kodi/addons/plugin.video.emby/resources/lib/PlaybackUtils.py", line 102, in PLAY playurlprefs = self.audioSubsPref(playurl, result.get("MediaSources")) File "/home/xxx/.kodi/addons/plugin.video.emby/resources/lib/PlaybackUtils.py", line 255, in audioSubsPref audioIndex = audioStreamsList[audioStreams[0]] IndexError: list index out of range -->End of Python script error report<-- 21:52:07 T:140433198688192 ERROR: Playlist Player: skipping unplayable item: 0, path Any help is appriciated. Thanks, Link to comment Share on other sites More sharing options...
Solution Angelblue05 4130 Posted October 30, 2015 Solution Share Posted October 30, 2015 (edited) Could be because the item has no media info in Emby (no audio tracks detected). Try doing a refresh on the item in the emby webclient to see if that fixes your issue. Sent from my iPhone using Tapatalk Edited October 30, 2015 by Angelblue05 Link to comment Share on other sites More sharing options...
MrFlibble 1 Posted October 31, 2015 Author Share Posted October 31, 2015 That seems to have made a difference... Thanks for that. 1 Link to comment Share on other sites More sharing options...
Recommended Posts