Jump to content

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


quickmic

Recommended Posts

DiscoDuck79

@quickmic

To follow up on

 

Observed this behavior again today, pretty sure it has something to do with the Next Up addon.

Episode 1 playing, when completed Episode 2 started automatically by Next Up (2 qualities available, I was not prompted to select quality prior playback)

Once Episode 2 was completed player "completed" and returned to Home menu. No odd behavior observed - all looks normal.

I try to start episode 3 thru the Next Widget, nothing happens on the screen and when I push my remote nothing happens except I hear the GUI sound from button pushes (I have no keyboard connected).

 

After I restart Kodi (normal systemctl restart kodi) the status looks like Restart1.log

Then I do another Kodi restart in the same manner and the errors are gone, Restart2.log , the first restart takes longer than the second one - that's the only reason I checked the log there.

 

After the second restart I tried to start playback from the Next widget and nothing happens, Playback from Next Widget.log

Kodi restarted in same manner as above

Started playback from the normal TV Shows menu and it's working fine (Playback from TV Shows.log). As you can see on row 181-187 there's something that doesn't look normal with the Next Up addon, the addon is also not working very often after the latest updates (to the server). My theory is that when a playback is triggered by it, the next episode will fail.

Once the playback of episode 3 has been started from the TV Shows menu I can stop it, go to the home menu and start it again from the Next widget.

EDIT: I've now disabled the Next Up addon to see if the problem disappears.

EDIT #2: It happened again although Next Up was disabled, so my theory isn't valid.

Restart1.log Restart2.log Playback from Next Widget.log Playback from TV Shows.log

Edited by DiscoDuck79
  • Like 1
Link to comment
Share on other sites

quickmic

New version uploaded to beta repo 5.3.1....

As mentioned, it's a minor fix...

 

Edited by quickmic
Link to comment
Share on other sites

t123thomas

Hi I see this errors,  are these E4K related?

2021-05-27 17:23:38.261 T:4244    ERROR <general>: Traceback (most recent call last):
                                                   
2021-05-27 17:23:38.261 T:4244    ERROR <general>:   File "C:\Program Files\Kodi\system\python\Lib\multiprocessing\util.py", line 224, in __call__
                                                   
2021-05-27 17:23:38.294 T:4244    ERROR <general>:     
2021-05-27 17:23:38.294 T:4244    ERROR <general>: res = self._callback(*self._args, **self._kwargs)
2021-05-27 17:23:38.295 T:4244    ERROR <general>:
                                                   
2021-05-27 17:23:38.295 T:4244    ERROR <general>:   File "C:\Program Files\Kodi\system\python\Lib\multiprocessing\pool.py", line 692, in _terminate_pool
                                                   
2021-05-27 17:23:38.318 T:4244    ERROR <general>:     
2021-05-27 17:23:38.318 T:4244    ERROR <general>: cls._help_stuff_finish(inqueue, task_handler, len(pool))
2021-05-27 17:23:38.318 T:4244    ERROR <general>:
                                                   
2021-05-27 17:23:38.318 T:4244    ERROR <general>:   File "C:\Program Files\Kodi\system\python\Lib\multiprocessing\pool.py", line 945, in _help_stuff_finish
                                                   
2021-05-27 17:23:38.318 T:4244    ERROR <general>:     
2021-05-27 17:23:38.318 T:4244    ERROR <general>: inqueue.get(block=False)
2021-05-27 17:23:38.318 T:4244    ERROR <general>:
                                                   
2021-05-27 17:23:38.319 T:4244    ERROR <general>: _queue
2021-05-27 17:23:38.319 T:4244    ERROR <general>: .
2021-05-27 17:23:38.319 T:4244    ERROR <general>: Empty
2021-05-27 17:23:38.319 T:4244    ERROR <general>: :
2021-05-27 17:23:38.319 T:4244    ERROR <general>:
2021-05-27 17:23:38.319 T:4244    ERROR <general>:
                                                   
