Jump to content

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


Recommended Posts

e123enitan
Posted
10 hours ago, quickmic said:

Can you please take a screenshot what artwork is missing?

"I’m running into an annoying issue where Kodi Boxset scans my library every time it restarts. This background process slows down the loading of my Live TV channels and EPG, forcing me to wait until the scan finishes. Since I haven't added any new movies to my collection in months, I’d like to disable this automatic startup scan. Do you know how to turn this off?"

https://paste.kodi.tv/ikorakogun

 

screenshot00004.thumb.png.77238890e930a6ce684ed1681d20181c.pngscreenshot00003.thumb.png.9cdcf8a371176b6bb1648b1cb1ae6d6e.pngscreenshot00002.thumb.png.853e67d97417598766e292d207df39a0.pngscreenshot00001.thumb.png.becff736352fef9c0452676ad7ca12da.pngscreenshot00000.thumb.png.f8d65a5adb980d50677dfcd1b88169c5.pngscreenshot00005.thumb.png.d28ad324739c2af67cf47a3641821deb.png

 

 

 

 

Posted (edited)
10 hours ago, e123enitan said:

"I’m running into an annoying issue where Kodi Boxset scans my library every time it restarts. This background process slows down the loading of my Live TV channels and EPG, forcing me to wait until the scan finishes. Since I haven't added any new movies to my collection in months, I’d like to disable this automatic startup scan. Do you know how to turn this off?"

You cannot turn this off, unless you turn off the complete start sync which is not recommended. Frankly, I think something has changed in your boxsets or movies (assigned to a boxset). It's not assignment only.

Emby server reports something has changed (could be artwork, could be metadata, anything). Also when a movie has changed and it's assigned to a boxset, this could trigger boxset and movie update. I think something of your Emby server tasks changes metadata.

You can test that by starting Kodi, wait for sync complete, turn off and on Kodi and the sync should not appear the second time.

Let me know, how the test goes.

btw, your youtube plugin is broken.

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

Hi.

I am running version 12.4.10 with CoreELEC 22.0-Piers_alpha2 (based on Kodi Piers v22.0 Alpha 2) and Emby Server 4.8.8.0.

I notice that, when I start playing a movie or TV Show, it does not start. The first frame is shown in the screen, but I have to push Pause and then Play again to make it actually play. It is happening since I migrated to 12.x branch with 12.4.3. Before this, I was with 11.x branch. For example, with 11.1.22 this was not happening (but, I think I was with Kodi Omega v21.3 or v21.2 then). I have not said anything since there was a lot of development then and maybe it was fixed by itself.

I am not sure if it is because of the plugin or due to Kodi.

Do you have any hint about this?

Thanks!

Please send me a debug log via PM. Also check you Kodi caching/buffer setting. I think they have changed in Kodi 22, no longer located in the advancedsettings.xml.

Edited by quickmic
Posted (edited)

New PUBLIC TESTING version available 12.4.11:

Delta changelog 12.4.10 -> 12.4.11

fix settings
fix folder delete sync

Edited by quickmic
Posted (edited)

I'm pretty sure this falls into E4K territory to ask...

I've just created a new Library in my Emby server called Sports of type "TV Shows". I went into the E4K settings and added Sports as a new library to manage.

I do not see shows from this library showing up in my TV listing. Should I expect them to be there since both libraries are "TV Shows"? 

image.png.eb371832329ad08dc39369161d822484.png

 

Oh yeah. Still on 12.4.5 for now, but will likely update to 12.4.11 soon, if that matters.

Edited by TheFreeMan
Posted
4 hours ago, TheFreeMan said:

I'm pretty sure this falls into E4K territory to ask...

I've just created a new Library in my Emby server called Sports of type "TV Shows". I went into the E4K settings and added Sports as a new library to manage.

I do not see shows from this library showing up in my TV listing. Should I expect them to be there since both libraries are "TV Shows"? 

image.png.eb371832329ad08dc39369161d822484.png

 

Oh yeah. Still on 12.4.5 for now, but will likely update to 12.4.11 soon, if that matters.

Did you sync it? New libraries are not automatically added.

Posted

Hi guys

First: english is not my mother language, so sorry for errors :)

