Jump to content

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


Recommended Posts

Posted
50 minutes ago, DarWun said:

@quickmicAfter updating to LibreElec 11.0.6 earlier tonight, E4K is no longer syncing content with my Emby server (Synology DS918+). This (in)conveniently coincides with updating to Emby Beta 4.9.0.0. I have selected the option to reset the database in E4K, and nothing seems to happen. I've attached the Kodi log and the Emby server log that captures the attempted reset.

I'm going to roll back the server to Stable 4.8.80 to see if that fixes things. But based on the errors I see in the kodi.log I'm suspecting that the issue is due to the LibreElec upddate. I'll post back with my findings as my testing proceeds.

embyserver.txt 94.87 kB · 0 downloads kodi.log 99.97 kB · 0 downloads

Rolling back both Emby and LibreElec did not resolve the issue. So I'm restoring a backup of the Rpi4 SD card from a few weeks ago. Hopefully that gets things back on track, and helps with troubleshooting the issue.

quickmic
Posted (edited)
3 hours ago, DarWun said:

Rolling back both Emby and LibreElec did not resolve the issue. So I'm restoring a backup of the Rpi4 SD card from a few weeks ago. Hopefully that gets things back on track, and helps with troubleshooting the issue.

For some reason, there is an issue with the databases. I don't know why (maybe a interrupted/unfinished update procedure). I would manually remove the myvideo.db, mymusic.db amd emby.db from Kodis's userdata Database folder.

 

btw, the plugin already tries to reset the database, but cannot cause it's corrupt..

2024-02-05 19:36:34.465 T:1033     info <general>: EMBY.helper.pluginmenu: [ database reset ]
2024-02-05 19:36:40.181 T:1033     info <general>: EMBY.database.dbio: DBOpenRW: Waiting video / databasereset

Maybe before you delete the databases, you can send me (via PM) the same log in debug mode? Then I could try to intercept this issue.

 

Edited by quickmic
  • Thanks 1
quickmic
Posted
11 hours ago, FrostByte said:

Emby server 4.8 has a new node called Recently Released Movies.  Was wondering if you could add something similar next round.  Kind of a combination of several current nodes.


<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="5" type="filter">
    <label>Recently Released Movies</label>
    <icon>DefaultRecentlyAddedMovies.png</icon>
    <content>movies</content>
    <match>all</match>
    <rule field="tag" operator="is">Movies</rule>
	<order direction="descending">year</order>
	<limit>25</limit>
</node>

Or, a Recently Released Unwatched Movies


<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="5" type="filter">
    <label>Recently Released Unwatched Movies</label>
    <icon>DefaultRecentlyAddedMovies.png</icon>
    <content>movies</content>
    <match>all</match>
    <rule field="tag" operator="is">Movies</rule>
	<rule field="playcount" operator="is">0</rule>
	<order direction="descending">year</order>
	<limit>25</limit>
</node>

 

Ok then I'll add both of these nodes. in 10.X

  • Thanks 1
quickmic
Posted

New BETA version available 9.4.9:

Delta changelog 9.4.8 -> 9.4.9

fix dynamic nodes folder selection, when folder has multiple content types included (e.g. pictures)
fix delete after played option

  • Like 1
Posted

I  know this is not really helpful, but somehow the recent updates completely screwed up EmbyForKodi. I don't know what happened, I just had automatic updates turned on (as this worked without problems for months), and then yesterday the interaction between Emby and Kodi was messed up. At first I could no longer log in to the Emby server (logs said something about DeviceID problems), then after deleting the server data I was not able to enter credentials (login dialog simply did not accept pressing "enter"), and then after completely resetting the plugin settings and the Databases I was able to log in again, but I got no library content.

Downgrading to the last 8.x version manually made everything work again.

I know, not much information, but priority for me was getting the home cinema to work again for the family...

quickmic
Posted
1 minute ago, Nosepull said:

