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, ...) - Montellese - 2019-11-21 (2019-11-20, 19:29)LongMan Wrote: The New API is in the latest Beta of Emby Server, found Here. Choose Beta ChannelThanks I've integrate
RE: Media importing and library integration (UPnP, Emby, ...) - Montellese - 2019-11-21 (2019-11-21, 03:21)LongMan Wrote: My apologies. It does crash with debug logging. Steps Thanks for reproducing and investigating the issue. I've tried to reproduce your issue (I even completely deleted the media provider and re-discovered it) but everything works fine here I'll try to add some more debug logging so maybe we get some information before it crashes... RE: Media importing and library integration (UPnP, Emby, ...) - LongMan - 2019-11-22 How can I obtain the zip file for the addon from your fork without downloading the entire repo? https://github.com/Montellese/xbmc/tree/media_import_rebase_20191116/addons/mediaimporter.emby RE: Media importing and library integration (UPnP, Emby, ...) - Montellese - 2019-11-23 (2019-11-22, 04:02)LongMan Wrote: How can I obtain the zip file for the addon from your fork without downloading the entire repo?Unfortunately Github doesn't support this out of the box. AFAIK there are some helper tools / scripts which do this for you. RE: Media importing and library integration (UPnP, Emby, ...) - LongMan - 2019-11-23 These logs show EmbyCon using the same user TestSystem connecting to the server. https://drive.google.com/file/d/1KCUzq58ZIimIZJ2Ken9gJzwezwPemq2k/view?usp=sharing RE: Media importing and library integration (UPnP, Emby, ...) - Peerke - 2019-11-23 After a fresh install of Kodi 19.0-ALPHA1 Git:20191121-3dff49d1d7 (Python-3 based), I downloaden the 'repository.beta.emby.kodi-1.0.9.zip' repository and installed Emby for Kodi 4.1.16 as instructed, but error-on-error occured and after reading the log, it as clear: 2019-11-23 21:51:21.613 T:8268 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <class 'AttributeError'> Error Contents: 'str' object has no attribute 'decode' Traceback (most recent call last): File "C:\Users\Huiskamer\AppData\Roaming\Kodi\addons\plugin.video.emby\default.py", line 15, in <module> __base__ = xbmc.translatePath(os.path.join(__addon__.getAddonInfo('path'), 'resources', 'lib')).decode('utf-8') AttributeError: 'str' object has no attribute 'decode' -->End of Python script error report<-- 2019-11-23 21:51:21.625 T:7868 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.emby/?content_type=video 2019-11-23 21:51:21.630 T:1264 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.emby/?content_type=video) failed probably due to a bug ?, please help ! Thanks & best regards, Peter RE: Media importing and library integration (UPnP, Emby, ...) - LongMan - 2019-11-24 @Peerke, Emby for Kodi will not work with Kodi 19 Alpha. Emby for Kodi only supports Kodi 18, right now. Emby for Kodi forum is here. Also this thread is for Media Import, a more generalized form of what Emby for Kodi does. We would welcome your helping us to test it. Stick around I think you will like it Cheers, LongMan RE: Media importing and library integration (UPnP, Emby, ...) - Montellese - 2019-11-26 I've uploaded a new test build at http://mirrors.kodi.tv/test-builds/windows/win64/KodiSetup-20191125-c5cfbed7-media_import_rebase_20191003-x64.exe. You need to delete your MyVideos117.db file because the schema has changed. I've made the following changes:
RE: Media importing and library integration (UPnP, Emby, ...) - LongMan - 2019-11-27 Can you post a link for the addon as well? I want to make a post in the Emby forums pointing here. RE: Media importing and library integration (UPnP, Emby, ...) - Montellese - 2019-12-04 (2019-11-27, 03:14)LongMan Wrote: Can you post a link for the addon as well? I want to make a post in the Emby forums pointing here.I'll provide the add-on as a separate ZIP download with the next test build. I actually started working on a media importer add-on for Plex based on https://github.com/pkkid/python-plexapi. Having an already tested API wrapper makes it a lot easier to implement the media importer part of the code. I had to make a few adjustments to the python add-on API and to the internals but overall it worked quite well. I already implemented authentication using "Plex Link" (no username / password necessary in Kodi) and media importing. I haven't worked on auto-discovery, live observation or updating metadata on the Plex Media Server yet but I'll work my way through it one at a time. RE: Media importing and library integration (UPnP, Emby, ...) - LongMan - 2019-12-04 Sweet. Happy to see it progressing. I had used plex previously so i think I can still post on the forum, so it would be good if you could post both addons. We should be able to get other testers. I am a little distracted right now, trying to complete a project. However I have set up a machine with fresh install of windows to test with. Want to rule out that there is a problem with the computer that I was using. Maybe I can find some time on the weekend. Thanks again, LongMan RE: Media importing and library integration (UPnP, Emby, ...) - Montellese - 2019-12-08 I've started a new test build at https://jenkins.kodi.tv/job/WIN-64/11286/. The builds should be available soon at http://mirrors.kodi.tv/test-builds/windows/win64/. You need to delete your MyVideos117.db file because the schema has changed. I've made the following changes:
The mediaimporter add-ons can be downloaded as ZIP archives from:
RE: Media importing and library integration (UPnP, Emby, ...) - LongMan - 2019-12-08 I am not what I am doing wrong but it is still crashing. https://drive.google.com/file/d/1EetKjWY9CtHbbE4DWfXTE8SpdzZPmxSZ/view?usp=sharing RE: Media importing and library integration (UPnP, Emby, ...) - Montellese - 2019-12-08 Dang I'll try to get the stack trace working. I haven't seen it crash in a while But can you get it working by manually entering the username? IIRC that wasn't working either for you last time right? RE: Media importing and library integration (UPnP, Emby, ...) - LongMan - 2019-12-08 If I choose Manual and enter the username and password, i can continue but it does not sync. BTW the new Test Authentication button says successful. To to be sure that a have the right database, i added a link. Database. Really want to get this working. I know it can be frustrating when you are so close. I am sure we will get there. Cheers, LongMan |