Jump to content

embyforkodi (next-gen) 6.X.X support


quickmic

Recommended Posts

I installed 5.1.7 through the beta repo a few days ago. I'm not seeing any updates since then. In fact, I'm not seeing any version in the repo. Is this still being synced up?

Edited by NNate
Link to comment
Share on other sites

quickmic

5.1.8 is the latest version in the repo.

5.1.9. not yet.

Sometimes it takes forever till Kodi updates new versions. Manual uninstall/install the beta repo  forces an update.

Link to comment
Share on other sites

quickmic

 

New Version available 5.1.10:

You can load from here, or wait till repo is synced.
http://embydata.com/downloads/addons/xbmb3c/multi-repo/beta-leia/plugin.video.emby-next-gen/plugin.video.emby-next-gen-5.1.10.zip

Fixes:
Sync issues and performance:
- Music DB had issues when multiple music libs are used, but only a subset should be synced to Kodi. This causes a mixture between all music libs
- Incremental sync on music libs and probably also other types of libs had issues, when NEW items are added. They were not synced.


 
New:
-

Known issues:
Multiserver not working
Dynamic lists slow/artwork
Some (minor) unicode issues in Kodi 18
Edge case issues on music sync
Cancel not working on Multi video selection

 

General:
-

 

Link to comment
Share on other sites

