Jump to content

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


quickmic

Recommended Posts

quickmic
19 hours ago, embyL0VER said:

@quickmic, 

in emby Server werden die Schauspieler in Episoden nicht doppelt angezeigt und werden auch nicht doppelt in den Episoden "NFO" dateien aufgeführt. 

In KODi werden am Ende der Episoden Schauspielerliste aber auch noch die von der TVShow angezeigt wenn die Rollennamen unterschiedlich sind.

TVShow actors (diese passen wie in emby) - "Detective Sonny Crockett"

IMG_20220811_104151.thumb.jpg.3b701ca65d90f77d952b28db5377ea27.jpg

Episode actors (Am Anfang wie in emby) - "James Crockett"

IMG_20220811_103939.thumb.jpg.b9f93ec29aecc0fbdda7fa9589f6d3f7.jpg

Episode actors (Am Ende doppelt)

IMG_20220811_104052.thumb.jpg.7b38ade6fb1617e76ae587a021a0ee79.jpg

I sent you a PM.

  • Thanks 1
Link to comment
Share on other sites

embyL0VER

Talked to quickmic via PM. Plugin is working as intended, normal KODi behaviour.

Edited by embyL0VER
Link to comment
Share on other sites

quickmic

New version available 7.7.5:

delta changelog:

animated icon by default off
fix minor music scan issue
add additional database locks, giving Kodi database ops priority
fix some database paused flags
remove realtime boxset updates (too slow -> current approach delays "regular" updates too much)

comment:

reset nodes is recommended: -> sync -> reset nodes

I modified the order of the filter which could improve the performance for recently added and recently played nodes. No need to adjust the skin.

Caution: reset nodes will also remove self created nodes. Probably take a backup of the nodes, in case you added your own custom nodes.

 

Edited by quickmic
Link to comment
Share on other sites

quickmic
6 hours ago, misterkoat said:

support for syncing IPTV soon?

Do you mean live TV? This is already supported.

Link to comment
Share on other sites

Centory

Today is my only free afternoon for the next 2-3 weeks, so i can not test a fix, i have installed 7.7.5 and after database reset,I cache the pictures and it hangs every time at the same point. Because I does not have free time more today and the the next 2-3 weeks, maybe you will see something in the log. Now i have downgraded to v7.7.4 and cache all pictures is working. Good look, thanks for all!

 

 

kodi.log

Edited by Centory
Link to comment
Share on other sites

quickmic
1 minute ago, Centory said:

Today is my only free afternoon for the next 2-3 weeks, so i can not test a fix, i have installed 7.7.5 and after database reset i cache the pictures and it hangs every time at the same point. Because i does not have free time more today and the the next 2-3 weeks, maybe you will see something in the log. Now i have downgraded to v7.7.4 and cache all pictures is working. Good look, thanks for all!

 

 

kodi.log 87.08 kB · 0 downloads

I see the problem, will be fixed in next version.

btw, it's related to bluray artwork

  • Like 1
Link to comment
Share on other sites

quickmic
3 hours ago, Mookdog said:

Any chance on adding Next up on TV Shows ?

 

 

Mook

What do you mean exactly?

A Next up custom node is available..

 

Link to comment
Share on other sites

Mookdog
1 hour ago, quickmic said:

What do you mean exactly?

A Next up custom node is available..

 

I found what I was looking for thanks. Just another question how often does nextgen sync with my emby server ? Say I add a new episode from a series how long does it take nextgen to pick it up ?

 

Mook

Link to comment
Share on other sites

quickmic
Just now, Mookdog said:

I found what I was looking for thanks. Just another question how often does nextgen sync with my emby server ? Say I add a new episode from a series how long does it take nextgen to pick it up ?

 

Mook

Seconds after Emby server has finished its scan. -> Realtime sync

Link to comment
Share on other sites

Mookdog
57 minutes ago, quickmic said:

Seconds after Emby server has finished its scan. -> Realtime sync

Awesome man great work on the addon. IMO embycon was nice but this is epic

Mook

  • Thanks 1
Link to comment
Share on other sites

BlubberGuy

HI, not sure where this comes from

I just updated to 7.7.4 from ... no idea.

And I have now the problem that loading the Entries takes extremely long ~3m until I see something and I get constantly the "Playback Error".

..I am going to update tomorrow.

 

