Jump to content

Emby Blog

  • entries
    540
  • comments
    4761
  • views
    3351447

Contributors to this blog

  • Luke 341
  • ebr 68
  • Carlo 31
  • 7illusions 15
  • ScottIsAFool 12
  • Abobader 11
  • radeon 8
  • xnappo 8
  • darwindeeds 7
  • Redshirt 6
  • Cheesegeezer 5
  • techywarrior 3
  • bigjohn 3
  • snazy2000 3
  • sross44 3
  • leedavies 3
  • Aphid 3
  • softworkz 2
  • Soultaker 2
  • chef 2
  • gcw07 2
  • marcelveldt 1
  • hurricanehrndz 1

Introducing Emby for Kodi (Open Beta)


xnappo

21136 views

Hello All,

 

I am pleased to announce that we are now ready for beta testers on our second generation Kodi addon - Emby for Kodi! A whole new way to manage and view your media library!

 

For a long time we have been battling with the slowness of Python for parsing data from the server - it has been suggested many times to try to sync to the Kodi library - but this was a big project with a lot of technical hurtles.

 

@marcelveldt took on the challenge and developed a proof of concept. The rest of the Kodi/Emby team quickly agreed this was the way forward and has spent the last few weeks moving over code where it made sense, and proving out this new solution. Marcel in particular has put MANY hours into this, so please show him your appreciation!

 

We think you will find the new addon provides a much cleaner experience.

 

Advantages of new AddOn:

- Work well with low-end devices such as Raspberry Pi and FireTV

- Works with native skins

- Much faster library browsing

- Native sorting/deleting/resume

- Native view setting support

 

Disadvantages:

- Initial setup takes a while 20 minutes on a fast machine to 2 hours on a Pi

 

The Emby addon for Kodi combines the best of Kodi - ultra smooth navigation, beautiful UIs and playback of any file under the sun, and Emby - the most powerful fully open source multi-client media metadata indexer and server.

 

What is currently supported ?

 

We're still in beta stage of development. Currently these features are working:

  • Movies
  • Sets
  • TV Shows
  • MusicVideos
  • Deletions are supported - enable in Kodi for Kodi side delete
  • Watched state/resume status sync: This is a 2-way synchronisation. Any watched state or resume status will be instantly (within seconds) reflected to or from Kodi and the server.

To get started with the Emby addon for Kodi, first follow these guides to set up Emby and Kodi:

  • To prevent any conflicts, remove the "old" MediaBrowser addon from your Kodi setup.
  • If you were using a modded skin for the MediaBrowser addon, make sure to set it in "normal Kodi mode" or just install the unmodded version of the skin.
  • Install the MediaBrowser/Emby BETA repository for Kodi, from the repo install the Emby addon.
  • Within a few seconds you should be prompted for your server-details (or auto discovered). If not, try to restart Kodi
  • Once you're successfully authenticated to your Emby server, the initial sync will start.
  • The first sync of the Emby server to local Kodi database may take some time. On a powerful machine and fast network, expect around 15-45 minutes. On a slow machine (such as a Raspberry Pi) the first sync may take up to two hours.
  • Once the full sync is done, you can browse your media in Kodi, syncs will be automatically done in the background.

Known Issues:

 

Windows users: Kodi Helix 14.2 RC1 required - other versions will result in errors with recently added items etc.

Important note about MySQL database in kodi

 

The addon is not currently compatible with the MySQL database replacement in Kodi. Of course you can still use MySQL for your music while music is not supported by the addon currently.

 

Important note about user collections/nodes

 

Emby has the ability to create custom nodes/folders for your Media, such as having a separate folder for your "Kids Movies" etc. In Kodi this isn't supported, you just have "movies" or "tvshows". But... Kodi let's you create your own playlists and tags to get this same experience. During the sync the foldernode from the Emby server is added to the movies that are imported. In Kodi you can browse to Movie library --> tags and you will have a filtered result that points at your custom node. If you have a skin that let's you create any kind of shortcut on the homescreen you can simply create a shortcut to that tag. Another possibility is to create a "smart playlist" with Kodi and set it to show the content of a certain tag.

 

At this point, please hold on to your feature requests and report bugs only.

 

Report bugs or any usefull feedback on the forums

  • Like 10

20 Comments


Recommended Comments

Thx ! I'm going to test this with my Raspberry Pi , great work guys ! I'll be back in a few hours.... :)

Link to comment
yardameus

Posted

So, is this essentially monitoring your Emby library, and making your Kodi database reflect it?  However your voodoo works, I am impressed.  Oh, also, I'm assuming regular ol' 14.2 is fine (now that it's out of RC)?

  • Like 1
Link to comment
thefirstofthe300

Posted

So, is this essentially monitoring your Emby library, and making your Kodi database reflect it?

 

From what I have seen in the dev threads, that is exactly how the addon works. Really excited to see the devs get a second go-round to make the addon so much better. :)

Link to comment
rubenverhoef

Posted