2021-01-31 12:41:33.182 T:20601    INFO <general>: EMBY.entrypoint.Service -> --->>>[ EMBY-NEXT-GEN ]
2021-01-31 12:41:33.186 T:20601    INFO <general>: EMBY.entrypoint.Service -> Version: 5.1.10
2021-01-31 12:41:33.189 T:20601    INFO <general>: EMBY.entrypoint.Service -> KODI Version: 19.0-RC1 (18.9.910) Git:20210130-e5ada4a7f9-dirty
2021-01-31 12:41:33.196 T:20601    INFO <general>: EMBY.entrypoint.Service -> Platform: Linux/Android
2021-01-31 12:41:33.204 T:20601    INFO <general>: EMBY.entrypoint.Service -> OS: Kodi/2950MB
2021-01-31 12:41:33.208 T:20601    INFO <general>: EMBY.entrypoint.Service -> Python Version: 3.8.5 (default, Jan 30 2021, 22:58:11)
                                                   [Clang 8.0.7 (https://android.googlesource.com/toolchain/clang b55f2d4ebfd35bf6
2021-01-31 12:41:33.214 T:20601    INFO <general>: EMBY -> ---[ START EMBYCLIENT ]---
2021-01-31 12:41:33.332 T:20601    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xfc' in position 124: ordinal not in range(128)
2021-01-31 12:41:33.362 T:20601    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xe4' in position 126: ordinal not in range(128)
2021-01-31 12:41:33.407 T:20601    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xfc' in position 124: ordinal not in range(128)
2021-01-31 12:41:33.437 T:20601    INFO <general>: Skipped 1 duplicate messages..
2021-01-31 12:41:33.437 T:20601    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xe4' in position 124: ordinal not in range(128)
2021-01-31 12:41:33.451 T:20601    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xe4' in position 126: ordinal not in range(128)
2021-01-31 12:41:33.496 T:20601    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xfc' in position 124: ordinal not in range(128)
2021-01-31 12:41:33.524 T:20601    INFO <general>: Skipped 1 duplicate messages..
2021-01-31 12:41:33.524 T:20601    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xe4' in position 124: ordinal not in range(128)
2021-01-31 12:41:33.537 T:20601    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xe4' in position 126: ordinal not in range(128)
2021-01-31 12:41:33.585 T:20601    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xfc' in position 124: ordinal not in range(128)
2021-01-31 12:41:33.615 T:20601    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xe4' in position 126: ordinal not in range(128)
2021-01-31 12:41:33.661 T:20601    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xfc' in position 124: ordinal not in range(128)
2021-01-31 12:41:33.693 T:20601    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xe4' in position 126: ordinal not in range(128)
2021-01-31 12:41:35.611 T:20601    INFO <general>: EMBY.views.Views -> Unable to retrieve libraries: NotConnected
2021-01-31 12:41:36.344 T:20601    INFO <general>: EMBY.helper.utils.Utils -> DeviceId loaded: f90c0ccd-7098-4318-ab9e-69a20116e096
2021-01-31 12:41:36.360 T:20610    INFO <general>: EMBY -> ---[ STOPPED EMBYCLIENT: default ]---
2021-01-31 12:41:36.364 T:20610    INFO <general>: EMBY.connect.Connect -> --[ server/default ]
2021-01-31 12:41:36.373 T:20610    INFO <general>: EMBY -> ---[ START EMBYCLIENT ]---
2021-01-31 12:41:37.488 T:20612    INFO <general>: EMBY.hooks.monitor.Monitor -> [ WebserviceUpdateInfo -> No Info ]
2021-01-31 12:41:37.557 T:20616    INFO <general>: Skipped 3 duplicate messages..
2021-01-31 12:41:37.557 T:20616    INFO <general>: EMBY.library.Library -> --->[ library ]
2021-01-31 12:41:37.603 T:20618    INFO <general>: EMBY.hooks.monitor.Monitor -> --[ post capabilities/023809e17dec4de9b5600e791e51675f ]
2021-01-31 12:41:37.711 T:20621 WARNING <general>: EMBY.hooks.webservice.WebService--->[ webservice/57578 ]
2021-01-31 12:41:37.828 T:19224    INFO <general>: Unloaded skin
2021-01-31 12:41:37.830 T:19224    INFO <general>:   load skin from: /storage/emulated/0/Android/data/org.xbmc.kodi19/files/.kodi/addons/skin.nebula/ (version: 20.1.9)
2021-01-31 12:41:37.852 T:19224    INFO <general>:   load fonts for skin...
2021-01-31 12:41:37.856 T:19224    INFO <general>: Loading skin includes from /storage/emulated/0/Android/data/org.xbmc.kodi19/files/.kodi/addons/skin.nebula/1080i/includes.xml
2021-01-31 12:41:38.107 T:19224    INFO <general>: Loading fonts from /storage/emulated/0/Android/data/org.xbmc.kodi19/files/.kodi/addons/skin.nebula/1080i/Font.xml
2021-01-31 12:41:38.156 T:19224    INFO <general>:   load new skin...
2021-01-31 12:41:38.156 T:19224    INFO <general>: Loading custom window XMLs from skin path /storage/emulated/0/Android/data/org.xbmc.kodi19/files/.kodi/addons/skin.nebula/1080i
2021-01-31 12:41:38.174 T:19224    INFO <general>:   initialize new skin...
2021-01-31 12:41:38.174 T:19224    INFO <general>: Loading skin file: Custom_FullscreenMusic.xml, load type: LOAD_ON_GUI_INIT
2021-01-31 12:41:38.175 T:19224    INFO <general>: Loading skin file: DialogBusy.xml, load type: LOAD_ON_GUI_INIT
2021-01-31 12:41:38.186 T:19224    INFO <general>: Skipped 1 duplicate messages..
2021-01-31 12:41:38.186 T:19224    INFO <general>: Loading skin file: DialogNotification.xml, load type: LOAD_ON_GUI_INIT
2021-01-31 12:41:38.189 T:19224    INFO <general>: Loading skin file: DialogVolumeBar.xml, load type: LOAD_ON_GUI_INIT
2021-01-31 12:41:38.192 T:19224    INFO <general>: Loading skin file: DialogExtendedProgressBar.xml, load type: LOAD_ON_GUI_INIT
2021-01-31 12:41:38.195 T:19224    INFO <general>: Loading skin file: Pointer.xml, load type: LOAD_ON_GUI_INIT
2021-01-31 12:41:38.200 T:19224    INFO <general>: Loading skin file: DialogSeekBar.xml, load type: LOAD_ON_GUI_INIT
2021-01-31 12:41:38.249 T:19224    INFO <general>: Loading resource://resource.uisounds.nebula/sounds.xml
2021-01-31 12:41:38.412 T:19224   ERROR <general>: Window Translator: Can't find window InfoDialog
2021-01-31 12:41:38.413 T:19224    INFO <general>:   skin loaded...
2021-01-31 12:41:38.417 T:19224    INFO <general>: Loading skin file: AddonBrowser.xml, load type: KEEP_IN_MEMORY
2021-01-31 12:41:39.390 T:20106   ERROR <general>: DoWork - Direct texture file loading failed for resource://resource.images.studios.coloured//.png
2021-01-31 12:41:39.588 T:20616    INFO <general>: EMBY.database.database -> [emby] 1 rows updated.
2021-01-31 12:41:39.613 T:19274   ERROR <general>: Window Translator: Can't find window videolibrary
2021-01-31 12:41:39.635 T:20616    INFO <general>: EMBY.database.database -> [emby] 1 rows updated.
2021-01-31 12:41:39.895 T:20616    INFO <general>: Skipped 6 duplicate messages..
2021-01-31 12:41:39.895 T:20616    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xfc' in position 124: ordinal not in range(128)
2021-01-31 12:41:39.933 T:20616    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xe4' in position 126: ordinal not in range(128)
2021-01-31 12:41:39.985 T:20616    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xfc' in position 124: ordinal not in range(128)
2021-01-31 12:41:40.018 T:20616    INFO <general>: Skipped 1 duplicate messages..
2021-01-31 12:41:40.018 T:20616    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xe4' in position 124: ordinal not in range(128)
2021-01-31 12:41:40.031 T:20616    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xe4' in position 126: ordinal not in range(128)
2021-01-31 12:41:40.072 T:20616    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xfc' in position 124: ordinal not in range(128)
2021-01-31 12:41:40.101 T:20616    INFO <general>: Skipped 1 duplicate messages..
2021-01-31 12:41:40.101 T:20616    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xe4' in position 124: ordinal not in range(128)
2021-01-31 12:41:40.115 T:20616    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xe4' in position 126: ordinal not in range(128)
2021-01-31 12:41:40.157 T:20616    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xfc' in position 124: ordinal not in range(128)
2021-01-31 12:41:40.184 T:20616    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xe4' in position 126: ordinal not in range(128)
2021-01-31 12:41:40.224 T:20616    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xfc' in position 124: ordinal not in range(128)
2021-01-31 12:41:40.256 T:20616    INFO <general>: EMBY.helper.utils.Utils -> 'ascii' codec can't encode character '\xe4' in position 126: ordinal not in range(128)
2021-01-31 12:41:42.527 T:20616    INFO <general>: EMBY.library.Library -> --[ retrieve changes ] 2021-01-31T09:35:27z
2021-01-31 12:41:42.774 T:20616    INFO <general>: EMBY.library.Library -> --<[ retrieve changes ]

In the Logs i have encode errors on every E4K startup. This is since i used the Nextgen Version (i mean 5.1.6). This must be ü (\xfc) and ä (\xe4) i think.
But all is working. By the way my Kodi and Emby working with german language.

Link to comment
Share on other sites

quickmic

Yes, I know this issue. Not sure what's the cause. Do you have an idea?

I's not coming from special characters in movies etc. Do you use a special character as emby server login or emby server hostname, or in your emby server libraries?

Edited by quickmic
Link to comment
Share on other sites

No embyserver name is "emby" 😁 and my username is "loomes".

i have tested a little bit. When i change Kodi Language to english the encode error is gone.
I think it must be a reading of a Localized String. I will have a look at the utils code.

Link to comment
Share on other sites

1 hour ago, quickmic said:

ok, I'll try that.

Its a problem with the "Umlauts" äü in the german Language file but i dont know why?! When i replace ä with ae and ü with ue the Error is gone.
I hope that helps you to find the Code Section for fixing.

By the way, the german po file was totaly messed up in formating. 
I fixed that. New File is in Attachment.

strings.po

Link to comment
Share on other sites

quickmic

Thanks, I'll review the file and add it.

Currently I'm tracking the issue. I can reproduce it, and has something to do with node labels.

Link to comment
Share on other sites

quickmic

Language file is still not correct.

e.g. english


msgctxt "#33217"
msgid "Verify the connection? Recommended: Disable for self-signed certificate only."
msgstr ""

german

msgctxt "#33217"
msgid "Verify the connection? Recommended: Disable for self-signed certificate \"only."
msgstr "Überprüfen Sie die Verbindung? Empfohlen: Deaktivieren Sie nur für selbstsigniertes Zertifikat."

german old

msgctxt "#33217"
msgid ""
"Verify the connection? Recommended: Disable for self-signed certificate "
"only."
msgstr ""
"Überprüfen Sie die Verbindung? Empfohlen: Deaktivieren Sie nur für "
"selbstsigniertes Zertifikat."

 

I assume it should be:

msgctxt "#33217"
msgid "Verify the connection? Recommended: Disable for self-signed certificate only."
msgstr "Überprüfen Sie die Verbindung? Empfohlen: Deaktivieren Sie nur für selbstsigniertes Zertifikat."

 

Link to comment
Share on other sites

With v5.1.10 the dynamic Update when i add a new Episode on the Emby Server dont work:

2021-01-31 16:47:48.754 T:1863     INFO <general>: Skipped 1 duplicate messages..
2021-01-31 16:47:48.753 T:1863     INFO <general>: EMBY.hooks.monitor.Monitor -> [ LibraryChanged ] {'CollectionFolders': [], 'FoldersAddedTo': [], 'FoldersRemovedFrom': [], 'IsEmpty': False, 'ItemsAdded': [], 'ItemsRemoved': [], 'ItemsUpdated': ['2990533', '2990546', '2990534', '3019904', '3054184', '3093119', '3130237'], 'MonitorMethod': 'LibraryChanged'}
2021-01-31 16:47:48.762 T:1863     INFO <general>: EMBY.library.Library -> ---[ updated:7 ]
2021-01-31 16:47:50.909 T:1576     INFO <general>: EMBY.library.Library -> -->[ q:download/204507991632 ]
2021-01-31 16:47:51.953 T:1864     INFO <general>: EMBY.downloader.GetItemWorker -> --<[ q:download/204507991632/7 ]
2021-01-31 16:47:51.963 T:1864     INFO <general>: EMBY.downloader.GetItemWorker -> --[ q:download/remove ] []
2021-01-31 16:47:53.944 T:1576     INFO <general>: EMBY.library.Library -> -->[ q:updated/Series/204511837072 ]
2021-01-31 16:47:54.009 T:1865     INFO <general>: EMBY.library.UpdatedWorker -> 'Library'
                                                   Traceback (most recent call last):
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi19/files/.kodi/addons/plugin.video.emby-next-gen/database/library.py", line 654, in run
                                                       if self.library.MEDIA[item['Type']](self.library.server, embydb, kodidb, self.library.direct_path, self.library.Utils)[item['Type']](item, item['Library']) and self.notify:
                                                   KeyError: 'Library'
2021-01-31 16:47:55.030 T:1865     INFO <general>: EMBY.library.UpdatedWorker -> --<[ q:updated/204511837072 ]
2021-01-31 16:47:56.990 T:1576     INFO <general>: EMBY.library.Library -> -->[ q:updated/Season/204101050464 ]
2021-01-31 16:47:57.045 T:1866     INFO <general>: EMBY.library.UpdatedWorker -> 'Library'
                                                   Traceback (most recent call last):
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi19/files/.kodi/addons/plugin.video.emby-next-gen/database/library.py", line 654, in run
                                                       if self.library.MEDIA[item['Type']](self.library.server, embydb, kodidb, self.library.direct_path, self.library.Utils)[item['Type']](item, item['Library']) and self.notify:
                                                   KeyError: 'Library'
2021-01-31 16:47:58.071 T:1866     INFO <general>: EMBY.library.UpdatedWorker -> --<[ q:updated/204101050464 ]
2021-01-31 16:48:00.038 T:1576     INFO <general>: EMBY.library.Library -> -->[ q:updated/Episode/204536672944 ]
2021-01-31 16:48:00.096 T:1867     INFO <general>: EMBY.library.UpdatedWorker -> 'Library'
                                                   Traceback (most recent call last):
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi19/files/.kodi/addons/plugin.video.emby-next-gen/database/library.py", line 654, in run
                                                       if self.library.MEDIA[item['Type']](self.library.server, embydb, kodidb, self.library.direct_path, self.library.Utils)[item['Type']](item, item['Library']) and self.notify:
                                                   KeyError: 'Library'
2021-01-31 16:48:01.222 T:1867     INFO <general>: Skipped 4 duplicate messages..
2021-01-31 16:48:01.222 T:1867     INFO <general>: EMBY.library.UpdatedWorker -> --<[ q:updated/204536672944 ]
2021-01-31 16:48:03.097 T:1576     INFO <general>: EMBY.library.Library -> --[ sync/2021-01-31T15:46:03z ]

Im back @5.1.9 and now it works.

Edited by loomes
Link to comment
Share on other sites

quickmic

ok, I'll check that. What was your approach? Is this an incremental sync issue or full sync?

Edited by quickmic
Link to comment
Share on other sites

That was the automatic incremental sync.

Kodi is running, i add a new episode on the server and after some time ~30sec-60sec the e4k addon becomes the info that some data has changed and read the changes.

Link to comment
Share on other sites

quickmic

Just checking. Did it work before? I mean, the issue was not in 5.1.9, yes. but was a new episode actually added to the lib?

Cause this was a problem with music library before, no issue but not synced.

Link to comment
Share on other sites

Yes i copied a mkv to the Series Folder on the Emby Server and then i clicked "search for missing metadata" on the Series in Emby Server.
And yes, after downgrade to 5.1.9 and a new scan of the series on the server (to trigger the update on e4k again) the episode was added in kodi.

Edited by loomes
  • Thanks 1
Link to comment
Share on other sites

quickmic

New Version available 5.1.11:

You can load from here, or wait till repo is synced.
http://embydata.com/downloads/addons/xbmb3c/multi-repo/beta-leia/plugin.video.emby-next-gen/plugin.video.emby-next-gen-5.1.11.zip

Fixes:
Sync issues.

Node unicode issues

German language file updated


 
New:
-

Known issues:
Multiserver not working
Dynamic lists slow/artwork
Edge case issues on music sync
Cancel not working on Multi video selection
Incremental sync remove issue (maybe)

 


 

Edited by quickmic
Link to comment
Share on other sites

quickmic

@loomes

Can you please perform a quick test.

 

It should work, but this is not the final approach. I used a shortcut, not very elegant.

And I see, there is also an issue if you remove an episode. This takes a bit longer to fix.

 

  • Like 1
Link to comment
Share on other sites

Have you ever tought to host the code on github? Then its possible to change/fix things and send a pull request. Also it was easyer to track the code changes when something breaks after a update.

Link to comment
Share on other sites

quickmic

I'll check it in, as soon I release the first stable version. While beta, there are massive changes in the code. Even file structure changed. Makes no sense, changes would be just confusing at this point.

  • Like 1
Link to comment
Share on other sites

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...