Kodi Community Forum

Full Version: Media importing and library integration (UPnP, Emby, Plex, ...)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2019-12-10, 01:50)LongMan Wrote: [ -> ]Yes. You have to install build that Montellese has linked above. then,
 
  • Settings>Addons>Install from Zip file. (It should prompt to enable Unknown sources, enable it and go back to install the zip file, mediaimporter.emby.zip.)
  • There are no settings for the addon itself so there is nothing to configure there.
  • Settings>Media Sources>Media Providers>All Media Providers/Active Media Providers (Either should work).  You should see your Emby Server here, sign in.
  • Go Back to Settings>Media Sources. Choose Media Imports>By Media Providers. You should see your Media types here.
  • Choose the type of media that you want to import. You call leave all to import all libraries of the media type, or select choose to select which libraries to import.
  • Importing should start as soon as you are finished.

Hope that helps.

Cheers,
LongMan 

great, thank you for your reply. I will test it.
edit: @LongMan

it seems it doesnt work... does show up the media settings as you describe.
(2019-12-10, 02:18)LongMan Wrote: [ -> ]Try
http://mirrors.kodi.tv/test-builds/windo...03-x64.exe

I tested it on windows... it shows like you mentioned... but my server is not at my network, so nothing will show up. Ill stop spamming.
Edit: @Norin_Radd

you are not spamming. We welcome your feedback. You should be able to enter the url of your server. Please try that. Remember to include the port.

If that is the way you use it, then it needs to be tested and addressed. Hang around.
@Norin_Radd any testing and feedback is highly welcome. Let me know if you need an Android build because jenkins should be able to deliver that as well.
If you're Emby server cannot be auto-detected you can use the "Add provider..." entry in the "Media provider" tree. There you should be able to choose what kind of media provider to add (Emby) and then enter the base URL of your Emby server installation (e.g. "http://localhost:8096" but with the proper hostname / IP address and port). Kodi will then try to find and identify your Emby server and a dialog will appear informing you about whether that worked or not. If it worked there should be a new media provider in the list view and you should be able to configure it with your access credentials.

@LongMan thanks for the logs. It looks like in your case Kodi is trying to execute the settings callback twice simultaneously which does not end well. I'll try to figure out where this is coming from. Just to be sure does Kodi crash after you
  1. opened the list of detected users
  2. selected a specific user (not manual) from the list of detected users
Reading the logs I would say the latter (option 2).

I've made a few changes to the settings dialog which should avoid more unnecessary calls to the settings callback and hope I didn't break any existing functionality... The test build has been triggered at https://jenkins.kodi.tv/job/WIN-64/11310/, see http://mirrors.kodi.tv/test-builds/windo...03-x64.exe. It does NOT solve the problem of the crash when two UI-based settings callbacks are passed to python add-ons but it's hard to fix it if I can't reproduce it myself.
Laugh . That works. I was able to select the user, enter the password. Add Media and it synced immediately. No crash. Logs

https://drive.google.com/file/d/1oPvQfp3...sp=sharing

I only did one library so that I could provide the logs more quickly. One noticeable side effect of whatever you changed is that playback starts and stops much more quickly. Previously it was a bit lethargic.

And yes you were correct, it was when the user was selected that it crashed previously.

Progress is good.

Cheers,
LongMan
Just noticed that playback is not being reflected on the server. It only shows the authentication.
Great, thanks for testing and your feedback. If you come across any more issues please let me know.

Cocerning playback / streaming I didn't change anything. It currently uses Direct Stream because that just requires an URL. Supporting more advanced playback requires additional support which I have not looked into yet.

