birdman
Moderator
I've just had a crash when stopping a playback and "immediately" pressing the red button to delete it.
The crash seems to be caused by me trying to delete it "too soon" as the screen was still drawing and there was no current item to delete. Here's the crash log: View attachment enigma2_crash_1436125046.log
Looks like a fix (as things shouldn't crash) would be to put some code into a try/except clause. So, in Screens/MovieSelection.py, something like this at the start of def delete
Alternatively, don't bind the keys to function before the screen has been completely initialized....
The crash seems to be caused by me trying to delete it "too soon" as the screen was still drawing and there was no current item to delete. Here's the crash log: View attachment enigma2_crash_1436125046.log
Looks like a fix (as things shouldn't crash) would be to put some code into a try/except clause. So, in Screens/MovieSelection.py, something like this at the start of def delete
Code:
try:
item = self.getCurrentSelection()
except:
return
Alternatively, don't bind the keys to function before the screen has been completely initialized....