diff --git a/ytmusicapi/locales/ar/LC_MESSAGES/base.mo b/ytmusicapi/locales/ar/LC_MESSAGES/base.mo index 4db42ca..cbbcbde 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 d1755d2..128ad70 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 87a762d..50e564b 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 6f298ba..8fb70b5 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 c9f119d..d2e962b 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 20d5b9b..141db84 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 59d70f5..11cde3b 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 fd6bc80..706a8b6 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 f6eae68..ca31851 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 f27e3ec..b46ef7c 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 1e638a6..c111511 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 2b7bf73..80083b1 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 117df80..c0d3892 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 497f7e8..cd58711 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 8ea993d..876b460 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 d3a7560..c7ad36a 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 75e3afa..0150535 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 b6620eb..c384442 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 0d09b67..c309359 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 d3aa31f..d93b51b 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 0be81fe..cfe35c4 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 db8dd86..bef80e6 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 7966500..c9cc493 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 528ab46..a06de82 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 e564733..e3562d5 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 95cb72d..a8347da 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 f708496..432bd5e 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 800bf2e..1336889 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 8752f53..cb3ba16 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 97211d7..0eeac06 100644 --- a/ytmusicapi/mixins/search.py +++ b/ytmusicapi/mixins/search.py @@ -135,7 +135,7 @@ class SearchMixin: 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 816c382..d6cf3d2 100644 --- a/ytmusicapi/parsers/i18n.py +++ b/ytmusicapi/parsers/i18n.py @@ -13,7 +13,7 @@ class Parser: @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 3713eae..96d724b 100644 --- a/ytmusicapi/parsers/search.py +++ b/ytmusicapi/parsers/search.py @@ -5,7 +5,7 @@ from ._utils import * 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]