I  know this is not really helpful, but somehow the recent updates completely screwed up EmbyForKodi. I don't know what happened, I just had automatic updates turned on (as this worked without problems for months), and then yesterday the interaction between Emby and Kodi was messed up. At first I could no longer log in to the Emby server (logs said something about DeviceID problems), then after deleting the server data I was not able to enter credentials (login dialog simply did not accept pressing "enter"), and then after completely resetting the plugin settings and the Databases I was able to log in again, but I got no library content.

Downgrading to the last 8.x version manually made everything work again.

I know, not much information, but priority for me was getting the home cinema to work again for the family...

Without logs and additional info, I cannot help you.

Posted
18 hours ago, quickmic said:

For some reason, there is an issue with the databases. I don't know why (maybe a interrupted/unfinished update procedure). I would manually remove the myvideo.db, mymusic.db amd emby.db from Kodis's userdata Database folder.

.

.

.

 

Maybe before you delete the databases, you can send me (via PM) the same log in debug mode? Then I could try to intercept this issue.

 

Too late to provide a log before deleting the databases @quickmic. Sorry. After rolling back both LibreElec and the Emby Beta didn't resolve the issue, I restored a backup from a few weeks ago to the Rpi4 SD card. That was going to take six hours to complete, so I let the restore run overnight. When I got home tonight, I stepped through all the setup steps to get back to where things were before the database corruption. This time there was not an issue.

I'm going to have to assume there was some "fluke" corruption to the data on the SD card during the original upgrade to LibreElec 11.0.6. Even though things seem to be working now, I'm probably going to retire the old SD card and get a new one just to be safe.

Thanks for your troubleshooting advice!

  • Like 1
Posted

hey my kodi addon updated yesterday, now external player like mpc-hc not working, mpchc open but says:
C:\Program Files\MPC-HC\mpc-hc64.exe /emby_addon_mode/movies/c162d6eda268424e84b0f45be12eae80/77031/m-179276-be7e457ab0247daf1a7a05e37a857399-1136-1164-0-1-0-0-0-0-h264-19011468-ac3-640000--Noche_de_Paz__2023___BDRip_1080p_AVC_ES_DD_5.1__HDO_.mkv /fullscreen /close

log:
 

024-02-07 00:38:42.334 T:48980    info <general>: ExternalPlayer Tweaks: hideconsole (false), hidexbmc (false), islauncher (false), warpcursor (none)
2024-02-07 00:38:42.334 T:48980    info <general>: CExternalPlayer::OpenFile: /emby_addon_mode/movies/c162d6eda268424e84b0f45be12eae80/77031/m-179275-9e5d3934d8687faa703ba937e3a2e722-626-654-0-1-0-0-0-0-h264-7819171-eac3-576000--La_generaci__n_c__psula__2023___WEB_DL_1080p_AVC_ES_DD__5.1_Subs_HDO.mkv
2024-02-07 00:38:42.335 T:57052    info <general>: CExternalPlayer::Process: Player : C:\Program Files\MPC-HC\mpc-hc64.exe
2024-02-07 00:38:42.335 T:57052    info <general>: CExternalPlayer::Process: File   : /emby_addon_mode/movies/c162d6eda268424e84b0f45be12eae80/77031/m-179275-9e5d3934d8687faa703ba937e3a2e722-626-654-0-1-0-0-0-0-h264-7819171-eac3-576000--La_generaci__n_c__psula__2023___WEB_DL_1080p_AVC_ES_DD__5.1_Subs_HDO.mkv
2024-02-07 00:38:42.335 T:57052    info <general>: CExternalPlayer::Process: Content: 
2024-02-07 00:38:42.335 T:57052    info <general>: CExternalPlayer::Process: Args   : "{1}" /fullscreen /close
2024-02-07 00:38:42.335 T:57052    info <general>: CExternalPlayer::Process: Start
2024-02-07 00:38:42.335 T:57052    info <general>: CExternalPlayer::Process: Lowering Kodi window


 

quickmic
Posted (edited)
4 hours ago, tomimc said:

