mirror of
https://github.com/memen45/SubMusic.git
synced 2026-02-18 00:57:39 +01:00
added podcast methods for AmpacheAPI, AmpacheProvider added podcast methods for SubsonicAPI, SubsonicProvider added PodcastStore class
22 lines
396 B
MonkeyC
22 lines
396 B
MonkeyC
using Toybox.System;
|
|
using Toybox.Application;
|
|
|
|
module PodcastStore {
|
|
var d_store = new Store(Storage.PODCASTS);
|
|
|
|
function get(id) {
|
|
return d_store.get(id);
|
|
}
|
|
|
|
function getIds() {
|
|
return d_store.getIds();
|
|
}
|
|
|
|
function save(podcast) {
|
|
return d_store.save(podcast);
|
|
}
|
|
|
|
function remove(podcast) {
|
|
return d_store.remove(podcast);
|
|
}
|
|
} |