Harm 93724f8051 Update logic to process shorts/livestreams
[config/config.example.yml]
- Separate hide_shorts_and_live to hide_shorts and hide_livestreams

[config/sql/channel_videos.sql]
- Introduce enum video_type
- Include video_type as new column for channel_videos

[locales/en-US.json]
- Add labels for new settings

[src/invidious/channels/channels.cr]
- Add property video_type of type VideoType to ChannelVideo struct
- Add deserializer module for conversion from database entry to enum
- Add check if we already have a video in the database.
  If the video `updated` field has no been updated, only update views
- Add check whether a video is in the `videos` array. If this is not
  the case, fetch the individual video for `video_type` as well as
  `length_videos`

[src/invidious/config.cr]
- Separate hide_shorts_and_live property
  to hide_shorts and hide_livestreams properties

[src/invidious/database/channels.cr]
- Include video_type in database insert for ChannelVideo

[src/invidious/routes/preferences.cr]
- Separate hide_shorts_and_live setting to hide_shorts and hide_livestreams

[src/invidious/users.cr]
- Accumulate VideoTypes in an array and query on these types
- Remove paths for hide_shorts_and_live

[src/invidious/videos.cr]
- Add `Short` entry to VideoType enum

[src/invidious/videos/parser.cr]
- Add check whether a video is a short
2026-01-24 16:08:16 +01:00
..
2023-06-29 23:52:41 +02:00
2025-09-12 15:05:16 +00:00
2023-08-07 21:29:48 +02:00
2023-10-07 17:35:04 +00:00
2025-09-12 15:03:53 +00:00
2025-09-12 15:06:32 +00:00
2025-09-12 15:03:42 +00:00
2025-09-12 15:04:11 +00:00
2025-09-12 15:04:24 +00:00
2025-09-12 15:04:18 +00:00
2025-09-12 15:02:29 +00:00
2025-09-12 15:02:22 +00:00
2025-09-12 15:02:38 +00:00
2025-09-12 15:02:45 +00:00
2025-09-12 15:05:42 +00:00
2025-09-12 15:03:11 +00:00
2025-09-12 15:02:59 +00:00
2025-09-12 15:05:55 +00:00
2025-09-12 15:05:58 +00:00
2025-09-12 15:05:46 +00:00
2025-09-12 15:06:37 +00:00
2025-09-12 15:04:57 +00:00
2025-09-12 15:04:54 +00:00
2025-09-12 15:04:43 +00:00
2025-09-12 15:04:46 +00:00
2025-09-12 15:05:21 +00:00
2025-09-12 15:05:28 +00:00
2025-09-12 15:04:39 +00:00
2025-09-12 15:05:11 +00:00
2025-09-12 15:04:05 +00:00
2025-09-12 15:06:06 +00:00
2025-09-12 15:06:45 +00:00
2025-09-12 15:02:14 +00:00
2025-09-12 15:02:12 +00:00
2025-09-12 15:06:42 +00:00
2025-09-12 15:05:36 +00:00
2023-08-07 21:29:48 +02:00
2025-09-12 15:05:05 +00:00
2025-09-12 15:04:30 +00:00
2025-09-12 15:03:31 +00:00
2025-09-12 15:03:22 +00:00
2025-09-12 15:06:12 +00:00
2025-09-12 15:06:09 +00:00
2025-09-12 15:06:16 +00:00
2025-09-12 15:06:03 +00:00
2025-09-12 15:06:00 +00:00
2025-09-12 15:05:49 +00:00
2025-09-12 15:02:18 +00:00
2025-09-12 15:02:17 +00:00
2025-01-25 14:02:51 +01:00
2025-09-12 15:02:11 +00:00
2025-09-12 15:03:59 +00:00
2025-09-12 15:04:34 +00:00