Crash on zap timer start when in media player selection screen

Issue #479 resolved
prl created an issue

If you've got MEDIA, MENU>Settings>Stop service on return to movie list set to "yes", you've played at least one recording in the media player and haven't left the media player selection list since playing the recording when a zap timer starts, the UI crsahes.

Replication steps

Set MEDIA, MENU>Settings>Stop service on return to movie list set to "yes",

Set up zap timer for a few minutes ahead.

Back to live TV.

MEDIA to go to the media player selection list.

Play a recording.

STOP to return to the media player selection list.

Wait for timer to start.

Timer starts... crash.

Comments (2)

  1. Peter Urbanec

    Fix Bug #479: Crash on zap timer start when in media player selection screen

    When MEDIA, MENU>Settings>Stop service on return to movie list set to "yes" an item has been played and stopped, so that the current live TV service isn't playing in the background, MoviePlayer.instance is not None, but Navigation.currentlyPlayingServiceReference is None, so when Navigation.currentlyPlayingServiceReference.toString()is called, the UI crashes.

    This fix tests for Navigation.currentlyPlayingServiceReference being None and avoids calling toString() on it.

    → <<cset 4e653630c8cb>>

  2. Log in to comment