Files
SubMusic/source/SubMusicConfigurePlaybackDelegate.mc
memen45 0a5aa1d6e4 v0.0.16 - pi
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)
2020-10-08 17:41:39 +02:00

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);
}
}