I already asked about a similar problem a month ago... that I was not able to connect to  the Server. And yes, the Server is on and reachable from my PC in the same Network.

Quote

2022-08-15 23:13:00.514 T:28355   DEBUG <general>: ffmpeg[0x86ad3400X]: [image2] Custom AVIOContext makes no sense and will be ignored with AVFMT_NOFILE format.
2022-08-15 23:13:00.740 T:28280   DEBUG <general>: Error [-541478725] while reading frame: Unknown error 541478725
2022-08-15 23:13:00.750 T:28355   DEBUG <general>: ffmpeg[0x86ad3400X]: [image2] Custom AVIOContext makes no sense and will be ignored with AVFMT_NOFILE format.
2022-08-15 23:13:00.766 T:28355   DEBUG <general>: ffmpeg[0x86ad3400X]: [swscaler] No accelerated colorspace conversion found from yuv420p to bgra.

Quote

2022-08-15 23:13:12.867 T:28355   DEBUG <general>: ffmpeg[0x86ad3400X]: [image2] Custom AVIOContext makes no sense and will be ignored with AVFMT_NOFILE format.
2022-08-15 23:13:12.884 T:28355   DEBUG <general>: ffmpeg[0x86ad3400X]: [swscaler] No accelerated colorspace conversion found from yuv420p to bgra.
2022-08-15 23:13:12.893 T:28355   ERROR <general>: DoWork - Direct texture file loading failed for DefaultVideo.png
2022-08-15 23:13:12.893 T:28355   DEBUG <general>: GetImageHash - unable to stat url DefaultVideo.png

Quote

etArtistsByWhereJSON query: SELECT a1.*, art.art_id AS idArt, art.type AS artType, art.url AS artURL FROM (SELECT artist.idArtist, strArtist FROM artist  WHERE (EXISTS (SELECT 1 FROM song_artist WHERE song_artist.idArtist = artist.idArtist AND song_artist.idRole = 1) OR EXISTS (SELECT 1 FROM album_artist WHERE album_artist.idArtist = artist.idArtist)) AND (artist.strArtist != '') ORDER BY RANDOM() LIMIT 40) AS a1 LEFT JOIN art ON art.media_id = a1.idArtist AND art.media_type = 'artist' GROUP BY a1.idArtist, art.art_id ORDER BY a1.idArtist, arttype
2022-08-15 23:13:15.621 T:28344   DEBUG <general>: GetArtistsByWhereJSON - query took 1 ms
2022-08-15 23:13:15.682 T:28356   DEBUG <general>: DatabaseUtils::GetSortFieldList: unknown field 36
2022-08-15 23:13:15.750 T:28355   DEBUG <general>: easy_acquire - Created session to http://127.0.0.1
2022-08-15 23:13:15.752 T:28355   ERROR <general>: CCurlFile::Stat - Failed: Couldn't connect to server(7) for http://127.0.0.1:57342/p-ae743a65719d4773aad4476b02368bb7-93
2022-08-15 23:13:15.753 T:28355   DEBUG <general>: GetImageHash - unable to stat url http://127.0.0.1:57342/

Quote

2022-08-15 23:13:25.016 T:28346    INFO <general>: Python interpreter stopped
2022-08-15 23:13:25.016 T:28346   DEBUG <general>: Thread LanguageInvoker -2133771920 terminating
2022-08-15 23:13:25.019 T:28378   ERROR <general>: EMBY.hooks.webservice: No Emby servers found, delay query
2022-08-15 23:13:25.115 T:28377   DEBUG <general>: -->Python Interpreter Initialized<--
2022-08-15 23:13:25.115 T:28377   DEBUG <general>:

Quote

2022-08-15 23:13:37.368 T:28385   DEBUG <CAddonSettings[script.embuary.info]>: trying to load setting definitions from old format...
2022-08-15 23:13:37.385 T:28385   DEBUG <general>: Skin Helper Simplecache --> Initialized
2022-08-15 23:13:37.769 T:28378   ERROR <general>: EMBY.hooks.webservice: No Emby servers found, delay query
2022-08-15 23:13:38.137 T:28339   ERROR <general>: Skipped 2 duplicate messages..
2022-08-15 23:13:38.136 T:28339   ERROR <general>: EMBY.emby.http: [ ServerUnreachable ]
2022-08-15 23:13:38.137 T:28339 WARNING <general>: EMBY.emby.http: --<[ session/2270342448 ]

 

