jellyfin/jellycon

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

  1. Go to 'JellyCon/TV Shows'
  2. Press 'C'' on your keyboard. Select any show.
  3. Scroll up to "Delete"
  4. Press "Enter"
  5. The file is not deleted. Further attempts to call up the context menu fail. Restart Kodi to correct.
  6. Note that other functions on the context menu seem to work correctly although I have not confirmed that all of them do.
  7. 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.

JelliCon-Context-Menu-Issue.mp4