hey my kodi addon updated yesterday, now external player like mpc-hc not working, mpchc open but says:
C:\Program Files\MPC-HC\mpc-hc64.exe /emby_addon_mode/movies/c162d6eda268424e84b0f45be12eae80/77031/m-179276-be7e457ab0247daf1a7a05e37a857399-1136-1164-0-1-0-0-0-0-h264-19011468-ac3-640000--Noche_de_Paz__2023___BDRip_1080p_AVC_ES_DD_5.1__HDO_.mkv /fullscreen /close

log:
 

024-02-07 00:38:42.334 T:48980    info <general>: ExternalPlayer Tweaks: hideconsole (false), hidexbmc (false), islauncher (false), warpcursor (none)
2024-02-07 00:38:42.334 T:48980    info <general>: CExternalPlayer::OpenFile: /emby_addon_mode/movies/c162d6eda268424e84b0f45be12eae80/77031/m-179275-9e5d3934d8687faa703ba937e3a2e722-626-654-0-1-0-0-0-0-h264-7819171-eac3-576000--La_generaci__n_c__psula__2023___WEB_DL_1080p_AVC_ES_DD__5.1_Subs_HDO.mkv
2024-02-07 00:38:42.335 T:57052    info <general>: CExternalPlayer::Process: Player : C:\Program Files\MPC-HC\mpc-hc64.exe
2024-02-07 00:38:42.335 T:57052    info <general>: CExternalPlayer::Process: File   : /emby_addon_mode/movies/c162d6eda268424e84b0f45be12eae80/77031/m-179275-9e5d3934d8687faa703ba937e3a2e722-626-654-0-1-0-0-0-0-h264-7819171-eac3-576000--La_generaci__n_c__psula__2023___WEB_DL_1080p_AVC_ES_DD__5.1_Subs_HDO.mkv
2024-02-07 00:38:42.335 T:57052    info <general>: CExternalPlayer::Process: Content: 
2024-02-07 00:38:42.335 T:57052    info <general>: CExternalPlayer::Process: Args   : "{1}" /fullscreen /close
2024-02-07 00:38:42.335 T:57052    info <general>: CExternalPlayer::Process: Start
2024-02-07 00:38:42.335 T:57052    info <general>: CExternalPlayer::Process: Lowering Kodi window


 

Your external player cannot handle path substitution. Disable "use path substitution" in plugin's (sync) menu.

 

Edited by quickmic
Posted (edited)
23 hours ago, quickmic said:

New BETA version available 9.4.9:

Delta changelog 9.4.8 -> 9.4.9

fix dynamic nodes folder selection, when folder has multiple content types included (e.g. pictures)
fix delete after played option

Played a few shows this evening and is deleting them but get no yes/no confirmation  popping up.

Just deletes them automatically

 

Just watched something else and it worked properly this time

Edited by Glyde62
quickmic
Posted
4 hours ago, Glyde62 said:

Played a few shows this evening and is deleting them but get no yes/no confirmation  popping up.

Just deletes them automatically

 

Just watched something else and it worked properly this time

Sounds like a focus issue. Any pattern, probably autoplay episode next?

feerlessleadr
Posted

@quickmicmy plugin updated from 8.x to 9.4.9, and I was prompted to reset the kodi library and re-sync. I reset the library, restarted kodi, logged back into my server, and started syncing my movies & TV shows, but the sync process fails when it gets to start adding TV seasons. I tried starting with a fresh kodi install and directly installing 9.4.9, but get the same issue. I then started fresh again, reinstalled the latest 8.x version and then re-upgraded t0 9.4.9, and the initial sync fails in the same general spot:

