diff options
Diffstat (limited to 'shared/extra-utils/videos/videos.ts')
-rw-r--r-- | shared/extra-utils/videos/videos.ts | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/shared/extra-utils/videos/videos.ts b/shared/extra-utils/videos/videos.ts index a45c0402a..920c93072 100644 --- a/shared/extra-utils/videos/videos.ts +++ b/shared/extra-utils/videos/videos.ts | |||
@@ -262,28 +262,6 @@ function getVideoChannelVideos ( | |||
262 | }) | 262 | }) |
263 | } | 263 | } |
264 | 264 | ||
265 | function getPlaylistVideos ( | ||
266 | url: string, | ||
267 | accessToken: string, | ||
268 | playlistId: number | string, | ||
269 | start: number, | ||
270 | count: number, | ||
271 | query: { nsfw?: boolean } = {} | ||
272 | ) { | ||
273 | const path = '/api/v1/video-playlists/' + playlistId + '/videos' | ||
274 | |||
275 | return makeGetRequest({ | ||
276 | url, | ||
277 | path, | ||
278 | query: immutableAssign(query, { | ||
279 | start, | ||
280 | count | ||
281 | }), | ||
282 | token: accessToken, | ||
283 | statusCodeExpected: HttpStatusCode.OK_200 | ||
284 | }) | ||
285 | } | ||
286 | |||
287 | function getVideosListPagination (url: string, start: number, count: number, sort?: string, skipCount?: boolean) { | 265 | function getVideosListPagination (url: string, start: number, count: number, sort?: string, skipCount?: boolean) { |
288 | const path = '/api/v1/videos' | 266 | const path = '/api/v1/videos' |
289 | 267 | ||
@@ -871,7 +849,6 @@ export { | |||
871 | getLocalVideos, | 849 | getLocalVideos, |
872 | completeVideoCheck, | 850 | completeVideoCheck, |
873 | checkVideoFilesWereRemoved, | 851 | checkVideoFilesWereRemoved, |
874 | getPlaylistVideos, | ||
875 | getMyVideosWithFilter, | 852 | getMyVideosWithFilter, |
876 | uploadVideoAndGetId, | 853 | uploadVideoAndGetId, |
877 | getLocalIdByUUID, | 854 | getLocalIdByUUID, |