mirror of
https://github.com/memen45/SubMusic.git
synced 2026-02-18 00:57:39 +01:00
Version [0.0.16] - 2020-10-08
- added support for d2 delta series and Venu Mercedes-Benz Collection
- fixed null handling (Nextcloud + SMB storage bug)
- fixed incorrect progressbar
- upgrade to storage, requires resync (no reinstall needed)
- improved speed of playback selection
- fixes syncing playlist metadata in background
- fixed managing playlists that are no longer online ('local only')
- fixed marking of incompletely synced playlist ('needs sync')
- added support for adts, wav, mp4 file types (defaults to mp3)
22 lines
459 B
MonkeyC
22 lines
459 B
MonkeyC
using Toybox.WatchUi;
|
|
|
|
class SubMusicConfigurePlaybackDelegate extends WatchUi.BehaviorDelegate {
|
|
|
|
function initialize() {
|
|
BehaviorDelegate.initialize();
|
|
|
|
}
|
|
|
|
function onSelect(item) {
|
|
|
|
// store selection as current playlist
|
|
Application.Storage.setValue(Storage.PLAYLIST, item.getId());
|
|
Media.startPlayback(null);
|
|
}
|
|
|
|
function onBack() {
|
|
WatchUi.popView(WatchUi.SLIDE_IMMEDIATE);
|
|
}
|
|
|
|
}
|