I have a Problem with sync my Emby with Kodi on a Libreelec on Raspi4. It stops syncing on series.  I manage to reproduce the error with an other installation on a windows PC.

 I will attach the log. But i think the line 

 

Quote

error <general>: EMBY.core.series: Name or Path not found: {'LibraryId': '1455', 'PlaylistId': ''}

is the main problem.

 

I look in the EmbyDatabase library.db and ID 1455 is this:

image.thumb.png.62763faaeb55be94e95a63a0a017c853.png

 

What can i do to fix the problem?

 

  Feel free to write if you need mor infos.

kodi.log

TheFreeMan
Posted
7 hours ago, quickmic said:

Did you sync it? New libraries are not automatically added.

Sorry, that wasn't clear. Yes, I added it to the list of managed libraries in the E4K settings.

quickmic
Posted
6 hours ago, TheFreeMan said:

Sorry, that wasn't clear. Yes, I added it to the list of managed libraries in the E4K settings.

So you did the sync? And what is the actual issue. Do you think there will be a new TVSHow section in the main menu? At least I got this impression and that's not how it works. You need do customize the skin, otherwise it's mixed in the the existing/default TVShow node. Or are you sying, it's not synced at all? If so, I need a kodi.log for review.

quickmic
Posted (edited)
10 hours ago, Megapit said:

Hi guys

First: english is not my mother language, so sorry for errors :)

I have a Problem with sync my Emby with Kodi on a Libreelec on Raspi4. It stops syncing on series.  I manage to reproduce the error with an other installation on a windows PC.

 I will attach the log. But i think the line 

 

is the main problem.

 

I look in the EmbyDatabase library.db and ID 1455 is this:

image.thumb.png.62763faaeb55be94e95a63a0a017c853.png

 

What can i do to fix the problem?

 

  Feel free to write if you need mor infos.

kodi.log 85.37 kB · 0 downloads

I can see the issue but now idea what you are syncing. That kind of playlists are you syncing? This is actually the first issue.

This %RootFolderPath% seems totally wrong and is independent from the playlist issue. This is a TVShow series issue.

Sure I can easily fix it, but I would be prefer to know the reason for this problem. 

Edited by quickmic
TheFreeMan
Posted
8 hours ago, quickmic said:

So you did the sync? And what is the actual issue. Do you think there will be a new TVSHow section in the main menu? At least I got this impression and that's not how it works. You need do customize the skin, otherwise it's mixed in the the existing/default TVShow node. Or are you sying, it's not synced at all? If so, I need a kodi.log for review.

Sorry, quickmic, having difficulties communicating well...

First I added a new Library in Emby, called "Sports" of type "TV Shows"

Then, I added that library to be monitored in E4K on my LibreElec instance.

Then, I hoped to be able to see anything added to the Sports library mixed in with all my other TV Shows under the same TV Show main menu node that I've already got. 
I just forced an update, then scanned through my TV shows and do not see either "Formula 1" or "V8 Supercars" as are shown in Emby: image.png.8a27d64e0e261a956bfb4c3d59be406e.png

 

Log file, which should include the library refresh is attached.

log-2026-02-20-02.46.16.zip

quickmic
Posted (edited)
1 hour ago, TheFreeMan said:

Sorry, quickmic, having difficulties communicating well...

First I added a new Library in Emby, called "Sports" of type "TV Shows"

Then, I added that library to be monitored in E4K on my LibreElec instance.

Then, I hoped to be able to see anything added to the Sports library mixed in with all my other TV Shows under the same TV Show main menu node that I've already got. 
I just forced an update, then scanned through my TV shows and do not see either "Formula 1" or "V8 Supercars" as are shown in Emby: image.png.8a27d64e0e261a956bfb4c3d59be406e.png

 

Log file, which should include the library refresh is attached.

log-2026-02-20-02.46.16.zip 5.16 MB · 0 downloads

  

Well, I can see you added a library "2026-02-19 21:31:31.199 T:3837     info <general>: EMBY.database.library: ---[ Emby server a8024ae81b3f418796a64b05f5b44644: added library: 448605 ]" and also the plugin syncs it.

