summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--assets/css/player.css3
-rw-r--r--locales/en-US.json2
-rw-r--r--locales/hu-HU.json27
-rw-r--r--locales/ru.json12
-rw-r--r--src/invidious/helpers/errors.cr2
-rw-r--r--src/invidious/videos.cr4
6 files changed, 39 insertions, 11 deletions
diff --git a/assets/css/player.css b/assets/css/player.css
index 120fd2f8..304375b5 100644
--- a/assets/css/player.css
+++ b/assets/css/player.css
@@ -70,6 +70,9 @@
margin-bottom: 2em;
}
+.video-js.player-style-youtube .vjs-progress-control .vjs-progress-holder, .video-js.player-style-youtube .vjs-progress-control {height: 5px;
+margin-bottom: 10px;}
+
ul.vjs-menu-content::-webkit-scrollbar {
display: none;
}
diff --git a/locales/en-US.json b/locales/en-US.json
index c57670fc..7518c3a1 100644
--- a/locales/en-US.json
+++ b/locales/en-US.json
@@ -68,7 +68,7 @@
"preferences_watch_history_label": "Enable watch history: ",
"preferences_speed_label": "Default speed: ",
"preferences_quality_label": "Preferred video quality: ",
- "preferences_quality_option_dash": "DASH (adaptative quality)",
+ "preferences_quality_option_dash": "DASH (adaptive quality)",
"preferences_quality_option_hd720": "HD720",
"preferences_quality_option_medium": "Medium",
"preferences_quality_option_small": "Small",
diff --git a/locales/hu-HU.json b/locales/hu-HU.json
index a3679813..50e505dc 100644
--- a/locales/hu-HU.json
+++ b/locales/hu-HU.json
@@ -31,15 +31,15 @@
"No": "Nem",
"Import and Export Data": "Adatok importálása és exportálása",
"Import": "Importálás",
- "Import Invidious data": "Az Invidious adatainak importálása",
- "Import YouTube subscriptions": "YouTube-feliratkozások importálása",
+ "Import Invidious data": "Az Invidious JSON-adatainak importálása",
+ "Import YouTube subscriptions": "YouTube- vagy OPML-feliratkozások importálása",
"Import FreeTube subscriptions (.db)": "FreeTube-feliratkozások importálása (.db)",
"Import NewPipe subscriptions (.json)": "NewPipe-feliratkozások importálása (.json)",
"Import NewPipe data (.zip)": "NewPipe adatainak importálása (.zip)",
"Export": "Exportálás",
"Export subscriptions as OPML": "Feliratkozások exportálása OPML-ként",
"Export subscriptions as OPML (for NewPipe & FreeTube)": "Feliratkozások exportálása OPML-ként (NewPipe-hoz és FreeTube-hoz)",
- "Export data as JSON": "Adat exportálása JSON-ként",
+ "Export data as JSON": "Az Invidious JSON-adatainak exportálása",
"Delete account?": "Törlésre kerüljön a fiók?",
"History": "Megnézett videók naplója",
"An alternative front-end to YouTube": "Ez az oldal egyike a YouTube alternatív kezelőfelületeinek",
@@ -159,7 +159,7 @@
"Engagement: ": "Visszajelzési mutató: ",
"Whitelisted regions: ": "Engedélyezett régiók: ",
"Blacklisted regions: ": "Tiltott régiók: ",
- "Shared `x`": "`x` napon osztották meg",
+ "Shared `x`": "`x` dátummal osztották meg",
"Premieres in `x`": "`x` később lesz a premierje",
"Premieres `x`": "`x` lesz a premierje",
"Hi! Looks like you have JavaScript turned off. Click here to view comments, keep in mind they may take a bit longer to load.": "Helló! Úgy tűnik a JavaScript ki van kapcsolva a böngészőben. Ide kattintva lehet olvasni a hozzászólásokat, de a betöltésük így kicsit több időbe telik.",
@@ -366,13 +366,13 @@
"invidious": "Invidious",
"videoinfo_started_streaming_x_ago": "`x` ezelőtt kezdte streamelni",
"search_filters_sort_option_views": "Mennyien látták",
- "search_filters_features_option_purchased": "Megvásárolva",
- "search_filters_features_option_three_sixty": "360°-os",
+ "search_filters_features_option_purchased": "Megvásárolt",
+ "search_filters_features_option_three_sixty": "360°-os virtuális valóság",
"footer_original_source_code": "Eredeti forráskód",
"none": "egyik sem",
"videoinfo_watch_on_youTube": "YouTube-on megnézni",
"videoinfo_youTube_embed_link": "beágyazva",
- "videoinfo_invidious_embed_link": "Beágyazás linkje",
+ "videoinfo_invidious_embed_link": "Beágyazott hivatkozás",
"download_subtitles": "Felirat – `x` (.vtt)",
"user_created_playlists": "`x` létrehozott lejátszási lista",
"user_saved_playlists": "`x` mentett lejátszási lista",
@@ -459,5 +459,16 @@
"Dutch (auto-generated)": "holland (automatikusan generált)",
"French (auto-generated)": "francia (automatikusan generált)",
"Vietnamese (auto-generated)": "vietnámi (automatikusan generált)",
- "search_filters_title": "Szűrők"
+ "search_filters_title": "Szűrők",
+ "preferences_watch_history_label": "Megnézett videók naplózása: ",
+ "search_message_no_results": "Nincs találat.",
+ "search_message_change_filters_or_query": "Próbálj meg bővebben rákeresni vagy a szűrőkön állítani.",
+ "search_message_use_another_instance": " Megpróbálhatod <a href=\"`x`\">egy másik</a> Invidious-oldalon is a keresést.",
+ "search_filters_date_label": "Feltöltés ideje",
+ "search_filters_date_option_none": "Mindegy mikor",
+ "search_filters_type_option_all": "Bármilyen",
+ "search_filters_duration_option_none": "Mindegy",
+ "search_filters_duration_option_medium": "Átlagos (4 és 20 perc között)",
+ "search_filters_features_option_vr180": "180°-os virtuális valóság",
+ "search_filters_apply_button": "Keresés a megadott szűrőkkel"
}
diff --git a/locales/ru.json b/locales/ru.json
index 88bb64ad..a10bb050 100644
--- a/locales/ru.json
+++ b/locales/ru.json
@@ -476,5 +476,15 @@
"preferences_save_player_pos_label": "Запоминать позицию: ",
"preferences_region_label": "Страна: ",
"preferences_watch_history_label": "Включить историю просмотров ",
- "search_filters_title": "Фильтр"
+ "search_filters_title": "Фильтр",
+ "search_filters_duration_option_none": "Любой длины",
+ "search_filters_type_option_all": "Любого типа",
+ "search_filters_date_option_none": "Любой даты",
+ "search_filters_date_label": "Дата загрузки",
+ "search_message_no_results": "Ничего не найдено.",
+ "search_message_use_another_instance": " Дополнительно вы можете <a href=\"`x`\">поискать на других зеркалах</a>.",
+ "search_filters_features_option_vr180": "VR180",
+ "search_message_change_filters_or_query": "Попробуйте расширить поисковый запрос и изменить фильтры.",
+ "search_filters_duration_option_medium": "Средние (4 - 20 минут)",
+ "search_filters_apply_button": "Применить фильтры"
}
diff --git a/src/invidious/helpers/errors.cr b/src/invidious/helpers/errors.cr
index 2eab6263..b80dcdaf 100644
--- a/src/invidious/helpers/errors.cr
+++ b/src/invidious/helpers/errors.cr
@@ -46,7 +46,7 @@ def error_template_helper(env : HTTP::Server::Context, status_code : Int32, exce
TEXT
- issue_template += github_details("Backtrace", HTML.escape(exception.inspect_with_backtrace))
+ issue_template += github_details("Backtrace", exception.inspect_with_backtrace)
# URLs for the error message below
url_faq = "https://github.com/iv-org/documentation/blob/master/docs/faq.md"
diff --git a/src/invidious/videos.cr b/src/invidious/videos.cr
index 27c2b6d1..8a6a0f1a 100644
--- a/src/invidious/videos.cr
+++ b/src/invidious/videos.cr
@@ -413,6 +413,10 @@ struct Video
end
end
+ # Livestream chunk infos
+ json.field "targetDurationSec", fmt["targetDurationSec"].as_i if fmt.has_key?("targetDurationSec")
+ json.field "maxDvrDurationSec", fmt["maxDvrDurationSec"].as_i if fmt.has_key?("maxDvrDurationSec")
+
# Audio-related data
json.field "audioQuality", fmt["audioQuality"] if fmt.has_key?("audioQuality")
json.field "audioSampleRate", fmt["audioSampleRate"].as_s.to_i if fmt.has_key?("audioSampleRate")