Context menu fails after delete attempt.
DanOnline2023 opened this issue · 0 comments
Describe the bug
Following an attempt to delete a file via the context menu, the context menu can no longer be reached. The file is not deleted.
Deleting files via the Web client works correctly.
To Reproduce
- Go to 'JellyCon/TV Shows'
- Press 'C'' on your keyboard. Select any show.
- Scroll up to "Delete"
- Press "Enter"
- The file is not deleted. Further attempts to call up the context menu fail. Restart Kodi to correct.
- Note that other functions on the context menu seem to work correctly although I have not confirmed that all of them do.
- See the attached screen cam for a demo.
Expected behavior
The file should be deleted. The context menu should still be available.
Logs
2023-06-30 08:41:33.846 T:8036 error :
2023-06-30 08:41:33.846 T:8036 error : show_menu(params)
2023-06-30 08:41:33.846 T:8036 error :
2023-06-30 08:41:33.846 T:8036 error : File "C:\Users{User Name}\AppData\Roaming\Kodi\addons\plugin.video.jellycon\resources\lib\functions.py", line 575, in show_menu
2023-06-30 08:41:33.870 T:8036 error :
2023-06-30 08:41:33.870 T:8036 error : delete(item_id)
2023-06-30 08:41:33.870 T:8036 error :
2023-06-30 08:41:33.870 T:8036 error : File "C:\Users{User Name}\AppData\Roaming\Kodi\addons\plugin.video.jellycon\resources\lib\functions.py", line 258, in delete
2023-06-30 08:41:33.870 T:8036 error :
2023-06-30 08:41:33.870 T:8036 error : item_id = item.get("Id")
2023-06-30 08:41:33.870 T:8036 error :
2023-06-30 08:41:33.870 T:8036 error : AttributeError
2023-06-30 08:41:33.870 T:8036 error : :
2023-06-30 08:41:33.871 T:8036 error : 'NoneType' object has no attribute 'get'
2023-06-30 08:41:33.871 T:8036 error :
2023-06-30 08:41:33.871 T:8036 debug : .
Screenshots
ScreenCam attached.
System (please complete the following information):
- OS: Windows 10 22H2
- JellyCon Version: 0.7.0+py3
- Jellyfin Version: 10.8.8
- Kodi Version: 20.1
Additional context
Please see attached screen cam for demo.