2024-02-07 23:05:26.571 T:10747    info <general>: EMBY.core.season: ADD [317 / 224] Season 1: 317798
2024-02-07 23:05:26.572 T:10747    info <general>: EMBY.core.season: ADD [346 / 225] Season 1: 137781
2024-02-07 23:05:26.573 T:10747    info <general>: EMBY.core.season: ADD [197 / 226] Season 1: 142634
2024-02-07 23:05:26.575 T:10747    info <general>: EMBY.core.season: ADD [234 / 227] Season 1: 33043
2024-02-07 23:05:26.577 T:10747    info <general>: EMBY.core.season: ADD [265 / 228] Season 1: 1060738
2024-02-07 23:05:26.578 T:10747    info <general>: EMBY.core.season: ADD [435 / 229] Season 1: 122658
2024-02-07 23:05:26.579 T:10747    info <general>: EMBY.core.season: ADD [5 / 230] Season 1: 141178
2024-02-07 23:05:26.605 T:10747   error <general>: Exception ignored in thread started by
2024-02-07 23:05:26.606 T:10747   error <general>: : 
2024-02-07 23:05:26.606 T:10747   error <general>: <bound method Library.KodiStartSync of <database.library.Library object at 0x2f69d4b890>>
2024-02-07 23:05:26.606 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.606 T:10747   error <general>: Traceback (most recent call last):
                                                   
2024-02-07 23:05:26.606 T:10747   error <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby-next-gen/database/library.py", line 144, in KodiStartSync
                                                   
2024-02-07 23:05:26.606 T:10747   error <general>:     
2024-02-07 23:05:26.606 T:10747   error <general>: self.select_libraries("AddLibrarySelection")
2024-02-07 23:05:26.606 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.607 T:10747   error <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby-next-gen/database/library.py", line 862, in select_libraries
                                                   
2024-02-07 23:05:26.608 T:10747   error <general>:     
2024-02-07 23:05:26.608 T:10747   error <general>: self.RunJobs()
2024-02-07 23:05:26.608 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.608 T:10747   error <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby-next-gen/database/library.py", line 656, in RunJobs
                                                   
2024-02-07 23:05:26.609 T:10747   error <general>:     
2024-02-07 23:05:26.610 T:10747   error <general>: self.worker_library()
2024-02-07 23:05:26.610 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.610 T:10747   error <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby-next-gen/database/library.py", line 538, in worker_library
                                                   
2024-02-07 23:05:26.610 T:10747   error <general>:     
2024-02-07 23:05:26.611 T:10747   error <general>: Continue, SQLs = self.ItemOps(SyncItemProgress, ItemIndex, Item, SQLs, WorkerName, KodiDBs, ProgressBar)
2024-02-07 23:05:26.611 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.611 T:10747   error <general>:  
2024-02-07 23:05:26.611 T:10747    info <general>: Skipped 20 duplicate messages..
2024-02-07 23:05:26.611 T:10747   error <general>: ^
2024-02-07 23:05:26.613 T:10747    info <general>: Skipped 86 duplicate messages..
2024-02-07 23:05:26.613 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.613 T:10747   error <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby-next-gen/database/library.py", line 567, in ItemOps
                                                   
2024-02-07 23:05:26.614 T:10747   error <general>:     
2024-02-07 23:05:26.614 T:10747   error <general>: Ret = self.ContentObject.change(Item)
2024-02-07 23:05:26.614 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.614 T:10747   error <general>:  
2024-02-07 23:05:26.615 T:10747    info <general>: Skipped 9 duplicate messages..
2024-02-07 23:05:26.615 T:10747   error <general>: ^
2024-02-07 23:05:26.615 T:10747    info <general>: Skipped 30 duplicate messages..
2024-02-07 23:05:26.615 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.615 T:10747   error <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby-next-gen/core/season.py", line 21, in change
                                                   
2024-02-07 23:05:26.616 T:10747   error <general>:     
2024-02-07 23:05:26.616 T:10747   error <general>: common.set_ItemsDependencies(item, self.SQLs, self.SeriesObject, self.EmbyServer, "Series")
2024-02-07 23:05:26.616 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.616 T:10747   error <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby-next-gen/core/common.py", line 962, in set_ItemsDependencies
                                                   
