Jump to content

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


Recommended Posts

Posted
Hace 8 horas, quickmic dijo:

Todavía no, pero puedo agregar una opción para desactivar esta advertencia en la próxima versión. Ten en cuenta que, sin Kodi Companion, perderás la sincronización al eliminar contenido del servidor.

Sería agradecido si pudiera agregarlo. Gracias.

Posted

Hey! 

I am running kodi 21.1 on my Xbox with emby plugin at version 12.3.5 and emby version 4.9.2.7.

Everytime the emby plugin tries to sync my series database it gets stuck indefinitely. The log is showing some errors in the end. All help would be greatly appreciated since I've had this for a few months now

kodi.log

quickmic
Posted
10 hours ago, diddiman said:

Hey! 

I am running kodi 21.1 on my Xbox with emby plugin at version 12.3.5 and emby version 4.9.2.7.

Everytime the emby plugin tries to sync my series database it gets stuck indefinitely. The log is showing some errors in the end. All help would be greatly appreciated since I've had this for a few months now

kodi.log 80.6 kB · 1 download

Sounds like a corrupt database. If you have access to the filessystem you could try to remove the database so Kodi can rebuild it. Keep in mind, this will wipe all content from Kodi!!!

remove following files:

MyMusicXX.db

MyMusicXX.db-wal (if exists)

MyMusicXX.db-shm (if exists)

MyVideosXX..db

MyVideosXX.db-wal (if exists)

MyVideosXX.db-shm (if exists)

emby_XX.db

emby_XX.db-wal (if exists)

emby_XX.db-shm (if exists)

TexturesXX.db

TexturesXX.db-wal (if exists)

TexturesXX.db-shm (if exists)

... and restart Kodi

Posted (edited)
7 hours ago, quickmic said:

Sounds like a corrupt database. If you have access to the filessystem you could try to remove the database so Kodi can rebuild it. Keep in mind, this will wipe all content from Kodi!!!

remove following files:

MyMusicXX.db

MyMusicXX.db-wal (if exists)

MyMusicXX.db-shm (if exists)

MyVideosXX..db

MyVideosXX.db-wal (if exists)

MyVideosXX.db-shm (if exists)

emby_XX.db

emby_XX.db-wal (if exists)

emby_XX.db-shm (if exists)

TexturesXX.db

TexturesXX.db-wal (if exists)

TexturesXX.db-shm (if exists)

... and restart Kodi

HI again, thanks for the reply. 

 

Tried that, same thing. It keeps getting stuck on the same episode as well for some odd reason.. 

 

Gonna try a complete uninstall/install of kodi and the emby plugin as well 

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

HI again, thanks for the reply. 

 

Tried that, same thing. It keeps getting stuck on the same episode as well for some odd reason.. 

please send me your MyVideosXX.db for review

Posted
5 hours ago, quickmic said:

please send me your MyVideosXX.db for review

For reference I made a clean install on my Linux laptop and that works. I uninstalled and reinstalled kodi on my Xbox and I am now stuck on the same episode in the sync again. Attaching the db

MyVideos131.db

quickmic
Posted
1 hour ago, diddiman said:

For reference I made a clean install on my Linux laptop and that works. I uninstalled and reinstalled kodi on my Xbox and I am now stuck on the same episode in the sync again. Attaching the db

MyVideos131.db 8.14 MB · 0 downloads

Thanks, the database looks clean. Your kodi.log attached in the previous posts reported an internal SQL issue and is not related to any specific episode or content sync.

However it's still an issue but I assume not related to the plugin.

2025-11-30 18:24:51.828 T:1152    error <general>:   File "Q:\Users\UserMgr0\AppData\Local\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalState\addons\plugin.service.emby-next-gen\database\library.py", line 815, in worker_library_add
                                                   
2025-11-30 18:24:51.828 T:1152    error <general>:     
2025-11-30 18:24:51.828 T:1152    error <general>: SQLs["video"].add_Index()
2025-11-30 18:24:51.828 T:1152    error <general>: 
                                                   
2025-11-30 18:24:51.828 T:1152    error <general>:   File "Q:\Users\UserMgr0\AppData\Local\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalState\addons\plugin.service.emby-next-gen\database\video_db.py", line 17, in add_Index
                                                   
2025-11-30 18:24:51.828 T:1152    error <general>:     
2025-11-30 18:24:51.828 T:1152    error <general>: self.cursor.execute("CREATE INDEX IF NOT EXISTS idx_files_strFilename on files (strFilename)")
2025-11-30 18:24:51.828 T:1152    error <general>: 
                                                   
2025-11-30 18:24:51.828 T:1152    error <general>: sqlite3
2025-11-30 18:24:51.828 T:1152    error <general>: .
2025-11-30 18:24:51.828 T:1152    error <general>: OperationalError
2025-11-30 18:24:51.828 T:1152    error <general>: : 
2025-11-30 18:24:51.828 T:1152    error <general>: SQL logic error

If you have an issue with an episode, this sync issue must be included in the kodi.log otherwise I cannot help as seems you have multiple problems with your installation.

