Kodi Community Forum
WIP Media importing and library integration (UPnP, Emby, Plex, ...) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: WIP Media importing and library integration (UPnP, Emby, Plex, ...) (/showthread.php?tid=224794)



RE: Media importing and library integration (UPnP, Emby, Plex, ...) - Montellese - 2020-03-29

(2020-03-28, 20:11)LongMan Wrote:
Quote:But how can I add the Mediaimport repository manually?

Hit the Green "Clone or Download" button to get the zip for the repo.

https://github.com/Montellese/repository.mediaimport 
That will not get you an installable repository. That repository contains all add-ons included in the Kodi repo as git submodules.

But it's even easier: Just download the latest ZIP file from https://github.com/Montellese/repository.mediaimport/tree/master/downloads/repository.mediaimport i.e. https://github.com/Montellese/repository.mediaimport/raw/master/downloads/repository.mediaimport/repository.mediaimport-0.0.4.zip.


RE: Media importing and library integration (UPnP, Emby, Plex, ...) - Wanilton - 2020-03-29

@Montellese 

Import working fine here, using Kodi Companion...

Thanks. But a few items don´t play if possible check my debug log

https://paste.kodi.tv/ekoninafey.kodi


RE: Media importing and library integration (UPnP, Emby, Plex, ...) - Seger - 2020-03-30

https://paste.kodi.tv/ewayowunin.kodi

I just installed it for the first time. Kodi source SMB access is set up, locale access is guaranteed. there is also a successful login to the emby server. The device is listed in the server. When changing the settings from libary to syncronisation there is the first error message. If you syncronize the device the error is repeated in the log. my locale address is: 192.168.178.51:9999


RE: Media importing and library integration (UPnP, Emby, Plex, ...) - Seger - 2020-03-30

(2020-03-30, 01:44)Seger Wrote: https://paste.kodi.tv/ewayowunin.kodi

I just installed it for the first time. Kodi source SMB access is set up, locale access is guaranteed. there is also a successful login to the emby server. The device is listed in the server. When changing the settings from libary to syncronisation there is the first error message. If you syncronize the device the error is repeated in the log. my locale address is: 192.168.178.51:9999

Excuse me, I have some more information here.

Kodi Companion is installed on the server. 

Access is via http/port 9999
192.168.178.51:9999

a reserve proxy is also set up. The server is a Synology and Emby is at version 4.3.1.0

Under Emby for Kodi, Emby App (Win 10) and the web browser, the access works: 192.168.178.51:9999

As I said, the registration also works and is confirmed, but then at some point there is an error.


RE: Media importing and library integration (UPnP, Emby, Plex, ...) - LongMan - 2020-03-30

The log suggest that you have a problem with user authentication. You say that it is registered but your log appears to say otherwise.


RE: Media importing and library integration (UPnP, Emby, Plex, ...) - Montellese - 2020-03-30

Yes your log is full of authentication errors but these should never actually appear in the log. Maybe I broke something while reducing the number of authentications or while introducing authentication through Emby Connect.


RE: Media importing and library integration (UPnP, Emby, Plex, ...) - Montellese - 2020-03-30

(2020-03-30, 01:44)Seger Wrote: https://paste.kodi.tv/ewayowunin.kodi

I just installed it for the first time. Kodi source SMB access is set up, locale access is guaranteed. there is also a successful login to the emby server. The device is listed in the server. When changing the settings from libary to syncronisation there is the first error message. If you syncronize the device the error is repeated in the log. my locale address is: 192.168.178.51:9999
Can you please enable debug logging and provide a new set of logs?


RE: Media importing and library integration (UPnP, Emby, Plex, ...) - Montellese - 2020-03-30

(2020-03-29, 12:36)Wanilton Wrote: @Montellese 

Import working fine here, using Kodi Companion...

Thanks. But a few items don´t play if possible check my debug log

https://paste.kodi.tv/ekoninafey.kodi
Thanks for the report. Is it possible that the items that failed to play are blurays and DVDs / ISOs? If so I'll have to look into it because those probably need special handling for proper playback / streaming. I'm not even sure if Emby supports streaming those. Can you play them in Emby web?


RE: Media importing and library integration (UPnP, Emby, Plex, ...) - Wanilton - 2020-03-30

@Montellese

Yes, are ISO discs... work well when using APK Emby in my Cell Phone and work ok using browser via Emby web too, same items of course. So Kodi needs something more to play.


RE: Media importing and library integration (UPnP, Emby, Plex, ...) - Montellese - 2020-03-31

(2020-03-30, 23:16)Wanilton Wrote: @Montellese

Yes, are ISO discs... work well when using APK Emby in my Cell Phone and work ok using browser via Emby web too, same items of course. So Kodi needs something more to play.
Can you give https://www.dropbox.com/s/qr58iadjfeer1va/mediaimporter.emby.zip?dl=1 a try and check if that works better?


RE: Media importing and library integration (UPnP, Emby, Plex, ...) - Wanilton - 2020-03-31

Tested, a few ISO works now, but others continue without play, debug log

https://paste.kodi.tv/wumudiciza.kodi


RE: Media importing and library integration (UPnP, Emby, Plex, ...) - Montellese - 2020-03-31

(2020-03-31, 00:46)Wanilton Wrote: Tested, a few ISO works now, but others continue without play, debug log

https://paste.kodi.tv/wumudiciza.kodi

Ah you probably need to force a full re-synchronization because otherwise with fast-sync it will not update the playback URLs automatically anymore.


RE: Media importing and library integration (UPnP, Emby, Plex, ...) - Wanilton - 2020-03-31

@Montellese 

Yesterday, I recreate database before the test, something more, probably Kodi issue

https://github.com/xbmc/xbmc/issues/17588

It seems related to 17333 (PR) and 16263 (PR) and 16262 (PR). Seems has changed the form of handle UDF protocol and ISO images. Now is iso9660 library is not included and code is not compiled by default. Maybe it is a bug or is need some addon for compatibility with ISO images or enable some option to compile Kodi with ISO support (as before).


RE: Media importing and library integration (UPnP, Emby, Plex, ...) - raptorjr - 2020-03-31

Is it in any way possible to say when MediaImport release could be up to date enough to be part of the daily RPi Milhouse builds?

I like it and would like to test and use it as much as possible, but sometimes also need the latest fixes from Milhouse. And I both understand that you don’t have all the time in the world to work on this or that Milhouse could create daily builds for MediaImport. So I’m just curious.


RE: Media importing and library integration (UPnP, Emby, Plex, ...) - LongMan - 2020-04-01

@Montellese,This was requested by @flubshi elsewhere. He maintains a video addon for waipu.tv.
 
Quote:Feature Request:
  • Please provide an python API to integrate Video/Audio content into Kodi library. Maybe something like a content-provider extension. The developer could define in addon.xml, which kind of data an addon provides, e.g. movies, and an update interval. Kodi calls the Addon in this interval and adds the content.
  • Since content for streaming providers changes from time to time, it would be great to allow developers to return an "expire" or "update" timestamp for the content. If the "expire" is reached, content could be removed from database. When "update" is reached, Kodi should call a defined entrypoint to fetch updated data of the video entry.
 

The first part is already covered I think. The second part is not included yet.
If you are ok with it, I will create issues for them under media Importer and I have invited him to discuss it in this thread.


This forum uses Lukasz Tkacz MyBB addons.