Compare commits

...
Author SHA1 Message Date
Jonah Brüchert 50c2607a75 Windows fixes 2023-10-22 19:07:43 +02:00
l10n daemon script aaef6e81ea GIT_SILENT Sync po/docbooks with svn 2023-10-22 04:00:47 +00:00
l10n daemon script abffb362e7 GIT_SILENT Sync po/docbooks with svn 2023-10-13 03:09:55 +00:00
Scarlett Moore eceda70072 snapcraft: enable devmode for now, still network failures in fully confined. 2023-10-12 09:57:25 -07:00
Scarlett Moore b687090dd3 snapcraft: add back qcoro not yet in content pack 2023-10-12 08:03:59 -07:00
Scarlett Moore 40214f1221 snapcraft: add back kirigmai-addons as it is not in content pack. 2023-10-12 07:27:49 -07:00
Scarlett Moore 75a06c0818 snapcraft: bump content pack version. 2023-10-12 06:16:25 -07:00
Scarlett Moore 36d3af991a snapcraft: Several fixes,
build yt-dlp with ffmpeg support
build ytmusicapi latest
Add missing gstreamer plugins
Add alsa support for sound
Add network-manager plugs
2023-10-11 04:12:43 -07:00
l10n daemon script eb7a388bbe GIT_SILENT Sync po/docbooks with svn 2023-10-11 04:02:22 +00:00
9 changed files with 160 additions and 49 deletions

No files matched your search

