Jump to content

Odd error from playback failing


MrFlibble
Go to solution Solved by Angelblue05,

Recommended Posts

MrFlibble

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

  • Solution
Angelblue05

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 by Angelblue05
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...