mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-24 13:40:57 +03:00
Added UI support for sharing videos
This commit is contained in:
@@ -151,12 +151,12 @@ export class PostsService {
|
||||
return this.http.post(this.path + 'checkPin', {input_pin: unhashed_pin});
|
||||
}
|
||||
|
||||
enableSharing(uid, type) {
|
||||
return this.http.post(this.path + 'enableSharing', {uid: uid, type: type});
|
||||
enableSharing(uid, type, is_playlist) {
|
||||
return this.http.post(this.path + 'enableSharing', {uid: uid, type: type, is_playlist: is_playlist});
|
||||
}
|
||||
|
||||
disableSharing(uid, type) {
|
||||
return this.http.post(this.path + 'disableSharing', {uid: uid, type: type});
|
||||
disableSharing(uid, type, is_playlist) {
|
||||
return this.http.post(this.path + 'disableSharing', {uid: uid, type: type, is_playlist: is_playlist});
|
||||
}
|
||||
|
||||
createPlaylist(playlistName, fileNames, type, thumbnailURL) {
|
||||
@@ -166,6 +166,11 @@ export class PostsService {
|
||||
thumbnailURL: thumbnailURL});
|
||||
}
|
||||
|
||||
getPlaylist(playlistID, type) {
|
||||
return this.http.post(this.path + 'getPlaylist', {playlistID: playlistID,
|
||||
type: type});
|
||||
}
|
||||
|
||||
updatePlaylist(playlistID, fileNames, type) {
|
||||
return this.http.post(this.path + 'updatePlaylist', {playlistID: playlistID,
|
||||
fileNames: fileNames,
|
||||
|
||||
Reference in New Issue
Block a user