Damh! it works great! This is why i moved from Plex to Emby!

Link to comment
steve1977

Posted

Wow, how could this go unnoticed to me. I will give it a try over the weekend, very exciting! Will there also be an announcement from the Kodi team?

Link to comment
saitoh183

Posted

Wow, how could this go unnoticed to me. I will give it a try over the weekend, very exciting! Will there also be an announcement from the Kodi team?

 

Dont think they will announce anything on Kodi side since this is just a addon like any other and has nothing to do with the Official Kodi team .

Link to comment
steve1977

Posted

Quote: "The rest of the Kodi/Emby team quickly agreed this was the way forward"

Link to comment
xnappo

Posted

That means null_pointer, angelblue05, im85288, marcelveldt and myself.  We are the Kodi/Emby team.  Sorry for the confusion!

  • Like 1
Link to comment
steve1977

Posted

Ah, got it. Anyhow, this is still beyond awesome and the Kodi folks may still consider an addon announcement. Well done, looking forward to trying things out over the weekend!!!

Link to comment

I can only set my username not the password for MB access?!

Link to comment
xnappo

Posted

Please post questions on the forum instead of here - but that is correct, we don't store your password locally anymore and instead store the API key that gets sent back from the server.  If you restart it should prompt you for the password.

Link to comment

Wow just installed and tried on fresh install of Kodi and I'm blown away! Longtime user of both MB2 and MB3 but always had to keep an install of XBMC/Kodi on the HTPC to appease the wife. This was much easier to set up than my current Kodi XBMB3C combination and the speed at which it works is astounding. As you said initial sync took some time but it has work well with every skin I have used and gives me the best of both worlds the superior back end of Emby with the wife acceptance of Kodi, Hard to believe its a beta, thanks for the great work on this. I very rarely comment but this project deserves praise for an incredible amount hard work to deliverer an excellent 1st experience. Well done!  

  • Like 2
Link to comment

Wrong place for this, Just saw the forum page.

 

Shane

Link to comment
Longrifle

Posted

I've never used Kodi before, decided to give it a try... I must say I am impressed with the speed of all functions. I think I can stop using Windows Media Center/Emby Classic.

 

great job!!!

  • Like 1
Link to comment

do I need the RC or can I also use the stable version? Also how do I know if it's still syncing or not?

 

Edit: Yes at least for me it is only working with the RC version not with the final one!

Link to comment
ratzofftoya

Posted

Has any one else had a problem with getting movie set info to show up? Using Shednox on Helix. Also,the discs for the movies aren't being put into the cool trifold case :)

Link to comment
Strider27

Posted

Wow, works much better than xbm3c add on. Also OP, music is working for me, at least partially, the main music menu is empty but albums, artists, and songs sub-menus work,at least with the Titan skin.

Using OpenELEC xbmc, also tested on Win7

Link to comment

I appear to be getting the following error whenever Kodi tries to sync my Emby library:

10:32:53 T:4643463168  NOTICE: EMBY UserClient -> |---- Starting UserClient ----|
10:32:57 T:4623749120  NOTICE: Sync DB -> syncDatabase Exiting
10:32:57 T:4623749120   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                             Error Type: <class 'sqlite3.OperationalError'>
                             Error Contents: no such table: path
                             Traceback (most recent call last):
                             File "/Users/davideglin/Library/Application Support/Kodi/addons/plugin.video.emby/service.py", line 259, in <module>
                             Service().ServiceEntryPoint()
                             File "/Users/davideglin/Library/Application Support/Kodi/addons/plugin.video.emby/service.py", line 146, in ServiceEntryPoint
                             libSync = librarySync.FullLibrarySync()
                             File "/Users/davideglin/Library/Application Support/Kodi/addons/plugin.video.emby/resources/lib/LibrarySync.py", line 77, in FullLibrarySync
                             self.MoviesFullSync(connection,cursor,pDialog)
                             File "/Users/davideglin/Library/Application Support/Kodi/addons/plugin.video.emby/resources/lib/LibrarySync.py", line 170, in MoviesFullSync
                             WriteKodiVideoDB().addOrUpdateMovieToKodiLibrary(item["Id"],connection, cursor, view.get('title'))
                             File "/Users/davideglin/Library/Application Support/Kodi/addons/plugin.video.emby/resources/lib/WriteKodiVideoDB.py", line 163, in addOrUpdateMovieToKodiLibrary
                             cursor.execute("SELECT idPath as pathid FROM path WHERE strPath = ?",(path,))
                             OperationalError: no such table: path
                             -->End of Python script error report<--

The Emby installation is a new one based on the beta software running on my XPenology (synology) nas. Problem is I can't figure out if this error is caused by the Emby DB or at the Kodi end. It looks more likely that its at the Kodi end of things, though. Any ideas? 

Link to comment
xnappo

Posted

Please post support questions in the forum, but looks like a Kodi version problem. We only officially support 14.2, but 15beta2 might work with he latest releases.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...