current track on wait

This commit is contained in:
_Bastler
2022-01-03 12:56:29 +01:00
parent eb6e3f93ba
commit 329e4acccb
3 changed files with 19 additions and 0 deletions
+4
View File
@@ -22,6 +22,10 @@ export class JukeboxService {
searchOffset(query: string, offset: number) {
return this.http.get(environment.apiUrl + "/jukebox/search?q=" + query + "&offset=" + offset);
}
current() {
return this.http.get(environment.apiUrl + "/jukebox/current");
}
queue(uri: string) {
return this.http.post(environment.apiUrl + "/jukebox/queue?uri=" + uri, "");