Added backend and database support for video streaming

Added UI support for video streaming. branch is now feature-complete
This commit is contained in:
Isaac Grynsztein
2020-04-09 23:33:58 -04:00
parent a61606b69f
commit e15141c5e0
7 changed files with 60 additions and 16 deletions

View File

@@ -184,8 +184,8 @@ export class PostsService {
return this.http.post(this.path + 'deletePlaylist', {playlistID: playlistID, type: type});
}
createSubscription(url, name, timerange = null) {
return this.http.post(this.path + 'subscribe', {url: url, name: name, timerange: timerange})
createSubscription(url, name, timerange = null, streamingOnly = false) {
return this.http.post(this.path + 'subscribe', {url: url, name: name, timerange: timerange, streamingOnly: streamingOnly});
}
unsubscribe(sub, deleteMode = false) {