Link to comment
Share on other sites

quickmic
On 8/13/2022 at 5:32 PM, Centory said:

Today is my only free afternoon for the next 2-3 weeks, so i can not test a fix, i have installed 7.7.5 and after database reset,I cache the pictures and it hangs every time at the same point. Because I does not have free time more today and the the next 2-3 weeks, maybe you will see something in the log. Now i have downgraded to v7.7.4 and cache all pictures is working. Good look, thanks for all!

 

 

kodi.log 87.08 kB · 3 downloads

I send you a test version via PM.

This version should cover the issue, anyway please send me a kodi.log right after artwork cache.

I wanna review what's actually the problem. (added some additional info in the log).

Link to comment
Share on other sites

quickmic
19 hours ago, BlubberGuy said:

HI, not sure where this comes from

I just updated to 7.7.4 from ... no idea.

And I have now the problem that loading the Entries takes extremely long ~3m until I see something and I get constantly the "Playback Error".

..I am going to update tomorrow.

 

I already asked about a similar problem a month ago... that I was not able to connect to  the Server. And yes, the Server is on and reachable from my PC in the same Network.

 

The core is still:

2022-08-15 23:13:15.752 T:28355   ERROR <general>: CCurlFile::Stat - Failed: Couldn't connect to server(7) for http://127.0.0.1:57342/p-ae743a65719d4773aad4476b02368bb7-93
2022-08-15 23:13:38.136 T:28339   ERROR <general>: EMBY.emby.http: [ ServerUnreachable ]

Forget about all other issue in the log, this is the core.

If you wanna debug this issue (and this is 100%) not a general plugin issue, you must do it in stages and that's not easy. You need network knowledge.

e.g. Kodi reports -> could not connect to "127.0.0.1:57342"

This is the plugins webservice (proxy). Is it up? If yes, can you open the URL via browser. -> http://127.0.0.1:57342/p-ae743a65719d4773aad4476b02368bb7-93

(assuming you use a PC)

However, Kodi log clearly reports a network problem and this is not an easy to track. It also almost impossible to help, cause this is not directly related to the plugin.

The logs only reports the "side effects".

Try to find a pattern. e.g. check the Emby server via permanent background ping, such things.

 

 

Link to comment
Share on other sites

getting this error today:

2022-08-17 21:06:33.101 T:580594   ERROR <general>: KeyError
2022-08-17 21:06:33.101 T:580594   ERROR <general>: : 
2022-08-17 21:06:33.101 T:580594   ERROR <general>: 'v'
2022-08-17 21:06:33.101 T:580594   ERROR <general>:

-----

CCurlFile::Open failed with code 0 for http://127.0.0.1:57342/v-

change:

MediaTypeMapping = {"m": "movie", "e": "episode", "M": "musicvideo", "p": "picture", "a": "audio", "t": "tvchannel", "A": "specialaudio", "V": "specialvideo", "i": "movie", "T": "video", "c": "channel"} # T=trailer, i=iso

 

V to lower

MediaTypeMapping = {"m": "movie", "e": "episode", "M": "musicvideo", "p": "picture", "a": "audio", "t": "tvchannel", "A": "specialaudio", "v": "specialvideo", "i": "movie", "T": "video", "c": "channel"} # T=trailer, i=iso

 

works.

 

is there an typo with the upper keys?

  • Thanks 1
Link to comment
Share on other sites

quickmic
9 hours ago, Ad0lar said:

getting this error today:

2022-08-17 21:06:33.101 T:580594   ERROR <general>: KeyError
2022-08-17 21:06:33.101 T:580594   ERROR <general>: : 
2022-08-17 21:06:33.101 T:580594   ERROR <general>: 'v'
2022-08-17 21:06:33.101 T:580594   ERROR <general>:

-----

CCurlFile::Open failed with code 0 for http://127.0.0.1:57342/v-

change:

MediaTypeMapping = {"m": "movie", "e": "episode", "M": "musicvideo", "p": "picture", "a": "audio", "t": "tvchannel", "A": "specialaudio", "V": "specialvideo", "i": "movie", "T": "video", "c": "channel"} # T=trailer, i=iso

 

V to lower

MediaTypeMapping = {"m": "movie", "e": "episode", "M": "musicvideo", "p": "picture", "a": "audio", "t": "tvchannel", "A": "specialaudio", "v": "specialvideo", "i": "movie", "T": "video", "c": "channel"} # T=trailer, i=iso

 