From your POV what are (useful) Emby features that are missing? Keep in mind that this is not meant to be a full Emby player / frontend. The main goal is to be able to access and play media items from within the Kodi library.
(2019-12-10, 16:54)Montellese Wrote: [ -> ]@Norin_Radd any testing and feedback is highly welcome. Let me know if you need an Android build because jenkins should be able to deliver that as well.
If you're Emby server cannot be auto-detected you can use the "Add provider..." entry in the "Media provider" tree. There you should be able to choose what kind of media provider to add (Emby) and then enter the base URL of your Emby server installation (e.g. "http://localhost:8096" but with the proper hostname / IP address and port). Kodi will then try to find and identify your Emby server and a dialog will appear informing you about whether that worked or not. If it worked there should be a new media provider in the list view and you should be able to configure it with your access credentials.

@LongMan thanks for the logs. It looks like in your case Kodi is trying to execute the settings callback twice simultaneously which does not end well. I'll try to figure out where this is coming from. Just to be sure does Kodi crash after you
  1. opened the list of detected users
  2. selected a specific user (not manual) from the list of detected users
Reading the logs I would say the latter (option 2).

I've made a few changes to the settings dialog which should avoid more unnecessary calls to the settings callback and hope I didn't break any existing functionality... The test build has been triggered at https://jenkins.kodi.tv/job/WIN-64/11310/, see http://mirrors.kodi.tv/test-builds/windo...03-x64.exe. It does NOT solve the problem of the crash when two UI-based settings callbacks are passed to python add-ons but it's hard to fix it if I can't reproduce it myself.  

Thanks for the reply, nothing shows up on the media provider tree on my windows 10 pc. 

https://prnt.sc/q92rib

And yeah i would like to test it on my android tv.
When I play an episode and stop, it shows an error. It doesn't have the error for movies or music video.

https://drive.google.com/file/d/1hIsocO3...sp=sharing

Also it doesn't seems adding the provider manually works. Every time I try it it fails. I will try to provide a separate debug log with just that.



With regards to useful features, I only use Emby with Kodi so I am not really familiar with all the features of Emby. As far as parity with Emby for Kodi,  these are the ones I can think of right now.

Useful features
  • External subtitles
    •  I am not sure how @angelblue05 achieves it, but external subtitle work in Emby for Kodi.
    • For MediaImport, only the internal subs work right now. I suspect she copies the subtitle files.
  • Refreshing an item
    •   I remember your modifying video info dialog to allow hiding the refresh button for imports. Actually Emby allows refresh of individual items.
    • It is in the context menu for Emby for Kodi and it works very well. I often use it to refresh a series after I have added a new episode and I don't want to run a library scan.
  • Playing .strm files
    • strm files, Netflix and Amazon strm files in my case, works with Emby for Kodi. I think she test for .strm extention and do some resolve url or something like that, and use Kodi to direct play the file.
    • In addition, since Liuke added the new API to update the server, playback and resume position are also reported to the server, which propagate to other clients.
Edit:
  • Individual Client Name
    • The ability to identify each client. Right each client registers as Kodi 19.0 ALPHA 1


And Thanks again for taking the time to do this. I know it is a sacrifice and i really appreciate it.
@Norin_Radd,

Check if the mediaimpoter.emby addon is enabled.
Settings>Addons>My Addons>Media importer>Emby Media Importer.

Also, if you didn't install from zip, check if all dependencies are installed.
(2019-12-11, 03:54)LongMan Wrote: [ -> ]@Norin_Radd,

Check if the mediaimpoter.emby addon is enabled.
Settings>Addons>My Addons>Media importer>Emby Media Importer.

Also, if you didn't install from zip, check if all dependencies are installed.

it is enabled and all dependencies are installed, i will install the addon again.
(2019-12-11, 04:29)Norin_Radd Wrote: [ -> ]
(2019-12-11, 03:54)LongMan Wrote: [ -> ]@Norin_Radd,

Check if the mediaimpoter.emby addon is enabled.
Settings>Addons>My Addons>Media importer>Emby Media Importer.

Also, if you didn't install from zip, check if all dependencies are installed.

it is enabled and all dependencies are installed, i will install the addon again. 
@LongMan i don´t get it, i installed the kodi version you posted and the last emby addon, and i cant see no tree for adding my server. have i downloaded the right addon a few pages ago?