Compare commits

..
Author SHA1 Message Date
Jonah Brüchert 50c2607a75 Windows fixes 2023-10-22 19:07:43 +02:00
21 changed files with 124 additions and 113 deletions

No files matched your search

+3
View File
@@ -21,5 +21,8 @@ License: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
Files: logo.png
org.kde.audiotube.svg
snap/gui/logo.png
snapcraft.yaml
Copyright: 2021 Mathis Brüchert <[email protected]>
2023 Scarlett Moore <[email protected]>
License: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
+1 -1
View File
@@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 3.16.0)
# KDE Applications version, managed by release script.
set(RELEASE_SERVICE_VERSION_MAJOR "23")
set(RELEASE_SERVICE_VERSION_MINOR "08")
set(RELEASE_SERVICE_VERSION_MICRO "4")
set(RELEASE_SERVICE_VERSION_MICRO "2")
set(RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}")
project(audiotube VERSION ${RELEASE_SERVICE_VERSION})
+1 -6
View File
@@ -58,7 +58,6 @@ SPDX-License-Identifier: CC0-1.0
<summary xml:lang="ia">Cliente de musica de YouTube convergente</summary>
<summary xml:lang="id">Klien YouTube Music konvergen</summary>
<summary xml:lang="it">Client YouTube Music convergente</summary>
<summary xml:lang="ja">統合的な YouTube Music クライアント</summary>
<summary xml:lang="ka">YouTube Music -ის კონვერგენტული კლიენტი</summary>
<summary xml:lang="ko">올인원 YouTube Music 클라이언트</summary>
<summary xml:lang="nl">Convergente muziekclient van YouTube</summary>
@@ -94,7 +93,6 @@ SPDX-License-Identifier: CC0-1.0
<developer_name xml:lang="ia">Communitate de KDE</developer_name>
<developer_name xml:lang="id">Komunitas KDE</developer_name>
<developer_name xml:lang="it">Comunità KDE</developer_name>
<developer_name xml:lang="ja">KDE コミュニティ</developer_name>
<developer_name xml:lang="ka">KDE-ის საზოგადოება</developer_name>
<developer_name xml:lang="ko">KDE 커뮤니티</developer_name>
<developer_name xml:lang="nl">KDE-gemeenschap</developer_name>
@@ -115,8 +113,6 @@ SPDX-License-Identifier: CC0-1.0
<content_rating type="oars-1.0"/>
<url type="homepage">https://apps.kde.org/en/audiotube</url>
<releases>
<release version="23.08.4" date="2023-12-07"/>
<release version="23.08.3" date="2023-11-09"/>
<release version="23.08.2" date="2023-10-12"/>
<release version="23.08.1" date="2023-09-14"/>
<release version="23.08.0" date="2023-08-24"/>
@@ -200,7 +196,7 @@ SPDX-License-Identifier: CC0-1.0
<p xml:lang="en-GB">AudioTube can search YouTube Music, list albums and artists, play automatically generated playlists, albums and allows to put your own playlist together.</p>
<p xml:lang="eo">AudioTube povas serĉi YouTube Music, listigi albumojn kaj artistojn, ludi aŭtomate generitajn ludlistojn, albumojn kaj permesas kunmeti vian propran ludliston.</p>
<p xml:lang="es">AudioTube puede buscar música de YouTube, listar álbumes y artistas, reproducir las listas de reproducción generadas, álbumes y le permite crear su propia lista de reproducción.</p>
<p xml:lang="eu">«AudioTube»k «YouTube Music»n bilatu dezake, albumak eta artistak zerrendatu, automatikoki sortutako jotze-zerrendak eta albumak jo, eta zure jotze-zerrenda osatzeko aukera eskaintzen dizu.</p>
<p xml:lang="eu">AudioTube-k YouTube Music-en bilatu dezake, albumak eta artistak zerrendatu, automatikoki sortutako jotze-zerrendak eta albumak jo, eta zure jotze-zerrenda osatzeko aukera eskaintzen dizu.</p>
<p xml:lang="fi">AudioTube osaa etsiä YouTube Music -haun, albumien ja artistien luettelun, luotujen soittolistojen automaattisen toiston ja omien soittolistojen kokoamisen.</p>
<p xml:lang="fr">AudioTube peut effectuer des recherches de musiques sur la partie « Musique » de YouTube, établir une liste d'albums et d'artistes, lire des listes de lecture générées automatiquement, des albums et permet de composer sa propre liste de lecture.</p>
<p xml:lang="gl">AudioTube pode buscar en YouTube Music, listar álbums e intérpretes, reproducir listas xeradas automaticamente e álbums, e permítelle confeccionar listas.</p>
@@ -208,7 +204,6 @@ SPDX-License-Identifier: CC0-1.0
<p xml:lang="ia">AudioTube pote cercar in YouTube Music, listar albums e artistas, reproducer listas de reproduction generate automaticamente, albums e te permitte poner tu proprie lista de reproduction insimul.</p>
<p xml:lang="id">AudioTube dapat menelusuri YouTube Music, mendaftarkan album dan artis, putar daftar putar dan yang dibuat secara otomatis dan album, dan memungkinkan Anda untuk membuat daftar putar Anda sendiri.</p>
<p xml:lang="it">AudioTube può eseguire ricerche su YouTube Music, elencare album e artisti, riprodurre scalette e album generati automaticamente e ti consente di creare la tua scaletta.</p>
<p xml:lang="ja">AudioTube は、YouTube Music を検索してアルバムやアーティストの一覧を表示、アルバムや自動生成された再生リストを再生したり独自の再生りストを作成できます。</p>
<p xml:lang="ka">AudioTube -ს შეუძლია მოძებნოს მუსიკა YouTube-ზე, გაჩვენოთ ალბომებისა და შემსრულებლების სია, დაუკრას დაგენერირებული დასაკრავი სიები, ალბომები და საშუალებას გაძლევთ, თქვენი დასაკრავი სია შექმნათ.</p>
<p xml:lang="ko">AudioTube는 YouTube Music을 검색하고, 앨범과 아티스트를 표시하고, 자동 생성된 재생 목록, 앨범을 재생하고, 사용자 정의 재생 목록을 만들 수 있습니다.</p>
<p xml:lang="nl">AudioTube kan in YouTube Music zoeken, een lijst maken van albums en artiesten, automatically gegenereerde afspeellijsten, albums afspelen en biedt u het samenstellen van uw eigen afspeellijst.</p>
+1 -2
View File
@@ -52,7 +52,6 @@ Comment[hi]=यूट्यूब संगीत क्लाएंट
Comment[ia]=Cliente de musica de YouTube
Comment[id]=Klien YouTube Music
Comment[it]=Client YouTube Music
Comment[ja]=YouTube Music クライアント
Comment[ka]=YouTube Music -ის კლიენტი
Comment[ko]=YouTube Music 클라이언트
Comment[nl]=Muziekclient van YouTube
@@ -66,7 +65,7 @@ Comment[ru]=Клиент для YouTube Music
Comment[sk]=Hudobný klient YouTube
Comment[sl]=Glasbeni odjemalec Youtube
Comment[sv]=YouTube-musikprogram
Comment[tr]=YouTube Müzik İstemcisi
Comment[tr]=YouTube Müzik istemcisi
Comment[uk]=Музичний клієнт YouTube
Comment[x-test]=xxYouTube Music clientxx
Comment[zh_CN]=YouTube Music 客户端
+3 -3
View File
@@ -1,6 +1,6 @@
# Copyright (C) 2023 This file is copyright:
# Copyright (C) YEAR This file is copyright:
# This file is distributed under the same license as the audiotube package.
# SPDX-FileCopyrightText: 2021, 2022, 2023 Vit Pelcak <[email protected]>
# Vit Pelcak <[email protected]>, 2021, 2022, 2023.
#
msgid ""
msgstr ""
@@ -15,7 +15,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"X-Generator: Lokalize 23.08.2\n"
"X-Generator: Lokalize 23.04.1\n"
#: asyncytmusic.cpp:65
#, kde-format
+4 -4
View File
@@ -3,13 +3,13 @@
# This file is distributed under the same license as the audiotube package.
#
# Automatically generated, 2021.
# SPDX-FileCopyrightText: 2021, 2022, 2023 Eloy Cuadra <[email protected]>
# Eloy Cuadra <[email protected]>, 2021, 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-11-02 01:27+0100\n"
"PO-Revision-Date: 2023-07-05 18:57+0200\n"
"Last-Translator: Eloy Cuadra <[email protected]>\n"
"Language-Team: Spanish <[email protected]>\n"
"Language: es\n"
@@ -17,7 +17,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.08.2\n"
"X-Generator: Lokalize 23.04.2\n"
#: asyncytmusic.cpp:65
#, kde-format
@@ -515,7 +515,7 @@ msgstr "[email protected]"
#: main.cpp:74
#, kde-format
msgid "Unofficial API for YouTube Music"
msgstr "API no oficial de YouTube Music"
msgstr "API no oficial para YouTube Music"
#: playlistimporter.cpp:23
#, kde-format
+1 -1
View File
@@ -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.08.2\n"
"X-Generator: Lokalize 23.08.1\n"
#: asyncytmusic.cpp:65
#, kde-format
+3 -3
View File
@@ -1,6 +1,6 @@
# Copyright (C) 2023 This file is copyright:
# Copyright (C) YEAR This file is copyright:
# This file is distributed under the same license as the audiotube package.
# SPDX-FileCopyrightText: 2023 Adrián Chaves (Gallaecio)
# Adrián Chaves (Gallaecio) <[email protected]>, 2023.
#
msgid ""
msgstr ""
@@ -15,7 +15,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.08.2\n"
"X-Generator: Lokalize 23.04.2\n"
#: asyncytmusic.cpp:65
#, kde-format
+3 -3
View File
@@ -1,6 +1,6 @@
# Copyright (C) 2023 This file is copyright:
# Copyright (C) YEAR This file is copyright:
# This file is distributed under the same license as the audiotube package.
# SPDX-FileCopyrightText: 2021, 2022, 2023 Vincenzo Reale <[email protected]>
# Vincenzo Reale <[email protected]>, 2021, 2022, 2023.
#
msgid ""
msgstr ""
@@ -15,7 +15,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.08.2\n"
"X-Generator: Lokalize 23.04.2\n"
#: asyncytmusic.cpp:65
#, kde-format
+11 -12
View File
@@ -1,12 +1,12 @@
# maboroshin <pc.genkaku.in>, 2023.
# maboroshini <pc.genkaku.in>, 2023.
# Fumiaki Okushi <[email protected]>, 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-11-24 09:45+0900\n"
"Last-Translator: maboroshin <pc.genkaku.in>\n"
"PO-Revision-Date: 2023-07-01 15:47-0700\n"
"Last-Translator: Fumiaki Okushi <[email protected]>\n"
"Language-Team: Japanese <[email protected]>\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
@@ -15,7 +15,6 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Accelerator-Marker: &\n"
"X-Text-Markup: kde4\n"
"X-Generator: Poedit 2.2.3\n"
#: asyncytmusic.cpp:65
#, kde-format
@@ -23,8 +22,8 @@ msgid ""
"Running with untested version of ytmusicapi %1. If you experience errors, "
"please report them to your distribution."
msgstr ""
"未テストのバージョンの ymusicapi %1 で実行中です。エラー発生の際は、使用中の"
"ディストリビューションに報告してください。"
"未テストのバージョンの ymusicapi %1 で実行中です。エラーの発生時には、お使い"
"のディストリビューションに報告してください。"
#: contents/ui/AlbumPage.qml:75 contents/ui/LibraryPage.qml:37
#: contents/ui/LibraryPage.qml:63 contents/ui/LibraryPage.qml:84
@@ -200,7 +199,7 @@ msgstr "再生回数が多い"
#: contents/ui/Sidebar.qml:157
#, kde-format
msgid "Played Songs"
msgstr "履歴"
msgstr "再生した曲"
#: contents/ui/LibraryPage.qml:334
#, kde-format
@@ -239,7 +238,7 @@ msgstr "再生リストから除去"
#: contents/ui/LocalPlaylistPage.qml:79
#, kde-format
msgid "This playlist is still empty"
msgstr "この再生リストはまだ曲が未登録"
msgstr "この再生リストにまだ中身がありません"
#: contents/ui/LocalPlaylistsPage.qml:110
#: contents/ui/LocalPlaylistsPage.qml:133
@@ -349,7 +348,7 @@ msgstr "キューをシャッフル"
#: contents/ui/MaximizedPlayerPage.qml:1050
#, kde-format
msgid "Upcoming Songs"
msgstr "次の曲"
msgstr ""
#: contents/ui/NavigationBar.qml:24 contents/ui/Sidebar.qml:100
#, kde-format
@@ -364,12 +363,12 @@ msgstr "検索"
#: contents/ui/PlaybackHistory.qml:17
#, kde-format
msgid "Unknown list of songs"
msgstr "不明の曲リスト"
msgstr ""
#: contents/ui/PlaybackHistory.qml:135
#, kde-format
msgid "No songs here yet"
msgstr "まだここに曲の登録なし"
msgstr "まだここに曲はなし"
#: contents/ui/PlaylistPage.qml:110
#, kde-format
@@ -409,7 +408,7 @@ msgstr "不明"
#: contents/ui/SearchWithDropdown.qml:343
#, kde-format
msgid "No matching previous searches"
msgstr "以前の検索との一致なし"
msgstr "以前の検索には一致しません"
#: contents/ui/ShareMenu.qml:39
#, kde-format
+53 -41
View File
@@ -2,22 +2,21 @@
# This file is distributed under the same license as the audiotube package.
#
# Alexander Yavorsky <[email protected]>, 2022, 2023.
# Olesya Gerasimenko <[email protected]>, 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-11-13 16:08+0300\n"
"Last-Translator: Olesya Gerasimenko <[email protected]>\n"
"Language-Team: Basealt Translation Team\n"
"PO-Revision-Date: 2023-04-30 14:45+0300\n"
"Last-Translator: Alexander Yavorsky <[email protected]>\n"
"Language-Team: Russian <[email protected]>\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=4; plural=n==1 ? 3 : n%10==1 && n%100!=11 ? 0 : n"
"%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Lokalize 23.04.3\n"
"X-Generator: Lokalize 21.08.3\n"
#: asyncytmusic.cpp:65
#, kde-format
@@ -25,8 +24,6 @@ msgid ""
"Running with untested version of ytmusicapi %1. If you experience errors, "
"please report them to your distribution."
msgstr ""
"Программа работает с непроверенной версией ytmusicapi %1. Если возникнут "
"ошибки, сообщите о них авторам дистрибутива."
#: contents/ui/AlbumPage.qml:75 contents/ui/LibraryPage.qml:37
#: contents/ui/LibraryPage.qml:63 contents/ui/LibraryPage.qml:84
@@ -148,14 +145,16 @@ msgid "Playlist Description"
msgstr "Описание"
#: contents/ui/dialogs/ImportPlaylistDialog.qml:17
#, kde-format
#, fuzzy, kde-format
#| msgid "Add playlist"
msgid "Import playlist"
msgstr "Импорт списка воспроизведения"
msgstr "Создание списка воспроизведения"
#: contents/ui/dialogs/ImportPlaylistDialog.qml:23
#, kde-format
#, fuzzy, kde-format
#| msgid "Playlist Title"
msgid "Playlist URL (Youtube)"
msgstr "URL-адрес списка воспроизведения (YouTube)"
msgstr "Название"
#: contents/ui/dialogs/PlaylistDialog.qml:20
#, kde-format
@@ -247,9 +246,10 @@ msgstr "Список воспроизведения всё ещё пуст"
#: contents/ui/LocalPlaylistsPage.qml:110
#: contents/ui/LocalPlaylistsPage.qml:133
#: contents/ui/LocalPlaylistsPage.qml:148 contents/ui/PlaylistPage.qml:104
#, kde-format
#, fuzzy, kde-format
#| msgid "Playlist"
msgid "Import Playlist"
msgstr "Импорт списка воспроизведения"
msgstr "Список воспроизведения"
#: contents/ui/main.qml:110 main.cpp:62
#, kde-format
@@ -257,14 +257,15 @@ msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/main.qml:260
#, kde-format
#, fuzzy, kde-format
#| msgid "No media playing"
msgid "No song playing"
msgstr "Ничего не воспроизводится"
#: contents/ui/MaximizedPlayerPage.qml:99
#, kde-format
msgid "Close Maximized Player"
msgstr "Закрыть развёрнутый проигрыватель"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:203
#: contents/ui/MinimizedPlayerControls.qml:94
@@ -273,29 +274,32 @@ msgid "No media playing"
msgstr "Ничего не воспроизводится"
#: contents/ui/MaximizedPlayerPage.qml:426
#, kde-format
#, fuzzy, kde-format
#| msgid "Remove Favourite"
msgid "Remove from Favourites"
msgstr "Убрать из избранного"
#: contents/ui/MaximizedPlayerPage.qml:426
#, kde-format
#, fuzzy, kde-format
#| msgid "Add Favourite"
msgid "Add to Favourites"
msgstr "Добавить в избранное"
#: contents/ui/MaximizedPlayerPage.qml:451
#, kde-format
#, fuzzy, kde-format
#| msgid "Open in Browser"
msgid "Open Volume Drawer"
msgstr "Открыть выдвижную панель громкости"
msgstr "Открыть в браузере"
#: contents/ui/MaximizedPlayerPage.qml:559
#, kde-format
msgid "Unmute Audio"
msgstr "Включить звук"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:559
#, kde-format
msgid "Mute Audio"
msgstr "Отключить звук"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:602
#, kde-format
@@ -303,14 +307,16 @@ msgid "%1%"
msgstr "%1%"
#: contents/ui/MaximizedPlayerPage.qml:633
#, kde-format
#, fuzzy, kde-format
#| msgid "Lyrics"
msgid "Hide Lyrics"
msgstr "Скрыть текст"
msgstr "Текст песни"
#: contents/ui/MaximizedPlayerPage.qml:633
#, kde-format
#, fuzzy, kde-format
#| msgid "Lyrics"
msgid "Show Lyrics"
msgstr "Показать текст"
msgstr "Текст песни"
#: contents/ui/MaximizedPlayerPage.qml:653 contents/ui/SongMenu.qml:183
#: contents/ui/SongMenu.qml:269
@@ -319,19 +325,22 @@ msgid "Share Song"
msgstr "Опубликовать трек"
#: contents/ui/MaximizedPlayerPage.qml:699
#, kde-format
#, fuzzy, kde-format
#| msgid "Playlist"
msgid "Add to a local playlist"
msgstr "Добавить в локальный список воспроизведения"
msgstr "Список воспроизведения"
#: contents/ui/MaximizedPlayerPage.qml:736
#, kde-format
#, fuzzy, kde-format
#| msgid "Queue"
msgid "Hide Queue"
msgstr "Скрыть очередь воспроизведения"
msgstr "Очередь воспроизведения"
#: contents/ui/MaximizedPlayerPage.qml:736
#, kde-format
#, fuzzy, kde-format
#| msgid "Queue"
msgid "Show Queue"
msgstr "Показать очередь воспроизведения"
msgstr "Очередь воспроизведения"
#: contents/ui/MaximizedPlayerPage.qml:956
#: contents/ui/MaximizedPlayerPage.qml:1198
@@ -340,14 +349,16 @@ msgid "Remove Track"
msgstr "Удалить дорожку"
#: contents/ui/MaximizedPlayerPage.qml:995
#, kde-format
#, fuzzy, kde-format
#| msgid "Queue"
msgid "Clear Queue"
msgstr "Очистить очередь воспроизведения"
msgstr "Очередь воспроизведения"
#: contents/ui/MaximizedPlayerPage.qml:1020
#, kde-format
#, fuzzy, kde-format
#| msgid "Shuffle"
msgid "Shuffle Queue"
msgstr "Перемешать очередь воспроизведения"
msgstr "Перемешать"
#: contents/ui/MaximizedPlayerPage.qml:1050
#, kde-format
@@ -377,7 +388,7 @@ msgstr "Пока нет ни одного трека"
#: contents/ui/PlaylistPage.qml:110
#, kde-format
msgid "Playlist successfully imported"
msgstr "Список воспроизведения успешно импортирован"
msgstr ""
#: contents/ui/PlaylistPage.qml:131
#, kde-format
@@ -402,7 +413,7 @@ msgstr "Исполнители"
#: contents/ui/SearchPage.qml:36
#, kde-format
msgid "Top Results"
msgstr "Лучшие результаты"
msgstr ""
#: contents/ui/SearchPage.qml:39 playlistimporter.cpp:23
#, kde-format
@@ -517,19 +528,20 @@ msgid "Unofficial API for YouTube Music"
msgstr "Неофициальный API для YouTube Music"
#: playlistimporter.cpp:23
#, kde-format
#, fuzzy, kde-format
#| msgid "Playlist Description"
msgid "No description"
msgstr "Описание отсутствует"
msgstr "Описание"
#: playlistimporter.cpp:57
#, kde-format
msgid "No title"
msgstr "Название отсутствует"
msgstr ""
#: playlistimporter.cpp:59
#, kde-format
msgid "No album"
msgstr "Альбом отсутствует"
msgstr ""
#, fuzzy
#~| msgid "Playlist"
+2 -2
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-11-25 02:33\n"
"PO-Revision-Date: 2023-10-21 13:58\n"
"Last-Translator: \n"
"Language-Team: Chinese Simplified\n"
"Language: zh_CN\n"
@@ -504,7 +504,7 @@ msgstr "Qi Binye, Tyson Tan"
#, kde-format
msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected], tds00@qq.com"
msgstr "[email protected], tysontan@tysontan.com"
#: main.cpp:74
#, kde-format
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

