-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
When a file is passed in to app (drag+drop, open with, etc) that is not playable, a useful message should be displayed on screen.
- Depending on the file extension or reason for not being playable, it should display a useful message:
- General not supported: "Unable to load foo.bar" or "Unable to load sample.txt"
- Explicit not supported: "Unable to load sample.mp4. mp4 files are not currently supported" (so have an internal blacklist of extensions that we know cannot work due to technical limitations, etc.)
- Error message in case of a supported extension but the file was corrupted: "Unable to load corrupted.mp3 - Invalid header"
- The message should be visible for a few seconds.
- If a song is already playing, the message covers the current visualizer.
See also Issue #9 for more supported formats. These could be used for the blacklist/whitelist of file extensions which would provide more useful error messages. ie:
- "extension .foo is not yet supported
- "extension .bar should be supported, but the file could not be loaded."