+10 -10
View File
@@ -1,11 +1,11 @@
# Xavier Besnard <[email protected]>, 2021, 2022.
# SPDX-FileCopyrightText: 2021, 2022, 2023 Xavier Besnard <[email protected]>
# Xavier BESNARD <[email protected]>, 2022, 2023.
msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2023-07-09 00:59+0000\n"
"PO-Revision-Date: 2023-07-06 20:41+0200\n"
"PO-Revision-Date: 2023-10-11 18:48+0200\n"
"Last-Translator: Xavier BESNARD <[email protected]>\n"
"Language-Team: fr\n"
"Language: fr\n"
@@ -13,7 +13,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Lokalize 23.04.2\n"
"X-Generator: Lokalize 23.08.1\n"
#: asyncytmusic.cpp:65
#, kde-format
@@ -177,7 +177,7 @@ msgstr "Renommer une liste de lecture"
#: contents/ui/Sidebar.qml:131 contents/ui/Sidebar.qml:138
#, kde-format
msgid "Favourites"
msgstr "Favoris"
msgstr "Signets"
#: contents/ui/LibraryPage.qml:119 contents/ui/LibraryPage.qml:306
#: contents/ui/LibraryPage.qml:403
@@ -188,7 +188,7 @@ msgstr "Tout afficher"
#: contents/ui/LibraryPage.qml:147
#, kde-format
msgid "No Favourites Yet"
msgstr "Encore aucun favori"
msgstr "Encore aucun signet"
#: contents/ui/LibraryPage.qml:215
#, kde-format
@@ -272,12 +272,12 @@ msgstr "Aucun média en lecture"
#: contents/ui/MaximizedPlayerPage.qml:426
#, kde-format
msgid "Remove from Favourites"
msgstr "Supprimer des favoris"
msgstr "Supprimer des signets"
#: contents/ui/MaximizedPlayerPage.qml:426
#, kde-format
msgid "Add to Favourites"
msgstr "Ajouter aux favoris"
msgstr "Ajouter aux signets"
#: contents/ui/MaximizedPlayerPage.qml:451
#, kde-format
@@ -449,12 +449,12 @@ msgstr "Ajouter à la file de lecture"
#: contents/ui/SongMenu.qml:126 contents/ui/SongMenu.qml:221
#, kde-format
msgid "Remove Favourite"
msgstr "Supprimer un favori"
msgstr "Supprimer un signet"
#: contents/ui/SongMenu.qml:126 contents/ui/SongMenu.qml:221
#, kde-format
msgid "Add Favourite"
msgstr "Ajouter un favori"
msgstr "Ajouter un signet"
#: contents/ui/SongMenu.qml:143 contents/ui/SongMenu.qml:235
#, kde-format
@@ -511,7 +511,7 @@ msgstr "[email protected]"
#: main.cpp:74
#, kde-format
msgid "Unofficial API for YouTube Music"
msgstr "API non officiel pour la musique sur « YouTube Music »"
msgstr "API non officiel pour la musique sur « YouTube Musique »"
#: playlistimporter.cpp:23
#, kde-format
+1 -1
View File
@@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: kdeorg\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2023-07-09 00:59+0000\n"
"PO-Revision-Date: 2023-09-16 10:12\n"
"PO-Revision-Date: 2023-10-21 13:58\n"
"Last-Translator: \n"
"Language-Team: Chinese Simplified\n"
"Language: zh_CN\n"
+140 -30
View File
@@ -1,7 +1,7 @@
# Trigger rebuild
---
name: audiotube
confinement: strict
confinement: devmode
grade: stable
base: core22
adopt-info: audiotube
@@ -10,7 +10,7 @@ apps:
audiotube:
# extensions:
# - kde-neon
common-id: org.kde.audiotube.desktop
common-id: org.kde.audiotube
desktop: usr/share/applications/org.kde.audiotube.desktop
command: usr/bin/audiotube
plugs:
@@ -27,6 +27,10 @@ apps:
- network-observe
- browser-support
- network-manager-observe
- network-manager
- hardware-observe
- process-control
- alsa
command-chain:
- snap/command-chain/desktop-launch
assumes:
@@ -43,20 +47,27 @@ plugs:
interface: content
target: $SNAP/data-dir/sounds
default-provider: gtk-common-themes
kf5-5-110-qt-5-15-10-core22:
content: kf5-5-110-qt-5-15-10-core22-all
kf5-5-110-qt-5-15-11-core22:
content: kf5-5-110-qt-5-15-11-core22-all
interface: content
default-provider: kf5-5-110-qt-5-15-10-core22
default-provider: kf5-5-110-qt-5-15-11-core22
target: $SNAP/kf5
environment:
SNAP_DESKTOP_RUNTIME: $SNAP/kf5
QML2_IMPORT_PATH: "$QML2_IMPORT_PATH:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qml:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt5/qml:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt5/qml/org/kde/kirigami.2:$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt5/qml"
QML2_IMPORT_PATH: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/qml:$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/qml:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/qml"
PYTHONPYCACHEPREFIX: "$SNAP_USER_COMMON/.pycache"
PYTHONUSERBASE: $SNAP_USER_COMMON/.local
PIP_USER: 1
PYTHONPATH: "$PYTHONUSERBASE/lib/python3.10/site-packages:$SNAP/lib/python3.10/site-packages:$SNAP/usr/lib/python3/dist-packages"
QT_PLUGIN_PATH: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt5/plugins:$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt5/plugins/kf5:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt5/qml/org/kde/kirigami.2"
QT_PLUGIN_PATH: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins:$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt5/plugins/kf5"
QT_QUICK_CONTROLS_STYLE: org.kde.desktop
XDG_DATA_DIRS: $SNAP/usr/share:$SNAP/kf5/usr/share:$XDG_DATA_DIRS
XDG_CONFIG_HOME: $SNAP/etc/xdg:$SNAP/kf5/etc/xdg:/etc/xdg:$XDG_CONFIG_HOME
GST_PLUGIN_PATH: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer-1.0"
GST_PLUGIN_SYSTEM_PATH: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer-1.0"
GST_PLUGIN_SCANNER: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner"
LD_LIBRARY_PATH: $SNAP/lib:$SNAP/usr/lib:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET:/snap/ffmpeg-2204/current/usr/lib:$SNAP/kf5/lib/$CRAFT_ARCH_TRIPLET:$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET:$SNAP/kf5/usr/lib:$SNAP/kf5/usr/lib/vala-current:$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/pulseaudio:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/blas"
hooks:
configure:
plugs:
@@ -66,10 +77,12 @@ hooks:
layout:
/usr/share/X11:
symlink: $SNAP/kf5/usr/share/X11
"/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/alsa-lib":
bind: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/alsa-lib"
"/usr/lib/$CRAFT_ARCH_TRIPLET/alsa-lib":
bind: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/alsa-lib"
"/usr/share/alsa":
bind: "$SNAP/usr/share/alsa"
"/etc/alsa/conf.d":
bind: "$SNAP/etc/alsa/conf.d"
slots:
session-dbus-interface:
interface: dbus
@@ -90,48 +103,124 @@ parts:
source-type: local
plugin: make
make-parameters:
- PLATFORM_PLUG=kf5-5-110-qt-5-15-10-core22
- PLATFORM_PLUG=kf5-5-110-qt-5-15-11-core22
build-snaps:
- kf5-5-110-qt-5-15-10-core22-sdk
- kf5-5-110-qt-5-15-11-core22-sdk
build-environment:
- &id001
PATH: /snap/kf5-5-110-qt-5-15-10-core22-sdk/current/usr/bin${PATH:+:$PATH}
PATH: /snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/bin${PATH:+:$PATH}
- &id002
XDG_DATA_DIRS: $CRAFT_STAGE/usr/share:/snap/kf5-5-110-qt-5-15-10-core22-sdk/current/usr/share:/usr/share${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}
XDG_DATA_DIRS: $CRAFT_STAGE/usr/share:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/share:/usr/share${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}
- &id003
XDG_CONFIG_HOME: $CRAFT_STAGE/etc/xdg:/snap/kf5-5-110-qt-5-15-10-core22-sdk/current/etc/xdg:/etc/xdg${XDG_CONFIG_HOME:+:$XDG_CONFIG_HOME}
XDG_CONFIG_HOME: $CRAFT_STAGE/etc/xdg:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/etc/xdg:/etc/xdg${XDG_CONFIG_HOME:+:$XDG_CONFIG_HOME}
- &id004
CRAFT_CMAKE_ARGS: -DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-110-qt-5-15-10-core22-sdk/current${CRAFT_CMAKE_ARGS:+:$CRAFT_CMAKE_ARGS}
CRAFT_CMAKE_ARGS: -DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-110-qt-5-15-11-core22-sdk/current${CRAFT_CMAKE_ARGS:+:$CRAFT_CMAKE_ARGS}
yt-dlp:
plugin: python
source: https://github.com/yt-dlp/yt-dlp.git
python-packages:
- mutagen
- pycryptodomex
- websockets
- brotli; platform_python_implementation=='CPython'
- brotlicffi; platform_python_implementation!='CPython'
- certifi
build-packages:
- python3
- flake8
- pandoc
- zip
build-snaps:
- ffmpeg-2204
build-environment:
- LD_LIBRARY_PATH: /snap/ffmpeg-2204/current/usr/lib:/snap/ffmpeg-2204/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:$CRAFT_STAGE/usr/lib:$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/lib:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/lib/vala-current:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/pulseaudio
stage-packages:
- python3-pkg-resources
- curl
- ca-certificates
- python3-pyxattr
- rtmpdump
- libfribidi-bin
stage:
- "bin/yt-dlp"
- "lib/python3.10/site-packages/mutagen"
- "lib/python3.10/site-packages/Cryptodome"
- "lib/python3.10/site-packages/brotli.py"
- "lib/python3.10/site-packages/_brotli*"
- "lib/python3.10/site-packages/certifi"
- "lib/python3.10/site-packages/websockets"
- "-lib/python3.10/site-packages/*/__pycache__"
- "lib/python3.10/site-packages/yt_dlp*"
- "usr/bin/curl"
- "usr/lib/*/libcurl.*"
- "usr/lib/*/libfribidi*"
- "usr/bin/rtmpdump"
- "usr/bin/mutagen*"
- "usr/lib/sasl2"
ytmusicapi:
after:
- yt-dlp
plugin: python
source: https://github.com/sigma67/ytmusicapi.git
source-tag: 1.1.0
python-packages:
- requests >= 2.22
- "setuptools>=65"
- "setuptools_scm[toml]>=7"
build-packages:
- python3
- gettext
build-environment:
- LD_LIBRARY_PATH: $CRAFT_STAGE/usr/lib:$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/lib/$CRAFT_ARCH_TRIPLET:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/lib:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/lib/vala-current:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET/pulseaudio
stage:
- "lib/python3.10/site-packages/ytmusicapi"
- "lib/python3.10/site-packages/ytmusicapi-1.1.0.dist-info/"
- "lib/python3.10/site-packages/requests"
- "lib/python3.10/site-packages/urllib3"
- "lib/python3.10/site-packages/charset_normalizer"
- "lib/python3.10/site-packages/idna"
- "lib/python3.10/site-packages/certifi"
- "-lib/python3.10/site-packages/*/__pycache__"
- "bin/ytmusicapi"
audiotube:
after:
- kde-neon
- yt-dlp
- ytmusicapi
parse-info:
- usr/share/metainfo/org.kde.audiotube.appdata.xml
plugin: cmake
build-packages:
- kirigami2-dev
- libfuturesql-dev
- libkf5purpose-dev
- libpython3.10-dev
- kirigami-addons-dev
- pybind11-dev
- kirigami-addons-dev
- qcoro-qt5-dev
- yt-dlp
- ytmusicapi
stage-packages:
- libkf5kirigami2-5
- gstreamer1.0-alsa
- libasound2
- libasound2-data
- libasound2-plugins
- libasound2-plugins-extra
- libfuturesql
- libpython3.10
- python3
- python3-pybind11
- libqcoro5core0
- libsqlite3-0
- yt-dlp
- ytmusicapi
- qml-module-org-kde-kirigami-addons-datetime
- python3-m3u8
- qml-module-org-kde-kirigami-addons-labs-mobileform
- qml-module-org-kde-kirigami-addons-sounds
- qml-module-org-kde-kirigami-addons-treeview
- qml-module-org-kde-purpose
- qml-module-org-kde-qqc2desktopstyle
- qt5-image-formats-plugins
- libqcoro5core0
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-bad
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-ugly
- gstreamer1.0-libav
- libblas3
stage-snaps:
- ffmpeg-2204
source: .
source-type: local
cmake-parameters:
@@ -141,8 +230,27 @@ parts:
- "-DBUILD_TESTING=OFF"
- "-DKDE_SKIP_TEST_SETTINGS=ON"
- "-DPYBIND11_FINDPYTHON=ON"
- "-DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-110-qt-5-15-10-core22-sdk/current\\;$CRAFT_STAGE\\;/usr"
- "-DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-110-qt-5-15-11-core22-sdk/current\\;$CRAFT_STAGE"
- "-DKDE_INSTALL_PLUGINDIR=/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt5/plugins/"
stage:
- "-usr/lib/${CRAFT_ARCH_TRIPLET}/libEGL_mesa.so.0.0.0"
- "-usr/lib/${CRAFT_ARCH_TRIPLET}/libGLX_mesa.so.0.0.0"
- "-usr/lib/${CRAFT_ARCH_TRIPLET}/libLLVM-15.so.1"
- "-usr/lib/${CRAFT_ARCH_TRIPLET}/libdrm*"
- "-usr/lib/${CRAFT_ARCH_TRIPLET}/libgamin-1.so.0.1.10"
- "-usr/lib/${CRAFT_ARCH_TRIPLET}/libicuio.so.70.1"
- "-usr/lib/${CRAFT_ARCH_TRIPLET}/libicutest.so.70.1"
- "-usr/lib/${CRAFT_ARCH_TRIPLET}/libpolkit-qt5-agent-1.so.1.114.0"
- "-usr/lib/${CRAFT_ARCH_TRIPLET}/libpolkit-qt5-gui-1.so.1.114.0"
- "-usr/lib/${CRAFT_ARCH_TRIPLET}/libpulse-simple.so.0.1.1"
- "-usr/lib/${CRAFT_ARCH_TRIPLET}/libsensors.so.5.0.0"
- "-usr/lib/${CRAFT_ARCH_TRIPLET}/libxcb*"
- "-usr/lib/${CRAFT_ARCH_TRIPLET}/libX*"
- "-usr/lib/x86_64-linux-gnu/libglapi.so*"
- "-usr/lib/x86_64-linux-gnu/libicutu.so*"
- "-usr/lib/x86_64-linux-gnu/libpciaccess.so*"
- "-usr/lib/x86_64-linux-gnu/libpolkit-agent-1.so*"
- "-usr/lib/x86_64-linux-gnu/libxshmfence.so*"
prime:
- "-usr/lib/*/cmake/*"
- "-usr/include/*"
@@ -151,17 +259,19 @@ parts:
- "-usr/share/man/*"
- "-usr/share/icons/breeze-dark*"
- "-usr/bin/X11"
- "-usr/lib/gcc/$CRAFT_ARCH_TRIPLET_BUILD_FOR/6.0.0"
- "-usr/lib/gcc/${CRAFT_ARCH_TRIPLET}/6.0.0"
- "-usr/lib/aspell/*"
- "-usr/share/lintian"
- "-run/pulseaudio-enable-autospawn"
- "-etc/pulse/client.conf.d/01-enable-autospawn.conf"
- "-usr/lib/${CRAFT_ARCH_TRIPLET}/dri"
build-environment:
- *id001
- *id002
- *id003
- *id004
- PYTHONPATH: "$CRAFT_STAGE/lib/python3.10/site-packages:$CRAFT_STAGE/usr/lib/python3/dist-packages"
- PYTHONPATH: "$CRAFT_STAGE/lib/python3.10/site-packages:$CRAFT_STAGE/usr/lib/python3.10/dist-packages"
- LD_LIBRARY_PATH: $CRAFT_STAGE/usr/lib:$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/lib/$CRAFT_ARCH_TRIPLET:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/lib:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/lib/vala-current:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET/pulseaudio
cleanup:
after:
- kde-neon
@@ -15,7 +15,7 @@
class QDBusPendingCallWatcher;
class DBusExtendedPendingCallWatcher;
class QT_DBUS_EXTENDED_EXPORT DBusExtendedAbstractInterface: public QDBusAbstractInterface
class DBusExtendedAbstractInterface: public QDBusAbstractInterface
{
Q_OBJECT
+1 -1
View File
@@ -12,7 +12,7 @@
#include <QtCore/QObject>
#include <QtCore/QString>
class MPRIS_QT_EXPORT Mpris : public QObject
class Mpris : public QObject
{
Q_OBJECT
+1 -1
View File
@@ -25,7 +25,7 @@
class MprisRootInterface;
class MprisPlayerInterface;
class QDBusPendingCallWatcher;
class MPRIS_QT_EXPORT MprisController : public QObject
class MprisController : public QObject
{
Q_OBJECT
+1 -1
View File
@@ -24,7 +24,7 @@
#include <QtCore/QVariant>
class QSignalMapper;
class MPRIS_QT_EXPORT MprisManager : public QObject
class MprisManager : public QObject
{
Q_OBJECT
+1 -1
View File
@@ -17,7 +17,7 @@
class MprisRootAdaptor;
class MprisPlayerAdaptor;
class MPRIS_QT_EXPORT MprisPlayer : public QObject,
class MprisPlayer : public QObject,
protected QDBusContext
{
Q_OBJECT
+4 -3
View File
@@ -20,7 +20,11 @@ void pyPrintPretty(py::handle obj) {
py::print(json.attr("dumps")(obj, "indent"_a=py::int_(4)));
}
#if Q_OS_WINDOWS
#define UNEXPORT __attribute__ ((visibility("hidden")))
#else
#define UNEXPORT
#endif
struct UNEXPORT YTMusicPrivate {
py::scoped_interpreter guard {};
@@ -36,9 +40,6 @@ struct UNEXPORT YTMusicPrivate {
ytmusicapi_module = py::module::import("ytmusicapi");
ytmusic = ytmusicapi_module.attr("YTMusic")(auth, user, requests_session, proxies, language);
// Some of the called python code randomly fails if the encoding is not utf8
setenv("LC_ALL", "en_US.utf8", true);
auto oldVersion = ytmusicapi_module.attr("__dict__").contains("_version");
if (oldVersion) {
std::cerr << "Running with outdated and untested version of ytmusicapi." << std::endl;