works.

 

is there an typo with the upper keys?

Could be also a wrong db record. Do you know what kind of content you played? Maybe it was a trailer?

I changed "v" to "T" in one of the previous versions.

Edit:

I think the actual problem is here:

[quickmic@saurugg-laptop ~]$ grep -rni  /home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.emby-next-gen/* -e "v-"

/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.emby-next-gen/core/common.py:475:            item['Trailer'] = "http://127.0.0.1:57342/V-%s-%s-%s-%s" % (EmbyServer.server_id, IntroLocal['Id'], IntroLocal['MediaSources'][0]['Id'], Filename)

/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.emby-next-gen/helper/pluginmenu.py:615:    return "http://127.0.0.1:57342/V-%s-%s-%s-%s" % (server_id, item['Id'], item['MediaSources'][0]['Id'], Filename)

 

I'll review the mapping table and the spots where the content id is assigned...

Thanks for reporting

 

 

Edited by quickmic
Link to comment
Share on other sites

quickmic
20 hours ago, Ad0lar said:

getting this error today:

2022-08-17 21:06:33.101 T:580594   ERROR <general>: KeyError
2022-08-17 21:06:33.101 T:580594   ERROR <general>: : 
2022-08-17 21:06:33.101 T:580594   ERROR <general>: 'v'
2022-08-17 21:06:33.101 T:580594   ERROR <general>:

-----

CCurlFile::Open failed with code 0 for http://127.0.0.1:57342/v-

change:

MediaTypeMapping = {"m": "movie", "e": "episode", "M": "musicvideo", "p": "picture", "a": "audio", "t": "tvchannel", "A": "specialaudio", "V": "specialvideo", "i": "movie", "T": "video", "c": "channel"} # T=trailer, i=iso

 

V to lower

MediaTypeMapping = {"m": "movie", "e": "episode", "M": "musicvideo", "p": "picture", "a": "audio", "t": "tvchannel", "A": "specialaudio", "v": "specialvideo", "i": "movie", "T": "video", "c": "channel"} # T=trailer, i=iso

 

works.

 

is there an typo with the upper keys?

I reviewed the code again. the upper case "V" is correct, not sure the the content id "v" comes from. As mentioned, to you know the content you played?

Probably it comes from an older database which was not re-synced after version upgrade?

Link to comment
Share on other sites

Mookdog

Hey Quickmic

 

I am on next gen ver 7.7.5 was on 7.7.6 but the library scans kept freezing up so I reverted back and all is ok. One question I do have for u is all my libraries sync fine. The only library I have a prob with is my 4K Library. After I install I gotta hit repair library everytime I add a new movie otherwise it never gets picked up and show in my recently added movies. 

Mook

Link to comment
Share on other sites

quickmic
9 minutes ago, Mookdog said:

Hey Quickmic

 

I am on next gen ver 7.7.5 was on 7.7.6 but the library scans kept freezing up so I reverted back and all is ok. One question I do have for u is all my libraries sync fine. The only library I have a prob with is my 4K Library. After I install I gotta hit repair library everytime I add a new movie otherwise it never gets picked up and show in my recently added movies. 

Mook

7.7.6? There is no such version available.

Link to comment
Share on other sites

quickmic
2 hours ago, Mookdog said:

Im sorry I meant I am on 7.7.4 from .5

Please send me a log from 7.7.5 for review.

Link to comment
Share on other sites

Mookdog
8 hours ago, quickmic said:

Please send me a log from 7.7.5 for review.

I now have 7.7.4 bc I downgraded bc of the library scan issue. However my 4K Library still dont scan in properly

Here is the log

 

kodi.log

  • Thanks 1
Link to comment
Share on other sites

quickmic
1 minute ago, Mookdog said:

I now have 7.7.4 bc I downgraded bc of the library scan issue. However my 4K Library still dont scan in properly

Here is the log

 

kodi.log 7.02 MB · 0 downloads

Thanks, but this is the log from 7.7.4

I need the log from 7.7.5

btw, do you use native or addon mode?

Link to comment
Share on other sites

Mookdog
3 minutes ago, quickmic said:

Thanks, but this is the log from 7.7.4

I need the log from 7.7.5

btw, do you use native or addon mode?

I have addon mode

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