Enable transcoding of downlods (#1667)
* feat(download): Enable transcoding of downlods - #573 Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com> * feat(download): Make automatic transcoding of downloads optional Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com> * Fix spelling * address changes * prettier * fix config * use previous name Signed-off-by: Kendall Garner <17521368+kgarner7@users.noreply.github.com>
This commit is contained in:
@@ -38,7 +38,8 @@ const unstar = (id) => httpClient(url('unstar', id))
|
||||
|
||||
const setRating = (id, rating) => httpClient(url('setRating', id, { rating }))
|
||||
|
||||
const download = (id) => (window.location.href = baseUrl(url('download', id)))
|
||||
const download = (id, format = 'raw', bitrate = '0') =>
|
||||
(window.location.href = baseUrl(url('download', id, { format, bitrate })))
|
||||
|
||||
const startScan = (options) => httpClient(url('startScan', null, options))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user