Jump to content

Start playback in Kodi from Emby


Recommended Posts

Guest petwri
Posted

Hey there,

 

is there a way to start a playback of something in Kodi using the Emby Web Client WITHOUT transcoding, but directly as if I was using the Emby for Kodi add-on?

bluemonkey07
Posted

Using the web client to start play back on kodi should be no different than select the same item in the kodi interface

  • Like 1
Guest petwri
Posted

Ok, I found out that whenever I start playing music in Kodi, no mather if it is via the Web Client or the Emby for Kodi add-on, ffmpeg gets launched and runs at almost 100% CPU load. So, apparently, some sort of audio encoding is happening. Not really what I was expecting.

Guest petwri
Posted

There you go:

 

http://xbmclogs.com/ptsvbcz2t/7enlma/raw

 

The interesting part is somewhere around 

11:53:31 T:140198625585152   DEBUG: Loading additional tag info for file http://localhost:8096/Audio/4b35453569670d6c70e421617837b889/stream.mp3

where obviously no local file, but some sort of stream is played. Thanks for the help!

  • Like 1
Angelblue05
Posted

Ok currently, it's set to add stream to your database in the event the path returned by emby can't be validated from the device's location.

 

In Emby, can you tell me what your library path for your music looks like? Is it a local path?

 

55daf2c513881_networkpath.png

Angelblue05
Posted

Thanks for the information. It might be already fixed in the beta version, we've updated the music section quite a lot since the stable release. If you can install it then reset your library, then try playback again. It should hopefully direct play. :) Let us know.

Guest petwri
Posted (edited)

Thanks for the information. It might be already fixed in the beta version, we've updated the music section quite a lot since the stable release. If you can install it then reset your library, then try playback again. It should hopefully direct play. :) Let us know.

 

Well, thats a relief that the error is not on my end, would have meant that I completely misunderstood this awesome think called Emby. Is there an apt repo that gives me the beta-versions for ubuntu?

 

EDIT: already found it, google is your friend. http://emby.media/community/index.php?/topic/21852-new-debian-and-ubuntu-install-instructions/

Edited by petwri
Angelblue05
Posted (edited)

Just download/install the beta repo. You can get the beta repo here: http://www.mb3admin.com/downloads/addons/xbmb3c/kodi-beta-repo/repository.beta.mediabrowser.kodi-1.0.4.zip

 

Hold off updating if you can, because I'm about to push another version to beta within an hour or two. At least, if you don't have direct stream music enabled when the sync starts, it will import your path as is. So if there's an error, we'll be able to spot it when you'll sync your library again. There will be an announcement when the new add-on version is made available.

 

I direct play my music no problem on any device.

Edited by Angelblue05
Guest petwri
Posted

I just downloaded the server-beta, am now on v3.0.5713.0. I will download the add-on beta later today, would then do a rebuild by shutting down jodi, deleting music.db from my Kodi user data folder, start Kodi again, then manually sync with Emby. I assume the "Use local paths instead of add-on redirect for playback" should be checked.

Angelblue05
Posted (edited)

No, you don't need that setting enabled. This is only if video playback is really slow to launch on low end devices. It does nothing for music.

 

You'll just need to have enable music sync enabled. That's it. Then you can manually sync your library and it will resync your music library and put direct paths for your content into the music database. Music library functions differently than the video library. We can't have plugin path so it inserts the local path by default (unless there was an issue retrieving the path, then we inserted the direct stream path).

Edited by Angelblue05
Guest petwri
Posted

Ok, thanks. Do I need any local music in Kodi, or can I just delete my Kodi-DB, remove all sources and then sync with Emby from scratch? Will it then rebuild my Kodi music.db?

Angelblue05
Posted

You don't need local music in Kodi. Honestly the best way would be to reset resync your entire library (find the option by launching the Emby add-on). However, if you delete the music.db, Kodi will recreate it automatically next time it starts and when you run the manual sync, it will re-add your music library only.

Angelblue05
Posted

@@petwri

 

Version 1.1.35 is available. Try it out and let me know if your music path is correct. Again, you just need to enable music sync and reset/resync your library via launching the Emby add-on. Or you can manually sync after deleting the music.db.

Angelblue05
Posted

Yes, if it doesn't show up in the webclient, it won't show up in Kodi. However when you do test, you can always refresh one item via the metadata manager and Emby for Kodi will update the item and try to add artwork. If they work, they will show up in Kodi. Keep us posted.

 

 

Sent from my iPhone using Tapatalk

Guest petwri
Posted

Yes, I can confirm that it changes the artwork in Kodi when i manually update it on the Emby server. But again, it doesn't find some of it automatically. Seems to be a bug on the server side.

Guest petwri
Posted

Ok, I am giving up, the playback is not working, not from Kodi, not from Emby, regarding all my TV shows. And, with music, albums that appear on the Emby server side as albums appear as singles in Kodi, some artists simply don't show up that appear on the server side. Going back to Kodis native library for now.

 

Server is 3.0.5713.2, Kodi Addon is 1.1.35.

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