Commit Graph

717 Commits

Author SHA1 Message Date
ChunkyProgrammer
bb04bcc42c Apply suggestions from code review
add videoId to resolve_url function

Co-Authored-By: Samantaz Fox <coding@samantaz.fr>
2023-09-18 20:10:41 -04:00
ChunkyProgrammer
e3c365f3d6 Add support for post page 2023-09-18 20:10:41 -04:00
Samantaz Fox
bb14f79496 Playlists: Use subtitle when author is missing (#4025) 2023-09-18 23:34:30 +02:00
Samantaz Fox
842e9fade5 Captions: Add ability to use Innertube's transcripts API (#4001) 2023-09-18 23:31:56 +02:00
ChunkyProgrammer
afb04c3bda HTMLl.Escape the playlist subtitle 2023-09-11 22:35:58 -04:00
ChunkyProgrammer
d7696574f4 Playlist: Use subtitle when author is missing 2023-09-11 22:35:57 -04:00
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
Samantaz Fox
f38d1f33b1 HTML: Add UI element for 'SearchHashtag' in item.ecr 2023-07-18 00:01:16 +02:00
Samantaz Fox
c8ade5194b UI: Nicer buttons (#3763) 2023-07-16 17:36:35 +02:00
Samantaz Fox
05cc503391 Fix lint 2023-07-15 12:57:26 +00:00
ChunkyProgrammer
f2fa3da9d2 Add support for releases and podcasts tabs 2023-07-14 16:15:20 -07:00
Samantaz Fox
9b75f79fb5 HTML/CSS: Add thumbnail placeholder in thin mode
This change is required to make the overlay buttons functional
(add to and delete from playlist, mark as watched, etc.)
2023-07-08 21:33:59 +02:00
Samantaz Fox
c17404890c HTML: Use the new pagination component for history/subscriptions 2023-07-08 20:48:37 +02:00
Samantaz Fox
06b2bab795 HTML: Fix thumbnails of related videos (watch page) 2023-07-08 20:48:37 +02:00
Samantaz Fox
411208bbd2 HTML: Reorder buttons on the channel and watch pages 2023-07-08 20:48:36 +02:00
Samantaz Fox
42fa6ad2a3 HTML/CSS: Fix buttons' responsiveness 2023-07-08 20:48:36 +02:00
Samantaz Fox
8718f20688 HTML: Fix thin mode/thumbnail on other items 2023-07-08 20:48:36 +02:00
Samantaz Fox
43dcab225c HTML: merge MixVideo with other types in item.ecr 2023-07-08 20:48:36 +02:00
Samantaz Fox
080c7446c6 HTML: Use new buttons for playlists (save/delete/add videos/etc...) 2023-07-08 20:48:32 +02:00
Samantaz Fox
b6bbfb9b20 HTML: Use new buttons for thumbnail overlays
In addition, this commit also heavily changes the structure of the
generic "video card" item. Main benefits:
  * Improved accessibility for keyboard users
  * Many styling glitches were fixed
  * PlaylistVideos now use the same items as the rest
  * Elements all have distinct CSS classes
  * Design can be expanded to add more icons
2023-07-06 00:58:32 +02:00
Samantaz Fox
7bd6d0ac49 HTML: Use the new pagination component for channel pages 2023-07-06 00:58:30 +02:00
Samantaz Fox
efaf7cb09c HTML: Use the new pagination component for search results 2023-07-06 00:57:40 +02:00
Samantaz Fox
c4ef3bed95 HTML: Use the new pagination component for playlists 2023-07-06 00:23:22 +02:00
Samantaz Fox
57c7b922f7 HTML: Make a dedicated ECR component for items + pagination 2023-07-06 00:23:22 +02:00
Samantaz Fox
d7568ac45a Remove old warning code about unconfigured 'hmac_key' 2023-07-01 21:53:56 +02:00
Samantaz Fox
b06c87ff8d User: Remove broken Google login (various comments) 2023-06-11 16:34:59 +02:00
Samantaz Fox
62bd895562 User: Remove broken Google login (HTML form) 2023-06-11 16:34:59 +02:00
Emilien Devos
372192eabc warn about hmac key deadline 2023-06-04 17:30:23 +02:00
Samantaz Fox
bbf16279bb Search: Allow browser suggestions (#3724) 2023-06-01 22:41:04 +02:00
Samantaz Fox
e10f6b6626 Comments: Move 'template_youtube' function to own file + module 2023-05-25 22:53:53 +02:00
Samantaz Fox
8d434ac06a User: Allow CSV Youtube playlists to be imported (#3595) 2023-05-23 19:34:24 +02:00
Gavin
c421f1f205 Merge branch 'iv-org:master' into youtube-playlist-import 2023-04-03 17:09:34 -07:00
raphj
600da635b7 Allow browser suggestions for search (#3704) 2023-04-02 23:36:06 +02:00
ChunkyProgrammer
1da00bade3 implement code suggestions
Co-Authored-By: Samantaz Fox <coding@samantaz.fr>
2023-04-02 16:31:59 -04:00
ChunkyProgrammer
a3da03bee9 improve accessibility 2023-03-27 22:56:29 -04:00
Samantaz Fox
8a44bd11d2 Videos: Fix 0 views and empty license field (#3557) 2023-03-20 19:15:12 +01:00
ChunkyProgrammer
ffcc837c2a remove music license 2023-03-12 18:50:01 -04:00
ChunkyProgrammer
d8e23d34b6 add song title for music tracks 2023-03-07 11:38:09 -05:00
techmetx11
4ac263f1df Replace == with empty? 2023-02-26 14:01:08 +01:00
techmetx11
8eca5b270e Video: Fix 0 views, and empty license field 2023-02-26 14:01:08 +01:00
thtmnisamnstr
b3eea6ab3e improved import algorithm, fixed a referer issue from the playlists page after deleting a playlist
Signed-off-by: thtmnisamnstr <gavinj1984@gmail.com>
2023-02-23 15:55:38 -08:00
Samantaz Fox
4bbeb4a4c8 Add watch indicators (#3383) 2023-02-19 23:08:38 +01:00
Wes van der Vleuten
bde21d527f Fixed console error 2023-02-19 20:41:18 +01:00
Gavin Johnson
96344f28b4 added youtube playlist import functionality. fixes issue #2114
Signed-off-by: Gavin Johnson <gavinj1984@gmail.com>
2023-01-28 09:26:16 -08:00
techmetx11
caf9520c86 Major improvements 2023-01-22 00:12:04 +01:00
Wes van der Vleuten
420e12bb8b Merge remote-tracking branch 'upstream/master' 2023-01-21 23:35:39 +01:00
Wes van der Vleuten
7fd205179b Added suggestions 2023-01-21 23:24:22 +01:00
Gavin Johnson
855202e40e added youtube playlist import; initial commit
Signed-off-by: Gavin Johnson <gavinj1984@gmail.com>
2023-01-16 15:40:38 -08:00
techmetx11
fe5b81f2c3 Add support for multiple songs 2023-01-16 14:04:20 +01:00