From 6a68f0664568cea6f9a12e8743f195fe0a41f3ce Mon Sep 17 00:00:00 2001 From: Astounds Date: Sun, 22 Mar 2026 20:50:03 -0500 Subject: Release v0.4.0 - HD Thumbnails, YouTube 2024+ Support, and yt-dlp Integration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Major Features: - HD video thumbnails (hq720.jpg) with automatic fallback to lower qualities - HD channel avatars (240x240 instead of 88x88) - YouTube 2024+ lockupViewModel support for channel playlists - youtubei/v1/browse API integration for channel playlist tabs - yt-dlp integration for multi-language audio and subtitles Bug Fixes: - Fixed undefined `abort` import in playlist.py - Fixed undefined functions in proto.py (encode_varint, bytes_to_hex, succinct_encode) - Fixed missing `traceback` import in proto_debug.py - Fixed blurry playlist thumbnails using default.jpg instead of HD versions - Fixed channel playlists page using deprecated pbj=1 format Improvements: - Automatic thumbnail fallback system (hq720 → sddefault → hqdefault → mqdefault → default) - JavaScript thumbnail_fallback() handler for 404 errors - Better thumbnail quality across all pages (watch, channel, playlist, subscriptions) - Consistent HD avatar display for all channel items - Settings system automatically adds new settings without breaking user config Files Modified: - youtube/watch.py - HD thumbnails for related videos and playlist items - youtube/channel.py - HD thumbnails for channel playlists, youtubei API integration - youtube/playlist.py - HD thumbnails, fixed abort import - youtube/util.py - HD thumbnail URLs, avatar HD upgrade, prefix_url improvements - youtube/comments.py - HD video thumbnail - youtube/subscriptions.py - HD thumbnails, fixed abort import - youtube/yt_data_extract/common.py - lockupViewModel support, extract_lockup_view_model_info() - youtube/yt_data_extract/everything_else.py - HD playlist thumbnails - youtube/proto.py - Fixed undefined function references - youtube/proto_debug.py - Added traceback import - youtube/static/js/common.js - thumbnail_fallback() handler - youtube/templates/*.html - Added onerror handlers for thumbnail fallback - youtube/version.py - Bump to v0.4.0 Technical Details: - All thumbnail URLs now use hq720.jpg (1280x720) when available - Fallback handled client-side via JavaScript onerror handler - Server-side avatar upgrade via regex in util.prefix_url() - lockupViewModel parser extracts contentType, metadata, and first_video_id - Channel playlist tabs now use youtubei/v1/browse instead of deprecated pbj=1 - Settings version system ensures backward compatibility --- translations/es/LC_MESSAGES/messages.po | 74 ++++++++++++++++++++++++++++++++ translations/messages.pot | 75 +++++++++++++++++++++++++++++++++ 2 files changed, 149 insertions(+) create mode 100644 translations/es/LC_MESSAGES/messages.po create mode 100644 translations/messages.pot (limited to 'translations') diff --git a/translations/es/LC_MESSAGES/messages.po b/translations/es/LC_MESSAGES/messages.po new file mode 100644 index 0000000..277b099 --- /dev/null +++ b/translations/es/LC_MESSAGES/messages.po @@ -0,0 +1,74 @@ +# Spanish translations for yt-local. +# Copyright (C) 2026 yt-local +# This file is distributed under the same license as the yt-local project. +# +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-03-22 15:05-0500\n" +"PO-Revision-Date: 2026-03-22 15:06-0500\n" +"Last-Translator: \n" +"Language: es\n" +"Language-Team: es \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.18.0\n" + +#: youtube/templates/base.html:38 +msgid "Type to search..." +msgstr "Escribe para buscar..." + +#: youtube/templates/base.html:39 +msgid "Search" +msgstr "Buscar" + +#: youtube/templates/base.html:45 +msgid "Options" +msgstr "Opciones" + +#: youtube/templates/base.html:47 +msgid "Sort by" +msgstr "Ordenar por" + +#: youtube/templates/base.html:50 +msgid "Relevance" +msgstr "Relevancia" + +#: youtube/templates/base.html:54 youtube/templates/base.html:65 +msgid "Upload date" +msgstr "Fecha de subida" + +#: youtube/templates/base.html:58 +msgid "View count" +msgstr "Número de visualizaciones" + +#: youtube/templates/base.html:62 +msgid "Rating" +msgstr "Calificación" + +#: youtube/templates/base.html:68 +msgid "Any" +msgstr "Cualquiera" + +#: youtube/templates/base.html:72 +msgid "Last hour" +msgstr "Última hora" + +#: youtube/templates/base.html:76 +msgid "Today" +msgstr "Hoy" + +#: youtube/templates/base.html:80 +msgid "This week" +msgstr "Esta semana" + +#: youtube/templates/base.html:84 +msgid "This month" +msgstr "Este mes" + +#: youtube/templates/base.html:88 +msgid "This year" +msgstr "Este año" diff --git a/translations/messages.pot b/translations/messages.pot new file mode 100644 index 0000000..ef883b5 --- /dev/null +++ b/translations/messages.pot @@ -0,0 +1,75 @@ +# Translations template for PROJECT. +# Copyright (C) 2026 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2026. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2026-03-22 15:05-0500\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.18.0\n" + +#: youtube/templates/base.html:38 +msgid "Type to search..." +msgstr "" + +#: youtube/templates/base.html:39 +msgid "Search" +msgstr "" + +#: youtube/templates/base.html:45 +msgid "Options" +msgstr "" + +#: youtube/templates/base.html:47 +msgid "Sort by" +msgstr "" + +#: youtube/templates/base.html:50 +msgid "Relevance" +msgstr "" + +#: youtube/templates/base.html:54 youtube/templates/base.html:65 +msgid "Upload date" +msgstr "" + +#: youtube/templates/base.html:58 +msgid "View count" +msgstr "" + +#: youtube/templates/base.html:62 +msgid "Rating" +msgstr "" + +#: youtube/templates/base.html:68 +msgid "Any" +msgstr "" + +#: youtube/templates/base.html:72 +msgid "Last hour" +msgstr "" + +#: youtube/templates/base.html:76 +msgid "Today" +msgstr "" + +#: youtube/templates/base.html:80 +msgid "This week" +msgstr "" + +#: youtube/templates/base.html:84 +msgid "This month" +msgstr "" + +#: youtube/templates/base.html:88 +msgid "This year" +msgstr "" + -- cgit v1.2.3