Commit Graph

131 Commits

Author SHA1 Message Date
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
matthewmcgarvey
3b1837a99b Move remaining routes to new structure 2022-02-22 23:20:09 -06:00
Samantaz Fox
b58b0440d6 Fix captions regex 2022-02-22 19:44:41 +01:00
Féry Mathieu (Mathius)
dbba9d7687 Expose version in /api/v1/stats with statistic disabled 2022-02-18 17:23:16 +01:00
Samantaz Fox
85ba04b715 Merge pull request #2871 from SamantazFox/user-code-cleaning
User code cleaning & fixing
2022-02-14 15:38:05 +01:00
Samantaz Fox
d12dff9dcf Use a regex to fix badly aligned captions 2022-02-07 22:18:24 +01:00
Samantaz Fox
99d770be64 Move user pages (ECR files) to subfolder 2022-02-07 17:39:15 +01:00
Samantaz Fox
698a6f3886 API: handle related channels parsing exceptions 2022-02-07 00:52:18 +01:00
Samantaz Fox
1668e4187e Related channel may contain a continuation entry 2022-02-07 00:37:47 +01:00
Samantaz Fox
fc5f84a0cd Merge pull request #2827 from SamantazFox/more-code-cleanup
More code cleanup
2022-02-02 00:36:19 +01:00
matthewmcgarvey
a82d21ff78 Cleanup channel helpers code 2022-01-27 20:12:42 -06:00
Samantaz Fox
84cc732281 search functions: Don't return result count
This is useless, as the items count can be directly acessed
using the '.size' method, so use that instead when needed.
2022-01-28 02:22:36 +01:00
Samantaz Fox
12b818a83c Fix more 'Lint/ShadowingOuterLocalVar' warnings reported by ameba 2022-01-28 02:19:53 +01:00
Samantaz Fox
1c91110464 Fix some 'Lint/ShadowingOuterLocalVar' warnings reported by ameba 2022-01-28 02:19:53 +01:00
Samantaz Fox
4cd7a3e83f Remove useless 'locale = env.get...' from many routes 2022-01-28 02:19:53 +01:00
Samantaz Fox
5e3c9cf290 Remove useless arguments from playlist-related functions 2022-01-28 02:19:53 +01:00