gdrcar 5 Posted October 4, 2021 Posted October 4, 2021 Info: Windows Server - 4.6.4.0 Kodi NextGen - 6.0.13 CoreElec with Kodi 19 Hi, since I updated to Kodi19 and with that to Kodi NextGen I had a problem that the file - let's say en episode was not deleted from the GUI until I exited the Series season and moves back into it - I saw that this was now a normal behaviour with other users too (in Kodi18 the episode was deleted and season refreshed automatically after a few seconds). Now to the new problem - this was working for quite some time now, but since a few days ago I got a message from Emby NextGen that my database should be reset and since then the episode is no longer removed from the season even if I go out and in of the season where the episode resides. I thought something messed up my system and did a full fresh install today and the behavior remains (I think that Next-gen was updated to the new version which triggered this behavior). The symptoms (for easier reading): - when I select an episode and delete a file, a file is deleted immediately from the storage but not refreshed in the GUI - sometimes the GUI refreshes itself - after a few hours, sometimes not even that - if it happens, the episode is gone as it should be - if I click upgrade emby next-gen client (although I have the same/latest version, the client somehow refreshed and the episodes that were deleted are gone - I use another Kodi18 box with the old client and the file deletion works perfectly with the same Windows server - Windows server was not changed or upgraded for quite some time now - so it has to do something with the Emby Next-gen client which is automatically updated on this machine A question - is it really not possible to get the same behavior as we had in Kodi18 and old Emby client - so that the file is deleted and the folder refreshed at the same time? I will post logs tomorrow if necessarry but I figured it should be a common issue. This is a cruical feature for me. Thank you in advance for your help.
Luke 40082 Posted October 4, 2021 Posted October 4, 2021 Hi there, yes can we please look at an example in detail? Thanks.
gdrcar 5 Posted October 4, 2021 Author Posted October 4, 2021 Hi, do you need logs from kodi client or windows server?
gdrcar 5 Posted October 5, 2021 Author Posted October 5, 2021 Hi, I just got two mini sections from log file from Kodi Next-gen and one from Windows server. You can see that the file was deleted from Windows server, but the GUI was not refreshed properly. Please help :) Kodi Next-Gen App: 2021-10-04 23:09:37.052 T:4964 ERROR <general>: Control 155 in window 13001 has been asked to focus, but it can't 2021-10-04 23:09:37.052 T:19877 INFO <general>: INFO: EMBY.dialogs.context.ContextMenu: options: ['Add to favorites', 'Refresh this item', 'Delete from Emby', 'Settings'] 2021-10-04 23:09:38.496 T:19877 INFO <general>: INFO: EMBY.dialogs.context.ContextMenu: option selected: Delete from Emby 2021-10-04 23:09:39.490 T:19877 INFO <general>: INFO: EMBY.database.db_open.io: [ab396d0a26f342c9b369c2424c096946] 0 rows updated. 2021-10-04 23:09:39.491 T:19877 ERROR <general>: Exception in thread 2021-10-04 23:09:39.491 T:19877 ERROR <general>: Thread-312180 2021-10-04 23:09:39.491 T:19877 ERROR <general>: : 2021-10-04 23:09:39.491 T:19877 ERROR <general>: Traceback (most recent call last): 2021-10-04 23:09:39.491 T:19877 ERROR <general>: File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner 2021-10-04 23:09:39.491 T:19877 ERROR <general>: File "/usr/lib/python3.8/threading.py", line 870, in run 2021-10-04 23:09:39.494 T:19877 ERROR <general>: File "/storage/.kodi/addons/plugin.video.emby-next-gen/helper/context.py", line 112, in select_menu 2021-10-04 23:09:39.495 T:19877 ERROR <general>: 2021-10-04 23:09:39.495 T:19877 ERROR <general>: self.action_menu() 2021-10-04 23:09:39.495 T:19877 ERROR <general>: 2021-10-04 23:09:39.495 T:19877 ERROR <general>: File "/storage/.kodi/addons/plugin.video.emby-next-gen/helper/context.py", line 126, in action_menu 2021-10-04 23:09:39.495 T:19877 ERROR <general>: 2021-10-04 23:09:39.495 T:19877 ERROR <general>: self.delete_item(False) 2021-10-04 23:09:39.495 T:19877 ERROR <general>: 2021-10-04 23:09:39.495 T:19877 ERROR <general>: File "/storage/.kodi/addons/plugin.video.emby-next-gen/helper/context.py", line 47, in delete_item 2021-10-04 23:09:39.495 T:19877 ERROR <general>: 2021-10-04 23:09:39.495 T:19877 ERROR <general>: self.EmbyServers[self.server_id].library.removed([self.item[0]]) 2021-10-04 23:09:39.495 T:19877 ERROR <general>: 2021-10-04 23:09:39.495 T:19877 ERROR <general>: File "/storage/.kodi/addons/plugin.video.emby-next-gen/database/library.py", line 1026, in removed 2021-10-04 23:09:39.496 T:19877 ERROR <general>: 2021-10-04 23:09:39.496 T:19877 ERROR <general>: if item.isnumeric(): 2021-10-04 23:09:39.496 T:19877 ERROR <general>: 2021-10-04 23:09:39.496 T:19877 ERROR <general>: AttributeError 2021-10-04 23:09:39.496 T:19877 ERROR <general>: : 2021-10-04 23:09:39.496 T:19877 ERROR <general>: 'int' object has no attribute 'isnumeric' 2021-10-04 23:09:39.496 T:19877 ERROR <general>: 2021-10-04 23:09:41.976 T:4964 INFO <general>: VideoPlayer::OpenFile: http://127.0.0.1:57578/tvshows/6c2a057148b4d7c20a207c789aba6d07/201203/embyvideo-ab396d0a26f342c9b369c2424c096946-298170-120af4846396c69627ea06f104d8c98b-75340_en_6c2a057148b4d7c20a207c789aba6d07_001_0019-201203-9928-9928-episode-14338489-0-1-1-1-h264-prison.break.s01e19.1080p.bluray.dts.x264_ctrlhd.mkv Emby server: 2021-10-04 23:09:38.929 Info Server: http/1.1 DELETE http://192.168.116.6:8096/emby/Items/298169. UserAgent: Kodi/6.0.13 2021-10-04 23:09:38.930 Info App: Removing item from database, Type: Episode, Name: Bluff, Path: W:\Prison Break\Season 1\prison.break.s01e18.1080p.bluray.dts.x264-ctrlhd.mkv, Id: 298169 2021-10-04 23:09:38.930 Info App: Deleting path C:\Users\Grega\AppData\Roaming\Emby-Server\programdata\metadata\library\20\207981dd1a91a3ca1c500c5a3643298b 2021-10-04 23:09:38.962 Info App: Deleting path W:\Prison Break\Season 1\prison.break.s01e18.1080p.bluray.dts.x264-ctrlhd.mkv 2021-10-04 23:10:39.722 Info LibraryMonitor: Season 1 (W:\Prison Break\Season 1) will be refreshed.
quickmic 1610 Posted October 5, 2021 Posted October 5, 2021 2 hours ago, gdrcar said: Hi, I just got two mini sections from log file from Kodi Next-gen and one from Windows server. You can see that the file was deleted from Windows server, but the GUI was not refreshed properly. Please help Kodi Next-Gen App: 2021-10-04 23:09:37.052 T:4964 ERROR <general>: Control 155 in window 13001 has been asked to focus, but it can't 2021-10-04 23:09:37.052 T:19877 INFO <general>: INFO: EMBY.dialogs.context.ContextMenu: options: ['Add to favorites', 'Refresh this item', 'Delete from Emby', 'Settings'] 2021-10-04 23:09:38.496 T:19877 INFO <general>: INFO: EMBY.dialogs.context.ContextMenu: option selected: Delete from Emby 2021-10-04 23:09:39.490 T:19877 INFO <general>: INFO: EMBY.database.db_open.io: [ab396d0a26f342c9b369c2424c096946] 0 rows updated. 2021-10-04 23:09:39.491 T:19877 ERROR <general>: Exception in thread 2021-10-04 23:09:39.491 T:19877 ERROR <general>: Thread-312180 2021-10-04 23:09:39.491 T:19877 ERROR <general>: : 2021-10-04 23:09:39.491 T:19877 ERROR <general>: Traceback (most recent call last): 2021-10-04 23:09:39.491 T:19877 ERROR <general>: File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner 2021-10-04 23:09:39.491 T:19877 ERROR <general>: File "/usr/lib/python3.8/threading.py", line 870, in run 2021-10-04 23:09:39.494 T:19877 ERROR <general>: File "/storage/.kodi/addons/plugin.video.emby-next-gen/helper/context.py", line 112, in select_menu 2021-10-04 23:09:39.495 T:19877 ERROR <general>: 2021-10-04 23:09:39.495 T:19877 ERROR <general>: self.action_menu() 2021-10-04 23:09:39.495 T:19877 ERROR <general>: 2021-10-04 23:09:39.495 T:19877 ERROR <general>: File "/storage/.kodi/addons/plugin.video.emby-next-gen/helper/context.py", line 126, in action_menu 2021-10-04 23:09:39.495 T:19877 ERROR <general>: 2021-10-04 23:09:39.495 T:19877 ERROR <general>: self.delete_item(False) 2021-10-04 23:09:39.495 T:19877 ERROR <general>: 2021-10-04 23:09:39.495 T:19877 ERROR <general>: File "/storage/.kodi/addons/plugin.video.emby-next-gen/helper/context.py", line 47, in delete_item 2021-10-04 23:09:39.495 T:19877 ERROR <general>: 2021-10-04 23:09:39.495 T:19877 ERROR <general>: self.EmbyServers[self.server_id].library.removed([self.item[0]]) 2021-10-04 23:09:39.495 T:19877 ERROR <general>: 2021-10-04 23:09:39.495 T:19877 ERROR <general>: File "/storage/.kodi/addons/plugin.video.emby-next-gen/database/library.py", line 1026, in removed 2021-10-04 23:09:39.496 T:19877 ERROR <general>: 2021-10-04 23:09:39.496 T:19877 ERROR <general>: if item.isnumeric(): 2021-10-04 23:09:39.496 T:19877 ERROR <general>: 2021-10-04 23:09:39.496 T:19877 ERROR <general>: AttributeError 2021-10-04 23:09:39.496 T:19877 ERROR <general>: : 2021-10-04 23:09:39.496 T:19877 ERROR <general>: 'int' object has no attribute 'isnumeric' 2021-10-04 23:09:39.496 T:19877 ERROR <general>: 2021-10-04 23:09:41.976 T:4964 INFO <general>: VideoPlayer::OpenFile: http://127.0.0.1:57578/tvshows/6c2a057148b4d7c20a207c789aba6d07/201203/embyvideo-ab396d0a26f342c9b369c2424c096946-298170-120af4846396c69627ea06f104d8c98b-75340_en_6c2a057148b4d7c20a207c789aba6d07_001_0019-201203-9928-9928-episode-14338489-0-1-1-1-h264-prison.break.s01e19.1080p.bluray.dts.x264_ctrlhd.mkv Emby server: 2021-10-04 23:09:38.929 Info Server: http/1.1 DELETE http://192.168.116.6:8096/emby/Items/298169. UserAgent: Kodi/6.0.13 2021-10-04 23:09:38.930 Info App: Removing item from database, Type: Episode, Name: Bluff, Path: W:\Prison Break\Season 1\prison.break.s01e18.1080p.bluray.dts.x264-ctrlhd.mkv, Id: 298169 2021-10-04 23:09:38.930 Info App: Deleting path C:\Users\Grega\AppData\Roaming\Emby-Server\programdata\metadata\library\20\207981dd1a91a3ca1c500c5a3643298b 2021-10-04 23:09:38.962 Info App: Deleting path W:\Prison Break\Season 1\prison.break.s01e18.1080p.bluray.dts.x264-ctrlhd.mkv 2021-10-04 23:10:39.722 Info LibraryMonitor: Season 1 (W:\Prison Break\Season 1) will be refreshed. That seems to be a bug. I'll check it.
gdrcar 5 Posted October 6, 2021 Author Posted October 6, 2021 (edited) My god. It works and not only that - even better than ever before. It doesnt need refresh anymore and its in the same second deleted from the menu. Many thanks Edited October 6, 2021 by gdrcar 1
quickmic 1610 Posted October 6, 2021 Posted October 6, 2021 Great, but please update again to 6.1.1. There was a major bug in 6.1.0. Sorry for the inconvenience
quickmic 1610 Posted October 6, 2021 Posted October 6, 2021 (edited) Takes some time till Kodi repo is synced, as long as you don't add new content 6.1.0 is fine. Actually that's the issue with 6.1.0 doesn't sync new content. Edited October 6, 2021 by quickmic
gdrcar 5 Posted October 7, 2021 Author Posted October 7, 2021 OK, I waited..restarted system...still no 6.1.1 for me. I'll wait...:)
gdrcar 5 Posted October 7, 2021 Author Posted October 7, 2021 Still nothing. Can you check? It still lists 6.1.0 as the latest.
quickmic 1610 Posted October 7, 2021 Posted October 7, 2021 This is up to Kodi and not to the server or plugin. You can try disable and re-enable the emby beta repo. Maybe this helps. If not you can use the sledgehammer. Uninstall emby kodi beta repo and reinstall it. I use this method to force an update.
gdrcar 5 Posted October 7, 2021 Author Posted October 7, 2021 Bingo, just reinstalled beta repo and it shows. Upgraded. Thank you very much for all your help. 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now