Jump to content

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


Recommended Posts

e123enitan
Posted
12 hours ago, quickmic said:

I don't see any crashes, but several timeouts. Yes, could be caused by skin but first I suggest rule things out. Disable live PVR and report if the playback still have issues.

btw, did you adust the buffer settings in Kodi? In v22 they are no longer in advancedsettings.xml. They are under Kodi services -> caching

I am aware that v22 has advance settings, however, there seems to be additional settings in file as 

I disabled PVR as suggested,  leaving only e4k addon, the lasted log revealed a lot of warnings and errors 

https://paste.kodi.tv/nozalamagi

let me know what is next 

thanks

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<advancedsettings>

    <network>
        <disablehttp2>true</disablehttp2>
        <curlclienttimeout>15</curlclienttimeout>
    </network>
    <pathsubstitution>
        <substitute>
            <from>/emby_addon_mode/</from>
            <to>http://127.0.0.1:57342/|redirect-limit=1000</to>
        </substitute>
    </pathsubstitution>
    <video>
        <excludefromlisting>
            <regexp>^\/emby_addon_mode(?!.*(dynamic|musicvideo|tvshows|video|movies))</regexp>
            <regexp>^http:\/\/127.0.0.1:57342(?!.*(dynamic|musicvideo|tvshows|video|movies))</regexp>
            <regexp>^dav:\/\/127.0.0.1:57342(?!.*(dynamic|musicvideo|tvshows|video|movies))</regexp>
        </excludefromlisting>
        <excludefromscan>
            <regexp>/emby_addon_mode/</regexp>
            <regexp>http://127.0.0.1:57342/</regexp>
            <regexp>dav://127.0.0.1:57342/</regexp>
        </excludefromscan>
        <excludetvshowsfromscan>
            <regexp>/emby_addon_mode/</regexp>
            <regexp>http://127.0.0.1:57342/</regexp>
            <regexp>dav://127.0.0.1:57342/</regexp>
        </excludetvshowsfromscan>
    </video>
    <audio>
        <excludefromlisting>
            <regexp>^\/emby_addon_mode(?!.*(dynamic|audio))</regexp>
            <regexp>^http:\/\/127.0.0.1:57342(?!.*(dynamic|audio))</regexp>
            <regexp>^dav:\/\/127.0.0.1:57342(?!.*(dynamic|audio))</regexp>
        </excludefromlisting>
        <excludefromscan>
            <regexp>/emby_addon_mode/</regexp>
            <regexp>http://127.0.0.1:57342/</regexp>
            <regexp>dav://127.0.0.1:57342/</regexp>
        </excludefromscan>
    </audio>
</advancedsettings>

e123enitan
Posted

As I am curious to know why log have several warnings and errors I used Ai analyzed log, please, note even with the Ai analysis I dont know what they mean let alone how to fixed 😊 them
 

I’ll break this into real issues vs noise, then give you targeted fixes.


🔎 What your log is really telling us

1) Emby addon is the main source of warnings

From your snippet:

EMBY.hooks.websocket
That’s important. It means:

Kodi core is fine

The Emby for Kodi integration layer is doing most of the work

And it’s also generating most warnings

Root cause

Your Emby addon is still using old Kodi APIs (ListItem) instead of:

InfoTagVideo

That’s why you see:

ListItem.setInfo() is deprecated
ListItem.setCast() is deprecated
ListItem.addStreamInfo() is deprecated
 

What this means technically

Every time Emby builds a media item → it uses outdated calls

Kodi logs a warning for each one

That’s why you see duplicate warnings spam

Impact

❌ Not a playback issue

❌ Not a lag cause (by itself)

⚠️ But adds overhead + log noise


2) Websocket spam (hidden performance clue)

You have:

UserDataChanged
ItemSkipUpdate
Root cause

Emby server is pushing real-time updates via websocket

Kodi receives them and decides whether to process or skip

Why this matters

If your full log shows a lot of:

UserDataChanged
Library updates
Then you likely have:

Frequent metadata sync

Possibly triggered during playback or channel switching

Impact

Can cause UI lag / delays

Especially on weaker systems or busy networks


3) Texture loading failure (real issue)

Direct texture file loading failed for:
resource.images.studios.coloured/Stanley Kubrick Productions / Metro-Goldwyn-Mayer.png
Root cause (very likely)

Bad metadata string from Emby:

"Stanley Kubrick Productions / Metro-Goldwyn-Mayer"
Kodi tries to match it to a single PNG → fails

Why this happens

Emby merges multiple studios into one string

Kodi expects one studio = one image file

Impact

Missing artwork

Minor UI slowdown when repeatedly failing to load textures


4) Hidden pattern in logs like yours (important)

In setups like yours (Kodi + Emby + Live TV / streaming), these logs usually also include:

A) HTTP / streaming delays

Look for in your full log:

CCurlFile::FillBuffer - timeout
Open - failed with code 404/500
 

👉 If present → network or backend issue


B) PVR / Live TV lag clues

Since you previously mentioned lag:

Look for:

PVRManager - Channel switch took X ms
AddOnLog: pvr.* slow response
 

👉 That’s where real lag usually lives (not in your warnings)


🧠 What is NOT your problem

Let’s be clear:

These are NOT causing lag:

Deprecated API warnings

Duplicate messages

InfoTagVideo migration warnings

They look scary, but they’re developer-level warnings only


✅ What you should fix (priority order)

1) Update Emby ecosystem (highest priority)

Do this first:

Update:

Emby Server

Emby for Kodi addon

If possible, switch to:

Emby Next Gen plugin (better Kodi 21/22 support)

👉 This alone will reduce:

warnings

websocket noise

metadata issues


2) Fix artwork errors

Do this:

Reinstall:

resource.images.studios.coloured
Then clear cache:
userdata/Database/Textures13.db
userdata/Thumbnails/
 

3) Reduce Emby websocket load (big hidden win)

Inside Emby addon settings:

Disable or reduce:

Real-time updates

Playback reporting frequency

Library sync triggers

👉 This can noticeably improve:

menu responsiveness

channel switching


4) Clean metadata (important for your specific error)

On Emby server:

Check studios for affected items

Fix entries like:

 
 
Studio A / Studio B
 

➡ split them properly


5) If you’re chasing lag (important)

Your current warnings are NOT the root cause.

You should instead look for:

buffering delays

PVR backend latency

HTTP/2 or streaming issues (you mentioned earlier)


🎯 Bottom line

Your log shows a modern Kodi + outdated addon API mismatch

The real system looks like:

Kodi = OK

Emby = slightly outdated behavior

Metadata = slightly messy

Only artwork + websocket behavior are worth fixing right now


If you want a real deep diagnosis

Paste:

30–60 seconds of log during:

channel switch OR

playback start

That’s where the real bottleneck shows up.

 
 
 
 
 
 
 

 

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