Posted
1 hour ago, quickmic said:

Thanks, the database looks clean. Your kodi.log attached in the previous posts reported an internal SQL issue and is not related to any specific episode or content sync.

However it's still an issue but I assume not related to the plugin.

2025-11-30 18:24:51.828 T:1152    error <general>:   File "Q:\Users\UserMgr0\AppData\Local\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalState\addons\plugin.service.emby-next-gen\database\library.py", line 815, in worker_library_add
                                                   
2025-11-30 18:24:51.828 T:1152    error <general>:     
2025-11-30 18:24:51.828 T:1152    error <general>: SQLs["video"].add_Index()
2025-11-30 18:24:51.828 T:1152    error <general>: 
                                                   
2025-11-30 18:24:51.828 T:1152    error <general>:   File "Q:\Users\UserMgr0\AppData\Local\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalState\addons\plugin.service.emby-next-gen\database\video_db.py", line 17, in add_Index
                                                   
2025-11-30 18:24:51.828 T:1152    error <general>:     
2025-11-30 18:24:51.828 T:1152    error <general>: self.cursor.execute("CREATE INDEX IF NOT EXISTS idx_files_strFilename on files (strFilename)")
2025-11-30 18:24:51.828 T:1152    error <general>: 
                                                   
2025-11-30 18:24:51.828 T:1152    error <general>: sqlite3
2025-11-30 18:24:51.828 T:1152    error <general>: .
2025-11-30 18:24:51.828 T:1152    error <general>: OperationalError
2025-11-30 18:24:51.828 T:1152    error <general>: : 
2025-11-30 18:24:51.828 T:1152    error <general>: SQL logic error

If you have an issue with an episode, this sync issue must be included in the kodi.log otherwise I cannot help as seems you have multiple problems with your installation.

It's the episode called "Chapter 29" that fails. 

kodi.log

quickmic
Posted
28 minutes ago, diddiman said:

It's the episode called "Chapter 29" that fails. 

kodi.log 3.51 MB · 0 downloads

This episode does not fail. Your database has an issue when the plugin tries to add the index. Currently not sure what's the problem.

quickmic
Posted (edited)
8 hours ago, diddiman said:

It's the episode called "Chapter 29" that fails. 

kodi.log 3.51 MB · 2 downloads

I checked the log again, and still cannot find core issue. I think the xbox causes the problem, as I found similar reports in the Kodi forum. I'll try a workaround in next version but not sure if this helps.

 

https://forum.kodi.tv/showthread.php?tid=370745&pid=3122017#pid3122017

Edited by quickmic
Posted
On 11/20/2025 at 7:38 PM, quickmic said:

Yes, please.

issue solved had nothing to do with emby. thanks and happy day 

  • Like 1
quickmic
Posted (edited)

New PUBLIC TESTING version available 12.3.6:

Delta changelog 12.3.5 -> 12.3.6

add analyze db to vaccum option
add option to disable Kodi Companion warning
fix xbox sync issue

 

@diddiman

Can you please test this version before I push it into the beta repository, thanks.

@Juancafr

The option to disable the Kodi companion warning is in the advanced section of the plugin settings.

Edited by quickmic
  • Like 1
rotational467
Posted

Hi @quickmic, wanted to follow up on the theme media playback issue in 12.x, not sure if it fell off the radar or the fix is still forthcoming.  Thanks!

 

quickmic
Posted
36 minutes ago, rotational467 said:

Hi @quickmic, wanted to follow up on the theme media playback issue in 12.x, not sure if it fell off the radar or the fix is still forthcoming.  Thanks!

 

Is the issue still present in latest version?

rotational467
Posted
8 hours ago, quickmic said:

Is the issue still present in latest version?

Yeah, I just did a clean install of 12.3.6 and it looks like the same behavior.  Theme playback attempt starts at 2025-12-09 18:31:50.169

kodi.log

  • Thanks 1
quickmic
Posted

New BETA version available 12.3.6:

Delta changelog 12.3.6 -> 12.3.7

improve database performance for some queries
add pragma page_size = 65536 when executing database vaccum
Update Chinese language
fix themes
fix image file extensions
fix SongArtists Sortnames
fix hybrid nodes for MusicArtists

  • Thanks 1
rotational467
Posted
4 hours ago, quickmic said:

New BETA version available 12.3.6:

Delta changelog 12.3.6 -> 12.3.7

...
fix themes
...

Confirmed theme media playback is working in 12.3.7.  Thanks!

  • Like 1
TheFreeMan
Posted

Just updated to 12.3.7. I was on 12.3.5.

I started noticing this with one particular show on 12.3.5, and now it seems it's on many of them:PXL_20251218_011015727.thumb.jpg.a704c2b80c52dadc9232172b7dc621a9.jpg

This is from the Emby | TV listing (the menu entry is: emby_dynamic_mixedvideo_TV/series_series.xml)

BUT... It displays the proper episode name and information when I look at it in Next Episodes (emby_nextepisodes_GUID).

