[MediaPlayer] - pressing TEXT can cause crash

Issue #331 resolved
prl created an issue

In the Media Player (MENU>Music), pressing TEXT to show subtitles crashes the GUI if there are no subtitles found.

Crash log attached.

The underlying cause is that Screens.AudioSelection.getSubtitleList() can return None if there are no subtitles available, and Screens.AudioSelection.fillList() expects that getSubtitleList() always returns a list. If getSubtitleList() returns None, the UI crashes.

Reproduction steps

From live TV, MENU>Music, navigate to an empty folder and press TEXT. Crash.

In MENU>Music navigate to /media/hdd/movie, highlight a .ts file, press TEXT, crash.

Comments (3)

  1. prl reporter

    A file was uploaded. reference to attachment mediaPlayerSubtitlesCrash_enigma2_crash_1415080992.log (T3 crash log file)

  2. Former user Account Deleted
    • removed issue_status

    The issue was updated with the following change(s):

    • The status has been updated, from New to Confirmed.
  3. prl reporter
    • removed issue_resolution
    • removed issue_percent
    • removed issue_close
    • removed issue_status

    The issue was updated with the following change(s):

    • The status has been updated, from Confirmed to Closed.
    • This issue has been closed
    • This issue's progression has been updated to 100 percent completed.
    • The resolution has been updated, from Not determined to Fixed.
  4. Log in to comment