Jump to content

Kodi can't play Emby content


Guest

Recommended Posts

I already successfully set Kodi up on another machine (the same the Emby is running on), but on my laptop I am unable to do so. The connection is established, the library synced, but when I try to play anything, this is what I get:

 

It is either

WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.emby

or

 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.emby...

The full kodi log available here:

http://pastebin.com/rtJazMeu

Link to comment
Share on other sites

Not sure what do you mean by using UNC paths - server is Linux so I guess there's no other way.

But as I said the other Kodi client worked fine so I don't think it's a problem with the server.

Edited by lockheed
Link to comment
Share on other sites

Angelblue05

You need to convert your path into a network share.

09:00:54 T:140025269573376   ERROR: CDVDPlayer::OpenInputStream - error opening [/mnt/hdd/media/doc films/North Korea/2. Why did North Korea happen [Discovery.Nuclear.Nightmare.Understanding.North.Korea].avi]

Kodi can't access your paths how they are currently formatted. You need to use path substitution in Emby to convert your path into:

\\{ip or server}\path\to\share
Link to comment
Share on other sites

Ok. Beause all my media added as separate subfolders (films, series, documentaries, etc) are in the following folder, I created redirection just for the root media folder:

 

/mnt/hdd/media/    nfs://192.168.7.2/mnt/hdd/media/    

 

 

but that didn't work

10:16:38 T:140251385272064  NOTICE: EMBY Service -> ======== START EMBY ========
10:16:38 T:140251385272064  NOTICE: EMBY Service -> Platform: Linux/RPi
10:16:38 T:140251385272064  NOTICE: EMBY Service -> KODI Version: 15.2 Git:Unknown
10:16:38 T:140251385272064  NOTICE: EMBY Service -> EMBY Version: 1.1.60
10:16:38 T:140251385272064  NOTICE: EMBY Service -> Using plugin paths: True
10:16:38 T:140251385272064  NOTICE: EMBY Service -> Log Level: 0
10:16:38 T:140251368486656  NOTICE: script.tv.show.next.aired: ### TV Show - Next Aired starting background proc (6.0.15)
10:16:38 T:140251393664768  NOTICE: -->Python Interpreter Initialized<--
10:16:38 T:140251385272064  NOTICE: File_Lock_On /home/juha/.kodi/addons/plugin.video.emby/machine_guid.lock obtained
10:16:38 T:140251385272064  NOTICE: File_Lock_On /home/juha/.kodi/addons/plugin.video.emby/machine_guid.lock released
10:16:41 T:140251402057472  NOTICE: Thread BackgroundLoader start, auto delete: false
10:16:41 T:140251112535808 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.emby/movies/11991ea0e2c245a46cab8e3176c635fd/?filename=Jablka.Adama.PL.DVDRip.XviD.SLiSU.avi&id=11991ea0e2c245a46cab8e3176c635fd&mode=play
10:16:42 T:140251764213504  NOTICE: Thread LanguageInvoker start, auto delete: false
10:16:42 T:140251764213504  NOTICE: -->Python Interpreter Initialized<--
10:16:42 T:140251764213504  NOTICE: plugin.video.emby started
10:16:42 T:140251764213504  NOTICE: Parameter string: ?filename=2. Why did North Korea happen [Discovery.Nuclear.Nightmare.Understanding.North.Korea].avi&id=af5a4b34310b0645eca59e8e093b1f0a&mode=play
10:16:42 T:140251764213504  NOTICE: EMBY DownloadUtils -> Unknown error connecting to: /mediabrowser/Users//Items/af5a4b34310b0645eca59e8e093b1f0a?format=json&ImageTypeLimit=1
10:16:42 T:140251764213504   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: string indices must be integers, not str
                                            Traceback (most recent call last):
                                              File "/home/juha/.kodi/addons/plugin.video.emby/default.py", line 125, in <module>
                                                Main()
                                              File "/home/juha/.kodi/addons/plugin.video.emby/default.py", line 36, in __init__
                                                entrypoint.doPlayback(id)
                                              File "/home/juha/.kodi/addons/plugin.video.emby/resources/lib/Entrypoint.py", line 28, in doPlayback
                                                item = PlaybackUtils().PLAY(result, setup="default")
                                              File "/home/juha/.kodi/addons/plugin.video.emby/resources/lib/PlaybackUtils.py", line 46, in PLAY
                                                id = result['Id']
                                            TypeError: string indices must be integers, not str
                                            -->End of Python script error report<--
10:16:42 T:140252303521920   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.emby/movies/af5a4b34310b0645eca59e8e093b1f0a/?filename=2. Why did North Korea happen [Discovery.Nuclear.Nightmare.Understanding.North.Korea].avi&id=af5a4b34310b0645eca59e8e093b1f0a&mode=play]
10:16:42 T:140251764213504  NOTICE: Thread BackgroundLoader start, auto delete: false
10:17:12 T:140251122763520 WARNING: CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.emby/movies/11991ea0e2c245a46cab8e3176c635fd/?filename=Jablka.Adama.PL.DVDRip.XviD.SLiSU.avi&id=11991ea0e2c245a46cab8e3176c635fd&mode=play
10:17:38 T:140251385272064  NOTICE: EMBY DownloadUtils -> Server unreachable at: http://192.168.7.2:8096/mediabrowser/Users/Public?format=json
10:19:15 T:140251881404160  NOTICE: Thread JobWorker start, auto delete: true
10:19:15 T:140251889796864  NOTICE: PulseAudio: Opened device Default in pcm mode with Buffersize 150 ms
10:19:16 T:140251112535808  NOTICE: Thread LanguageInvoker start, auto delete: false

so I added

 

/mnt/hdd/media/    \\192.168.7.2\mnt\hdd\media\

 

but now I cannot delete the first one. I click* on the garbage can and nothing happens.

 

* - that is if I manage to avoid clicking on a falling snowflake

Edited by lockheed
Link to comment
Share on other sites

Angelblue05

It didn't work because the add-on was not even fully loaded yet. :) It didn't even establish connection to your server. Wait until you see the welcome message before trying. Let me know if it works then. Note the add-on will see your path substitution instantly, so no need to restart Kodi between attempts.

Edited by Angelblue05
Link to comment
Share on other sites

I retried 15 times within 10 minutes. There was no change, same error messages in logs.

 

Also, how can I delete Path substitution if the garbage can icon does nothing?

Link to comment
Share on other sites

Angelblue05

Sounds like maybe your server locked up then. In your first log, you were able to connect to your server. In the little snippet you posted afterwards, it shows that it's unable to reach your server.

 

Try ending the server process and restarting it. Hopefully then you'll be able to use the garbage icon. I do not have this issue, I've just tested and the garbage icon was working.

 

If your issue persists, I suggest posting in the server forums so you get more help.

Edited by Angelblue05
Link to comment
Share on other sites

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