2021-05-27 17:23:40.947 T:2332     INFO <general>: Loading skin file: DialogButtonMenu.xml, load type: KEEP_IN_MEMORY
2021-05-27 17:23:41.011 T:9344    ERROR <general>: Exception ignored in:
2021-05-27 17:23:41.011 T:9344    ERROR <general>: <Finalize object, dead>
2021-05-27 17:23:41.011 T:9344    ERROR <general>:
                                                   
                              
2021-05-27 17:24:39.855 T:5824     INFO <general>: CPythonInvoker(19, C:\Users\Admin\AppData\Roaming\Kodi\addons\script.embuary.helper\plugin.py): script successfully run
2021-05-27 17:24:40.014 T:5824     INFO <general>: Python interpreter stopped
2021-05-27 17:24:40.015 T:11064    INFO <general>: CPythonInvoker(20, C:\Users\Admin\AppData\Roaming\Kodi\addons\script.embuary.helper\plugin.py): script successfully run
2021-05-27 17:24:40.162 T:11064    INFO <general>: Python interpreter stopped
2021-05-27 17:24:40.794 T:1224    ERROR <general>: XFILE::CDirectory::GetDirectory - Error getting addons://search/

Link to comment
Share on other sites

quickmic
1 minute ago, t123thomas said:

Hi I see this errors,  are these E4K related?

2021-05-27 17:23:38.261 T:4244    ERROR <general>: Traceback (most recent call last):
                                                   
2021-05-27 17:23:38.261 T:4244    ERROR <general>:   File "C:\Program Files\Kodi\system\python\Lib\multiprocessing\util.py", line 224, in __call__
                                                   
2021-05-27 17:23:38.294 T:4244    ERROR <general>:     
2021-05-27 17:23:38.294 T:4244    ERROR <general>: res = self._callback(*self._args, **self._kwargs)
2021-05-27 17:23:38.295 T:4244    ERROR <general>:
                                                   
2021-05-27 17:23:38.295 T:4244    ERROR <general>:   File "C:\Program Files\Kodi\system\python\Lib\multiprocessing\pool.py", line 692, in _terminate_pool
                                                   
2021-05-27 17:23:38.318 T:4244    ERROR <general>:     
2021-05-27 17:23:38.318 T:4244    ERROR <general>: cls._help_stuff_finish(inqueue, task_handler, len(pool))
2021-05-27 17:23:38.318 T:4244    ERROR <general>:
                                                   
2021-05-27 17:23:38.318 T:4244    ERROR <general>:   File "C:\Program Files\Kodi\system\python\Lib\multiprocessing\pool.py", line 945, in _help_stuff_finish
                                                   
2021-05-27 17:23:38.318 T:4244    ERROR <general>:     
2021-05-27 17:23:38.318 T:4244    ERROR <general>: inqueue.get(block=False)
2021-05-27 17:23:38.318 T:4244    ERROR <general>:
                                                   
2021-05-27 17:23:38.319 T:4244    ERROR <general>: _queue
2021-05-27 17:23:38.319 T:4244    ERROR <general>: .
2021-05-27 17:23:38.319 T:4244    ERROR <general>: Empty
2021-05-27 17:23:38.319 T:4244    ERROR <general>: :
2021-05-27 17:23:38.319 T:4244    ERROR <general>:
2021-05-27 17:23:38.319 T:4244    ERROR <general>:
                                                   
2021-05-27 17:23:40.947 T:2332     INFO <general>: Loading skin file: DialogButtonMenu.xml, load type: KEEP_IN_MEMORY
2021-05-27 17:23:41.011 T:9344    ERROR <general>: Exception ignored in:
2021-05-27 17:23:41.011 T:9344    ERROR <general>: <Finalize object, dead>
2021-05-27 17:23:41.011 T:9344    ERROR <general>:
                                                   
                              
2021-05-27 17:24:39.855 T:5824     INFO <general>: CPythonInvoker(19, C:\Users\Admin\AppData\Roaming\Kodi\addons\script.embuary.helper\plugin.py): script successfully run
2021-05-27 17:24:40.014 T:5824     INFO <general>: Python interpreter stopped
2021-05-27 17:24:40.015 T:11064    INFO <general>: CPythonInvoker(20, C:\Users\Admin\AppData\Roaming\Kodi\addons\script.embuary.helper\plugin.py): script successfully run
2021-05-27 17:24:40.162 T:11064    INFO <general>: Python interpreter stopped
2021-05-27 17:24:40.794 T:1224    ERROR <general>: XFILE::CDirectory::GetDirectory - Error getting addons://search/