2024-02-07 23:05:26.617 T:10747   error <general>:     
2024-02-07 23:05:26.617 T:10747   error <general>: Item[SubItemId] = SQLs["emby"].get_EmbyId_by_EmbyPresentationKey(SearchPresentationUniqueKey)
2024-02-07 23:05:26.617 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.618 T:10747   error <general>:  
2024-02-07 23:05:26.618 T:10747    info <general>: Skipped 21 duplicate messages..
2024-02-07 23:05:26.618 T:10747   error <general>: ^
2024-02-07 23:05:26.620 T:10747    info <general>: Skipped 74 duplicate messages..
2024-02-07 23:05:26.620 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.620 T:10747   error <general>: TypeError
2024-02-07 23:05:26.620 T:10747   error <general>: : 
2024-02-07 23:05:26.620 T:10747   error <general>: EmbyDatabase.get_EmbyId_by_EmbyPresentationKey() missing 1 required positional argument: 'EmbyType'
2024-02-07 23:05:26.620 T:10747   error <general>:

After the sync fails and I restart kodi, it starts syncing again from the beginning, but then all of the library items are duplicated, and it fails again in the same general spot. It will continue to do that as long as I restart kodi. Please let me know if I'm doing anything wrong. Here is the full log:

 

kodi.log

quickmic
Posted
11 minutes ago, feerlessleadr said:

@quickmicmy plugin updated from 8.x to 9.4.9, and I was prompted to reset the kodi library and re-sync. I reset the library, restarted kodi, logged back into my server, and started syncing my movies & TV shows, but the sync process fails when it gets to start adding TV seasons. I tried starting with a fresh kodi install and directly installing 9.4.9, but get the same issue. I then started fresh again, reinstalled the latest 8.x version and then re-upgraded t0 9.4.9, and the initial sync fails in the same general spot:

2024-02-07 23:05:26.571 T:10747    info <general>: EMBY.core.season: ADD [317 / 224] Season 1: 317798
2024-02-07 23:05:26.572 T:10747    info <general>: EMBY.core.season: ADD [346 / 225] Season 1: 137781
2024-02-07 23:05:26.573 T:10747    info <general>: EMBY.core.season: ADD [197 / 226] Season 1: 142634
2024-02-07 23:05:26.575 T:10747    info <general>: EMBY.core.season: ADD [234 / 227] Season 1: 33043
2024-02-07 23:05:26.577 T:10747    info <general>: EMBY.core.season: ADD [265 / 228] Season 1: 1060738
2024-02-07 23:05:26.578 T:10747    info <general>: EMBY.core.season: ADD [435 / 229] Season 1: 122658
2024-02-07 23:05:26.579 T:10747    info <general>: EMBY.core.season: ADD [5 / 230] Season 1: 141178
2024-02-07 23:05:26.605 T:10747   error <general>: Exception ignored in thread started by
2024-02-07 23:05:26.606 T:10747   error <general>: : 
2024-02-07 23:05:26.606 T:10747   error <general>: <bound method Library.KodiStartSync of <database.library.Library object at 0x2f69d4b890>>
2024-02-07 23:05:26.606 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.606 T:10747   error <general>: Traceback (most recent call last):
                                                   
2024-02-07 23:05:26.606 T:10747   error <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby-next-gen/database/library.py", line 144, in KodiStartSync
                                                   
2024-02-07 23:05:26.606 T:10747   error <general>:     
2024-02-07 23:05:26.606 T:10747   error <general>: self.select_libraries("AddLibrarySelection")
2024-02-07 23:05:26.606 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.607 T:10747   error <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby-next-gen/database/library.py", line 862, in select_libraries
                                                   
2024-02-07 23:05:26.608 T:10747   error <general>:     
2024-02-07 23:05:26.608 T:10747   error <general>: self.RunJobs()
2024-02-07 23:05:26.608 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.608 T:10747   error <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby-next-gen/database/library.py", line 656, in RunJobs
                                                   
