diff --git a/ytmusicapi/locales/ar/LC_MESSAGES/base.mo b/ytmusicapi/locales/ar/LC_MESSAGES/base.mo index 4db42cab..cbbcbde3 100644 Binary files a/ytmusicapi/locales/ar/LC_MESSAGES/base.mo and b/ytmusicapi/locales/ar/LC_MESSAGES/base.mo differ diff --git a/ytmusicapi/locales/ar/LC_MESSAGES/base.po b/ytmusicapi/locales/ar/LC_MESSAGES/base.po index d1755d2b..128ad70c 100644 --- a/ytmusicapi/locales/ar/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/ar/LC_MESSAGES/base.po @@ -2,12 +2,12 @@ # Copyright (C) 2023 sigma67 # This file is distributed under the same license as ytmusicapi # sigma67 -# +# msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-20 16:00+0200\n" +"POT-Creation-Date: 2023-11-11 16:22+0100\n" "PO-Revision-Date: 2023-01-02 22:14+0530\n" "Last-Translator: \n" "Language-Team: \n" @@ -41,6 +41,14 @@ msgstr "محطة" msgid "profile" msgstr "الملف الشخصي" +#: parsers/i18n.py:16 +msgid "podcast" +msgstr "بودكاست" + +#: parsers/i18n.py:16 +msgid "episode" +msgstr "حلقة" + #: parsers/i18n.py:21 msgid "albums" msgstr "ألبومات" diff --git a/ytmusicapi/locales/base.pot b/ytmusicapi/locales/base.pot index 87a762d6..50e564b4 100644 --- a/ytmusicapi/locales/base.pot +++ b/ytmusicapi/locales/base.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-20 16:00+0200\n" +"POT-Creation-Date: 2023-11-11 16:22+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -41,6 +41,14 @@ msgstr "" msgid "profile" msgstr "" +#: parsers/i18n.py:16 +msgid "podcast" +msgstr "" + +#: parsers/i18n.py:16 +msgid "episode" +msgstr "" + #: parsers/i18n.py:21 msgid "albums" msgstr "" diff --git a/ytmusicapi/locales/de/LC_MESSAGES/base.mo b/ytmusicapi/locales/de/LC_MESSAGES/base.mo index 6f298ba2..8fb70b5e 100644 Binary files a/ytmusicapi/locales/de/LC_MESSAGES/base.mo and b/ytmusicapi/locales/de/LC_MESSAGES/base.mo differ diff --git a/ytmusicapi/locales/de/LC_MESSAGES/base.po b/ytmusicapi/locales/de/LC_MESSAGES/base.po index c9f119d1..d2e962b3 100644 --- a/ytmusicapi/locales/de/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/de/LC_MESSAGES/base.po @@ -2,13 +2,13 @@ # Copyright (C) 2023 sigma67 # This file is distributed under the same license as ytmusicapi # sigma67 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-20 16:00+0200\n" +"POT-Creation-Date: 2023-11-11 16:22+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -41,6 +41,14 @@ msgstr "sender" msgid "profile" msgstr "profil" +#: parsers/i18n.py:16 +msgid "podcast" +msgstr "" + +#: parsers/i18n.py:16 +msgid "episode" +msgstr "Folge" + #: parsers/i18n.py:21 msgid "albums" msgstr "alben" diff --git a/ytmusicapi/locales/en/LC_MESSAGES/base.po b/ytmusicapi/locales/en/LC_MESSAGES/base.po index 20d5b9bd..141db84c 100644 --- a/ytmusicapi/locales/en/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/en/LC_MESSAGES/base.po @@ -2,13 +2,13 @@ # Copyright (C) 2023 sigma67 # This file is distributed under the same license as ytmusicapi # sigma67 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-20 16:00+0200\n" +"POT-Creation-Date: 2023-11-11 16:22+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -41,6 +41,14 @@ msgstr "" msgid "profile" msgstr "" +#: parsers/i18n.py:16 +msgid "podcast" +msgstr "" + +#: parsers/i18n.py:16 +msgid "episode" +msgstr "" + #: parsers/i18n.py:21 msgid "albums" msgstr "" diff --git a/ytmusicapi/locales/es/LC_MESSAGES/base.mo b/ytmusicapi/locales/es/LC_MESSAGES/base.mo index 59d70f52..11cde3b8 100644 Binary files a/ytmusicapi/locales/es/LC_MESSAGES/base.mo and b/ytmusicapi/locales/es/LC_MESSAGES/base.mo differ diff --git a/ytmusicapi/locales/es/LC_MESSAGES/base.po b/ytmusicapi/locales/es/LC_MESSAGES/base.po index fd6bc80d..706a8b6a 100644 --- a/ytmusicapi/locales/es/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/es/LC_MESSAGES/base.po @@ -2,13 +2,13 @@ # Copyright (C) 2023 sigma67 # This file is distributed under the same license as ytmusicapi # sigma67 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-20 16:00+0200\n" +"POT-Creation-Date: 2023-11-11 16:22+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -41,6 +41,14 @@ msgstr "emisora" msgid "profile" msgstr "perfil" +#: parsers/i18n.py:16 +msgid "podcast" +msgstr "Pódcast" + +#: parsers/i18n.py:16 +msgid "episode" +msgstr "Episodio" + #: parsers/i18n.py:21 msgid "albums" msgstr "álbumes" diff --git a/ytmusicapi/locales/fr/LC_MESSAGES/base.po b/ytmusicapi/locales/fr/LC_MESSAGES/base.po index f6eae680..ca318518 100644 --- a/ytmusicapi/locales/fr/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/fr/LC_MESSAGES/base.po @@ -2,13 +2,13 @@ # Copyright (C) 2023 sigma67 # This file is distributed under the same license as ytmusicapi # sigma67 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-20 16:00+0200\n" +"POT-Creation-Date: 2023-11-11 16:22+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -41,6 +41,14 @@ msgstr "radio" msgid "profile" msgstr "profil" +#: parsers/i18n.py:16 +msgid "podcast" +msgstr "" + +#: parsers/i18n.py:16 +msgid "episode" +msgstr "" + #: parsers/i18n.py:21 msgid "albums" msgstr "" diff --git a/ytmusicapi/locales/hi/LC_MESSAGES/base.mo b/ytmusicapi/locales/hi/LC_MESSAGES/base.mo index f27e3ec6..b46ef7c4 100644 Binary files a/ytmusicapi/locales/hi/LC_MESSAGES/base.mo and b/ytmusicapi/locales/hi/LC_MESSAGES/base.mo differ diff --git a/ytmusicapi/locales/hi/LC_MESSAGES/base.po b/ytmusicapi/locales/hi/LC_MESSAGES/base.po index 1e638a6f..c1115114 100644 --- a/ytmusicapi/locales/hi/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/hi/LC_MESSAGES/base.po @@ -2,12 +2,12 @@ # Copyright (C) 2023 sigma67 # This file is distributed under the same license as ytmusicapi # sigma67 -# +# msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-20 16:00+0200\n" +"POT-Creation-Date: 2023-11-11 16:22+0100\n" "PO-Revision-Date: 2023-01-01 11:04+0530\n" "Last-Translator: \n" "Language-Team: \n" @@ -41,6 +41,14 @@ msgstr "स्टेशन" msgid "profile" msgstr "प्रोफ़ाइल" +#: parsers/i18n.py:16 +msgid "podcast" +msgstr "पॉडकास्ट" + +#: parsers/i18n.py:16 +msgid "episode" +msgstr "एपिसोड" + #: parsers/i18n.py:21 msgid "albums" msgstr "एलबम" diff --git a/ytmusicapi/locales/it/LC_MESSAGES/base.mo b/ytmusicapi/locales/it/LC_MESSAGES/base.mo index 2b7bf739..80083b10 100644 Binary files a/ytmusicapi/locales/it/LC_MESSAGES/base.mo and b/ytmusicapi/locales/it/LC_MESSAGES/base.mo differ diff --git a/ytmusicapi/locales/it/LC_MESSAGES/base.po b/ytmusicapi/locales/it/LC_MESSAGES/base.po index 117df805..c0d38927 100644 --- a/ytmusicapi/locales/it/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/it/LC_MESSAGES/base.po @@ -2,13 +2,13 @@ # Copyright (C) 2023 sigma67 # This file is distributed under the same license as ytmusicapi # sigma67 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-20 16:00+0200\n" +"POT-Creation-Date: 2023-11-11 16:22+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -41,6 +41,14 @@ msgstr "stazione" msgid "profile" msgstr "profilo" +#: parsers/i18n.py:16 +msgid "podcast" +msgstr "" + +#: parsers/i18n.py:16 +msgid "episode" +msgstr "Puntata" + #: parsers/i18n.py:21 msgid "albums" msgstr "album" diff --git a/ytmusicapi/locales/ja/LC_MESSAGES/base.mo b/ytmusicapi/locales/ja/LC_MESSAGES/base.mo index 497f7e83..cd58711d 100644 Binary files a/ytmusicapi/locales/ja/LC_MESSAGES/base.mo and b/ytmusicapi/locales/ja/LC_MESSAGES/base.mo differ diff --git a/ytmusicapi/locales/ja/LC_MESSAGES/base.po b/ytmusicapi/locales/ja/LC_MESSAGES/base.po index 8ea993d7..876b4608 100644 --- a/ytmusicapi/locales/ja/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/ja/LC_MESSAGES/base.po @@ -2,13 +2,13 @@ # Copyright (C) 2023 sigma67 # This file is distributed under the same license as ytmusicapi # sigma67 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-20 16:00+0200\n" +"POT-Creation-Date: 2023-11-11 16:22+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -41,6 +41,14 @@ msgstr "ステーション" msgid "profile" msgstr "プロフィール" +#: parsers/i18n.py:16 +msgid "podcast" +msgstr "ポッドキャスト" + +#: parsers/i18n.py:16 +msgid "episode" +msgstr "エピソード" + #: parsers/i18n.py:21 msgid "albums" msgstr "アルバム" diff --git a/ytmusicapi/locales/ko/LC_MESSAGES/base.mo b/ytmusicapi/locales/ko/LC_MESSAGES/base.mo index d3a7560f..c7ad36a1 100644 Binary files a/ytmusicapi/locales/ko/LC_MESSAGES/base.mo and b/ytmusicapi/locales/ko/LC_MESSAGES/base.mo differ diff --git a/ytmusicapi/locales/ko/LC_MESSAGES/base.po b/ytmusicapi/locales/ko/LC_MESSAGES/base.po index 75e3afa9..0150535b 100644 --- a/ytmusicapi/locales/ko/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/ko/LC_MESSAGES/base.po @@ -2,13 +2,13 @@ # Copyright (C) 2023 sigma67 # This file is distributed under the same license as ytmusicapi # sigma67 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-20 16:00+0200\n" +"POT-Creation-Date: 2023-11-11 16:22+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -41,6 +41,14 @@ msgstr "스테이션" msgid "profile" msgstr "프로필" +#: parsers/i18n.py:16 +msgid "podcast" +msgstr "팟캐스트" + +#: parsers/i18n.py:16 +msgid "episode" +msgstr "에피소드" + #: parsers/i18n.py:21 msgid "albums" msgstr "앨범" diff --git a/ytmusicapi/locales/nl/LC_MESSAGES/base.mo b/ytmusicapi/locales/nl/LC_MESSAGES/base.mo index b6620ebb..c384442f 100644 Binary files a/ytmusicapi/locales/nl/LC_MESSAGES/base.mo and b/ytmusicapi/locales/nl/LC_MESSAGES/base.mo differ diff --git a/ytmusicapi/locales/nl/LC_MESSAGES/base.po b/ytmusicapi/locales/nl/LC_MESSAGES/base.po index 0d09b679..c3093593 100644 --- a/ytmusicapi/locales/nl/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/nl/LC_MESSAGES/base.po @@ -2,12 +2,12 @@ # Copyright (C) 2023 sigma67 # This file is distributed under the same license as ytmusicapi # sigma67 -# +# msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-20 16:00+0200\n" +"POT-Creation-Date: 2023-11-11 16:22+0100\n" "PO-Revision-Date: 2023-04-23 14:55+0200\n" "Last-Translator: Heimen Stoffels \n" "Language-Team: \n" @@ -42,6 +42,14 @@ msgstr "station" msgid "profile" msgstr "profiel" +#: parsers/i18n.py:16 +msgid "podcast" +msgstr "" + +#: parsers/i18n.py:16 +msgid "episode" +msgstr "Aflevering" + #: parsers/i18n.py:21 msgid "albums" msgstr "albums" diff --git a/ytmusicapi/locales/pt/LC_MESSAGES/base.mo b/ytmusicapi/locales/pt/LC_MESSAGES/base.mo index d3aa31ff..d93b51bd 100644 Binary files a/ytmusicapi/locales/pt/LC_MESSAGES/base.mo and b/ytmusicapi/locales/pt/LC_MESSAGES/base.mo differ diff --git a/ytmusicapi/locales/pt/LC_MESSAGES/base.po b/ytmusicapi/locales/pt/LC_MESSAGES/base.po index 0be81fe4..cfe35c46 100644 --- a/ytmusicapi/locales/pt/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/pt/LC_MESSAGES/base.po @@ -2,12 +2,12 @@ # Copyright (C) 2023 sigma67 # This file is distributed under the same license as ytmusicapi # sigma67 -# +# msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-20 16:00+0200\n" +"POT-Creation-Date: 2023-11-11 16:22+0100\n" "PO-Revision-Date: 2023-01-01 12:15+0530\n" "Last-Translator: \n" "Language-Team: \n" @@ -41,6 +41,14 @@ msgstr "estação" msgid "profile" msgstr "perfil" +#: parsers/i18n.py:16 +msgid "podcast" +msgstr "" + +#: parsers/i18n.py:16 +msgid "episode" +msgstr "Episódio" + #: parsers/i18n.py:21 msgid "albums" msgstr "álbuns" diff --git a/ytmusicapi/locales/ru/LC_MESSAGES/base.mo b/ytmusicapi/locales/ru/LC_MESSAGES/base.mo index db8dd86a..bef80e6e 100644 Binary files a/ytmusicapi/locales/ru/LC_MESSAGES/base.mo and b/ytmusicapi/locales/ru/LC_MESSAGES/base.mo differ diff --git a/ytmusicapi/locales/ru/LC_MESSAGES/base.po b/ytmusicapi/locales/ru/LC_MESSAGES/base.po index 79665003..c9cc4934 100644 --- a/ytmusicapi/locales/ru/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/ru/LC_MESSAGES/base.po @@ -2,12 +2,12 @@ # Copyright (C) 2023 sigma67 # This file is distributed under the same license as ytmusicapi # sigma67 -# +# msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-20 16:00+0200\n" +"POT-Creation-Date: 2023-11-11 16:22+0100\n" "PO-Revision-Date: 2023-01-01 09:48+0530\n" "Last-Translator: \n" "Language-Team: \n" @@ -41,6 +41,14 @@ msgstr "станция" msgid "profile" msgstr "профиль" +#: parsers/i18n.py:16 +msgid "podcast" +msgstr "Подкаст" + +#: parsers/i18n.py:16 +msgid "episode" +msgstr "Выпуск" + #: parsers/i18n.py:21 msgid "albums" msgstr "альбомы" diff --git a/ytmusicapi/locales/tr/LC_MESSAGES/base.mo b/ytmusicapi/locales/tr/LC_MESSAGES/base.mo index 528ab469..a06de82f 100644 Binary files a/ytmusicapi/locales/tr/LC_MESSAGES/base.mo and b/ytmusicapi/locales/tr/LC_MESSAGES/base.mo differ diff --git a/ytmusicapi/locales/tr/LC_MESSAGES/base.po b/ytmusicapi/locales/tr/LC_MESSAGES/base.po index e564733e..e3562d52 100644 --- a/ytmusicapi/locales/tr/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/tr/LC_MESSAGES/base.po @@ -2,12 +2,12 @@ # Copyright (C) 2023 sigma67 # This file is distributed under the same license as ytmusicapi # sigma67 -# +# msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-20 16:00+0200\n" +"POT-Creation-Date: 2023-11-11 16:22+0100\n" "PO-Revision-Date: 2023-01-02 13:06+0530\n" "Last-Translator: \n" "Language-Team: \n" @@ -41,6 +41,14 @@ msgstr "istasyon" msgid "profile" msgstr "profil" +#: parsers/i18n.py:16 +msgid "podcast" +msgstr "" + +#: parsers/i18n.py:16 +msgid "episode" +msgstr "Bölüm" + #: parsers/i18n.py:21 msgid "albums" msgstr "albümler" diff --git a/ytmusicapi/locales/ur/LC_MESSAGES/base.mo b/ytmusicapi/locales/ur/LC_MESSAGES/base.mo index 95cb72d8..a8347daa 100644 Binary files a/ytmusicapi/locales/ur/LC_MESSAGES/base.mo and b/ytmusicapi/locales/ur/LC_MESSAGES/base.mo differ diff --git a/ytmusicapi/locales/ur/LC_MESSAGES/base.po b/ytmusicapi/locales/ur/LC_MESSAGES/base.po index f7084962..432bd5e5 100644 --- a/ytmusicapi/locales/ur/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/ur/LC_MESSAGES/base.po @@ -2,12 +2,12 @@ # Copyright (C) 2023 sigma67 # This file is distributed under the same license as ytmusicapi # sigma67 -# +# msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-20 16:00+0200\n" +"POT-Creation-Date: 2023-11-11 16:22+0100\n" "PO-Revision-Date: 2023-01-02 22:18+0530\n" "Last-Translator: \n" "Language-Team: \n" @@ -41,6 +41,14 @@ msgstr "اسٹیشن" msgid "profile" msgstr "پروفائ" +#: parsers/i18n.py:16 +msgid "podcast" +msgstr "پوڈکاسٹ" + +#: parsers/i18n.py:16 +msgid "episode" +msgstr "ایپی سوڈ" + #: parsers/i18n.py:21 msgid "albums" msgstr "البمز" diff --git a/ytmusicapi/locales/zh_CN/LC_MESSAGES/base.po b/ytmusicapi/locales/zh_CN/LC_MESSAGES/base.po index 800bf2eb..1336889b 100644 --- a/ytmusicapi/locales/zh_CN/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/zh_CN/LC_MESSAGES/base.po @@ -2,12 +2,12 @@ # Copyright (C) 2023 sigma67 # This file is distributed under the same license as ytmusicapi # sigma67 -# +# msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-20 16:00+0200\n" +"POT-Creation-Date: 2023-11-11 16:22+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Bruce Zhang \n" "Language-Team: LANGUAGE \n" @@ -40,6 +40,14 @@ msgstr "电台" msgid "profile" msgstr "个人资料" +#: parsers/i18n.py:16 +msgid "podcast" +msgstr "播客" + +#: parsers/i18n.py:16 +msgid "episode" +msgstr "分集" + #: parsers/i18n.py:21 msgid "albums" msgstr "专辑" diff --git a/ytmusicapi/locales/zh_TW/LC_MESSAGES/base.po b/ytmusicapi/locales/zh_TW/LC_MESSAGES/base.po index 8752f534..cb3ba16f 100644 --- a/ytmusicapi/locales/zh_TW/LC_MESSAGES/base.po +++ b/ytmusicapi/locales/zh_TW/LC_MESSAGES/base.po @@ -2,13 +2,13 @@ # Copyright (C) 2023 sigma67 # This file is distributed under the same license as ytmusicapi # sigma67 -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-20 16:00+0200\n" +"POT-Creation-Date: 2023-11-11 16:22+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -41,6 +41,14 @@ msgstr "電台" msgid "profile" msgstr "個人資料" +#: parsers/i18n.py:16 +msgid "podcast" +msgstr "" + +#: parsers/i18n.py:16 +msgid "episode" +msgstr "單集" + #: parsers/i18n.py:21 msgid "albums" msgstr "專輯" diff --git a/ytmusicapi/mixins/search.py b/ytmusicapi/mixins/search.py index 97211d7c..0eeac063 100644 --- a/ytmusicapi/mixins/search.py +++ b/ytmusicapi/mixins/search.py @@ -135,7 +135,7 @@ def search(self, search_results = [] filters = [ 'albums', 'artists', 'playlists', 'community_playlists', 'featured_playlists', 'songs', - 'videos', 'profiles' + 'videos', 'profiles', 'podcasts', 'episodes' ] if filter and filter not in filters: raise Exception( diff --git a/ytmusicapi/parsers/i18n.py b/ytmusicapi/parsers/i18n.py index 816c382c..d6cf3d22 100644 --- a/ytmusicapi/parsers/i18n.py +++ b/ytmusicapi/parsers/i18n.py @@ -13,7 +13,7 @@ def __init__(self, language): @i18n def get_search_result_types(self): - return [_('artist'), _('playlist'), _('song'), _('video'), _('station'), _('profile')] + return [_('artist'), _('playlist'), _('song'), _('video'), _('station'), _('profile'), _('podcast'), _('episode')] @i18n def parse_artist_contents(self, results: List) -> Dict: diff --git a/ytmusicapi/parsers/search.py b/ytmusicapi/parsers/search.py index 3713eaeb..96d724b0 100644 --- a/ytmusicapi/parsers/search.py +++ b/ytmusicapi/parsers/search.py @@ -5,7 +5,7 @@ def get_search_result_type(result_type_local, result_types_local): if not result_type_local: return None - result_types = ['artist', 'playlist', 'song', 'video', 'station', 'profile'] + result_types = ['artist', 'playlist', 'song', 'video', 'station', 'profile', 'podcast', 'episode'] result_type_local = result_type_local.lower() # default to album since it's labeled with multiple values ('Single', 'EP', etc.) if result_type_local not in result_types_local: @@ -207,7 +207,9 @@ def _get_param2(filter): 'albums': 'IY', 'artists': 'Ig', 'playlists': 'Io', - 'profiles': 'JY' + 'profiles': 'JY', + 'podcasts': 'JQ', + 'episodes': 'JI' } return filter_params[filter]