+29 -26
View File
@@ -1,13 +1,11 @@
# SPDX-FileCopyrightText: 2023 Scarlett Moore <[email protected]>
#
# SPDX-License-Identifier: CC0-1.0
# Trigger rebuild
---
name: audiotube
confinement: devmode
grade: stable
base: core22
adopt-info: audiotube
icon: $CRAFT_PROJECT_DIR/logo.png
icon: $CRAFT_PROJECT_DIR/snap/gui/logo.png
apps:
audiotube:
# extensions:
@@ -33,7 +31,6 @@ apps:
- hardware-observe
- process-control
- alsa
- mpris
command-chain:
- snap/command-chain/desktop-launch
assumes:
@@ -50,10 +47,10 @@ plugs:
interface: content
target: $SNAP/data-dir/sounds
default-provider: gtk-common-themes
kf5-5-111-qt-5-15-11-core22:
content: kf5-5-111-qt-5-15-11-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-111-qt-5-15-11-core22
default-provider: kf5-5-110-qt-5-15-11-core22
target: $SNAP/kf5
environment:
SNAP_DESKTOP_RUNTIME: $SNAP/kf5
@@ -62,7 +59,7 @@ environment:
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/qt5/plugins:$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins/kf5"
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
@@ -86,6 +83,11 @@ layout:
bind: "$SNAP/usr/share/alsa"
"/etc/alsa/conf.d":
bind: "$SNAP/etc/alsa/conf.d"
slots:
session-dbus-interface:
interface: dbus
name: org.mpris.MediaPlayer2.AudioTube
bus: session
package-repositories:
- type: apt
components:
@@ -101,18 +103,18 @@ parts:
source-type: local
plugin: make
make-parameters:
- PLATFORM_PLUG=kf5-5-111-qt-5-15-11-core22
- PLATFORM_PLUG=kf5-5-110-qt-5-15-11-core22
build-snaps:
- kf5-5-111-qt-5-15-11-core22-sdk
- kf5-5-110-qt-5-15-11-core22-sdk
build-environment:
- &id001
PATH: /snap/kf5-5-111-qt-5-15-11-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-111-qt-5-15-11-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-111-qt-5-15-11-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-111-qt-5-15-11-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
@@ -129,9 +131,9 @@ parts:
- pandoc
- zip
build-snaps:
- ffmpeg-2204-sdk
- 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-111-qt-5-15-11-core22-sdk/current/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:/snap/kf5-5-111-qt-5-15-11-core22-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:/snap/kf5-5-111-qt-5-15-11-core22-sdk/current/usr/lib:/snap/kf5-5-111-qt-5-15-11-core22-sdk/current/usr/lib/vala-current:/snap/kf5-5-111-qt-5-15-11-core22-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/pulseaudio
- 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
@@ -162,14 +164,14 @@ parts:
source: https://github.com/sigma67/ytmusicapi.git
source-tag: 1.1.0
python-packages:
- "requests>=2.22"
- 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-111-qt-5-15-11-core22-sdk/current/lib/$CRAFT_ARCH_TRIPLET:/snap/kf5-5-111-qt-5-15-11-core22-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET:/snap/kf5-5-111-qt-5-15-11-core22-sdk/current/usr/lib:/snap/kf5-5-111-qt-5-15-11-core22-sdk/current/usr/lib/vala-current:/snap/kf5-5-111-qt-5-15-11-core22-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET/pulseaudio
- 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/"
@@ -190,17 +192,13 @@ parts:
plugin: cmake
build-packages:
- libfuturesql-dev
- libkf5purpose-dev
- libpython3.10-dev
- pybind11-dev
- kirigami-addons-dev
- qcoro-qt5-dev
stage-packages:
- gstreamer1.0-alsa
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-bad
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-ugly
- gstreamer1.0-libav
- libasound2
- libasound2-data
- libasound2-plugins
@@ -215,6 +213,11 @@ parts:
- 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
@@ -227,7 +230,7 @@ parts:
- "-DBUILD_TESTING=OFF"
- "-DKDE_SKIP_TEST_SETTINGS=ON"
- "-DPYBIND11_FINDPYTHON=ON"
- "-DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-111-qt-5-15-11-core22-sdk/current\\;$CRAFT_STAGE"
- "-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"
@@ -268,7 +271,7 @@ parts:
- *id003
- *id004
- 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-111-qt-5-15-11-core22-sdk/current/lib/$CRAFT_ARCH_TRIPLET:/snap/kf5-5-111-qt-5-15-11-core22-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET:/snap/kf5-5-111-qt-5-15-11-core22-sdk/current/usr/lib:/snap/kf5-5-111-qt-5-15-11-core22-sdk/current/usr/lib/vala-current:/snap/kf5-5-111-qt-5-15-11-core22-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET/pulseaudio
- 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
-1
View File
@@ -99,7 +99,6 @@ private:
interface->reportResult(val);
interface->reportFinished();
} catch (const std::exception &err) {
interface->reportResult({});
interface->reportFinished();
Q_EMIT errorOccurred(QString::fromLocal8Bit(err.what()));
}
@@ -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;