From 0d996030f4199d034599a3948ca214817cfed1b0 Mon Sep 17 00:00:00 2001 From: sigma67 Date: Wed, 13 Mar 2024 20:42:32 +0100 Subject: [PATCH] get_artist: shows support --- tests/mixins/test_browsing.py | 8 ++++ ytmusicapi/locales/README.rst | 6 +-- ytmusicapi/locales/ar/LC_MESSAGES/base.mo | Bin 984 -> 1049 bytes ytmusicapi/locales/ar/LC_MESSAGES/base.po | 38 ++++++++++--------- ytmusicapi/locales/base.pot | 36 ++++++++++-------- ytmusicapi/locales/de/LC_MESSAGES/base.mo | Bin 887 -> 932 bytes ytmusicapi/locales/de/LC_MESSAGES/base.po | 38 ++++++++++--------- ytmusicapi/locales/en/LC_MESSAGES/base.mo | Bin 431 -> 474 bytes ytmusicapi/locales/en/LC_MESSAGES/base.po | 38 ++++++++++--------- ytmusicapi/locales/es/LC_MESSAGES/base.mo | Bin 962 -> 1005 bytes ytmusicapi/locales/es/LC_MESSAGES/base.po | 38 ++++++++++--------- ytmusicapi/locales/fr/LC_MESSAGES/base.mo | Bin 746 -> 795 bytes ytmusicapi/locales/fr/LC_MESSAGES/base.po | 38 ++++++++++--------- ytmusicapi/locales/hi/LC_MESSAGES/base.mo | Bin 1068 -> 1146 bytes ytmusicapi/locales/hi/LC_MESSAGES/base.po | 38 ++++++++++--------- ytmusicapi/locales/it/LC_MESSAGES/base.mo | Bin 806 -> 859 bytes ytmusicapi/locales/it/LC_MESSAGES/base.po | 38 ++++++++++--------- ytmusicapi/locales/ja/LC_MESSAGES/base.mo | Bin 1029 -> 1085 bytes ytmusicapi/locales/ja/LC_MESSAGES/base.po | 38 ++++++++++--------- ytmusicapi/locales/ko/LC_MESSAGES/base.mo | Bin 957 -> 1009 bytes ytmusicapi/locales/ko/LC_MESSAGES/base.po | 38 ++++++++++--------- ytmusicapi/locales/nl/LC_MESSAGES/base.mo | Bin 943 -> 988 bytes ytmusicapi/locales/nl/LC_MESSAGES/base.po | 38 ++++++++++--------- ytmusicapi/locales/pt/LC_MESSAGES/base.mo | Bin 877 -> 923 bytes ytmusicapi/locales/pt/LC_MESSAGES/base.po | 38 ++++++++++--------- ytmusicapi/locales/ru/LC_MESSAGES/base.mo | Bin 981 -> 1044 bytes ytmusicapi/locales/ru/LC_MESSAGES/base.po | 38 ++++++++++--------- ytmusicapi/locales/tr/LC_MESSAGES/base.mo | Bin 863 -> 914 bytes ytmusicapi/locales/tr/LC_MESSAGES/base.po | 38 ++++++++++--------- ytmusicapi/locales/ur/LC_MESSAGES/base.mo | Bin 961 -> 1013 bytes ytmusicapi/locales/ur/LC_MESSAGES/base.po | 38 ++++++++++--------- ytmusicapi/locales/zh_CN/LC_MESSAGES/base.po | 38 ++++++++++--------- ytmusicapi/locales/zh_TW/LC_MESSAGES/base.po | 38 ++++++++++--------- ytmusicapi/mixins/browsing.py | 20 ++++++++-- ytmusicapi/mixins/podcasts.py | 2 +- ytmusicapi/parsers/i18n.py | 3 +- 36 files changed, 387 insertions(+), 296 deletions(-) diff --git a/tests/mixins/test_browsing.py b/tests/mixins/test_browsing.py index 8dea6d7..3de44d6 100644 --- a/tests/mixins/test_browsing.py +++ b/tests/mixins/test_browsing.py @@ -23,6 +23,14 @@ def test_get_artist(self, yt): results = yt.get_artist("UCLZ7tlKC06ResyDmEStSrOw") # no album year assert len(results) >= 11 + def test_get_artist_shows(self, yt_oauth): + # with audiobooks - only with authentication + results = yt_oauth.get_artist("UCyiY-0Af0O6emoI3YvCEDaA") + assert len(results["shows"]["results"]) == 10 + + results = yt_oauth.get_artist_albums(results["shows"]["browseId"], results["shows"]["params"]) + assert len(results) == 100 + def test_get_artist_albums(self, yt): artist = yt.get_artist("UCAeLFBCQS7FvI8PvBrWvSBg") results = yt.get_artist_albums(artist["albums"]["browseId"], artist["albums"]["params"]) diff --git a/ytmusicapi/locales/README.rst b/ytmusicapi/locales/README.rst index b309de6..6c13bd1 100644 --- a/ytmusicapi/locales/README.rst +++ b/ytmusicapi/locales/README.rst @@ -5,7 +5,7 @@ In some places, for example the search() or get_artist() features, there is no o offered other than parsing display text, which depends on the user's language. Changing the API language is desirable, since artist and song titles are also language dependent. -This package uses the Linux command line utility xgettext, which you can install for example using your package manager. +This package uses the Linux command line utility xgettext (install via package manager). Add new translatable texts from code ---------------------------------------- @@ -27,7 +27,7 @@ Copy the base template: Update translation ------------------ -``cd locales && sh update_po.sh`` +``cd locales && ./update_po.sh`` Edit translation ---------------- @@ -37,4 +37,4 @@ Finalize translation --------------------- To generate mo files, run -``cd locales && sh update_mo.sh`` \ No newline at end of file +``cd locales && ./update_mo.sh`` diff --git a/ytmusicapi/locales/ar/LC_MESSAGES/base.mo b/ytmusicapi/locales/ar/LC_MESSAGES/base.mo index 320d162f90baeeb8fc2dc66504428966ea3b29c3..d41fc6e6a28ec7a0f511bc3990419d775c570404 100644 GIT binary patch delta 406 zcmXZYF-t;G6u|L&d#^MrLrGLH(7{FA#82Sf-ZyY-FmQAzLpR|e(Nas0MT-bRG&a`Y zAb1~$Lo~HG+F;=S;JI+#@0|P2edqFAlc&C5RmHNTi9f<-zLU9(L6pMyPKw ziVx}l_o;{a{$2M!wEj}3xJ%!BTer+NiO#OK^d^r`VUjo9=GH!CJ_{Dx*#W{TbBF} zIU(cZ)3T0(b9?F6FPe?fr=8g1m3wi6yn70-!?qiR?XctC+;bk-A{~;AgT7bW0H|TAon1&5{EyDS+;3-ZZ|3$b`RNV5^0BE9IkHU7$)c_u52A+&?3+XMs7IK@iTR38 z)C+sRvi;ENt+_YfF(xvQ58F6moCe>h1Ap)jub9D0P3O-{4^?cK8 zp`Pnt8poKz8TwKaS+dZZtnV8l8!S-okl7+Z-4&}@7QR-5-e14acG^lK6SQ47JiCJn HPSKYeE88N3 diff --git a/ytmusicapi/locales/ar/LC_MESSAGES/base.po b/ytmusicapi/locales/ar/LC_MESSAGES/base.po index 0dfa80e..eb816c7 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: 2024-03-05 20:13+0100\n" +"POT-Creation-Date: 2024-03-13 20:07+0100\n" "PO-Revision-Date: 2023-01-02 22:14+0530\n" "Last-Translator: \n" "Language-Team: \n" @@ -17,62 +17,66 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 3.2.2\n" -#: parsers/i18n.py:22 +#: parsers/i18n.py:32 msgid "artist" msgstr "فنان" -#: parsers/i18n.py:23 +#: parsers/i18n.py:33 msgid "playlist" msgstr "قائمةالتشغيل" -#: parsers/i18n.py:24 +#: parsers/i18n.py:34 msgid "song" msgstr "أغنية" -#: parsers/i18n.py:25 +#: parsers/i18n.py:35 msgid "video" msgstr "فيديو" -#: parsers/i18n.py:26 +#: parsers/i18n.py:36 msgid "station" msgstr "محطة" -#: parsers/i18n.py:27 +#: parsers/i18n.py:37 msgid "profile" msgstr "الملف الشخصي" -#: parsers/i18n.py:28 +#: parsers/i18n.py:38 msgid "podcast" msgstr "بودكاست" -#: parsers/i18n.py:29 +#: parsers/i18n.py:39 msgid "episode" msgstr "حلقة" -#: parsers/i18n.py:35 +#: parsers/i18n.py:46 msgid "albums" msgstr "ألبومات" -#: parsers/i18n.py:35 +#: parsers/i18n.py:47 msgid "singles" msgstr "الفردي" -#: parsers/i18n.py:35 +#: parsers/i18n.py:48 +msgid "shows" +msgstr "الكتب المسموعة والعروض" + +#: parsers/i18n.py:49 msgid "videos" msgstr "أشرطة فيديو" -#: parsers/i18n.py:35 +#: parsers/i18n.py:50 msgid "playlists" msgstr "قوائم التشغيل" -#: parsers/i18n.py:35 +#: parsers/i18n.py:51 msgid "related" msgstr "ذات صلة" -#: parsers/i18n.py:35 +#: parsers/i18n.py:52 msgid "episodes" msgstr "أحدث الحلقات" -#: parsers/i18n.py:35 +#: parsers/i18n.py:53 msgid "podcasts" msgstr "بودكاست" diff --git a/ytmusicapi/locales/base.pot b/ytmusicapi/locales/base.pot index bb541d1..092f59e 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: 2024-03-05 20:13+0100\n" +"POT-Creation-Date: 2024-03-13 20:07+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,62 +17,66 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: parsers/i18n.py:22 +#: parsers/i18n.py:32 msgid "artist" msgstr "" -#: parsers/i18n.py:23 +#: parsers/i18n.py:33 msgid "playlist" msgstr "" -#: parsers/i18n.py:24 +#: parsers/i18n.py:34 msgid "song" msgstr "" -#: parsers/i18n.py:25 +#: parsers/i18n.py:35 msgid "video" msgstr "" -#: parsers/i18n.py:26 +#: parsers/i18n.py:36 msgid "station" msgstr "" -#: parsers/i18n.py:27 +#: parsers/i18n.py:37 msgid "profile" msgstr "" -#: parsers/i18n.py:28 +#: parsers/i18n.py:38 msgid "podcast" msgstr "" -#: parsers/i18n.py:29 +#: parsers/i18n.py:39 msgid "episode" msgstr "" -#: parsers/i18n.py:35 +#: parsers/i18n.py:46 msgid "albums" msgstr "" -#: parsers/i18n.py:35 +#: parsers/i18n.py:47 msgid "singles" msgstr "" -#: parsers/i18n.py:35 +#: parsers/i18n.py:48 +msgid "shows" +msgstr "" + +#: parsers/i18n.py:49 msgid "videos" msgstr "" -#: parsers/i18n.py:35 +#: parsers/i18n.py:50 msgid "playlists" msgstr "" -#: parsers/i18n.py:35 +#: parsers/i18n.py:51 msgid "related" msgstr "" -#: parsers/i18n.py:35 +#: parsers/i18n.py:52 msgid "episodes" msgstr "" -#: parsers/i18n.py:35 +#: parsers/i18n.py:53 msgid "podcasts" msgstr "" diff --git a/ytmusicapi/locales/de/LC_MESSAGES/base.mo b/ytmusicapi/locales/de/LC_MESSAGES/base.mo index 0b7bb25c5c379c641584ec7b153a33386703b38c..c2d73a292472d20bf277be25ffdbe47fd71a8908 100644 GIT binary patch delta 371 zcmey)wuHU@o)F7a1|SdsVi_Qw1H|GWHY1P#f(jtb2Ba&YbOVrP2lCs2GzXCGhte~E zG$)Y15XxT-q(SPoK8q?3a!rX&?pot4JwT&FHvdbs5AI^;V1*S1jSD2w*YrR9+cTkV& z8D099xDL#fMUuu1<)Q~x$fx$-iFoh_W#11A=sNKO$|x86TDMW=bg+(Hl!x?D&JXqf sD5|r@Otmo!tG3aU(K1d#j^(12F>H(?9}aBI7Q?yio$hvT!==;u1CYiXr2qf` diff --git a/ytmusicapi/locales/de/LC_MESSAGES/base.po b/ytmusicapi/locales/de/LC_MESSAGES/base.po index e5b2334..4d8f56a 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: 2024-03-05 20:13+0100\n" +"POT-Creation-Date: 2024-03-13 20:07+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,62 +17,66 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: parsers/i18n.py:22 +#: parsers/i18n.py:32 msgid "artist" msgstr "künstler" -#: parsers/i18n.py:23 +#: parsers/i18n.py:33 msgid "playlist" msgstr "playlist" -#: parsers/i18n.py:24 +#: parsers/i18n.py:34 msgid "song" msgstr "titel" -#: parsers/i18n.py:25 +#: parsers/i18n.py:35 msgid "video" msgstr "video" -#: parsers/i18n.py:26 +#: parsers/i18n.py:36 msgid "station" msgstr "sender" -#: parsers/i18n.py:27 +#: parsers/i18n.py:37 msgid "profile" msgstr "profil" -#: parsers/i18n.py:28 +#: parsers/i18n.py:38 msgid "podcast" msgstr "" -#: parsers/i18n.py:29 +#: parsers/i18n.py:39 msgid "episode" msgstr "Folge" -#: parsers/i18n.py:35 +#: parsers/i18n.py:46 msgid "albums" msgstr "alben" -#: parsers/i18n.py:35 +#: parsers/i18n.py:47 msgid "singles" msgstr "singles" -#: parsers/i18n.py:35 +#: parsers/i18n.py:48 +msgid "shows" +msgstr "Hörbücher und Serien" + +#: parsers/i18n.py:49 msgid "videos" msgstr "videos" -#: parsers/i18n.py:35 +#: parsers/i18n.py:50 msgid "playlists" msgstr "playlists" -#: parsers/i18n.py:35 +#: parsers/i18n.py:51 msgid "related" msgstr "das könnte fans auch gefallen" -#: parsers/i18n.py:35 +#: parsers/i18n.py:52 msgid "episodes" msgstr "neueste folgen" -#: parsers/i18n.py:35 +#: parsers/i18n.py:53 msgid "podcasts" msgstr "podcasts" diff --git a/ytmusicapi/locales/en/LC_MESSAGES/base.mo b/ytmusicapi/locales/en/LC_MESSAGES/base.mo index bd9640c7ab8ae251cdaf63fc5e4f05403a3df092..24046f0457d9230dbdced04cfb8accd2df986189 100644 GIT binary patch delta 167 zcmZ3_e2cmMo)F7a1|VPoVi_Q|0b*7ljsap2C;(y(AT9)Ab|9_-Vvu|j5Q{T1FmwQE zejr`|WQzdl4N&?hkOm?KW*}w)Vh{k?!H`;zS)8AeTFg+Cnv+<%zAu%sS0W84)09EuFxKo)F7a1|VPtVi_Pd0b*7l_5orLNC09EAWj5gb|B6IVsS -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-05 20:13+0100\n" +"POT-Creation-Date: 2024-03-13 20:07+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,62 +17,66 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: parsers/i18n.py:22 +#: parsers/i18n.py:32 msgid "artist" msgstr "" -#: parsers/i18n.py:23 +#: parsers/i18n.py:33 msgid "playlist" msgstr "" -#: parsers/i18n.py:24 +#: parsers/i18n.py:34 msgid "song" msgstr "" -#: parsers/i18n.py:25 +#: parsers/i18n.py:35 msgid "video" msgstr "" -#: parsers/i18n.py:26 +#: parsers/i18n.py:36 msgid "station" msgstr "" -#: parsers/i18n.py:27 +#: parsers/i18n.py:37 msgid "profile" msgstr "" -#: parsers/i18n.py:28 +#: parsers/i18n.py:38 msgid "podcast" msgstr "" -#: parsers/i18n.py:29 +#: parsers/i18n.py:39 msgid "episode" msgstr "" -#: parsers/i18n.py:35 +#: parsers/i18n.py:46 msgid "albums" msgstr "" -#: parsers/i18n.py:35 +#: parsers/i18n.py:47 msgid "singles" msgstr "" -#: parsers/i18n.py:35 +#: parsers/i18n.py:48 +msgid "shows" +msgstr "Audiobooks and shows" + +#: parsers/i18n.py:49 msgid "videos" msgstr "" -#: parsers/i18n.py:35 +#: parsers/i18n.py:50 msgid "playlists" msgstr "" -#: parsers/i18n.py:35 +#: parsers/i18n.py:51 msgid "related" msgstr "fans might also like" -#: parsers/i18n.py:35 +#: parsers/i18n.py:52 msgid "episodes" msgstr "latest episodes" -#: parsers/i18n.py:35 +#: parsers/i18n.py:53 msgid "podcasts" msgstr "" diff --git a/ytmusicapi/locales/es/LC_MESSAGES/base.mo b/ytmusicapi/locales/es/LC_MESSAGES/base.mo index 934525e905ab25fc5804ee45173aad43582dca28..636e68f91828210335ff75f2813a5e3443e34d4a 100644 GIT binary patch delta 389 zcmX@a{+7M|o)F7a1|SdwVi_P_0>t7#tiuQ-fS?0NvjOQ&C_Mp4vjh3lfiwq@o)4v0 z0BKGjeI`AoIF`v^0>O1f)e6j2Rf# zK@}VZ(jWuR0%?#BuK{V0hI>%{Qy>j=2ZP{bMMiN&9w3Vgh(Q3P8l;mCh%FPz;nBsyb>cBUKBN7qkJ^VAU=7RIMtyk4_PeML>Z9H_#0pMqeT5lm uh-@kJk9MdBW9#?GY>}wt!n#k9(~i*7`h)_RCpC&u&kf?2ySV6-X#M~;{T~+q diff --git a/ytmusicapi/locales/es/LC_MESSAGES/base.po b/ytmusicapi/locales/es/LC_MESSAGES/base.po index 3cb39aa..56b7bc9 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: 2024-03-05 20:13+0100\n" +"POT-Creation-Date: 2024-03-13 20:07+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,62 +17,66 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: parsers/i18n.py:22 +#: parsers/i18n.py:32 msgid "artist" msgstr "artista" -#: parsers/i18n.py:23 +#: parsers/i18n.py:33 msgid "playlist" msgstr "lista de reproducción" -#: parsers/i18n.py:24 +#: parsers/i18n.py:34 msgid "song" msgstr "canción" -#: parsers/i18n.py:25 +#: parsers/i18n.py:35 msgid "video" msgstr "vídeo" -#: parsers/i18n.py:26 +#: parsers/i18n.py:36 msgid "station" msgstr "emisora" -#: parsers/i18n.py:27 +#: parsers/i18n.py:37 msgid "profile" msgstr "perfil" -#: parsers/i18n.py:28 +#: parsers/i18n.py:38 msgid "podcast" msgstr "Pódcast" -#: parsers/i18n.py:29 +#: parsers/i18n.py:39 msgid "episode" msgstr "Episodio" -#: parsers/i18n.py:35 +#: parsers/i18n.py:46 msgid "albums" msgstr "álbumes" -#: parsers/i18n.py:35 +#: parsers/i18n.py:47 msgid "singles" msgstr "sencillos" -#: parsers/i18n.py:35 +#: parsers/i18n.py:48 +msgid "shows" +msgstr "Audiolibros y series" + +#: parsers/i18n.py:49 msgid "videos" msgstr "vídeos" -#: parsers/i18n.py:35 +#: parsers/i18n.py:50 msgid "playlists" msgstr "listas de reproducción" -#: parsers/i18n.py:35 +#: parsers/i18n.py:51 msgid "related" msgstr "puede que también te guste" -#: parsers/i18n.py:35 +#: parsers/i18n.py:52 msgid "episodes" msgstr "últimos episodios" -#: parsers/i18n.py:35 +#: parsers/i18n.py:53 msgid "podcasts" msgstr "pódcasts" diff --git a/ytmusicapi/locales/fr/LC_MESSAGES/base.mo b/ytmusicapi/locales/fr/LC_MESSAGES/base.mo index 1445bcdf09e3de1d67ff07787ba7eb11378554d0..01f987fe4cfefa7afc183dd4f8b7e0cd579146ce 100644 GIT binary patch delta 318 zcmaFGI-9Njo)F7a1|Z-8Vi_Q=0b)TQz5~P{puot$zy_ohfiydi)&SBRK-vIGTSCR1 zptKi|W(CRz0cjQ>9RU@Og^H&FX^?r@Kw6xUp`M`#s-TMrV(=s&Ee%vK8_M4fq(K@E z0BKnueH=(j0qLhe8e|azGlXUX(jav_KpNywVIU1O8te!l1(xFm(jYyYKn&Cl1QXwh zadH7^koP$z^D>&TWaO6@Z+2wtW0dmAEGtSaR!A&O$;?+sEm1hUGB>lhI5R)5c=9s8K@xH&x_VB;V}eZ_VhhLS#NJQMIfm>ntX^V7y+WO{ z#sSF*^GYci|AAXfIk2<(jM{L)46mqz9_G{bU#J)RAT#TaL*3g(?a>RfT`xTw*t1C0 Ubv}+M_5Y>H-0Ze-dv^%ZA5gOs;s5{u diff --git a/ytmusicapi/locales/fr/LC_MESSAGES/base.po b/ytmusicapi/locales/fr/LC_MESSAGES/base.po index 80da1e9..e39fffb 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: 2024-03-05 20:13+0100\n" +"POT-Creation-Date: 2024-03-13 20:07+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,62 +17,66 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: parsers/i18n.py:22 +#: parsers/i18n.py:32 msgid "artist" msgstr "artiste" -#: parsers/i18n.py:23 +#: parsers/i18n.py:33 msgid "playlist" msgstr "playlist" -#: parsers/i18n.py:24 +#: parsers/i18n.py:34 msgid "song" msgstr "titre" -#: parsers/i18n.py:25 +#: parsers/i18n.py:35 msgid "video" msgstr "vidéo" -#: parsers/i18n.py:26 +#: parsers/i18n.py:36 msgid "station" msgstr "radio" -#: parsers/i18n.py:27 +#: parsers/i18n.py:37 msgid "profile" msgstr "profil" -#: parsers/i18n.py:28 +#: parsers/i18n.py:38 msgid "podcast" msgstr "" -#: parsers/i18n.py:29 +#: parsers/i18n.py:39 msgid "episode" msgstr "Épisode" -#: parsers/i18n.py:35 +#: parsers/i18n.py:46 msgid "albums" msgstr "" -#: parsers/i18n.py:35 +#: parsers/i18n.py:47 msgid "singles" msgstr "" -#: parsers/i18n.py:35 +#: parsers/i18n.py:48 +msgid "shows" +msgstr "Livres audio et émissions" + +#: parsers/i18n.py:49 msgid "videos" msgstr "vidéos" -#: parsers/i18n.py:35 +#: parsers/i18n.py:50 msgid "playlists" msgstr "" -#: parsers/i18n.py:35 +#: parsers/i18n.py:51 msgid "related" msgstr "vous aimerez peut-être aussi" -#: parsers/i18n.py:35 +#: parsers/i18n.py:52 msgid "episodes" msgstr "épisodes les plus récents" -#: parsers/i18n.py:35 +#: parsers/i18n.py:53 msgid "podcasts" msgstr "" diff --git a/ytmusicapi/locales/hi/LC_MESSAGES/base.mo b/ytmusicapi/locales/hi/LC_MESSAGES/base.mo index 4b25d5440823fbe43086b10afee1772487440969..8d100f33f9fc9204a6c1d513c2bd24eda6b9ad15 100644 GIT binary patch delta 422 zcmZ9|F-t;G6u|NO^p#K1LI)Le(4{GHh;Z%;G)3Sis4Xa=QQC?iikCEoaHR&JBxq?U zXtdE$4924?i?~H! z#R49xrJwkRd>9FkO%Cbs=l#ut3x7Z+4 zq{L=e_Zt53$@$q^-^)gJ@0@Kr`|0e9>s*(d?Yho|vn{H7XJ6s}z&mr{D7wD{Fa$^& delta 347 zcmXZXJqtl`6vy#%xvoo|l0qy}R(S_@Z^0X|8<^OP(oGpGR%}+IOh$`^q{w11D3kBe zId$&m{QkH84_|-n56)S4DpZCp({nnnv%`n#p@)5Qh*9zgeH@!JjFA`ie`V_%%Ug42 z9?%sT$k7%~7-54e>VXgZ;0qIY4~b;)ZF*sm8o7uiY?^H>kbCCD)|Zy|s29Ebt%^Ju r{u`Sf*V0@>&K3z8PQH?6h-;$s{rdJKtyj}Z1s$imxjDH|P -# +# msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-05 20:13+0100\n" +"POT-Creation-Date: 2024-03-13 20:07+0100\n" "PO-Revision-Date: 2023-01-01 11:04+0530\n" "Last-Translator: \n" "Language-Team: \n" @@ -17,62 +17,66 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 3.2.2\n" -#: parsers/i18n.py:22 +#: parsers/i18n.py:32 msgid "artist" msgstr "कलाकार" -#: parsers/i18n.py:23 +#: parsers/i18n.py:33 msgid "playlist" msgstr "प्लेलिस्ट" -#: parsers/i18n.py:24 +#: parsers/i18n.py:34 msgid "song" msgstr "गीत" -#: parsers/i18n.py:25 +#: parsers/i18n.py:35 msgid "video" msgstr "वीडियो" -#: parsers/i18n.py:26 +#: parsers/i18n.py:36 msgid "station" msgstr "स्टेशन" -#: parsers/i18n.py:27 +#: parsers/i18n.py:37 msgid "profile" msgstr "प्रोफ़ाइल" -#: parsers/i18n.py:28 +#: parsers/i18n.py:38 msgid "podcast" msgstr "पॉडकास्ट" -#: parsers/i18n.py:29 +#: parsers/i18n.py:39 msgid "episode" msgstr "एपिसोड" -#: parsers/i18n.py:35 +#: parsers/i18n.py:46 msgid "albums" msgstr "एलबम" -#: parsers/i18n.py:35 +#: parsers/i18n.py:47 msgid "singles" msgstr "एकल" -#: parsers/i18n.py:35 +#: parsers/i18n.py:48 +msgid "shows" +msgstr "ऑडियो बुक और ऑडियो शो" + +#: parsers/i18n.py:49 msgid "videos" msgstr "वीडियो" -#: parsers/i18n.py:35 +#: parsers/i18n.py:50 msgid "playlists" msgstr "प्लेलिस्ट" -#: parsers/i18n.py:35 +#: parsers/i18n.py:51 msgid "related" msgstr "सम्बंधित" -#: parsers/i18n.py:35 +#: parsers/i18n.py:52 msgid "episodes" msgstr "सबसे नए एपिसोड" -#: parsers/i18n.py:35 +#: parsers/i18n.py:53 msgid "podcasts" msgstr "पॉडकास्ट" diff --git a/ytmusicapi/locales/it/LC_MESSAGES/base.mo b/ytmusicapi/locales/it/LC_MESSAGES/base.mo index 1ffe81877f489a8f88e3faa0841ae98898243b9c..ec10cc970321297f5e88ac22eab5387f94324abb 100644 GIT binary patch delta 373 zcmZ3+cAKsKo)F7a1|Z-AVi_Rr0b*ew{sY7y;K9hizy_o}p>zO{W(V@afiwq@jtA15 zKsp1;FM`TfL+NH9%?gz7hVmx@X%--VCWK$lFb~K8S+ER9iv#gmAO>kT$^^0KG?cy! zq(y+@w}CXs;tx>qpHP~SnSntTD9#C_#elRrkOn!_4oHK{a|6;KeLhfrD3E4kaEDk9 z6bA!tAPE#_-~wWhW{^u^fCtI|`IZ-mL52bC28SH$WL-vgmW=%J;>|^j(;3AaOH(rQ ab25{PG8Ix43X1a6ixP8lGbeK}%K-p%>mwKd delta 321 zcmXYtEe^s!5QTSXDU=^kLQ+E$ZU8tGC{l~YB9TZ$5eOU!O|Jk7MUY$q+XRDzL-5UZ zCVBbx&A#k(S_YROd-wdpP+c@Y2Nai_@% diff --git a/ytmusicapi/locales/it/LC_MESSAGES/base.po b/ytmusicapi/locales/it/LC_MESSAGES/base.po index c120ab3..2228ff6 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: 2024-03-05 20:13+0100\n" +"POT-Creation-Date: 2024-03-13 20:07+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,62 +17,66 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: parsers/i18n.py:22 +#: parsers/i18n.py:32 msgid "artist" msgstr "artista" -#: parsers/i18n.py:23 +#: parsers/i18n.py:33 msgid "playlist" msgstr "" -#: parsers/i18n.py:24 +#: parsers/i18n.py:34 msgid "song" msgstr "brano" -#: parsers/i18n.py:25 +#: parsers/i18n.py:35 msgid "video" msgstr "" -#: parsers/i18n.py:26 +#: parsers/i18n.py:36 msgid "station" msgstr "stazione" -#: parsers/i18n.py:27 +#: parsers/i18n.py:37 msgid "profile" msgstr "profilo" -#: parsers/i18n.py:28 +#: parsers/i18n.py:38 msgid "podcast" msgstr "" -#: parsers/i18n.py:29 +#: parsers/i18n.py:39 msgid "episode" msgstr "Puntata" -#: parsers/i18n.py:35 +#: parsers/i18n.py:46 msgid "albums" msgstr "album" -#: parsers/i18n.py:35 +#: parsers/i18n.py:47 msgid "singles" msgstr "singoli" -#: parsers/i18n.py:35 +#: parsers/i18n.py:48 +msgid "shows" +msgstr "Audiolibri e programmi" + +#: parsers/i18n.py:49 msgid "videos" msgstr "video" -#: parsers/i18n.py:35 +#: parsers/i18n.py:50 msgid "playlists" msgstr "playlist" -#: parsers/i18n.py:35 +#: parsers/i18n.py:51 msgid "related" msgstr "ai fan potrebbe anche piacere" -#: parsers/i18n.py:35 +#: parsers/i18n.py:52 msgid "episodes" msgstr "puntate più recenti" -#: parsers/i18n.py:35 +#: parsers/i18n.py:53 msgid "podcasts" msgstr "podcast" diff --git a/ytmusicapi/locales/ja/LC_MESSAGES/base.mo b/ytmusicapi/locales/ja/LC_MESSAGES/base.mo index 804ee806b251dbac76061cf6de59870f4a790e13..4b4ec269f4d45362a73864c0ef8adf70312156af 100644 GIT binary patch delta 400 zcmXYtze~el5QZ;p)L4I%7D^lfl2H&G3QqnB{sXR^x;bd+SWFb#tq`i44my-BBHGD1 zIXLJf9mTG7c2a2|GyUATZh zhXK4a_TeJ_*4{r@{$&2uIEHh~z0Z70K52Y{ZyT7}zz@`ee_@FHoX9dh%8QiY1}wrI zSb@8i*NhFz+r|sa?_tdR^FOO1Uo`sTCAOfIHK+$fP#4%TZbSBvQWkq*tX~w6mfnZn z#VT4sTE%S7JM`=O&4arauaH|GxOC*wQsY`C$QGe1KOoqqVTfX`S1z|RU delta 347 zcmXZXzYBq35Ww+!dGV58z0$i_q|7Y-3jc%IDg)DN5u4#n8Klf6S=o#>7K@0oS#9#Y zx~qFX&)xHO*K_d3UU>7}xe!INLN3Wb&ki4AfJq#hBTP|G(8HOzz%=#R?l;!oS-m%p z<_TSqP%hTEVuAq=)P-*h$PbyNPR2!iEMWobSjLw1+h)i5J#%XP6;}Cwi#qR&ajA*i sIq2XQ>f*2YLw1WqO(&@8%8XWozF*&-BXyKUKI%IC-P7@6QO<4r0gC}2ng9R* diff --git a/ytmusicapi/locales/ja/LC_MESSAGES/base.po b/ytmusicapi/locales/ja/LC_MESSAGES/base.po index 5e736be..d39ffb2 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: 2024-03-05 20:13+0100\n" +"POT-Creation-Date: 2024-03-13 20:07+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,62 +17,66 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: parsers/i18n.py:22 +#: parsers/i18n.py:32 msgid "artist" msgstr "アーティスト" -#: parsers/i18n.py:23 +#: parsers/i18n.py:33 msgid "playlist" msgstr "プレイリスト" -#: parsers/i18n.py:24 +#: parsers/i18n.py:34 msgid "song" msgstr "曲" -#: parsers/i18n.py:25 +#: parsers/i18n.py:35 msgid "video" msgstr "動画" -#: parsers/i18n.py:26 +#: parsers/i18n.py:36 msgid "station" msgstr "ステーション" -#: parsers/i18n.py:27 +#: parsers/i18n.py:37 msgid "profile" msgstr "プロフィール" -#: parsers/i18n.py:28 +#: parsers/i18n.py:38 msgid "podcast" msgstr "ポッドキャスト" -#: parsers/i18n.py:29 +#: parsers/i18n.py:39 msgid "episode" msgstr "エピソード" -#: parsers/i18n.py:35 +#: parsers/i18n.py:46 msgid "albums" msgstr "アルバム" -#: parsers/i18n.py:35 +#: parsers/i18n.py:47 msgid "singles" msgstr "シングル" -#: parsers/i18n.py:35 +#: parsers/i18n.py:48 +msgid "shows" +msgstr "オーディオブックと番組" + +#: parsers/i18n.py:49 msgid "videos" msgstr "動画" -#: parsers/i18n.py:35 +#: parsers/i18n.py:50 msgid "playlists" msgstr "プレイリスト" -#: parsers/i18n.py:35 +#: parsers/i18n.py:51 msgid "related" msgstr "おすすめのアーティスト" -#: parsers/i18n.py:35 +#: parsers/i18n.py:52 msgid "episodes" msgstr "最新エピソード" -#: parsers/i18n.py:35 +#: parsers/i18n.py:53 msgid "podcasts" msgstr "ポッドキャスト" diff --git a/ytmusicapi/locales/ko/LC_MESSAGES/base.mo b/ytmusicapi/locales/ko/LC_MESSAGES/base.mo index 16cd6c0e1770fd9dbe43b3d24d034c93a3384ac9..bf01f89af8c4c2ffef1d9d9d338b0353eaf60ddb 100644 GIT binary patch delta 397 zcmdnX{*k@@o)F7a1|SdwVi_P_0>t7#tiuQ-fS?0NvjOQ&C_Mp4vjh3lfiwq@o)4v0 z0BKGje)10}oJK8A=-fX<;DW7RnEV(s58a8%kFIX^;b3fwTya?g!Gc48}ko0~sKT4ngUY zKpJGh1t1O5a2HBH2hu=yFbGaoWE58fso(-)5CDY-C@lDZm=}mafPZo%V+l(}etGfc r(~L(LWo9gSJ!Q%pAi1qk;q``og||~$UN4;UYWt4Y^HxmmWi|i+o!>U< delta 347 zcmXZXzYYOG5XbS^_;ZLukX#}fQRpOUFW?2dfKH`RP|@iqE)vBxN>N@*gHox{NJOEN zcmv;&nPl#>zumjt+pl-@W{+}mEmVoF(-9r$*zuqyn8v9&M~}R~46e)#X31My-`jj_ z`CwkmD<(x|aDPETb8?K&+MB6)E^sR6{o2CFaI`0 s)(mvx2=&FC86#(lgdG<&iVSj^D80Yl-KX_StwK0- -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-05 20:13+0100\n" +"POT-Creation-Date: 2024-03-13 20:07+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,62 +17,66 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: parsers/i18n.py:22 +#: parsers/i18n.py:32 msgid "artist" msgstr "아티스트" -#: parsers/i18n.py:23 +#: parsers/i18n.py:33 msgid "playlist" msgstr "재생목록" -#: parsers/i18n.py:24 +#: parsers/i18n.py:34 msgid "song" msgstr "노래" -#: parsers/i18n.py:25 +#: parsers/i18n.py:35 msgid "video" msgstr "동영상" -#: parsers/i18n.py:26 +#: parsers/i18n.py:36 msgid "station" msgstr "스테이션" -#: parsers/i18n.py:27 +#: parsers/i18n.py:37 msgid "profile" msgstr "프로필" -#: parsers/i18n.py:28 +#: parsers/i18n.py:38 msgid "podcast" msgstr "팟캐스트" -#: parsers/i18n.py:29 +#: parsers/i18n.py:39 msgid "episode" msgstr "에피소드" -#: parsers/i18n.py:35 +#: parsers/i18n.py:46 msgid "albums" msgstr "앨범" -#: parsers/i18n.py:35 +#: parsers/i18n.py:47 msgid "singles" msgstr "싱글" -#: parsers/i18n.py:35 +#: parsers/i18n.py:48 +msgid "shows" +msgstr "오디오북 및 프로그램" + +#: parsers/i18n.py:49 msgid "videos" msgstr "동영상" -#: parsers/i18n.py:35 +#: parsers/i18n.py:50 msgid "playlists" msgstr "재싱목록" -#: parsers/i18n.py:35 +#: parsers/i18n.py:51 msgid "related" msgstr "fans might also like" -#: parsers/i18n.py:35 +#: parsers/i18n.py:52 msgid "episodes" msgstr "최신 에피소드" -#: parsers/i18n.py:35 +#: parsers/i18n.py:53 msgid "podcasts" msgstr "팟캐스트" diff --git a/ytmusicapi/locales/nl/LC_MESSAGES/base.mo b/ytmusicapi/locales/nl/LC_MESSAGES/base.mo index e3c57565fed60ae698c4085a9928740db49009f3..1daabeb48f7fbb879ca4c31737eace32ab610696 100644 GIT binary patch delta 373 zcmZ3_euusOo)F7a1|SdsVi_Qw1H|GWHY1P#f(jtb2Ba&YbOVrP2lCs2GzXCGhte~E zG$)Y15XxT-q(SPoKE}*;{kQN2ffk2uENT&m7J|JBJq(KgA2GSr0^Z;pYAUy?0ivj5cQ1R_RnvFr4 zfnh&X;24kwx$qp6e`PW!qr4(WE686U05Xmji1~pSWF-jjP4;AzW)zs5${4_skzZcC jc{Ag6Mlr|Il+663{M78!JOv=qElw@UOf8<=$*cwdHx4V3 delta 329 zcmXZXKMO%o7{_s^d%6DKQj#bcl+o@Tm>4Z)24%tKuCj3$WKzna43x!Ul)=O#uf_Mt z^VD-c_jk_eIro0NqZfQL?kYt2bdg@tIXY>0P+g2*PaU8~9%B>(b&4_aT=NFy+)h2H zXLMP={&Ntz@e*d?j&jix8}wUq+4&EuVx0XNX0eV*Y+)KZC?C{Exp;&LoM@h*%wK3; qV^~gXbzyJwrc{ -# +# msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-05 20:13+0100\n" +"POT-Creation-Date: 2024-03-13 20:07+0100\n" "PO-Revision-Date: 2023-04-23 14:55+0200\n" "Last-Translator: Heimen Stoffels \n" "Language-Team: \n" @@ -18,62 +18,66 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Poedit 3.2.2\n" -#: parsers/i18n.py:22 +#: parsers/i18n.py:32 msgid "artist" msgstr "artiest" -#: parsers/i18n.py:23 +#: parsers/i18n.py:33 msgid "playlist" msgstr "afspeellijst" -#: parsers/i18n.py:24 +#: parsers/i18n.py:34 msgid "song" msgstr "nummer" -#: parsers/i18n.py:25 +#: parsers/i18n.py:35 msgid "video" msgstr "video" -#: parsers/i18n.py:26 +#: parsers/i18n.py:36 msgid "station" msgstr "station" -#: parsers/i18n.py:27 +#: parsers/i18n.py:37 msgid "profile" msgstr "profiel" -#: parsers/i18n.py:28 +#: parsers/i18n.py:38 msgid "podcast" msgstr "" -#: parsers/i18n.py:29 +#: parsers/i18n.py:39 msgid "episode" msgstr "Aflevering" -#: parsers/i18n.py:35 +#: parsers/i18n.py:46 msgid "albums" msgstr "albums" -#: parsers/i18n.py:35 +#: parsers/i18n.py:47 msgid "singles" msgstr "singles" -#: parsers/i18n.py:35 +#: parsers/i18n.py:48 +msgid "shows" +msgstr "Audioboeken en -series" + +#: parsers/i18n.py:49 msgid "videos" msgstr "video's" -#: parsers/i18n.py:35 +#: parsers/i18n.py:50 msgid "playlists" msgstr "afspeellijsten" -#: parsers/i18n.py:35 +#: parsers/i18n.py:51 msgid "related" msgstr "gerelateerd" -#: parsers/i18n.py:35 +#: parsers/i18n.py:52 msgid "episodes" msgstr "nieuwste afleveringen" -#: parsers/i18n.py:35 +#: parsers/i18n.py:53 msgid "podcasts" msgstr "podcasts" diff --git a/ytmusicapi/locales/pt/LC_MESSAGES/base.mo b/ytmusicapi/locales/pt/LC_MESSAGES/base.mo index d18787721f0bd373ec4a58d4dbcb235e94e807ee..4784fe23ebadb74e2f467a772203801a3333c24d 100644 GIT binary patch delta 374 zcmaFMHk-Zvo)F7a1|SdsVi_Qw1H|GWHY1P#f(jtb2Ba&YbOVrP2lCs2GzXCGhte~E zG$)Y15XxT-q(SPoKcOd-+D*uED zV&EGf4YKG9kOn#WACMLW()`Q}3}Qf96-a{|W&@-_=C}fBZXoRgq(L5w0Ma1+1wfje zL7IV~3M$Y9q(K^bz!D4$lP7aB$}57jf|P>*$UnS5%n!soKnwzWlRX)w83iV%G6t|@ pIEh-v@S74y|#6P(zmnj ztw(g(Kbbmo&LjyoE+`k>@q-W3;M`(n&;#XyC+6{mMf_q3gSdH66J<^t)7U}zuZ!}a so~;MyNyo?@jCDoT8#!8}U6! -# +# msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-05 20:13+0100\n" +"POT-Creation-Date: 2024-03-13 20:07+0100\n" "PO-Revision-Date: 2023-01-01 12:15+0530\n" "Last-Translator: \n" "Language-Team: \n" @@ -17,62 +17,66 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 3.2.2\n" -#: parsers/i18n.py:22 +#: parsers/i18n.py:32 msgid "artist" msgstr "artista" -#: parsers/i18n.py:23 +#: parsers/i18n.py:33 msgid "playlist" msgstr "lista de reprodução" -#: parsers/i18n.py:24 +#: parsers/i18n.py:34 msgid "song" msgstr "música" -#: parsers/i18n.py:25 +#: parsers/i18n.py:35 msgid "video" msgstr "vídeo" -#: parsers/i18n.py:26 +#: parsers/i18n.py:36 msgid "station" msgstr "estação" -#: parsers/i18n.py:27 +#: parsers/i18n.py:37 msgid "profile" msgstr "perfil" -#: parsers/i18n.py:28 +#: parsers/i18n.py:38 msgid "podcast" msgstr "" -#: parsers/i18n.py:29 +#: parsers/i18n.py:39 msgid "episode" msgstr "Episódio" -#: parsers/i18n.py:35 +#: parsers/i18n.py:46 msgid "albums" msgstr "álbuns" -#: parsers/i18n.py:35 +#: parsers/i18n.py:47 msgid "singles" msgstr "solteiros" -#: parsers/i18n.py:35 +#: parsers/i18n.py:48 +msgid "shows" +msgstr "Audiolivros e programas" + +#: parsers/i18n.py:49 msgid "videos" msgstr "vídeos" -#: parsers/i18n.py:35 +#: parsers/i18n.py:50 msgid "playlists" msgstr "listas de reprodução" -#: parsers/i18n.py:35 +#: parsers/i18n.py:51 msgid "related" msgstr "relacionado" -#: parsers/i18n.py:35 +#: parsers/i18n.py:52 msgid "episodes" msgstr "episódios novos" -#: parsers/i18n.py:35 +#: parsers/i18n.py:53 msgid "podcasts" msgstr "podcasts" diff --git a/ytmusicapi/locales/ru/LC_MESSAGES/base.mo b/ytmusicapi/locales/ru/LC_MESSAGES/base.mo index 45330aa37bd4fc241bf8effb9128ceb91c8fd7a5..c0d1a213607d4015ebeee8d6636da471b93dc52b 100644 GIT binary patch delta 409 zcmXxgy-or_5Ww+SIXu2ZATfl5LOM+Bd;t?)fyO70&O)Ol1%=R&9B4^nVPT=cf@q|% z#9}Xzj#yBd7)u&V{7)P=H}~6_oxR)aJRGFjAEjU@j3QAbZiq6m?|3n~xQRWpk0JRr zrf_85Vw(KH)}O8ZYWbV_j!F6!e|cM$Oacm@*6?i&E7TwV;0l8ckvy)kfZ2pd4y#zf zJ=A&wOV~v1Keqb0<(Ifa{R-=HAachSmrS-!UQkW+FNDMmF{uIUc#)}i;I zccHts2p!wekvj`oCl{yVnVY$~@5deg=qG;apZp7s{bX04`~P~}_0zZ$4HJjImxw{V delta 347 zcmXZXy{-Zl0tKn8wuU* zMC(7yBy)Z{v%6<^$B~QI|ILIZLZrzeIVbZvc6^8~hOuW3(4!t=1V`o!qtpwVUs-=+ z_14^*Ck%=7 -# +# msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-05 20:13+0100\n" +"POT-Creation-Date: 2024-03-13 20:07+0100\n" "PO-Revision-Date: 2023-01-01 09:48+0530\n" "Last-Translator: \n" "Language-Team: \n" @@ -17,62 +17,66 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 3.2.2\n" -#: parsers/i18n.py:22 +#: parsers/i18n.py:32 msgid "artist" msgstr "художник" -#: parsers/i18n.py:23 +#: parsers/i18n.py:33 msgid "playlist" msgstr "плейлист" -#: parsers/i18n.py:24 +#: parsers/i18n.py:34 msgid "song" msgstr "песня" -#: parsers/i18n.py:25 +#: parsers/i18n.py:35 msgid "video" msgstr "видео" -#: parsers/i18n.py:26 +#: parsers/i18n.py:36 msgid "station" msgstr "станция" -#: parsers/i18n.py:27 +#: parsers/i18n.py:37 msgid "profile" msgstr "профиль" -#: parsers/i18n.py:28 +#: parsers/i18n.py:38 msgid "podcast" msgstr "Подкаст" -#: parsers/i18n.py:29 +#: parsers/i18n.py:39 msgid "episode" msgstr "Выпуск" -#: parsers/i18n.py:35 +#: parsers/i18n.py:46 msgid "albums" msgstr "альбомы" -#: parsers/i18n.py:35 +#: parsers/i18n.py:47 msgid "singles" msgstr "синглы" -#: parsers/i18n.py:35 +#: parsers/i18n.py:48 +msgid "shows" +msgstr "Аудиокниги и аудиошоу" + +#: parsers/i18n.py:49 msgid "videos" msgstr "ролики" -#: parsers/i18n.py:35 +#: parsers/i18n.py:50 msgid "playlists" msgstr "плейлисты" -#: parsers/i18n.py:35 +#: parsers/i18n.py:51 msgid "related" msgstr "связанные с" -#: parsers/i18n.py:35 +#: parsers/i18n.py:52 msgid "episodes" msgstr "новые выпуски" -#: parsers/i18n.py:35 +#: parsers/i18n.py:53 msgid "podcasts" msgstr "подкасты" diff --git a/ytmusicapi/locales/tr/LC_MESSAGES/base.mo b/ytmusicapi/locales/tr/LC_MESSAGES/base.mo index 9e733b5ae19708ca334bb11dd8c44625bcf502a5..3ab7c5b3e68fabb32239a9625b7348253220d693 100644 GIT binary patch delta 379 zcmXZXu}{K46vy#9s1%|CVPSwsU0Il%+}unUNcamnG|+&76oSfv34?Jmu`zLQadw1} zk%^IoO%~mVtB!nMc$d6>`n%k{yW6H-+{stLc{PkYRi@slqWoJvj5|!>z50MI`4Q9j ztiEA}{Gs_1W!+p|;1PMLd4-NK6SLNdjV{=t9QcEOxI=0DojCZ5()b^N`F9f z-f=t0+%vP;nZ1SkbmB+ZS{X!L=?Fe1^33?c7XPBj*>wb-LZ=>C6 z_h@l`Nc-40QrH}vP#(JC2X80~FPYRk%EA{G@U8t~iQY2}BZmRXo+iqC8|6nkDDz$2 q_t2J!P#^S@K-C+vTE-;gy8o}z)l%k@fvT!vGFIX4tfnf7%+?Qc8y(>Q diff --git a/ytmusicapi/locales/tr/LC_MESSAGES/base.po b/ytmusicapi/locales/tr/LC_MESSAGES/base.po index 9210018..d157fb0 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: 2024-03-05 20:13+0100\n" +"POT-Creation-Date: 2024-03-13 20:07+0100\n" "PO-Revision-Date: 2023-01-02 13:06+0530\n" "Last-Translator: \n" "Language-Team: \n" @@ -17,62 +17,66 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 3.2.2\n" -#: parsers/i18n.py:22 +#: parsers/i18n.py:32 msgid "artist" msgstr "sanatçı" -#: parsers/i18n.py:23 +#: parsers/i18n.py:33 msgid "playlist" msgstr "çalma listesi" -#: parsers/i18n.py:24 +#: parsers/i18n.py:34 msgid "song" msgstr "şarkı" -#: parsers/i18n.py:25 +#: parsers/i18n.py:35 msgid "video" msgstr "video" -#: parsers/i18n.py:26 +#: parsers/i18n.py:36 msgid "station" msgstr "istasyon" -#: parsers/i18n.py:27 +#: parsers/i18n.py:37 msgid "profile" msgstr "profil" -#: parsers/i18n.py:28 +#: parsers/i18n.py:38 msgid "podcast" msgstr "" -#: parsers/i18n.py:29 +#: parsers/i18n.py:39 msgid "episode" msgstr "Bölüm" -#: parsers/i18n.py:35 +#: parsers/i18n.py:46 msgid "albums" msgstr "albümler" -#: parsers/i18n.py:35 +#: parsers/i18n.py:47 msgid "singles" msgstr "bekarlar" -#: parsers/i18n.py:35 +#: parsers/i18n.py:48 +msgid "shows" +msgstr "Sesli kitaplar ve programlar" + +#: parsers/i18n.py:49 msgid "videos" msgstr "videolar" -#: parsers/i18n.py:35 +#: parsers/i18n.py:50 msgid "playlists" msgstr "çalma listeleri" -#: parsers/i18n.py:35 +#: parsers/i18n.py:51 msgid "related" msgstr "ilişkili" -#: parsers/i18n.py:35 +#: parsers/i18n.py:52 msgid "episodes" msgstr "son bölümler" -#: parsers/i18n.py:35 +#: parsers/i18n.py:53 msgid "podcasts" msgstr "podcast'ler" diff --git a/ytmusicapi/locales/ur/LC_MESSAGES/base.mo b/ytmusicapi/locales/ur/LC_MESSAGES/base.mo index 04106a80fdbf77e74c62bae4a7b5ec515a9334cd..d7d7339ba00f9197bc57c51ab2195a2e0c3fe779 100644 GIT binary patch delta 397 zcmXZYze_?<6u|Lw^VO@UOcxh}r>$*n{Q><2F6|C&4hoJgK`&@19?_N%K{lFgg%A!6 zH8?n2EgPD`#VK40`W`w5&imYR-?=~DdkVk9=0`R-7a~LE$!ju4?l>Mqj7xZIo?=LS zfy>x3+qgpAvG)%)-?#eJ9O5E<@BejEJ{bf|Os!#N4Rh3ke{qh%g2*cVm|;pJO`XMU zEaE!u*?bu{s4KXMHC)3(^9;A7By!0>H-1F@qGxLu*!;xmFXS$gNeV7k(5-ZphW-y- wsmJLRG}6hws|N?wMy>nedM^$+;nloH8fk1oCcq5PeMJKpmq?K0yy>>H;(5OYN_< zzR^5Z59$$<#*EBK3ujC*;EHnL13&o0EZ!4;UsxdjVikSIm>kwn>P^gJ3uUP``q)*6 vDD$T1$%IfFkv3MEZ;`wCpl*YTjF#UdWPjORu9eXe`LJVqo12YoxN{mmYEvRE diff --git a/ytmusicapi/locales/ur/LC_MESSAGES/base.po b/ytmusicapi/locales/ur/LC_MESSAGES/base.po index 856622f..00b1ac9 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: 2024-03-05 20:13+0100\n" +"POT-Creation-Date: 2024-03-13 20:07+0100\n" "PO-Revision-Date: 2023-01-02 22:18+0530\n" "Last-Translator: \n" "Language-Team: \n" @@ -17,62 +17,66 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 3.2.2\n" -#: parsers/i18n.py:22 +#: parsers/i18n.py:32 msgid "artist" msgstr "فنکار" -#: parsers/i18n.py:23 +#: parsers/i18n.py:33 msgid "playlist" msgstr "پلے لسٹ" -#: parsers/i18n.py:24 +#: parsers/i18n.py:34 msgid "song" msgstr "نغمہ" -#: parsers/i18n.py:25 +#: parsers/i18n.py:35 msgid "video" msgstr "ویڈیو" -#: parsers/i18n.py:26 +#: parsers/i18n.py:36 msgid "station" msgstr "اسٹیشن" -#: parsers/i18n.py:27 +#: parsers/i18n.py:37 msgid "profile" msgstr "پروفائ" -#: parsers/i18n.py:28 +#: parsers/i18n.py:38 msgid "podcast" msgstr "پوڈکاسٹ" -#: parsers/i18n.py:29 +#: parsers/i18n.py:39 msgid "episode" msgstr "ایپی سوڈ" -#: parsers/i18n.py:35 +#: parsers/i18n.py:46 msgid "albums" msgstr "البمز" -#: parsers/i18n.py:35 +#: parsers/i18n.py:47 msgid "singles" msgstr "سنگلز" -#: parsers/i18n.py:35 +#: parsers/i18n.py:48 +msgid "shows" +msgstr "آڈیو بکس اور شوز" + +#: parsers/i18n.py:49 msgid "videos" msgstr "ویڈیوز" -#: parsers/i18n.py:35 +#: parsers/i18n.py:50 msgid "playlists" msgstr "پلے لسٹس" -#: parsers/i18n.py:35 +#: parsers/i18n.py:51 msgid "related" msgstr "متعلقہ" -#: parsers/i18n.py:35 +#: parsers/i18n.py:52 msgid "episodes" msgstr "تازہ ترین ایپی سوڈز" -#: parsers/i18n.py:35 +#: parsers/i18n.py:53 msgid "podcasts" msgstr "پوڈکاسٹس" diff --git a/ytmusicapi/locales/zh_CN/LC_MESSAGES/base.po b/ytmusicapi/locales/zh_CN/LC_MESSAGES/base.po index ee472ca..968be53 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: 2024-03-05 20:13+0100\n" +"POT-Creation-Date: 2024-03-13 20:07+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Bruce Zhang \n" "Language-Team: LANGUAGE \n" @@ -16,62 +16,66 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: parsers/i18n.py:22 +#: parsers/i18n.py:32 msgid "artist" msgstr "音乐人" -#: parsers/i18n.py:23 +#: parsers/i18n.py:33 msgid "playlist" msgstr "播放列表" -#: parsers/i18n.py:24 +#: parsers/i18n.py:34 msgid "song" msgstr "歌曲" -#: parsers/i18n.py:25 +#: parsers/i18n.py:35 msgid "video" msgstr "视频" -#: parsers/i18n.py:26 +#: parsers/i18n.py:36 msgid "station" msgstr "电台" -#: parsers/i18n.py:27 +#: parsers/i18n.py:37 msgid "profile" msgstr "个人资料" -#: parsers/i18n.py:28 +#: parsers/i18n.py:38 msgid "podcast" msgstr "播客" -#: parsers/i18n.py:29 +#: parsers/i18n.py:39 msgid "episode" msgstr "分集" -#: parsers/i18n.py:35 +#: parsers/i18n.py:46 msgid "albums" msgstr "专辑" -#: parsers/i18n.py:35 +#: parsers/i18n.py:47 msgid "singles" msgstr "单曲" -#: parsers/i18n.py:35 +#: parsers/i18n.py:48 +msgid "shows" +msgstr "有声读物和节目" + +#: parsers/i18n.py:49 msgid "videos" msgstr "视频" -#: parsers/i18n.py:35 +#: parsers/i18n.py:50 msgid "playlists" msgstr "精选" -#: parsers/i18n.py:35 +#: parsers/i18n.py:51 msgid "related" msgstr "粉丝可能还会喜欢" -#: parsers/i18n.py:35 +#: parsers/i18n.py:52 msgid "episodes" msgstr "最新分集" -#: parsers/i18n.py:35 +#: parsers/i18n.py:53 msgid "podcasts" msgstr "播客" diff --git a/ytmusicapi/locales/zh_TW/LC_MESSAGES/base.po b/ytmusicapi/locales/zh_TW/LC_MESSAGES/base.po index a5486d5..75e833e 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: 2024-03-05 20:13+0100\n" +"POT-Creation-Date: 2024-03-13 20:07+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,62 +17,66 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: parsers/i18n.py:22 +#: parsers/i18n.py:32 msgid "artist" msgstr "藝人" -#: parsers/i18n.py:23 +#: parsers/i18n.py:33 msgid "playlist" msgstr "播放清單" -#: parsers/i18n.py:24 +#: parsers/i18n.py:34 msgid "song" msgstr "歌曲" -#: parsers/i18n.py:25 +#: parsers/i18n.py:35 msgid "video" msgstr "影片" -#: parsers/i18n.py:26 +#: parsers/i18n.py:36 msgid "station" msgstr "電台" -#: parsers/i18n.py:27 +#: parsers/i18n.py:37 msgid "profile" msgstr "個人資料" -#: parsers/i18n.py:28 +#: parsers/i18n.py:38 msgid "podcast" msgstr "" -#: parsers/i18n.py:29 +#: parsers/i18n.py:39 msgid "episode" msgstr "單集" -#: parsers/i18n.py:35 +#: parsers/i18n.py:46 msgid "albums" msgstr "專輯" -#: parsers/i18n.py:35 +#: parsers/i18n.py:47 msgid "singles" msgstr "單曲" -#: parsers/i18n.py:35 +#: parsers/i18n.py:48 +msgid "shows" +msgstr "有聲書與節目" + +#: parsers/i18n.py:49 msgid "videos" msgstr "影片" -#: parsers/i18n.py:35 +#: parsers/i18n.py:50 msgid "playlists" msgstr "精選收錄" -#: parsers/i18n.py:35 +#: parsers/i18n.py:51 msgid "related" msgstr "粉絲可能也會喜歡" -#: parsers/i18n.py:35 +#: parsers/i18n.py:52 msgid "episodes" msgstr "最新集數" -#: parsers/i18n.py:35 +#: parsers/i18n.py:53 msgid "podcasts" msgstr "Podcast" diff --git a/ytmusicapi/mixins/browsing.py b/ytmusicapi/mixins/browsing.py index d9df4b3..0b2c125 100644 --- a/ytmusicapi/mixins/browsing.py +++ b/ytmusicapi/mixins/browsing.py @@ -131,8 +131,22 @@ def get_artist(self, channelId: str) -> Dict: albums, singles, videos, and related artists). The top lists contain pointers for getting the full list of releases. - For songs/videos, pass the browseId to :py:func:`get_playlist`. - For albums/singles, pass browseId and params to :py:func:`get_artist_albums`. + Possible content types for get_artist are: + + - songs + - albums + - singles + - shows + - videos + - episodes + - podcasts + - related + + Each of these content keys in the response contains + ``results`` and possibly ``browseId`` and ``params``. + + - For songs/videos, pass the browseId to :py:func:`get_playlist`. + - For albums/singles/shows, pass browseId and params to :py:func:`get_artist_albums`. :param channelId: channel id of the artist :return: Dictionary with requested information. @@ -260,7 +274,7 @@ def get_artist_albums( self, channelId: str, params: str, limit: Optional[int] = 100, order: Optional[str] = None ) -> List[Dict]: """ - Get the full list of an artist's albums or singles + Get the full list of an artist's albums, singles or shows :param channelId: browseId of the artist as returned by :py:func:`get_artist` :param params: params obtained by :py:func:`get_artist` diff --git a/ytmusicapi/mixins/podcasts.py b/ytmusicapi/mixins/podcasts.py index ddff56e..0614377 100644 --- a/ytmusicapi/mixins/podcasts.py +++ b/ytmusicapi/mixins/podcasts.py @@ -172,7 +172,7 @@ def get_episode(self, videoId: str) -> Dict: :return: Dict containing information about the episode The description elements are based on a custom dataclass, not shown in the example below - The description text items also contain "\n" to indicate newlines, removed below due to RST issues + The description text items also contain "\\n" to indicate newlines, removed below due to RST issues Example:: diff --git a/ytmusicapi/parsers/i18n.py b/ytmusicapi/parsers/i18n.py index 24f319a..206c323 100644 --- a/ytmusicapi/parsers/i18n.py +++ b/ytmusicapi/parsers/i18n.py @@ -45,6 +45,7 @@ def parse_channel_contents(self, results: List) -> Dict: categories = [ ("albums", _("albums"), parse_album, MTRIR), ("singles", _("singles"), parse_single, MTRIR), + ("shows", _("shows"), parse_album, MTRIR), ("videos", _("videos"), parse_video, MTRIR), ("playlists", _("playlists"), parse_playlist, MTRIR), ("related", _("related"), parse_related_artist, MTRIR), @@ -57,7 +58,7 @@ def parse_channel_contents(self, results: List) -> Dict: r["musicCarouselShelfRenderer"] for r in results if "musicCarouselShelfRenderer" in r - and nav(r, CAROUSEL + CAROUSEL_TITLE)["text"].lower() == category_local + and nav(r, CAROUSEL + CAROUSEL_TITLE)["text"].lower() == category_local.lower() ] if len(data) > 0: artist[category] = {"browseId": None, "results": []}