2024-02-07 23:05:26.609 T:10747   error <general>:     
2024-02-07 23:05:26.610 T:10747   error <general>: self.worker_library()
2024-02-07 23:05:26.610 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.610 T:10747   error <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby-next-gen/database/library.py", line 538, in worker_library
                                                   
2024-02-07 23:05:26.610 T:10747   error <general>:     
2024-02-07 23:05:26.611 T:10747   error <general>: Continue, SQLs = self.ItemOps(SyncItemProgress, ItemIndex, Item, SQLs, WorkerName, KodiDBs, ProgressBar)
2024-02-07 23:05:26.611 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.611 T:10747   error <general>:  
2024-02-07 23:05:26.611 T:10747    info <general>: Skipped 20 duplicate messages..
2024-02-07 23:05:26.611 T:10747   error <general>: ^
2024-02-07 23:05:26.613 T:10747    info <general>: Skipped 86 duplicate messages..
2024-02-07 23:05:26.613 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.613 T:10747   error <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby-next-gen/database/library.py", line 567, in ItemOps
                                                   
2024-02-07 23:05:26.614 T:10747   error <general>:     
2024-02-07 23:05:26.614 T:10747   error <general>: Ret = self.ContentObject.change(Item)
2024-02-07 23:05:26.614 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.614 T:10747   error <general>:  
2024-02-07 23:05:26.615 T:10747    info <general>: Skipped 9 duplicate messages..
2024-02-07 23:05:26.615 T:10747   error <general>: ^
2024-02-07 23:05:26.615 T:10747    info <general>: Skipped 30 duplicate messages..
2024-02-07 23:05:26.615 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.615 T:10747   error <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby-next-gen/core/season.py", line 21, in change
                                                   
2024-02-07 23:05:26.616 T:10747   error <general>:     
2024-02-07 23:05:26.616 T:10747   error <general>: common.set_ItemsDependencies(item, self.SQLs, self.SeriesObject, self.EmbyServer, "Series")
2024-02-07 23:05:26.616 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.616 T:10747   error <general>:   File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.emby-next-gen/core/common.py", line 962, in set_ItemsDependencies
                                                   
2024-02-07 23:05:26.617 T:10747   error <general>:     
2024-02-07 23:05:26.617 T:10747   error <general>: Item[SubItemId] = SQLs["emby"].get_EmbyId_by_EmbyPresentationKey(SearchPresentationUniqueKey)
2024-02-07 23:05:26.617 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.618 T:10747   error <general>:  
2024-02-07 23:05:26.618 T:10747    info <general>: Skipped 21 duplicate messages..
2024-02-07 23:05:26.618 T:10747   error <general>: ^
2024-02-07 23:05:26.620 T:10747    info <general>: Skipped 74 duplicate messages..
2024-02-07 23:05:26.620 T:10747   error <general>: 
                                                   
2024-02-07 23:05:26.620 T:10747   error <general>: TypeError
2024-02-07 23:05:26.620 T:10747   error <general>: : 
2024-02-07 23:05:26.620 T:10747   error <general>: EmbyDatabase.get_EmbyId_by_EmbyPresentationKey() missing 1 required positional argument: 'EmbyType'
2024-02-07 23:05:26.620 T:10747   error <general>:

After the sync fails and I restart kodi, it starts syncing again from the beginning, but then all of the library items are duplicated, and it fails again in the same general spot. It will continue to do that as long as I restart kodi. Please let me know if I'm doing anything wrong. Here is the full log:

 

kodi.log 12.11 MB · 0 downloads

I see the problem, please try this version. You may factory reset the plugin after sync, cause I think you will have doubles coming from the broken sync in 9.4.9.

 

plugin.video.emby-next-gen-9.4.10 build 1.zip

quickmic
Posted (edited)

@feerlessleadr

btw, the issue was triggered cause there was a season synced not assigned to a TVShow which is not good in the first place The plugin should handled this situation but there was a bug in the code. However, you may check that on Emby library as well.

