From 6f80e9442478fad28d65009ae56b871aa5b8c11f Mon Sep 17 00:00:00 2001 From: sigma67 Date: Sat, 11 Nov 2023 17:05:13 +0100 Subject: [PATCH] search: support podcasts and episodes --- ytmusicapi/locales/ar/LC_MESSAGES/base.mo | Bin 799 -> 879 bytes ytmusicapi/locales/ar/LC_MESSAGES/base.po | 12 ++++++++++-- ytmusicapi/locales/base.pot | 10 +++++++++- ytmusicapi/locales/de/LC_MESSAGES/base.mo | Bin 759 -> 789 bytes ytmusicapi/locales/de/LC_MESSAGES/base.po | 12 ++++++++++-- ytmusicapi/locales/en/LC_MESSAGES/base.po | 12 ++++++++++-- ytmusicapi/locales/es/LC_MESSAGES/base.mo | Bin 793 -> 867 bytes ytmusicapi/locales/es/LC_MESSAGES/base.po | 12 ++++++++++-- ytmusicapi/locales/fr/LC_MESSAGES/base.po | 12 ++++++++++-- ytmusicapi/locales/hi/LC_MESSAGES/base.mo | Bin 838 -> 938 bytes ytmusicapi/locales/hi/LC_MESSAGES/base.po | 12 ++++++++++-- ytmusicapi/locales/it/LC_MESSAGES/base.mo | Bin 679 -> 727 bytes ytmusicapi/locales/it/LC_MESSAGES/base.po | 12 ++++++++++-- ytmusicapi/locales/ja/LC_MESSAGES/base.mo | Bin 825 -> 919 bytes ytmusicapi/locales/ja/LC_MESSAGES/base.po | 12 ++++++++++-- ytmusicapi/locales/ko/LC_MESSAGES/base.mo | Bin 776 -> 858 bytes ytmusicapi/locales/ko/LC_MESSAGES/base.po | 12 ++++++++++-- ytmusicapi/locales/nl/LC_MESSAGES/base.mo | Bin 803 -> 838 bytes ytmusicapi/locales/nl/LC_MESSAGES/base.po | 12 ++++++++++-- ytmusicapi/locales/pt/LC_MESSAGES/base.mo | Bin 743 -> 777 bytes ytmusicapi/locales/pt/LC_MESSAGES/base.po | 12 ++++++++++-- ytmusicapi/locales/ru/LC_MESSAGES/base.mo | Bin 788 -> 872 bytes ytmusicapi/locales/ru/LC_MESSAGES/base.po | 12 ++++++++++-- ytmusicapi/locales/tr/LC_MESSAGES/base.mo | Bin 730 -> 762 bytes ytmusicapi/locales/tr/LC_MESSAGES/base.po | 12 ++++++++++-- ytmusicapi/locales/ur/LC_MESSAGES/base.mo | Bin 755 -> 842 bytes ytmusicapi/locales/ur/LC_MESSAGES/base.po | 12 ++++++++++-- ytmusicapi/locales/zh_CN/LC_MESSAGES/base.po | 12 ++++++++++-- ytmusicapi/locales/zh_TW/LC_MESSAGES/base.po | 12 ++++++++++-- ytmusicapi/mixins/search.py | 2 +- ytmusicapi/parsers/i18n.py | 2 +- ytmusicapi/parsers/search.py | 6 ++++-- 32 files changed, 175 insertions(+), 37 deletions(-) diff --git a/ytmusicapi/locales/ar/LC_MESSAGES/base.mo b/ytmusicapi/locales/ar/LC_MESSAGES/base.mo index 4db42cab951a5eba9bb76f571d5e7651b595688a..cbbcbde39cd7e72fe06ec79c973d382bdc2fc9d3 100644 GIT binary patch delta 424 zcmXxfy-EW?5Ww-dGhX6HEEG{e@Cht!Y^(y>NIJ2S(*!&?x#KPt+5{2{5i5gOrcwMr zu{f}@^&R$_yn>|`7XD{l2j+ge!|u-9F!&6*quI)}5HsX5c}dQZKcvQ{ClcV6vx!yq zJ6OX#oWMg@&zz^up7R1LoV#-S8ypwu%8-RNxWg}eMjhtX|7%b<-*J)p2QJ|V_1rfu zV0BESjw?8gt2l}4sDn1#ejDf6@1jS4+gvX)jlDqKJ`8qZRYU(;L;qGA=%e(uF{R%y z-akIdCCoZe-jQ}1h8X&j!!TKHe&k|wQ#P%BwdG`tP3W?ss(vS%I#eSfX~P@bFD OvTyE9VV(wWe)J2V_&s0% delta 341 zcmYk$Jq`g;5Ww+SAM0B}B1jZ;I*me2r&MZWH6mGw*i{IL#tlR%4xw-YwF}??8kOk8 zf7UBZGWpHSOXkhfKG^GfKC%-cO;*SinIo^HM%5Crv1Y7eoW6kxY+(%B#;&o45$1i< z4=_qULftpPx5!$2iYx;+^jo~d68#3txW^)%FoPG=V{e$m2kJpD(|@o)p9qVvItWI= zrzzB<^l+Yu&hL6Hb%|c6p^NpCARKo%pLpWT{ITcD)O8l_f8iY$R>#_&L(OeGJo*B4 C$|J=9 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 6f298ba2fddccba62ac95aef907d2ba55ff70eae..8fb70b5e8db9af159ffd6ec9fe3e0044d0154e03 100644 GIT binary patch delta 352 zcmXYtyAAOT|G^WK#tW1|HXb&{-;bK6GY%`&`mfZ8c`&fxR#3 J{QerK{{cSNAwvKF delta 318 zcmXYts}90I6hybBOJ|EUB6PZvCc6M60hce)(`2^*{88+Y*%D_96!l$0UHGedJA=QakCLJXxkCKOH lurb}VOqMcK3PnXMKa$8>&NhBvymhz;!pp!~S%;fF`2!vf8zBGy 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 59d70f5229fc4ce6ca6fd4878c0807a16df935b7..11cde3b8ba9317685d9ee1c4b1601549702db650 100644 GIT binary patch delta 419 zcmXw#y-EW?6ov1uakKu!!a!1}?_g^!0R@p10R;)C~M@&g#d zW4Hj%ykB}=d0u6?o<=z)%0o^Fh*(iMr8J!15 z@)-@3rQ|-ZiE(jQN*N{_O4y|Qkv#lhwGSiZ@8V4qt8L&X!G9556K$boFWt)=WBLOO CJt39= 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 f27e3ec655866ad2557c7a59d023f3496322914e..b46ef7c4862faa7c8646d5c2fa87838d53ad95d3 100644 GIT binary patch delta 429 zcmXxgy-EW?5Ww-d7!!@3#758u@F}bmOlM~$a+;ullRNKXp-n(+Gy%a7QU+nu1RJpt z3vI+#u#JRe^m#G&f{`zaE z^#F0j~@`+UqeYJ)jt^?}pnIVrE{f5#0>2W4u z+G=JkX(Y`ot~Vr!!m~&l|BFnLxPB07CygIBgIch7yTuTxmBT(R)3 L@7+u9xzPOuOa?)b delta 341 zcmZ3*evGaDo)F7a1|Z-8Vi_Q=0b)TQz5~P{puot$zy_ohp|l2&<^b~bfix$OwgA%X zK-vjPdqL?SAk6|4kAm{!fix?SpAMu!=H&wE?+gs}3?)DY$nqQ}1_mJ@T?wS6fpia) zUIC?#0BH%J_yZsfviK*IW@d)y -# +# 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 2b7bf739bd5109cfcddce8834eb5afe6779cc03a..80083b102e793bd6dedc7c3a6b1925cd03b78ad3 100644 GIT binary patch delta 315 zcmZ3^dY!fYo)F7a1|Z-DVi_PV0b)TQJ_E!cAi&7Lzy_oRp|k{$W(V@+fix$OR)_Kp zp|mBGb_CKaKzUCn-w#NG%n1Y1;y@e=#Huxtqxc0IKvB^8f$< 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 497f7e8396f4a0863efbe35625eca526bb0bd55a..cd58711dcc1688b20279ff058ac942aaa99293d0 100644 GIT binary patch delta 434 zcmXw#ze>bF5Qiu6y!h`1nulBC3=B7h$bYbpv^(HI zsMU2=zJSg82$mLp6V@TW{dRu4%gp4ZJ`DO_t=hE^O|*i}(LDM^8k?R-9d0>p!+?AT zPQYC_2|Lcu98Vn!$1_;t-lfZja9pG>w`{b)JzPYOXoh^`i?rY;oQ2;m|8We)L>BOu zq261At8g9a`v~$$#-iuPQ0ojFFQ7;L%4~2zH!_9rtG@xNj+GiZwT4cs1$26PsbX5! zFy1>l$R*5r-MlAJ+Rc-8BxxL;#A^I+a!Hf+eyC2CJa2d%uUR};b7hM+YhJAxl<)ph UIr8TkH`W+(TRd5FSAO`1f7QW35C8xG delta 345 zcmYk1u@1pd6oyX~RV--2V9-rskeJMDMx#Y45s_3PT7yL51#FFocd(gE-oY$3@8LUj z2Y>G0@0@#j&pr3--1CQbHG2|N#!bA(75u`gmL-yhzF`{{$h**medxe};mB|dv+Pey zK7~2*1=M~kShwULF@auw%!pLs#qetQFnmIv`UmR&jxE9xkB^>fKyBPH>_J+m;z(L6 zK^;m5r;LWb={3|>>4d5x)=N?a;cUB#B-q5uD3)~??85&by6vpcN(#1@xOOe++4C={ C-XK%} 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 d3a7560fbf2c94833cd9cd4ed8f64e70de6e821b..c7ad36a1396efc5e2cb83b6927ae4d24e631de28 100644 GIT binary patch delta 425 zcmeBRyTw+2Pl#nI0}${5u?!IR0I@I-{{dnU@L*(MU<1;gP&xoevjh3zK$-(c#{+3j zAe{jfFM`rlP`U|9cL8Y@pt?y={&XPC%D_<1FdxVOS+EpHiv#f*DE|l(0|O6G{4|ul z0i~Zp=}%DlKad7FfQOlZK?F#P0cntV+ECgENQ2C=1kxaNZcsV^NHYTM2P@_UN&sEM zzy-uWad2n=DX@z{Gzfrv4FX`xfHcVWK)b4NB$ehCGb9$3WEPh&q!wfr=clAH z6yzjU=70oXjADj@{FLNGkVsMfW>>}-M(*ho-cH%`rmg4o2dgRmr4#2Qp_ zUzffC1L)h3=b132kVCdyOnu%GGjS#EA%Exulkg0Az(ssOUj7OBxsUjT80{90?mJP) zOYw7lgsALo&qw|%-jFMT@KCpOqt!Pp(tCEtvZ-t61LOZ-9S2HNNiTQr(c-n;yw(eP MqnRAMW)}5Vf5I3t!2kdN 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 b6620ebbaff0dbbb3ee8360e7ed00f0df5e696c4..c384442ff4dda62df0e66c81da5f5a9b8eac4ecb 100644 GIT binary patch delta 353 zcmZ3?c8sn5o)F7a1|Z-CVi_QA0b)TQegniHV8F=0zy_oZp|k~%W(V@^fiwq@b_dd& zKso>_9tEY7pmY|HW&z3ls>s3@;$=fe0{MXM$L84@h$X6+Q#f zJV5#*kmdu@|Df``%nS_NK)xuD202I(NP`@z3FR9AX^=%0P`(|I23i3IKqJ6C7Hz~45t8Pd>{O1^|`SA!+~s delta 318 zcmX@cwwSH{o)F7a1|Z-8Vi_Q=0b)TQz5~P{puot$zy_ohp|l2&<^b~bfix$OwgA%X zK-vjPdqL?SAk6|4kAm{!fix?SpAMu!=H&uupxSzd5~#p_CWt}DfHcT4=YTXHkiHES ze+8tuf&5QU{y!iMGKh^CqK_9ygDen*@}+?^&}c9KDg~ -# +# 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 d3aa31ffe4f929e14ecaf8653a94615dd09d24ca..d93b51bdfe8bd017dfb5128c29e063d7353c8f4a 100644 GIT binary patch delta 352 zcmXYtyAAO9VTECCSk|qyM}$k5sYx} zn0NuB#6G02FKZ4T5?fQS3jGIcp*G&b0zASZJVRaR3e)fgweAjev8RdOQ0u-XZ-qq| z5r|Y!n~~Okn-mG|1L>=DV{NJpR60n1C{SLqHw0DmHhL}r0+XN@9kupq`J?ol_Kv4R)WgKww@-%b5MUH3HeAEb2}4AXDAUoWNm mbEHT=YobGamEKUJOzIy=!}Ay0AQW#Ct-|O!vL@EyWUv1#ZW`kN 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 db8dd86a084e057a575275b530ce2236dc6bd59f..bef80e6e4d5206b4ba935356e8362cf0d51d08b1 100644 GIT binary patch delta 425 zcmXxfy-EW?5Ww-d^E{0jkpw#*KwrS#LWo^D3kx~Tfq|1d?qZ=$NUZ#*62&r&=>iI| zvWSfju=@fQR=$APSooh~9hm#=?9DQ}ci~sq{ip@^LadS-^bK77fb$|<8L`j-WBkDh>SZ2%ku{v+3ckDAVvYI}weQ;* z%!#a1*HQboa0$0j`*vL2bpH>~V}3cjN&~kk53pYzfbzzwhQ3-uU#kQ3^~^3~S-(+o zbaq-uly}-iN8+qqq^(%8Bsx!Y<9|^|mbQ)~-O1DGuGjD?1AAlM?4|7uul&vG$jr=( Oc{R_rXZyn^KmG%{4Lyng delta 341 zcmYk%y$%6E5Ww*{A9ubYNOTGkg-)xc6O~dUM zG>y8HE>4?h{kGSm{z^C0(82mh7_K*%PkeD_!PpOE>bVQ=|KOh%R>#_2BGqj?I{X4Z CfFpbW 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 528ab469ad0f3dd8a5a60443ad01b66136551d1a..a06de82fd3fb23eb5c8f485af65fdabe9c0396db 100644 GIT binary patch delta 350 zcmXZYJr4mv5P;!5oNt2KZxA}2L_;Y`Dnda{h$G5t=tLtDrGKE1s1y=~TB}fKX;c!G zckXtQ$+NRJnc3Xk{F%-p6WAysL1xK0nI_+)MBY#;hy`sCL)0Ybm%7x$i<_?n=%WzpF5hLXfxzV!P(}As8<4Mn+sP3p|4?EpM&Zrxq^5tk< KPJ^}MYyJVuT_r*Q delta 318 zcmXYtuM5IZ6ov2R=5IvJ25mNtW`n`FxFT9a*ovDbVg3gOv9FoMX0)2DBK{kK$?tCO zz~Q@RKlkM(pSE)nRL32>!!7*As;(tcggwJPERzSY0!Od}$A(iw4?2AJO`buQ zyoA~p!mmgoF@qKbcFrwqkoT|&4^R)J=KmS$1ujq*-%P$kUGOmZ38~J+n03^kUP|{B ku*fhk(NRmaKvl*1BAMpFViQI(U&pH`zD_L9I;OV&2Yg%_;Q#;t 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 95cb72d83fd22ec39f4679f46e78dcab8e2d6214..a8347daa6b170b35f2bf706684703cdb5118cae2 100644 GIT binary patch delta 430 zcmXxfze~eV5Ww+EOzW>|sjeM#@E>sRDCp)OI7(~_79t5r9ds!=70F}~$1X}K2o9Ze z@DJ!;khb9L?$E`-@1^I#<@4^6ynFAbFfMk!w!B9nHpwcPlH24jsd4Ct6!FMB#%1bL zT){J3#S81l=8bu0-lNBN4^}^6L8K#n7CPVs=lF_i`0Orx!!q>;Zs6GJ4E508Si-sK zEiL}5pdPS_`hL&)`&QS`VSYYbH|8|?VEXySke^u9&|7QhZFNK4oSAv7>(dX;uPzhu z<8~`)OEYREVWTNg;9m#Y_+KOvg^jweoj4pFI5nr74QA=&bC&L8qe*w#?cKV&C0$I1 M*?`u2ukW7x0gqBaQ~&?~ delta 341 zcmYk$Jq`g;5Ww--WqpfKE9i7uEjk^gMph$|m55ytiA3TA64ASWN~hOs;Q~bI0t(Uj z&w7PPCcl}<%e)B_FK7KI#rHzw$TGPii{zcus8}KitQu>WqOW5b8<@nFv19CEoO$2$ z19a#|sQV`P7FkO`kzwH3KNpy%-(Uf^sK*_QN7VOc)I%<2el_!(>7U5zC@7;(v#3Yu x;W1LA{kvXEU8Wam=m+{~6s|X%PkeD_!PpOE>bXnrzwl2>t7+{*yR!S(-7kGWB#r<8 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]