2026-02-18 18:58:15.448 T:3827     info <general>: EMBY.database.library: [ a8024ae81b3f418796a64b05f5b44644_kodi_start_sync ] Sports / Tag
2026-02-18 18:58:15.449 T:3827     info <general>: EMBY.database.library: [ a8024ae81b3f418796a64b05f5b44644_kodi_start_sync ] Sports / Studio
2026-02-18 18:58:15.450 T:3827     info <general>: EMBY.database.library: [ a8024ae81b3f418796a64b05f5b44644_kodi_start_sync ] Sports / Genre
2026-02-18 18:58:15.451 T:3827     info <general>: EMBY.database.library: [ a8024ae81b3f418796a64b05f5b44644_kodi_start_sync ] Sports / Series
2026-02-18 18:58:15.452 T:3827     info <general>: EMBY.database.library: [ a8024ae81b3f418796a64b05f5b44644_kodi_start_sync ] Sports / Season
2026-02-18 18:58:15.453 T:3827     info <general>: EMBY.database.library: [ a8024ae81b3f418796a64b05f5b44644_kodi_start_sync ] Sports / Episode
2026-02-18 18:58:15.455 T:3827     info <general>: EMBY.database.library: [ a8024ae81b3f418796a64b05f5b44644_kodi_start_sync ] Sports / BoxSet
2026-02-18 18:58:15.456 T:3827     info <general>: EMBY.database.library: [ a8024ae81b3f418796a64b05f5b44644_kodi_start_sync ] Sports / Folder

My first guess is, you (the Emby user in the plugin) might not have permissions for the library. There are no other errors in the log, so basically seems to be fine.

If the permissions are ok, I need your Kodi databases for review.

I need: 

emby_XXX.db

and

MyVideosXXX.db

Also please enable debug log (in the plugin settings), trigger a repair-sync and send me that log too (via PM).

 

btw, you can also try to use dynamic nodes (as a test). Are the Sports Shows listed there?

 

 

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

Hi guys

First: english is not my mother language, so sorry for errors :)

I have a Problem with sync my Emby with Kodi on a Libreelec on Raspi4. It stops syncing on series.  I manage to reproduce the error with an other installation on a windows PC.

 I will attach the log. But i think the line 

 

is the main problem.

 

I look in the EmbyDatabase library.db and ID 1455 is this:

image.thumb.png.62763faaeb55be94e95a63a0a017c853.png

 

What can i do to fix the problem?

 

  Feel free to write if you need mor infos.

kodi.log 85.37 kB · 2 downloads

I checked again your log, seems to be more clear now. It's not related to playlists at all. The series was not synced, and there the season updated crashed. I'll fix the issue, but not sure If I make it properly, as I have no test case for that. I try to simulate your setup, however. Can you give me extra info what the Series location actually is. Also debug log might help, you can enable it in the plugin settings and send it to me via PM, thanks.

Edited by quickmic
Megapit
Posted

Hi quickmic

I made some tests by myself and added some logs to ***\Kodi\addons\plugin.service.emby-next-gen\core\common.py (ok, chatgpt helped :) )

After that i was able to identify the series wich was causing the problem. 

After removing it from the series folder, new emby scan, and then adding it the series was not found in the emby server. 

For me it looks like it was an problem with emby. So i will make some tests more and report it here

Anyway: I will send you the changed code and the resulting logs. Maybee you will find something to make it more stable.

quickmic
Posted (edited)
16 minutes ago, Megapit said:

Hi quickmic

I made some tests by myself and added some logs to ***\Kodi\addons\plugin.service.emby-next-gen\core\common.py (ok, chatgpt helped :) )

After that i was able to identify the series wich was causing the problem. 

After removing it from the series folder, new emby scan, and then adding it the series was not found in the emby server. 

For me it looks like it was an problem with emby. So i will make some tests more and report it here

Anyway: I will send you the changed code and the resulting logs. Maybee you will find something to make it more stable.

Thanks, I add some fixes to intercept this issue, but actually this should never happen in the first place.

What happened, the season metadata included a SeriesId and the plugin tried to sync the series. For some reason, your server did not return valid data (actually no data at all) for the series.

Edited by quickmic

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