diff options
Diffstat (limited to 'src/audio/audio.vala')
-rw-r--r-- | src/audio/audio.vala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/audio/audio.vala b/src/audio/audio.vala index a6e5007..1404969 100644 --- a/src/audio/audio.vala +++ b/src/audio/audio.vala @@ -74,6 +74,10 @@ public class AudioPlayerImplementation { return get_random_file(path + "user/"); } + public string[] get_user_themes() { + return get_files(path + "user/"); + } + public void play_user(string theme, string type) { p.set_state(Gst.State.NULL); var file = get_random_file(path + "user/" + theme+ "/" + type); |