Commit Graph

96 Commits

Author SHA1 Message Date
Brahim Hadriche
0b17f68eba Fix input validation 2023-03-07 13:50:02 -05:00
Brahim Hadriche
a5cc66e060 Fix id check 2023-03-02 16:11:50 -05:00
Brahim Hadriche
38f6d08be6 Validate id, avoid db call if not needed 2023-03-02 14:47:14 -05:00
Brahim Hadriche
8c0efb3ea9 validate video id 2023-03-02 14:45:26 -05:00
Brahim Hadriche
27bf4d02a1 PR nursing 2023-03-01 22:08:19 -05:00
Brahim Hadriche
15e9510ab2 Check preferences before marking video as watched 2023-02-20 16:43:36 -05:00
Brahim Hadriche
7b124eec64 Add History API 2023-02-20 16:27:16 -05:00
Samantaz Fox
ba217c9174 API: Add endpoints for import/export (#3617) 2023-02-19 14:39:56 +01:00
Samantaz Fox
217b740e01 API: Add endpoint to resolve youtube urls (#3612) 2023-02-19 14:39:47 +01:00
ChunkyProgrammer
97825be10c add missing authorVerified to api 2023-02-07 21:52:53 -05:00
Brahim Hadriche
2606decd21 Refactor export function 2023-02-05 15:00:11 -05:00
Brahim Hadriche
b2589c74be Add API for import/export 2023-02-02 19:14:02 -05:00
ChunkyProgrammer
c162c7ff3f add pageType 2023-02-02 18:20:14 -05:00
ChunkyProgrammer
bf5175d1e9 Feat: Add api endpoint to resolve youtube urls 2023-02-02 12:41:13 -05:00
Samantaz Fox
624425cfa8 Add support for timedtext captions (#3533) 2023-01-22 18:34:40 +01:00
Samantaz Fox
0e68756758 Make DASH absolute urls when local (#3554) 2023-01-17 22:33:34 +01:00
DUO Labs
67ace4fd9d Some indention changes
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2023-01-16 18:50:38 -05:00
Brahim Hadriche
910809f1eb Handle case with included manifest 2023-01-16 08:33:34 -05:00
Samantaz Fox
1af846e58c API: make /api/v1/videos respect the 'local' parameter 2023-01-15 17:18:34 +01:00
Brahim Hadriche
1fb0a49592 Make DASH absolute urls when local 2023-01-13 12:05:01 -05:00
DUOLabs333
4b2d942024 Convert tabs to spaces 2023-01-11 15:58:07 -05:00
DUOLabs333
32471382c4 Different cosmetic fixes 2023-01-08 16:18:35 -05:00
DUOLabs333
9d83e2da4e Add newline 2023-01-03 10:29:17 -05:00
DUOLabs333
45b8f6d0cd More linting 2023-01-03 10:25:05 -05:00
DUOLabs333
8df1c3bb57 Add support for timedtext captions 2023-01-03 10:17:47 -05:00
Samantaz Fox
69b8e0919f api: Add support for the "featured channels" endpoint 2022-12-22 17:26:30 +01:00
Samantaz Fox
4e3a930626 frontend: Add support for the "featured channels" page 2022-12-22 16:13:35 +01:00
Samantaz Fox
40c666cab2 api: Add support for shorts and livestreams 2022-12-22 16:13:34 +01:00
Samantaz Fox
2903e896ec channel: use YT API + extractors to fetch videos 2022-12-22 16:13:34 +01:00
Samantaz Fox
d659a451d6 videos: remove unused 'VideoRedirect' exception 2022-10-31 20:09:04 +01:00
Samantaz Fox
87a5d70062 videos: move API's JSON structure to a dedicated module 2022-10-31 20:09:04 +01:00
Jakub Filo
4818b89ab1 Allow to set maximum custom playlist length via a config variable. 2022-08-27 22:36:07 +02:00
Samantaz Fox
cd6c73e487 Merge pull request #3162 from 138138138/138138138-audio-quality-1 2022-07-11 17:36:28 +02:00
Samantaz Fox
69ad57338f Mention why we use multiple AdaptationSet for audio 2022-07-11 17:29:42 +02:00
138138138
cbcf31a4f9 Skip OTF streams in DASH audio
Skip OTF streams, prevent creating empty AdaptationSet in DASH audio
2022-07-10 16:54:56 +08:00
138138138
e0f6988eb5 DASH Default to high quality m4a 2022-06-25 18:52:34 +08:00
138138138
a62adccd3d change lang to label
lang has to be BCP 47 standard. Using label also can let video.js know there are 2 audio tracks.
2022-06-25 16:33:02 +08:00
138138138
c75bf35f59 Update DASH format to serve 2 audio to player
player.audioTracks() can successfully show
tracks_: Array(2)
2022-06-24 17:26:30 +08:00
138138138
3013782b7b formatting 2022-06-23 03:03:54 +08:00
138138138
140b6c1227 DASH playback force highest quality m4a
Since VideoJS is unable to handle adaptive audio quality, the best audo quality is forced for every video quality.
2022-06-23 02:13:22 +08:00
Émilien Devos
c201ea53ba Add 404 status code on all possible endpoints 2022-05-27 14:06:38 +00:00
Samantaz Fox
b7f0b054b8 It's OTF, not OFT 2022-04-27 21:46:45 +02:00
Samantaz Fox
0503d2a9f3 Fix 'adaptiveFormats' not available for livestreams in videos API 2022-04-27 00:22:10 +02:00
Émilien Devos
2ea986326d Bump videojs to 7.12.1 (#3011) 2022-04-22 22:37:45 +02:00
Samantaz Fox
d93a7b315d Make use of Search::Query/Filters and associated HTML generator 2022-04-03 22:27:52 +02:00
Samantaz Fox
f9b8bc006f Create a search processors module 2022-03-29 20:31:23 +02:00
Samantaz Fox
f7b557eed1 API: fix suggestions not workin
Closes #2914 
Thanks to @TiA4f8R for the help
2022-03-06 01:12:57 +01:00
Samantaz Fox
575b039170 Merge pull request #2922 from SamantazFox/download-widget-fix
Download widget fix
2022-02-24 22:53:06 +01:00
matthewmcgarvey
d5f43bae92 Combine notifications endpoints and move them 2022-02-23 22:45:07 -06:00
Samantaz Fox
2f335b3d2c Use a dedicated endpoind for downloads
This allows us to not pass file name ("title") in the form
data and to enforce some sanity checks
2022-02-23 13:00:30 +01:00