please send me a full log. The snapshot still shows the showstopper, but not the cause.

Link to comment
Share on other sites

quickmic
6 hours ago, DiscoDuck79 said:

@quickmic

To follow up on

 

Observed this behavior again today, pretty sure it has something to do with the Next Up addon.

Episode 1 playing, when completed Episode 2 started automatically by Next Up (2 qualities available, I was not prompted to select quality prior playback)

Once Episode 2 was completed player "completed" and returned to Home menu. No odd behavior observed - all looks normal.

I try to start episode 3 thru the Next Widget, nothing happens on the screen and when I push my remote nothing happens except I hear the GUI sound from button pushes (I have no keyboard connected).

 

After I restart Kodi (normal systemctl restart kodi) the status looks like Restart1.log

Then I do another Kodi restart in the same manner and the errors are gone, Restart2.log , the first restart takes longer than the second one - that's the only reason I checked the log there.

 

After the second restart I tried to start playback from the Next widget and nothing happens, Playback from Next Widget.log

Kodi restarted in same manner as above

Started playback from the normal TV Shows menu and it's working fine (Playback from TV Shows.log). As you can see on row 181-187 there's something that doesn't look normal with the Next Up addon, the addon is also not working very often after the latest updates (to the server). My theory is that when a playback is triggered by it, the next episode will fail.

Once the playback of episode 3 has been started from the TV Shows menu I can stop it, go to the home menu and start it again from the Next widget.

EDIT: I've now disabled the Next Up addon to see if the problem disappears.

EDIT #2: It happened again although Next Up was disabled, so my theory isn't valid.

Restart1.log 1.45 kB · 2 downloads Restart2.log 855 B · 1 download Playback from Next Widget.log 8.93 kB · 1 download Playback from TV Shows.log 168.31 kB · 1 download

Thanks, for sophisticated info. Hard to verify, I come back to you...

Edited by quickmic
Link to comment
Share on other sites

bozrdnag

5.3.1 still has the broken Home Videos dynamic list problem we discussed.  Only that one experimental version you PM'd me works since this broke.

Link to comment
Share on other sites

jonomite

I did a database reset and installed 5.3.1. For some reason, after logging in, I see a dialogue for "Update views" and it gets stuck at 40%. I'm not experiencing this issue with the latest stable release, however. 

EDIT: I see there was an earlier post about this. I followed the advice in that post and completely deleted Kodi and reinstalled E4K 5.3.1. Same issue occured again; it sits at Update Views for some. After a while - maybe 15 minutes or so - it eventually gets unstuck. Very weird. 

EDIT 2: It seems I'm still experiencing a problem. E4K reports that it can't locate files on my network and that there's a path substitution issue (I'm using native mode), but I've verified that I have a proper network path in my Emby server settings. I went ahead and let the import finish and I can see my media in Kodi, but when I try to play, Kodi repots that the item has been removed. 

 

Edited by jonomite
Link to comment
Share on other sites

quickmic
7 hours ago, jonomite said:

I did a database reset and installed 5.3.1. For some reason, after logging in, I see a dialogue for "Update views" and it gets stuck at 40%. I'm not experiencing this issue with the latest stable release, however. 

EDIT: I see there was an earlier post about this. I followed the advice in that post and completely deleted Kodi and reinstalled E4K 5.3.1. Same issue occured again; it sits at Update Views for some. After a while - maybe 15 minutes or so - it eventually gets unstuck. Very weird. 

 

The plugin tries to download artwork from the emby server. It can take a while during initial connection but should never take more than probably 30seconds, 1 minute (depending on size).