I'll further review this issue later... The 9.4.10 is just a quick workaround...

Edited by quickmic
feerlessleadr
Posted (edited)
4 minutes ago, quickmic said:

@feerlessleadr

btw, the issue was triggered cause there was a season synced not assigned to a TVShow which is not good in the first place The plugin should handled this situation but there was a bug in the code. However, you may check that on Emby library as well.

Thanks for the heads up. I'm re-running the sync now, and it made it past that point, so appears to be fixed (although it's stil syncing, so can't confirm 100%). 

Is there a way to tell where that might be in emby? As far as I'm aware, I'm not sure where I would even look to find a season not assigned to a TV show in emby. 

::EDIT:: Just to confirm, the sync completed successfully, so that def solved my issue. 

Edited by feerlessleadr
quickmic
Posted
1 minute ago, feerlessleadr said:

Thanks for the heads up. I'm re-running the sync now, and it made it past that point, so appears to be fixed (although it's stil syncing, so can't confirm 100%). 

Is there a way to tell where that might be in emby? As far as I'm aware, I'm not sure where I would even look to find a season not assigned to a TV show in emby. 

Send me a debug log via PM after init sync an I'll check.

feerlessleadr
Posted
6 minutes ago, quickmic said:

Send me a debug log via PM after init sync an I'll check.

Thanks, just sent via PM

  • Like 1
quickmic
Posted

New BETA version available 9.4.10:

Delta changelog 9.4.9 -> 9.4.10

fix minor sync issue

LittleWizard
Posted

In 9.x unserd Dynamic nodes> Recordings (which is a mixed content library)> Folders i see folders of my recordings but when I open the single folde rof a show, I don't see anything in it, no file. There should be one file for each episode / film. On 8.x it did work. How can I do? That libray contains shows and movies recorded on TV by Emby. Thanks!

quickmic
Posted
8 minutes ago, LittleWizard said:

In 9.x unserd Dynamic nodes> Recordings (which is a mixed content library)> Folders i see folders of my recordings but when I open the single folde rof a show, I don't see anything in it, no file. There should be one file for each episode / film. On 8.x it did work. How can I do? That libray contains shows and movies recorded on TV by Emby. Thanks!

I just check and I see my recordings via folder view for dynamic nodes. Something must be different as in my setup. I'll check.

quickmic
Posted

@LittleWizard

What happens, when you brose via WebUI (in folder view). I see the season and in the season the episode.

LittleWizard
Posted

I'll check too, but I had this problem also with previous 9.x versions.

Keep in mind that the recodings I have are identified as TvShows, but with no season or episode.

emby recorder create a folder for each tvshow for example I have a folder "Le Iene" and inside. A file for each recording for example "Le Iene %date %time - Entertainment". As for metadata they only have a generic Entertainment as title, no episode number or season number. I don't care about populating them because I delete them once watched.

LittleWizard
Posted
1 minute ago, quickmic said:

@LittleWizard

What happens, when you brose via WebUI (in folder view). I see the season and in the season the episode.

In web view its everything ok. I see folder Le Iene and inside two files with the same name (entertainment), but they have different dates and are two episodes

quickmic
Posted
Just now, LittleWizard said:

In web view its everything ok. I see folder Le Iene and inside two files with the same name (entertainment), but they have different dates and are two episodes

Not on my setup. I see in folder view (Emby WebUI) the seasons. Even if would show episodes or other content, the plugin will show them too.

LittleWizard
Posted

Same identical node worked in 8.x.

Also, this problem was present also with previous server version.

Don't know if this does mean anything, but I noticed that when I clear Kodi db, restart kodi and sync Embyforkodi 9.x for the first time, when sync is ended, I see anything under movies or tvshows. I have to close kodi again and reopen and now my library is populated. It seems to me that with 8.x version I don't have to restart kodi, but maybe I'm wrong or maybe is the last kodi update that changed this behaviour.

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