syeopite
1f7592e599
Refactor structure of caption.cr
...
Rename CaptionsMetadata to Metadata
Nest Metadata under Captions
Unnest LANGUAGES constant from Metadata to main Captions module
2023-08-24 16:00:02 -07:00
syeopite
7e5935a9da
Rename Caption struct to CaptionMetadata
...
The Caption object does not actually store any text lines for the
subtitles. Instead it stores the metadata needed to display and fetch
the actual captions from the YT timedtext API.
Therefore it may be wiser to rename the struct to be more reflective of
its current usage as well as the future usage once the current caption
retrival system is replaced via InnerTube's transcript API
2023-07-23 14:40:08 -07:00
Chunky programmer
233bd3f593
Watch: Load watch page data for premieres
2023-06-07 11:32:20 -04:00
ChunkyProgrammer
e3081ef1a9
Apply style change suggestions
...
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2023-03-07 14:23:08 -05:00
ChunkyProgrammer
d8e23d34b6
add song title for music tracks
2023-03-07 11:38:09 -05:00
techmetx11
caf9520c86
Major improvements
2023-01-22 00:12:04 +01:00
techmetx11
fe5b81f2c3
Add support for multiple songs
2023-01-16 14:04:20 +01:00
techmetx11
1b5fbfc13e
Video: Add support for the music section
2023-01-14 13:16:20 +01:00
Samantaz Fox
47cc26cb3c
videos: fix 'Arithmetic overflow' error
2022-11-16 18:25:32 +01:00
Samantaz Fox
cc5c83333f
videos: improve fetching of streaming data
2022-11-13 14:40:00 +01:00
Samantaz Fox
2acff70811
videos: handle different JSON structs being present in cache
2022-10-31 20:30:35 +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
Samantaz Fox
ae03ed7bf7
videos: move player/next parsing code to a dedicated file
2022-10-31 20:09:04 +01:00
Samantaz Fox
e23ceb6ae9
videos: Fix extraction code according to tests
2022-10-31 20:09:04 +01:00
Samantaz Fox
7df0cfcbed
Videos: fix 'views' parsing for livestreams
2022-10-31 20:09:04 +01:00
Samantaz Fox
6aaea7fafa
Videos: parse data during first fetching
...
There will be less data to be stores in the DB cache
2022-10-31 20:09:04 +01:00
Samantaz Fox
cd03fa06ae
videos: move 'Caption' and associated global/functions to a separate file
2022-10-31 20:09:04 +01:00
Samantaz Fox
9baaef412f
videos: move 'VideoPreferences' and its associated function to a separate file
...
This will require some rework later.
2022-10-31 20:09:04 +01:00
Samantaz Fox
88141c459c
videos: move formats structure to a separate file/module
2022-10-31 20:09:04 +01:00
Samantaz Fox
6250039405
videos: move regions list to a dedicated file
2022-10-31 20:09:03 +01:00
Émilien Devos
a7d9df5516
add check video id for android client too ( #3280 )
2022-08-25 10:39:10 +02:00
Émilien Devos
389e49183c
throw error if the videoID returned is different
2022-08-23 19:34:54 +00:00
Samantaz Fox
b2c0f7efc3
Fix missing hash key: "toggleButtonRenderer" (issue #3260 )
2022-08-15 10:34:52 +02:00
Samantaz Fox
049ed114fd
Separate video data fetching from parsing in videos.cr
2022-07-18 23:35:34 +02:00
Samantaz Fox
c8765385df
Fetch data from next endpoint for scheduled streams
2022-07-14 17:56:53 +02:00
Samantaz Fox
abc81ebd08
Merge pull request #3165 from SamantazFox/small-fixes-06-2022
2022-07-11 17:41:58 +02:00
Samantaz Fox
beb9894c47
Merge pull request #3124 from iv-org/add-404-status-code
2022-07-06 22:05:01 +02:00
Samantaz Fox
f7b1dcc271
Don't treat LIVE_STREAM_OFFLINE playability status as an error ( fixes #3155 )
2022-07-04 22:24:36 +02:00
Samantaz Fox
eb226e1dcf
Remove all backend code related to dislikes
2022-07-04 22:24:23 +02:00
Samantaz Fox
3593f67eb6
Fix: related videos is a Hash(String, String)
2022-06-08 23:57:16 +02:00
Samantaz Fox
2b1e1b11a3
Fix CI: support BADGE_STYLE_TYPE_VERIFIED_ARTIST
2022-06-08 23:56:40 +02:00
Émilien Devos
c201ea53ba
Add 404 status code on all possible endpoints
2022-05-27 14:06:38 +00:00
Samantaz Fox
059796c60d
Merge pull request #3076 from SamantazFox/fix-3062-3063
...
Fix regressions of #2936
2022-05-04 22:29:10 +02:00
Samantaz Fox
b84ce6a556
Fix "cast from Nil to Bool failed"
2022-05-01 21:11:12 +02:00
Samantaz Fox
f5fb4c6c64
Apply 2859.diff
2022-05-01 21:10:43 +02:00
Samantaz Fox
e690e166b0
Fix javascript:void(0) instead of youtu.be links
2022-05-01 18:48:08 +02:00
Samantaz Fox
7f2176d7fc
Add 'targetDurationSec' and 'maxDvrDurationSec' to videos API
2022-05-01 17:21:10 +02:00
Émilien Devos
595c3fb833
Revert "Youtube verification badge" ( #3070 )
2022-04-30 23:42:38 +02:00
Samantaz Fox
1d25c55c0b
Merge pull request #2859 from jonas-w/verified-badge
...
Youtube verification badge
2022-04-30 18:54:38 +02:00
Samantaz Fox
b7f0b054b8
It's OTF, not OFT
2022-04-27 21:46:45 +02:00
Samantaz Fox
8144308aee
Add extra data to 'adaptiveFormats' in videos API
2022-04-27 00:22:34 +02:00
Samantaz Fox
0503d2a9f3
Fix 'adaptiveFormats' not available for livestreams in videos API
2022-04-27 00:22:10 +02:00
Samantaz Fox
135aaf56fd
Rescue DB errors in get_video()
2022-04-08 22:52:34 +02:00
Émilien Devos
c152243b4d
new method for bypassing age restriction ( #2996 )
2022-03-30 19:52:39 +02:00
Jonas Wunderlich
aa09bbe23d
Done some refactoring
2022-03-13 20:16:30 +01:00
Jonas
6de449811d
Merge branch 'iv-org:master' into verified-badge
2022-02-25 19:29:12 +01:00
matthewmcgarvey
ddf1e84f7c
Raise exception if playability not ok, also handle missing related videos
2022-02-10 23:43:14 -06:00
Samantaz Fox
febd785428
Add missing subtitle languages
2022-02-08 02:13:14 +01:00
jonas-w
00df3e2c40
Refactored code and added badges to Search but many dummies because of the way components/item works
2022-02-04 19:59:07 +01:00