Please have a look in that folder: .kodi/userdata/addon_data/plugin.video.emby-next-gen/temp/

It's the location of the cached artwork, please check the size and probably delete the content. This will force a redownload on next Kodi start, and you can check if this is actually the reason.

 

Quote

EDIT 2: It seems I'm still experiencing a problem. E4K reports that it can't locate files on my network and that there's a path substitution issue (I'm using native mode), but I've verified that I have a proper network path in my Emby server settings. I went ahead and let the import finish and I can see my media in Kodi, but when I try to play, Kodi repots that the item has been removed. 

I always recommend using addon mode due to such problems. Is there a reason why you are using native mode? Native mode has also several limitations.

If you really need native mode, please send me a kodi.log

Link to comment
Share on other sites

quickmic
5 minutes ago, t123thomas said:

Hi Quickmic, please check the attached log report taken from LE Matrix similar errors appears here to as in the windows Kodi

Matrix KODI.txt 565.63 kB · 2 downloads

It's still a "multiprocessing" issue and not sure what causes the problem. I cannot even say, it's coming from next-gen plugin. Actually I doubt that, cause next-gen does no longer use multiprocessing, only threading is used.

  • Thanks 1
Link to comment
Share on other sites

jonomite
Quote

The plugin tries to download artwork from the emby server. It can take a while during initial connection but should never take more than probably 30seconds, 1 minute (depending on size).

I did not experience this long wait when I selected Add-on mode. Would that make a difference?  

Quote

I always recommend using addon mode due to such problems. Is there a reason why you are using native mode? Native mode has also several limitations.

With the previous (pre-Matrix) version of E4K, in native mode, you could see chapter thumbnails and it supported some Kodi add-ons that wouldn't work in Add-on mode (e.g., the extras add-on). If these features are eventually going to be added to Add-on mode, then I'd certainly be fine with that and never look back at Native mode. :) 

Link to comment
Share on other sites

quickmic
18 minutes ago, jonomite said:

I did not experience this long wait when I selected Add-on mode. Would that make a difference?  

With the previous (pre-Matrix) version of E4K, in native mode, you could see chapter thumbnails and it supported some Kodi add-ons that wouldn't work in Add-on mode (e.g., the extras add-on). If these features are eventually going to be added to Add-on mode, then I'd certainly be fine with that and never look back at Native mode. :) 

I'll re-review the download code...

Link to comment
Share on other sites

quickmic
57 minutes ago, quickmic said:

I'll re-review the download code...

I found a bug, I'll upload a new version probably tomorrow.

Link to comment
Share on other sites

jonomite

Thanks @quickmic!

One other small issue I've noticed - profile images don't seem to display in embuary skin with the latest beta. They do display with the current stable. Hopefully an easy fix! 

Link to comment
Share on other sites

quickmic
Just now, jonomite said:

Thanks @quickmic!

One other small issue I've noticed - profile images don't seem to display in embuary skin with the latest beta. They do display with the current stable. Hopefully an easy fix! 

Not sure I can fix that. I think emburay takes the user images from a code I've completely rewritten due to performance improvements and removed that functionality for external application, but I'll check.

Link to comment
Share on other sites

t123thomas

Hi Quickmic, I noticed that adding Emby to each node has caused the smart shortcut not to work you have any suggested to make it work.

 

Thanks

 

screenshot00000.png

Link to comment
Share on other sites

quickmic
51 minutes ago, t123thomas said:

Hi Quickmic, I noticed that adding Emby to each node has caused the smart shortcut not to work you have any suggested to make it work.

 

Thanks

 

screenshot00000.png

 

I answered the question here:

Let me know, if you need additional information.

Link to comment
Share on other sites

quickmic

New beta version available:

changes:

fix artwork cache on plugin loading
fix onPlay music playlist ops
fix trakt issue in native mode
fix delete dialog

Edited by quickmic
  • Like 1
  • Thanks 2
Link to comment
Share on other sites

bozrdnag

In 5.3.2 I still have the same issue with my dynamic library with the content set to home vides showing as empty.  While recently added for the same does show videos.

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