This is a special-snowflake menu entry which is only visible in one specific adapter.
Let onPrepareOptionsMenu fully manage it to avoid clashes with SlidingPlaybackView's menu entry hider.
ShowQueueFragment used to keep a reference to PlaybackService - which may get stale at some point (if the service is re-created), causing the fragment to lose any functionality.
This commit gets rid of the long lived reference.
(Note that the Adapter still has a semi-long-lived reference. Thats not nice but okay as it only needs to access the SongTimeline)
* Show song durations in queue (by adding a TextView)
This partially addresses https://github.com/vanilla-music/vanilla/issues/647
* Make duration TextView gone by default
* Show song durations in playlist
Adds a new _flags column to the song table which can be used to store bool flags for the song.
Currently, only 1<<0 is used to indicate that a song is outdated (but still valid)
/sdcard is Fat32 by default, so do an case-insensitive black- and whitelist matching.
This helps if - for whatever reason - the mediadb and readdir() disagree on the case.
The media/audio folder can be used as an alternative combined folder to add custom sounds to various android choosers.
This folder may hold for example the following subdirectories:
* alarms (/sdcard/Alarms alternative)
* notifications (/sdcard/Notifications alternative)
* ringtones (/sdcard/Ringtones alternative)
* ui (dont know if /sdcard/Ui is also such a directory)
All of these are scanned by Android in the same way like the other special directories.
As they hold e.g. click or short alarm sounds or like that they are not needed in music player ;).