I don't know how long it's been doing this - we recently ran out of episodes on many of the shows we'd been watching, and I decided to look for a couple of new shows. This turned up then.

  • Like 1
quickmic
Posted (edited)
On 12/18/2025 at 9:32 PM, TheFreeMan said:

Just updated to 12.3.7. I was on 12.3.5.

I started noticing this with one particular show on 12.3.5, and now it seems it's on many of them:PXL_20251218_011015727.thumb.jpg.a704c2b80c52dadc9232172b7dc621a9.jpg

This is from the Emby | TV listing (the menu entry is: emby_dynamic_mixedvideo_TV/series_series.xml)

BUT... It displays the proper episode name and information when I look at it in Next Episodes (emby_nextepisodes_GUID).

I don't know how long it's been doing this - we recently ran out of episodes on many of the shows we'd been watching, and I decided to look for a couple of new shows. This turned up then.

I can see, you use a mixed content video library on Emby server, which is generally not the best idea. However, it should work as long as the server detects the content correctly.

What is the content listed in your screenshot? Looks like videos not episodes, right? Doe you have videos in the mixed library or are these videos (LiveTV) recorded episodes?

 

Edited by quickmic
TheFreeMan
Posted (edited)
On 12/22/2025 at 1:12 AM, quickmic said:

you use a mixed content video library on Emby server

I have no idea how or why I would have ever done that!!! This is a TV shows library, I'm 99.99% certain I would have selected a TV/Show/Episode type for it. Weirdly, ALL of my Emby libraries are "Mixed content" - I'm really quite certain that I wouldn't have done that - I would have tagged the TV library as TV Shows, the Movie library as movies, the Music library as music...

On 12/22/2025 at 1:12 AM, quickmic said:

What is the content listed in your screenshot? Looks like videos not episodes, right

Nope. Those are episodes (Community S01E01 - E06 being displayed).

If I If I do this, I'm going to loose all my watch history, aren't I? :(

image.png.822a0e0d8a366b5125ea391b373baad2.png

Am I most likely going to have to bite the bullet and do this if I ever hope to get Emby/ENG working correctly again?

 

I wonder... I changed my mount points around a while back to work better on Unraid and allow for hard linking instead of copying. I wonder if, when I did that and changed the mappings for the Emby docker container if that somehow confused it and changed them all to Mixed Content...

Edited by TheFreeMan
AllesMeins
Posted (edited)

I just decided to give the beta version a try and it seems cinema mode/playback trailers has stopped working for me. When starting a movie it asks whether I want to watch a trailer but than just giving me a "playback failed" error (I've only local trailers activated, so this shouldn't be a problem with youtube or anything like that). Watching movies without trailers works fine. I've attached my kodi log.

Kodi 21.3.0 on a Raspi4 (LibreELEC)
Emby for Kodi: 12.3.7

kodi.log

Edited by AllesMeins
quickmic
Posted
16 hours ago, AllesMeins said:

I just decided to give the beta version a try and it seems cinema mode/playback trailers has stopped working for me. When starting a movie it asks whether I want to watch a trailer but than just giving me a "playback failed" error (I've only local trailers activated, so this shouldn't be a problem with youtube or anything like that). Watching movies without trailers works fine. I've attached my kodi log.

Kodi 21.3.0 on a Raspi4 (LibreELEC)
Emby for Kodi: 12.3.7

kodi.log 73.13 kB · 2 downloads

Confirmed, will be fixed in next version

  • Like 1
AllesMeins
Posted
6 hours ago, quickmic said:

Confirmed, will be fixed in next version

Great, thank you. One other thing if you already working on the trailers. The main reason why I upgraded to version 12 was because with the old version the first trailer Cinema Intros played was always the trailer for the movie I was about to watch (if that trailer was among my local trailers). Using the emby web interface that doesn't happen. Do you know if this still is an issue with the new version of Emby for kodi?

quickmic
Posted
13 minutes ago, AllesMeins said:

Great, thank you. One other thing if you already working on the trailers. The main reason why I upgraded to version 12 was because with the old version the first trailer Cinema Intros played was always the trailer for the movie I was about to watch (if that trailer was among my local trailers). Using the emby web interface that doesn't happen. Do you know if this still is an issue with the new version of Emby for kodi?

Well I'm rewriting the complete trailer, themes etc. code but it will not make it into 12.3.X versions. That's something for 12.4.X but it's not ready yet.

I only include bugfixes in 12.3.X, no major changes as they are in 12.4.X.

AllesMeins
Posted

Ah, I see... good to know. Do you have your own trailer selection logic in the addon or does this happen within the server? There is another thing that has been bugging me for quite some time but I'm not sure whether to address it to you or to the developers of Emby core. Currently I see a tendency to only show trailers of the same franchise. Last week I re-watched one of the Harry Potter movies and had to sit through a  marathon of five trailers for other Harry Potter movies (and one for Fantastic Beasts). Same goes for James Bond, Marvel, LotR or any other movie series.

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