Compare commits

..
190 Commits
Author SHA1 Message Date
Jonah Brüchert 0631ba268a Add GitLab CI 2022-12-28 15:46:37 +01:00
Mathis Brüchert ab4055bede add new scrennshots to appdata file 2022-12-28 14:33:31 +00:00
l10n daemon script 28f821e482 GIT_SILENT Sync po/docbooks with svn 2022-12-28 02:24:45 +00:00
l10n daemon script 832674b5b3 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-12-28 02:03:08 +00:00
l10n daemon script 28ff9be4ac GIT_SILENT made messages (after extraction) 2022-12-28 00:51:42 +00:00
l10n daemon script 89255083b9 GIT_SILENT Sync po/docbooks with svn 2022-12-25 03:09:09 +00:00
l10n daemon script 3a8788896f GIT_SILENT Sync po/docbooks with svn 2022-12-24 02:18:19 +00:00
Jonah Brüchert 22d5667995 Fix blurry album covers 2022-12-23 22:41:36 +01:00
Jonah Brüchert bdfb92a736 Fix passing artists to the menu 2022-12-23 22:38:32 +01:00
Mathis Brüchert 4e3da60708 disable horizontal scralling making touch gestures work with lyrics 2022-12-23 17:27:39 +00:00
Mathis Brüchert f7d5d31108 move menu to a drawer when on mobile 2022-12-23 17:27:00 +00:00
l10n daemon script 1d11e11ee6 GIT_SILENT Sync po/docbooks with svn 2022-12-23 02:14:58 +00:00
l10n daemon script d14e1189f2 GIT_SILENT Sync po/docbooks with svn 2022-12-21 02:15:43 +00:00
Mathis Brüchert 378abb7d4b animate play symbol on hover 2022-12-20 16:12:44 +00:00
l10n daemon script 51d330e6f3 GIT_SILENT Sync po/docbooks with svn 2022-12-17 12:37:10 +00:00
l10n daemon script 3963eb41ce GIT_SILENT Sync po/docbooks with svn 2022-12-14 03:07:31 +00:00
l10n daemon script af12a936d6 GIT_SILENT Sync po/docbooks with svn 2022-12-12 02:34:17 +00:00
Devin Lin cc6661321d Fix list entries from going over the media player 2022-12-11 15:47:41 +00:00
Jonah Brüchert e70a8689bb Make tab list overflow on small screen 2022-12-11 16:10:11 +01:00
l10n daemon script 6511812f2e GIT_SILENT Sync po/docbooks with svn 2022-12-05 02:11:50 +00:00
l10n daemon script 668642d893 GIT_SILENT Sync po/docbooks with svn 2022-12-04 02:10:46 +00:00
l10n daemon script 151281f58c GIT_SILENT Sync po/docbooks with svn 2022-12-03 02:17:48 +00:00
Jonah Brüchert f01057a244 Don't allow building with old ytmusicapi versions
Apparently nobody looks at requirements.txt, so make this fail more
obviously.

As for why this is needed, ytmusicapi doesn't have a stable API, and
that means every time we adapt to a new version, old versions can break.
Having python backtraces thrown into the user's face would be a bad user
experience, so try to make sure packagers don't forget to update it.
2022-12-03 01:59:52 +01:00
l10n daemon script e494a6f1a6 GIT_SILENT Sync po/docbooks with svn 2022-12-02 03:18:23 +00:00
l10n daemon script b43d967f69 GIT_SILENT made messages (after extraction) 2022-12-02 00:49:05 +00:00
l10n daemon script 6b94a459de GIT_SILENT Sync po/docbooks with svn 2022-12-01 02:10:45 +00:00
Jonah Brüchert 1109b81870 Don't try to fetch lyrics when no track is playing
This can happen if the playlist ran through
2022-11-30 17:20:13 +01:00
Jonah Brüchert 9f404d37f6 Optimize memory usage 2022-11-30 17:17:54 +01:00
Bhushan Shah 32be492e82 Update version number for 22.11
GIT_SILENT
2022-11-30 13:26:50 +05:30
l10n daemon script c4de93e4d1 GIT_SILENT Sync po/docbooks with svn 2022-11-30 02:11:45 +00:00
l10n daemon script e5c817b955 GIT_SILENT Sync po/docbooks with svn 2022-11-29 02:14:35 +00:00
l10n daemon script cc2dcd1abb GIT_SILENT Sync po/docbooks with svn 2022-11-28 02:15:39 +00:00
Jonah Brüchert 4b343157a2 Use JavaScript arrow function syntax 2022-11-28 00:08:53 +01:00
Mathis Brüchert 52f330d6be Redesign browsing pages 2022-11-27 19:32:36 +01:00
Jonah Brüchert 435d530b14 Use Kirigami.DelegateRecycler in quick search repeater
I'm not 100% sure how much this will help here, but on my tablet the
frequent allocation of objects while filtering creates a noticable
delay, so let's see if this helps.
2022-11-27 19:26:31 +01:00
l10n daemon script a2d1288e06 GIT_SILENT Sync po/docbooks with svn 2022-11-27 02:07:37 +00:00
l10n daemon script 72500ef1a8 GIT_SILENT Sync po/docbooks with svn 2022-11-26 02:08:12 +00:00
l10n daemon script 6e67e63c32 GIT_SILENT Sync po/docbooks with svn 2022-11-25 02:15:14 +00:00
l10n daemon script 634ccf7835 GIT_SILENT Sync po/docbooks with svn 2022-11-24 02:09:19 +00:00
l10n daemon script da6363d6cc GIT_SILENT Sync po/docbooks with svn 2022-11-23 02:22:26 +00:00
Jonah Brüchert 0447eb3ca2 Fix alignment of local search results 2022-11-22 23:25:10 +01:00
Jonah Brüchert d49addb1ae Fix separator visibility logic 2022-11-22 23:16:59 +01:00
Jonah Brüchert bade37f9f2 Improve popup layout 2022-11-22 23:14:52 +01:00
Jonah Brüchert 5581c9f8e9 Fix separator being displayed in the wrong place 2022-11-22 22:51:03 +01:00
Jonah Brüchert 342984283c Wrap Queue in a ScrollView
This improves the scroll behaviour on the desktop a lot
2022-11-22 22:46:24 +01:00
Mathis Brüchert d313c4b79b clean up player 2022-11-22 22:35:53 +01:00
Mathis Brüchert eb3bb80669 add play icon when hovereing over library entries 2022-11-22 22:33:20 +01:00
Jonah Brüchert c56bbb68f6 Store artist and album of known songs in the database
In the future, this will allow to do better local searching
2022-11-22 18:32:06 +01:00
Jonah Brüchert f5a54fc7e7 Handle thumbnails that are not stored in the guessable location
Currently we just guess the url, which almost always works, but for some
videos (maybe very old ones) it doesn't work.
So for those, we now just invoke yt-dlp to extract the correct url. As
long as this affects only very few videos, it's still fast enough.

AudioTube will print a warning on the console if that happens, to make
it easier to debug when its slow.
2022-11-22 18:01:21 +01:00
Jonah Brüchert f2f653815b search: Display ~2 lines for previously played songs 2022-11-22 17:41:26 +01:00
Jonah Brüchert 4edfc8db71 Fix undefined reference error
The object seems unused
2022-11-22 17:40:52 +01:00
Jonah Brüchert f368c8fd8c resources.qrc: Restore reuse information 2022-11-22 16:43:09 +01:00
Jonah Brüchert a0f7854c52 Factor out the rounded mask code into its own file
Should make it easier to port to Qt6
2022-11-22 16:32:15 +01:00
Jonah BrüchertandMathis Brüchert fb9e17621f Search through played songs as well
Co-authored-by: Mathis Brüchert <[email protected]>
2022-11-22 16:19:03 +01:00
Jonah Brüchert d5b2c2c45c Filter search history while searching 2022-11-21 22:14:54 +01:00
Jonah Brüchert 0e6abff8ff Only display unique search queries 2022-11-21 21:58:35 +01:00
l10n daemon script a762edafc7 GIT_SILENT Sync po/docbooks with svn 2022-11-21 02:10:44 +00:00
l10n daemon script d1bf0c711c GIT_SILENT made messages (after extraction) 2022-11-21 00:48:42 +00:00
l10n daemon script 996322c335 GIT_SILENT Sync po/docbooks with svn 2022-11-20 02:57:06 +00:00
l10n daemon script 54d7c276bf GIT_SILENT Sync po/docbooks with svn 2022-11-19 02:12:55 +00:00
l10n daemon script 234f364b33 GIT_SILENT Sync po/docbooks with svn 2022-11-16 02:31:01 +00:00
l10n daemon script 0d019b9499 GIT_SILENT Sync po/docbooks with svn 2022-11-14 02:14:58 +00:00
l10n daemon script f4d144d53e GIT_SILENT Sync po/docbooks with svn 2022-11-13 02:11:22 +00:00
l10n daemon script 49bff407ad GIT_SILENT Sync po/docbooks with svn 2022-11-10 02:12:38 +00:00
Mathis Brüchert 1e2df2d6d8 Add more shadows and rounding to album convers 2022-11-09 23:13:48 +01:00
Jonah Brüchert 7c3d83704b Clear lyrics when changing the song 2022-11-09 00:31:33 +01:00
l10n daemon script 2796d9be83 GIT_SILENT Sync po/docbooks with svn 2022-11-08 02:07:29 +00:00
l10n daemon script 4233a323b7 GIT_SILENT Sync po/docbooks with svn 2022-11-07 02:58:01 +00:00
l10n daemon script cf5d8df35d GIT_SILENT Sync po/docbooks with svn 2022-11-06 02:09:20 +00:00
Jonah Brüchert 86f16fc7af Library: Add more spacing 2022-11-06 01:03:31 +01:00
Jonah Brüchert 7024e1526f Display lyrics 2022-11-05 21:57:17 +01:00
l10n daemon script d2b256f943 GIT_SILENT Sync po/docbooks with svn 2022-11-04 02:09:10 +00:00
Jonah Brüchert dcf1b9df98 search: Display artists 2022-11-03 21:34:23 +01:00
Jonah Brüchert 0f0e8a5974 Also display thumbnails for artists 2022-11-03 21:16:45 +01:00
Jonah Brüchert f703f1e357 Display album covers 2022-11-03 21:01:32 +01:00
Jonah Brüchert 3815759cd3 Make sure not to fail on old ytmusicapi verions by checking for the new-style version 2022-11-03 19:25:35 +01:00
Jonah Brüchert 72242e328c Update flatpak sources 2022-11-03 16:55:03 +01:00
Jonah Brüchert c38805fa92 Support ytmusicapi 0.24 2022-11-03 16:52:39 +01:00
l10n daemon script 1ae12c868e GIT_SILENT Sync po/docbooks with svn 2022-10-31 03:06:45 +00:00
Jonah Brüchert 9f3789eac5 Speed up loading thumbnails
By guessing the url directly instead of going through youtube-dl
2022-10-29 19:14:31 +02:00
l10n daemon script a956177d6a GIT_SILENT Sync po/docbooks with svn 2022-10-29 02:12:40 +00:00
l10n daemon script b900c44188 GIT_SILENT Sync po/docbooks with svn 2022-10-28 02:22:10 +00:00
Devin Lin e521c07102 Update README.md 2022-10-27 03:47:15 +00:00
l10n daemon script e696298bc9 GIT_SILENT Sync po/docbooks with svn 2022-10-25 02:16:20 +00:00
l10n daemon script b65fbe83f4 GIT_SILENT Sync po/docbooks with svn 2022-10-24 02:11:59 +00:00
l10n daemon script ce6782a131 GIT_SILENT Sync po/docbooks with svn 2022-10-23 02:02:07 +00:00
Tobias Fella a37746440a Prepare C++ for Qt6 2022-10-20 20:41:07 +00:00
l10n daemon script eaf62c2770 GIT_SILENT Sync po/docbooks with svn 2022-10-20 03:22:48 +00:00
l10n daemon script 147392f317 GIT_SILENT Sync po/docbooks with svn 2022-10-19 02:10:48 +00:00
l10n daemon script 63d56acd88 GIT_SILENT Sync po/docbooks with svn 2022-10-08 10:57:36 +00:00
l10n daemon script 28d07b370f GIT_SILENT Sync po/docbooks with svn 2022-10-08 02:11:21 +00:00
l10n daemon script d648ba9c93 GIT_SILENT Sync po/docbooks with svn 2022-10-07 02:27:49 +00:00
l10n daemon script a82dae6251 GIT_SILENT Sync po/docbooks with svn 2022-10-04 02:15:30 +00:00
l10n daemon script f99a17339b GIT_SILENT Sync po/docbooks with svn 2022-10-03 03:08:22 +00:00
l10n daemon script 198266c081 GIT_SILENT Sync po/docbooks with svn 2022-10-01 02:02:25 +00:00
l10n daemon script 756c2f8b56 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-10-01 01:56:51 +00:00
l10n daemon script abdba9922a GIT_SILENT made messages (after extraction) 2022-10-01 00:50:54 +00:00
l10n daemon script 7ca4095571 GIT_SILENT Sync po/docbooks with svn 2022-09-30 01:53:29 +00:00
l10n daemon script c3128c9855 GIT_SILENT Sync po/docbooks with svn 2022-09-29 01:54:00 +00:00
l10n daemon script 20ae6c37cb GIT_SILENT Sync po/docbooks with svn 2022-09-28 02:03:54 +00:00
l10n daemon script 3c2fdca5fc SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-09-28 01:59:38 +00:00
l10n daemon script 395c7ad140 GIT_SILENT made messages (after extraction) 2022-09-28 00:52:28 +00:00
Bhushan Shah 630b54933d GIT_SILENT: bump version to 22.09 2022-09-27 20:20:12 +05:30
l10n daemon script 2293280316 GIT_SILENT Sync po/docbooks with svn 2022-09-25 01:52:51 +00:00
l10n daemon script 14116b9cd2 GIT_SILENT Sync po/docbooks with svn 2022-09-24 01:53:06 +00:00
l10n daemon script 4c7db5d5c9 GIT_SILENT Sync po/docbooks with svn 2022-09-21 01:52:39 +00:00
l10n daemon script f26bc80421 GIT_SILENT Sync po/docbooks with svn 2022-09-12 01:48:30 +00:00
l10n daemon script f934e99254 GIT_SILENT Sync po/docbooks with svn 2022-09-09 01:53:23 +00:00
l10n daemon script b6cd3c4a2b GIT_SILENT Sync po/docbooks with svn 2022-09-04 01:51:30 +00:00
Jonah Brüchert 76763b9be1 Update python dependencies 2022-09-01 23:35:44 +02:00
l10n daemon script 1606f91124 GIT_SILENT Sync po/docbooks with svn 2022-08-31 01:47:29 +00:00
l10n daemon script cf8c982228 GIT_SILENT Sync po/docbooks with svn 2022-08-30 01:49:27 +00:00
l10n daemon script e94362854d GIT_SILENT Sync po/docbooks with svn 2022-08-29 01:55:05 +00:00
l10n daemon script 40f3d5eab1 GIT_SILENT Sync po/docbooks with svn 2022-08-28 01:49:25 +00:00
l10n daemon script dc3b35bffa GIT_SILENT Sync po/docbooks with svn 2022-08-27 01:57:17 +00:00
Jonah Brüchert 52c654179f Add buttons for opening some pages in the web ui 2022-08-26 21:03:49 +02:00
Jonah Brüchert a07a3c162f Show newer favourites first 2022-08-24 09:31:59 +02:00
Jonah Brüchert e4f8f96517 Fix new unused variable warning on current gcc 12
The warning occurs in a constexpr if, so even though the variable is
used in the function, it may not be after the constexpr ifs are
evaluated.
2022-08-24 09:30:12 +02:00
l10n daemon script 6fdb0321d6 GIT_SILENT Sync po/docbooks with svn 2022-08-21 01:55:06 +00:00
l10n daemon script be9b0d57e9 GIT_SILENT Sync po/docbooks with svn 2022-08-14 01:51:10 +00:00
l10n daemon script b4c6749a76 GIT_SILENT Sync po/docbooks with svn 2022-08-08 01:57:12 +00:00
l10n daemon script a98e3c7b92 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2022-08-08 01:51:52 +00:00
l10n daemon script 26e7bbbdb8 GIT_SILENT made messages (after extraction) 2022-08-08 00:48:13 +00:00
l10n daemon script efa7dd674a GIT_SILENT Sync po/docbooks with svn 2022-08-07 01:54:32 +00:00
l10n daemon script ef59e9d418 GIT_SILENT Sync po/docbooks with svn 2022-07-31 01:57:02 +00:00
l10n daemon script e1678a76ba GIT_SILENT Sync po/docbooks with svn 2022-07-23 01:54:34 +00:00
Jonah Brüchert 56ffb52ce5 flatpak: Update python packages 2022-07-19 15:16:41 +02:00
l10n daemon script f0a2d2e79a GIT_SILENT Sync po/docbooks with svn 2022-07-19 01:45:53 +00:00
l10n daemon script 182e77a68d GIT_SILENT Sync po/docbooks with svn 2022-07-17 01:52:45 +00:00
Jonah Brüchert 98ccbfe99d ytmusic: Include iostream
Previously this was not necessary, but now it fails to compile.
I suspect this to be related to a gcc update.
2022-07-16 19:31:40 +02:00
l10n daemon script 53bfc641b4 GIT_SILENT Sync po/docbooks with svn 2022-07-15 01:54:45 +00:00
l10n daemon script 1aabf2eefc GIT_SILENT Sync po/docbooks with svn 2022-07-14 01:58:13 +00:00
l10n daemon script 0d54dfb660 GIT_SILENT Sync po/docbooks with svn 2022-07-12 01:55:23 +00:00
Jonah Brüchert 8093f16f16 player: Set text directly on label instead of on the button
I suspect this to be the cause of the duplicated label. However I'm not
fully certain this fixes it. Please re-open the bug if the issue
persists.

BUG: 456597
2022-07-11 22:16:16 +02:00
Jonah Brüchert bac6ac3362 (very) minor database optimization 2022-07-11 22:09:59 +02:00
Jonah Brüchert 2f914d9f60 appstream: Add library screenshot 2022-07-11 15:44:12 +02:00
l10n daemon script d3293d22ab GIT_SILENT Sync po/docbooks with svn 2022-07-11 01:55:30 +00:00
l10n daemon script 4de3fdae81 GIT_SILENT Sync po/docbooks with svn 2022-07-10 01:57:26 +00:00
l10n daemon script 9518c73415 GIT_SILENT Sync po/docbooks with svn 2022-07-09 01:56:21 +00:00
l10n daemon script 05be539411 GIT_SILENT Sync po/docbooks with svn 2022-07-03 02:04:59 +00:00
l10n daemon script f12c4e3109 GIT_SILENT Sync po/docbooks with svn 2022-06-28 01:48:54 +00:00
l10n daemon script 004ef28a15 GIT_SILENT Sync po/docbooks with svn 2022-06-26 01:47:08 +00:00
l10n daemon script afa9b25aff GIT_SILENT Sync po/docbooks with svn 2022-06-25 02:06:45 +00:00
Bhushan Shah 303ce7c816 GIT_SILENT: bump version to 22.06 2022-06-23 21:11:20 +05:30
l10n daemon script e7cbd07b80 GIT_SILENT Sync po/docbooks with svn 2022-06-20 02:02:25 +00:00
l10n daemon script 923ae5fc96 GIT_SILENT Sync po/docbooks with svn 2022-06-18 01:47:06 +00:00
l10n daemon script 51a3b3c68e GIT_SILENT Sync po/docbooks with svn 2022-06-17 01:46:44 +00:00
l10n daemon script ef1582c67c GIT_SILENT Sync po/docbooks with svn 2022-06-16 02:01:08 +00:00
l10n daemon script 2091e39b90 GIT_SILENT Sync po/docbooks with svn 2022-06-13 02:49:49 +00:00
l10n daemon script ab02e72f1f GIT_SILENT Sync po/docbooks with svn 2022-06-12 01:50:20 +00:00
l10n daemon script d498d6a407 GIT_SILENT Sync po/docbooks with svn 2022-06-07 02:32:41 +00:00
l10n daemon script 6dc6e9538c GIT_SILENT Sync po/docbooks with svn 2022-06-06 01:47:22 +00:00
l10n daemon script 3b0cbefe85 GIT_SILENT Sync po/docbooks with svn 2022-06-05 01:48:47 +00:00
l10n daemon script 38e152fc52 GIT_SILENT Sync po/docbooks with svn 2022-06-04 01:49:02 +00:00
l10n daemon script 0f111b43be GIT_SILENT Sync po/docbooks with svn 2022-06-01 02:04:45 +00:00
l10n daemon script ffbeab0b14 GIT_SILENT Sync po/docbooks with svn 2022-05-30 01:48:55 +00:00
Jonah Brüchert 8860b62eec PlaybackHistory: Load album covers asynchronously 2022-05-30 00:52:05 +02:00
l10n daemon script 93433d8714 GIT_SILENT Sync po/docbooks with svn 2022-05-29 01:50:37 +00:00
l10n daemon script 211a0c6f93 GIT_SILENT Sync po/docbooks with svn 2022-05-28 02:33:52 +00:00
Jonah Brüchert aadfc71200 Fix crash on exit 2022-05-28 00:31:22 +02:00
l10n daemon script 1532adedb1 GIT_SILENT Sync po/docbooks with svn 2022-05-27 01:47:15 +00:00
Jonah Brüchert 16ce656201 Remove QT_QML_DEBUG 2022-05-26 14:26:46 +02:00
l10n daemon script a398723bdb GIT_SILENT Sync po/docbooks with svn 2022-05-26 01:47:23 +00:00
Jonah Brüchert f7a4788e73 Fix opening the 'Leoniden' artist page 2022-05-25 23:12:20 +02:00
Jonah Brüchert 15425c7b01 Use std::invoke_result_t to simplify template code 2022-05-25 23:00:22 +02:00
Jonah Brüchert 96c2a505a7 Fix up previous commit 2022-05-25 23:00:22 +02:00
Jonah Brüchert b58e3fc2d4 Allow to show all favourites / history as a list 2022-05-25 22:36:06 +02:00
Jonah Brüchert 4b1cbf11ad Display AudioTube label just on mobile, and move the search bar back to the center 2022-05-25 15:33:35 +02:00
Devin Lin 1037ac8c02 app header: Move search bar to side, add app header, add search button for mobile 2022-05-25 15:33:32 +02:00
l10n daemon script 572f3c4c94 GIT_SILENT Sync po/docbooks with svn 2022-05-25 01:52:03 +00:00
Devin Lin e48d6c8bb6 Add loading indicator to minimized bar when loading track 2022-05-24 14:52:20 +00:00
l10n daemon script d717e7dff9 GIT_SILENT Sync po/docbooks with svn 2022-05-24 01:50:35 +00:00
Jonah Brüchert cb16ebb812 Crop album art to square 2022-05-23 21:42:23 +02:00
Jonah Brüchert 2c1df5e9e4 asyncdatabase: Remove unused includes 2022-05-23 21:16:43 +02:00
Jonah Brüchert c3873d05ac asyncdatabase: Move parseRows into private API
It is no longer useful externally, as the database API doesn't return
unparsed QVariants any more.
2022-05-23 21:16:43 +02:00
Jonah Brüchert 4fca0ca0c5 Show mini progress bar when there is no space for the full one 2022-05-23 16:06:00 +00:00
Jonah Brüchert c02f369a0f asyncdatabase: Fix mistake in concept checks 2022-05-23 18:04:28 +02:00
Jonah Brüchert 2e68ec0880 Remove remove action from most viewed 2022-05-23 17:31:21 +02:00
Jonah Brüchert c7b22b348e asyncdatabase: Use concepts to define the interface of types that can be deserialized from SQL 2022-05-23 16:12:25 +02:00
Devin Lin f4c8172201 Revamp media player UI
Reworks the media player UI for mobile devices. Adds a swipe gesture to open the media player, and reworks the UI to be more... *hip?*

TODO: haven't implemented a "previous song" feature, is that possible?

![image](/uploads/d329da0ea548eed466227ef39f25301f/image.png)

![image](/uploads/7b3cf83204a1df13b5b166d24d0c2a91/image.png)

![image](/uploads/74c641c544a130eb5e692fb1ae733e37/image.png)
2022-05-23 12:36:35 +00:00
Jonah Brüchert 9fa7757efd Make database query result deserialization more automatic 2022-05-23 13:24:07 +02:00
l10n daemon script fc2c359bd7 GIT_SILENT Sync po/docbooks with svn 2022-05-23 01:49:32 +00:00
Jonah Brüchert f17987b3e7 Update ytmusicapi to 0.22.0 2022-05-23 01:11:37 +02:00
Jonah Brüchert 7c2bbf3a98 library: Create database directory before opening database 2022-05-23 01:11:10 +02:00
Jonah Brüchert 4320921a96 asyncdatabase: Log error if database could not be opened 2022-05-23 01:10:45 +02:00
Jonah Brüchert 306a4c866c Fix background color of the search popup 2022-05-23 00:41:46 +02:00
Jonah Brüchert 2bfd142300 asyncdatabase: Move as much as possible out of the header
In preparation for making it a shared library in the future.
2022-05-23 00:41:06 +02:00
Jonah Brüchert bec70c37db Run migrations in a transaction
This should be slightly faster (although not a problem right now) and
more importantly allow to rollback if transactions go wrong.

Then at least the issues can be fixed in a later release, so that the
migration can run successful later.
2022-05-22 16:16:12 +02:00
Jonah Brüchert a7e9588a90 Improve layout of the search popup 2022-05-22 14:23:51 +02:00
Jonah Brüchert 463bdde0a0 Add library feature
The library page currently shows favourites and most played songs.
2022-05-22 11:16:38 +00:00
80 changed files with 7600 additions and 2255 deletions

No files matched your search

+1
View File
@@ -0,0 +1 @@
org.kde.audiotube.json
+4 -1
View File
@@ -3,4 +3,7 @@
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
include:
- 'https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/reuse-lint.yml'
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/reuse-lint.yml
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux.yml
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux-qt6.yml
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/flatpak.yml
+3 -3
View File
@@ -8,7 +8,7 @@ project(audiotube)
include(FeatureSummary)
set(PROJECT_VERSION "22.04")
set(PROJECT_VERSION "22.11")
set(QT5_MIN_VERSION 5.15)
set(KF5_MIN_VERSION 5.81)
@@ -33,11 +33,11 @@ ecm_setup_version(${PROJECT_VERSION}
kde_enable_exceptions()
find_package(Qt5 ${QT5_MIN_VERSION} REQUIRED COMPONENTS Core Gui Qml QuickControls2 Svg Sql)
find_package(Qt${QT_MAJOR_VERSION} ${QT5_MIN_VERSION} REQUIRED COMPONENTS Core Gui Qml QuickControls2 Svg Sql Widgets)
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Kirigami2 I18n CoreAddons Crash)
find_package(pybind11 REQUIRED)
find_package(Ytdlp REQUIRED RUNTIME)
find_package(YTMusicAPI REQUIRED RUNTIME)
find_package(YTMusicAPI 0.24.0 REQUIRED RUNTIME)
ki18n_install(po)
+6
View File
@@ -2,6 +2,12 @@
AudioTube is a client for YouTube Music.
<a href='https://flathub.org/apps/details/org.kde.audiotube'><img width='190px' alt='Download on Flathub' src='https://flathub.org/assets/badges/flathub-badge-i-en.png'/></a>
## Links
* Project page: https://invent.kde.org/plasma-mobile/audiotube
* File issues: https://bugs.kde.org/describecomponents.cgi?product=audiotube
# Dependencies
It depends on Qt, Kirigami, KI18n, KCoreAddons and KCrash in addition to a few python packages:
+13 -1
View File
@@ -4,8 +4,20 @@
find_package(Python3 REQUIRED COMPONENTS Interpreter)
execute_process(COMMAND ${Python3_EXECUTABLE} -c "import ytmusicapi" RESULT_VARIABLE YTMUSICAPI_CHECK_RESULT)
execute_process(COMMAND ${Python3_EXECUTABLE} -c "import ytmusicapi; print(ytmusicapi.version('ytmusicapi'))" RESULT_VARIABLE YTMUSICAPI_CHECK_RESULT OUTPUT_VARIABLE YTMusicAPI_VERSION)
string(STRIP ${YTMusicAPI_VERSION} YTMusicAPI_VERSION)
if (${YTMUSICAPI_CHECK_RESULT} EQUAL 0)
set(YTMusicAPI_FOUND TRUE)
endif()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(YTMusicAPI
FOUND_VAR
YTMusicAPI_FOUND
REQUIRED_VARS
Python3_EXECUTABLE
VERSION_VAR
YTMusicAPI_VERSION
)
+16 -11
View File
@@ -5,11 +5,6 @@
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"yt-dlp\" --no-build-isolation"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/b4/7b/0960d02701f783bb052ec69ea32789d878d2cce05a03950adbd75f164758/websockets-10.2.tar.gz",
"sha256": "8351c3c86b08156337b0e4ece0e3c5ec3e01fcd14e8950996832a23c99416098"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/2a/18/70c32fe9357f3eea18598b23aa9ed29b1711c3001835f7cf99a9818985d0/Brotli-1.0.9.zip",
@@ -17,18 +12,28 @@
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/16/b3/f7aa8edf2ff4495116f95fd442b2a346aa55d1d46313143c8814886dbcdb/mutagen-1.45.1-py3-none-any.whl",
"sha256": "9c9f243fcec7f410f138cb12c21c84c64fde4195481a30c9bfb05b5f003adfed"
"url": "https://files.pythonhosted.org/packages/1d/38/fa96a426e0c0e68aabc68e896584b83ad1eec779265a028e156ce509630e/certifi-2022.9.24-py3-none-any.whl",
"sha256": "90c1a32f1d68f940488354e36370f6cca89f0f106db09518524c88d6ed83f382"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/c0/61/3a08dc08c0c60498a0136a7eec1a098f08be79f75bf35fdd0a15a1bace70/yt_dlp-2022.3.8.2-py3-none-any.whl",
"sha256": "05179f0f2c34f06910003bb9f80af68ff798b072ca0f826c0e6704a3fbd5b306"
"url": "https://files.pythonhosted.org/packages/03/ee/114d7016d2e34f341e212fefb5e7bd87785077ebcfff0ad23a497c70eea1/mutagen-1.46.0-py3-none-any.whl",
"sha256": "8af0728aa2d5c3ee5a727e28d0627966641fddfe804c23eabb5926a4d770aed5"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/24/40/e249ac3845a2333ce50f1bb02299ffb766babdfe80ca9d31e0158ad06afd/pycryptodomex-3.14.1.tar.gz",
"sha256": "2ce76ed0081fd6ac8c74edc75b9d14eca2064173af79843c24fa62573263c1f2"
"url": "https://files.pythonhosted.org/packages/52/0d/6cc95a83f6961a1ca041798d222240890af79b381e97eda3b9b538dba16f/pycryptodomex-3.15.0.tar.gz",
"sha256": "7341f1bb2dadb0d1a0047f34c3a58208a92423cdbd3244d998e4b28df5eac0ed"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/85/dc/549a807a53c13fd4a8dac286f117a7a71260defea9ec0c05d6027f2ae273/websockets-10.4.tar.gz",
"sha256": "eef610b23933c54d5d921c92578ae5f89813438fded840c2e9809d378dc765d3"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/2b/8c/6382d335662361fe06bea1ca96a189982cc050c2f9946dcd320b8c26a833/yt_dlp-2022.10.4-py2.py3-none-any.whl",
"sha256": "cc21d91048b275bda7018bdc3103374882261ccf29720206d61b10e168c8b719"
}
]
}
+12 -12
View File
@@ -7,33 +7,33 @@
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/cb/58/834a6445479c72544d9285badce0a58650520c8ba5adfae7b98e61d133bb/ytmusicapi-0.21.0-py3-none-any.whl",
"sha256": "29d8d44e1911458041882a453b05c37021ff850757c648f93a45d1775dddbae2"
"url": "https://files.pythonhosted.org/packages/1d/38/fa96a426e0c0e68aabc68e896584b83ad1eec779265a028e156ce509630e/certifi-2022.9.24-py3-none-any.whl",
"sha256": "90c1a32f1d68f940488354e36370f6cca89f0f106db09518524c88d6ed83f382"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/37/45/946c02767aabb873146011e665728b680884cd8fe70dde973c640e45b775/certifi-2021.10.8-py2.py3-none-any.whl",
"sha256": "d62a0163eb4c2344ac042ab2bdf75399a71a2d8c7d47eac2e2ee91b9d6339569"
"url": "https://files.pythonhosted.org/packages/db/51/a507c856293ab05cdc1db77ff4bc1268ddd39f29e7dc4919aa497f0adbec/charset_normalizer-2.1.1-py3-none-any.whl",
"sha256": "83e9a75d1911279afd89352c68b45348559d1fc0506b054b346651b5e7fee29f"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/ec/03/062e6444ce4baf1eac17a6a0ebfe36bb1ad05e1df0e20b110de59c278498/urllib3-1.26.9-py2.py3-none-any.whl",
"sha256": "44ece4d53fb1706f667c9bd1c648f5469a2ec925fcf3a776667042d645472c14"
"url": "https://files.pythonhosted.org/packages/fc/34/3030de6f1370931b9dbb4dad48f6ab1015ab1d32447850b9fc94e60097be/idna-3.4-py3-none-any.whl",
"sha256": "90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/06/b3/24afc8868eba069a7f03650ac750a778862dc34941a4bebeb58706715726/charset_normalizer-2.0.12-py3-none-any.whl",
"sha256": "6881edbebdb17b39b4eaaa821b438bf6eddffb4468cf344f09f89def34a8b1df"
"url": "https://files.pythonhosted.org/packages/ca/91/6d9b8ccacd0412c08820f72cebaa4f0c0441b5cda699c90f618b6f8a1b42/requests-2.28.1-py3-none-any.whl",
"sha256": "8fefa2a1a1365bf5520aac41836fbee479da67864514bdb821f31ce07ce65349"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/2d/61/08076519c80041bc0ffa1a8af0cbd3bf3e2b62af10435d269a9d0f40564d/requests-2.27.1-py2.py3-none-any.whl",
"sha256": "f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d"
"url": "https://files.pythonhosted.org/packages/6f/de/5be2e3eed8426f871b170663333a0f627fc2924cc386cd41be065e7ea870/urllib3-1.26.12-py2.py3-none-any.whl",
"sha256": "b930dd878d5a8afb066a637fbb35144fe7901e3b209d1cd4f524bd0e9deee997"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/04/a2/d918dcd22354d8958fe113e1a3630137e0fc8b44859ade3063982eacd2a4/idna-3.3-py3-none-any.whl",
"sha256": "84d9dd047ffa80596e0f246e2eab0b391788b0503584e8945f2368256d2735ff"
"url": "https://files.pythonhosted.org/packages/74/5f/929784007a6777272b3bd51dc7a13e39d5192d64b3831535e83776cd825d/ytmusicapi-0.24.0-py3-none-any.whl",
"sha256": "ac25baec1314274030e422c841932d94119394f54c7e70c64a2be1f26be69c2b"
}
]
}
+42 -1
View File
@@ -19,14 +19,18 @@ SPDX-License-Identifier: CC0-1.0
<name xml:lang="fi">AudioTube</name>
<name xml:lang="fr">AudioTube</name>
<name xml:lang="hi">ओडियो-ट्यूब</name>
<name xml:lang="id">AudioTube</name>
<name xml:lang="it">AudioTube</name>
<name xml:lang="ka">AudioTube</name>
<name xml:lang="ko">AudioTube</name>
<name xml:lang="nl">AudioTube</name>
<name xml:lang="nn">AudioTube</name>
<name xml:lang="pa">ਆਡੀਓ-ਟਿਊਬ</name>
<name xml:lang="pl">AudioTube</name>
<name xml:lang="pt">AudioTube</name>
<name xml:lang="pt-BR">AudioTube</name>
<name xml:lang="ro">AudioTube</name>
<name xml:lang="ru">AudioTube</name>
<name xml:lang="sk">AudioTube</name>
<name xml:lang="sl">AudioTube</name>
<name xml:lang="sv">AudioTube</name>
@@ -46,16 +50,20 @@ SPDX-License-Identifier: CC0-1.0
<summary xml:lang="fi">Mukautuva YouTube Music -asiakas</summary>
<summary xml:lang="fr">Client convergent pour musique sur YouTube</summary>
<summary xml:lang="hi">अभिसृत यूट्यूब संगीत क्लाएंट</summary>
<summary xml:lang="id">Klien YouTube Music konvergen</summary>
<summary xml:lang="it">Client YouTube Music convergente</summary>
<summary xml:lang="ka">YouTube Music -ის კონვერგენტული კლიენტი</summary>
<summary xml:lang="ko">올인원 YouTube Music 클라이언트</summary>
<summary xml:lang="nl">Convergente muziekclient van YouTube</summary>
<summary xml:lang="nn">YouTube Music-klient, tilpassa ulike brukarflater</summary>
<summary xml:lang="pl">Adaptacyjny program do YouTube Music</summary>
<summary xml:lang="pt">Cliente de música do YouTube convergente</summary>
<summary xml:lang="pt-BR">Um cliente convergente para o YouTube Music</summary>
<summary xml:lang="ro">Client convergent de muzică pentru YouTube</summary>
<summary xml:lang="ru">Клиент для YouTube Music</summary>
<summary xml:lang="sl">Konvergentni odjemalec glasbe YouTube</summary>
<summary xml:lang="sv">Konvergent YouTube-musikprogram</summary>
<summary xml:lang="tr">Yakınsak YouTube Müzik istemcisi</summary>
<summary xml:lang="tr">Yakınsak YouTube Müzik İstemcisi</summary>
<summary xml:lang="uk">Зручний музичний клієнт YouTube</summary>
<summary xml:lang="x-test">xxConvergent YouTube Music clientxx</summary>
<summary xml:lang="zh-CN">桌面和移动设备通用 YouTube Music 客户端</summary>
@@ -74,14 +82,18 @@ SPDX-License-Identifier: CC0-1.0
<developer_name xml:lang="fi">KDE-yhteisö</developer_name>
<developer_name xml:lang="fr">Communauté de KDE</developer_name>
<developer_name xml:lang="hi">केडीई समुदाय</developer_name>
<developer_name xml:lang="id">Komunitas KDE</developer_name>
<developer_name xml:lang="it">Comunità 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>
<developer_name xml:lang="nn">KDE-fellesskapet</developer_name>
<developer_name xml:lang="pa">ਕੇਡੀਈ ਕਮਿਊਨਟੀ</developer_name>
<developer_name xml:lang="pl">Społeczność KDE</developer_name>
<developer_name xml:lang="pt">Comunidade do KDE</developer_name>
<developer_name xml:lang="pt-BR">A Comunidade KDE</developer_name>
<developer_name xml:lang="ro">Comunitatea KDE</developer_name>
<developer_name xml:lang="ru">Сообщество KDE</developer_name>
<developer_name xml:lang="sk">KDE komunita</developer_name>
<developer_name xml:lang="sl">Skupnost KDE</developer_name>
<developer_name xml:lang="sv">KDE-gemenskapen</developer_name>
@@ -92,6 +104,22 @@ 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="22.11" date="2022-11-30">
<url>https://plasma-mobile.org/2022/11/30/plasma-mobile-gear-22-11/</url>
</release>
<release version="22.09" date="2022-09-27">
<url>https://www.plasma-mobile.org/2022/09/27/plasma-mobile-gear-22-09/</url>
</release>
<release version="22.06" date="2022-06-24">
<url>https://www.plasma-mobile.org/2022/06/28/plasma-mobile-gear-22-06/</url>
<description>
<ul>
<li>Add library page which shows favourites and most played songs</li>
<li>Improve layout of the search popup</li>
<li>General performance improvements including startup</li>
</ul>
</description>
</release>
<release version="22.04" date="2022-04-26">
<url>https://www.plasma-mobile.org/2022/04/26/plasma-mobile-gear-22-04/</url>
<description>
@@ -118,9 +146,18 @@ SPDX-License-Identifier: CC0-1.0
</releases>
<launchable type="desktop-id">org.kde.audiotube.desktop</launchable>
<screenshots>
<screenshot>
<image>https://cdn.kde.org/screenshots/audiotube/library.png</image>
</screenshot>
<screenshot>
<image>https://cdn.kde.org/screenshots/audiotube/player.png</image>
</screenshot>
<screenshot>
<image>https://cdn.kde.org/screenshots/audiotube/desktop.png</image>
</screenshot>
<screenshot>
<image>https://cdn.kde.org/screenshots/audiotube/mobile_album.png</image>
</screenshot>
<screenshot>
<image>https://cdn.kde.org/screenshots/audiotube/mobile_playlist.png</image>
</screenshot>
@@ -143,12 +180,16 @@ SPDX-License-Identifier: CC0-1.0
<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 YouTube Music, é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="hi">ऑडियोट्यूब यूट्यूब संगीत खोज सकता है, एल्बम और कलाकारों की सूची बना सकता है, स्वचालित रूप से उत्पन्न की गई गीतसूची, एल्बम बजा सकता है और आपकी अपनी खुद की प्लेलिस्ट को एक साथ रखने में मदद करता है।</p>
<p xml:lang="id">AudioTube dapat menelusuri YouTube Music, daftarkan 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="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>
<p xml:lang="nn">Med AudioTube kan du søkja på YouTube Music, visa album og artistar, spela automatiske genererte spelelister og album samt laga eigne spelelister.</p>
<p xml:lang="pl">AudioTube może przeszukiwać serwis YouTube Music, wypisać albumy i wykonawców, odtwarzać samoczynnie utworzone listy odtwarzania, albumy oraz umożliwia tworzenie własnych list odtwarzania.</p>
<p xml:lang="pt">O AudioTube consegue pesquisar no YouTube Music, enumerar os álbuns e artistas, reproduzir listas geradas automaticamente, álbuns e permite-lhe reproduzir as suas próprias listas de reprodução.</p>
<p xml:lang="pt-BR">O AudioTube pode pesquisar no YouTube Music, listar álbuns e artistas, rodar listas de reprodução geradas automaticamente, álbuns inteiros, e criar a sua própria lista de reprodução.</p>
<p xml:lang="ru">AudioTube позволяет выполнять поиск в сервисе YouTube Music, просматривать списки найденных альбомов и исполнителей, проигрывать автоматически созданные списки воспроизведения и альбомы, а также использовать свои собственные списки воспроизведения.</p>
<p xml:lang="sl">AudioTube lahko išče po YouTube Music, izdela sezname albumov in avtorjev, samodejno predvaja generirane sezname, albume in sestavlja vaše sezname predvajanja.</p>
<p xml:lang="sv">AudioTube kan söka på YouTube Music, lista album och artister, spela upp automatiskt genererade spellistor, albums och låter dig sammanställa egna spellistor.</p>
<p xml:lang="tr">AudioTube, YouTube Müzik'te arama yapabilir; albümleri, sanatçıları listeler; kendiliğinden oluşturulmuş çalma listelerini, albümleri çalar ve kendi çalma listenizi oluşturmanıza izin verir.</p>
+8
View File
@@ -12,14 +12,18 @@ Name[eu]=AudioTube
Name[fi]=AudioTube
Name[fr]=AudioTube
Name[hi]=ओडियो-ट्यूब
Name[id]=AudioTube
Name[it]=AudioTube
Name[ka]=AudioTube
Name[ko]=AudioTube
Name[nl]=AudioTube
Name[nn]=AudioTube
Name[pa]=ਆਡੀਓ-ਟਿਊਬ
Name[pl]=AudioTube
Name[pt]=AudioTube
Name[pt_BR]=AudioTube
Name[ro]=AudioTube
Name[ru]=AudioTube
Name[sk]=AudioTube
Name[sl]=AudioTube
Name[sv]=AudioTube
@@ -40,14 +44,18 @@ Comment[eu]=YouTube Music bezeroa
Comment[fi]=YouTube Music -asiakas
Comment[fr]=Client de musique sur Youtube
Comment[hi]=यूट्यूब संगीत क्लाएंट
Comment[id]=Klien YouTube Music
Comment[it]=Client YouTube Music
Comment[ka]=YouTube Music -ის კლიენტი
Comment[ko]=YouTube Music 클라이언트
Comment[nl]=Muziekclient van YouTube
Comment[nn]=YouTube Music-klient
Comment[pa]=ਯੂਟਿਊਬ ਸੰਗੀਤ ਕਲਾਈਂਟ
Comment[pl]=Program do YouTube Music
Comment[pt]=Cliente do YouTube Music
Comment[pt_BR]=Cliente YouTube Music
Comment[ro]=Client de muzică pentru YouTube
Comment[ru]=Клиент для YouTube Music
Comment[sk]=Hudobný klient YouTube
Comment[sl]=Glasbeni odjemalec Youtube
Comment[sv]=YouTube-musikprogram
+139 -53
View File
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2022-01-21 22:52+0400\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-12-22 16:43+0400\n"
"Last-Translator: Zayed Al-Saidi <[email protected]>\n"
"Language-Team: ar\n"
"Language: ar\n"
@@ -16,7 +16,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
"X-Generator: Lokalize 21.07.70\n"
"X-Generator: Lokalize 21.12.3\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
@@ -28,47 +28,67 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "شغّل"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "شغل التالي"
msgid "Shuffle"
msgstr "اخلط"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "أضف إلى قائمة التّشغيل"
msgid "Open in Browser"
msgstr "افتح في المتصفّح"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr "الألبوم • %1"
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr "المزيد"
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "راديو"
#: contents/ui/ArtistPage.qml:46
#, kde-format
msgid "Artist"
msgstr "الفنّانون"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
"\"%1\"?"
msgstr "تشغيل الفيديو غير مدعوم حتى الآن. هل تريد تشغيل صوت فقط من \"%1\"؟"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "الألبومات"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "فردي"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "أغاني"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "الفيديوهات"
@@ -83,40 +103,86 @@ msgstr "حسنًا"
msgid "Cancel"
msgstr "ألغِ"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "المفضلة"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "أظهر الكلّ"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "الأغاني المفضّلة"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "الأكثر تشغيلا"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "الأغاني المشغلة"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "عُد"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "ابحث"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "تيوب الصوتي"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "المشغل الآن"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "صُفّ"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr "الكلمات"
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "أزل المسار"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "امسح"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "اخلط"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "ألبث"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "لا يوجد وسائط تعمل"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "وسع"
msgid "Unknown list of songs"
msgstr "قائمة غير معروفة من الأغاني"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "لا يوجد أي أغنية بعد"
#: contents/ui/PlaylistPage.qml:42
#, kde-format
msgid "Playlist"
msgstr "قائمة التشغيل"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -133,22 +199,42 @@ msgstr "قوائم التّشغيل"
msgid "Unknown"
msgstr "مجهول"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "شغل التالي"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "راديو"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "اعثر على موسيقى على موسيقى يوتيوب"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "ابحث"
msgid "Play Next"
msgstr "شغل التالي"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr "أضف للطابور"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr "أزل المفضلة"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr "أضف للمفضلة"
#~ msgid "Add to Playlist"
#~ msgstr "أضف إلى قائمة التّشغيل"
#~ msgid "Play next"
#~ msgstr "شغل التالي"
#~ msgid "Clear"
#~ msgstr "امسح"
#~ msgid "Pause"
#~ msgstr "ألبث"
#~ msgid "Expand"
#~ msgstr "وسع"
+144 -54
View File
@@ -6,16 +6,16 @@ msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2022-04-22 18:44+0400\n"
"Last-Translator: Kheyyam Gojayev <[email protected]>\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-06-19 12:16+0400\n"
"Last-Translator: Kheyyam <[email protected]>\n"
"Language-Team: Azerbaijani <[email protected]>\n"
"Language: az\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Lokalize 21.12.3\n"
"X-Generator: Lokalize 22.04.2\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
@@ -27,25 +27,46 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Başladın"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "Sonrakını oxudun"
msgid "Shuffle"
msgstr "Qarışıq"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "Mahnı siyahısına əlavə edin"
msgid "Open in Browser"
msgstr ""
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr ""
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr ""
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/ArtistPage.qml:46
#, fuzzy, kde-format
#| msgid "Artists"
msgid "Artist"
msgstr "İfaçılar"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
@@ -54,22 +75,22 @@ msgstr ""
"Video göstərilməsi hələlik dəstəklənmir. Siz yalnız \"%1\" videosunun səsini "
"oynatmaq istəyirsiniz?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Albomlar"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "Musiqilər"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "Mahnılar"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Videolar"
@@ -84,40 +105,87 @@ msgstr "OLDU"
msgid "Cancel"
msgstr "İmtina"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Süçilmişlər"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "Hamısı göstərilsin"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Seçilmiş mahnılar"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "Daha çox dinlənilən"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "Oxudulan mahnılar"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "Geriyə"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Axtarın"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "İndi səslənir"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Növbə"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Mahnını silin"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "Təmizləyin"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "Qarışıq"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "Fasilə"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "Media faylı oynadılmır"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "Açmaq"
msgid "Unknown list of songs"
msgstr "Naməlum mahnı siyahısı"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "Hələlik burada mahnılar yoxdur"
#: contents/ui/PlaylistPage.qml:42
#, fuzzy, kde-format
#| msgid "Playlists"
msgid "Playlist"
msgstr "Mahnı siyahıları"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -134,22 +202,44 @@ msgstr "Mahnı siyahıları"
msgid "Unknown"
msgstr "Bilinməyən"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "Sonrakını başladın"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "Musiqini YouTube Musiqi-də tapın"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "Axtarın"
msgid "Play Next"
msgstr "Sonrakını oxudun"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr ""
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, fuzzy, kde-format
#| msgid "Favourites"
msgid "Remove Favourite"
msgstr "Süçilmişlər"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, fuzzy, kde-format
#| msgid "Favourites"
msgid "Add Favourite"
msgstr "Süçilmişlər"
#~ msgid "Add to Playlist"
#~ msgstr "Mahnı siyahısına əlavə edin"
#~ msgid "Play next"
#~ msgstr "Sonrakını başladın"
#~ msgid "Clear"
#~ msgstr "Təmizləyin"
#~ msgid "Pause"
#~ msgstr "Fasilə"
#~ msgid "Expand"
#~ msgstr "Açmaq"
+126 -57
View File
@@ -1,23 +1,24 @@
# Translation of audiotube.po to Catalan
# Copyright (C) 2021 This_file_is_part_of_KDE
# Copyright (C) 2021-2022 This_file_is_part_of_KDE
# This file is distributed under the license LGPL version 2.1 or
# version 3 or later versions approved by the membership of KDE e.V.
#
# Antoni Bella Pérez <[email protected]>, 2021.
# Josep M. Ferrer <[email protected]>, 2022.
msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2021-12-05 16:03+0100\n"
"Last-Translator: Antoni Bella Pérez <antonibella5@yahoo.com>\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-11-28 08:58+0100\n"
"Last-Translator: Josep M. Ferrer <txemaq@gmail.com>\n"
"Language-Team: Catalan <[email protected]>\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Lokalize 21.11.90\n"
"X-Generator: Lokalize 20.12.0\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
@@ -29,25 +30,45 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Reprodueix"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "Reprodueix el següent"
msgid "Shuffle"
msgstr "Barreja"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "Afegeix a la llista de reproducció"
msgid "Open in Browser"
msgstr "Obre en el navegador"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr "Àlbum • %1"
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr "Més"
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Ràdio"
#: contents/ui/ArtistPage.qml:46
#, kde-format
msgid "Artist"
msgstr "Artista"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
@@ -56,22 +77,22 @@ msgstr ""
"Encara no s'admet la reproducció de vídeo. Voleu reproduir només l'àudio de "
"«%1»?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Àlbums"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "Individuals"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "Cançons"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Vídeos"
@@ -86,40 +107,86 @@ msgstr "D'acord"
msgid "Cancel"
msgstr "Cancel·la"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Preferides"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "Mostra-ho tot"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Cançons preferides"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "Les més reproduïdes"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "Cançons reproduïdes"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "Enrere"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Cerca"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "Ara s'està reproduint"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Cua"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr "Lletra"
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Elimina la pista"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "Neteja"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "Barreja"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "Pausa"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "No s'està reproduint cap suport"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "Expandeix"
msgid "Unknown list of songs"
msgstr "Llista desconeguda de cançons"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "Encara no hi ha cap cançó"
#: contents/ui/PlaylistPage.qml:42
#, kde-format
msgid "Playlist"
msgstr "Llista de reproducció"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -136,25 +203,27 @@ msgstr "Llistes de reproducció"
msgid "Unknown"
msgstr "Desconeguda"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "Reprodueix el següent"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "Ràdio"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "Cerca a la Música de Youtube"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "Cerca"
msgid "Play Next"
msgstr "Reprodueix el següent"
#~ msgid "Play only Audio"
#~ msgstr "Reprodueix només l'àudio"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr "Afegeix a la cua"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr "Elimina de les preferides"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr "Afegeix a les preferides"
+129 -57
View File
@@ -1,23 +1,24 @@
# Translation of audiotube.po to Catalan (Valencian)
# Copyright (C) 2021 This_file_is_part_of_KDE
# Copyright (C) 2021-2022 This_file_is_part_of_KDE
# This file is distributed under the license LGPL version 2.1 or
# version 3 or later versions approved by the membership of KDE e.V.
#
# Antoni Bella Pérez <[email protected]>, 2021.
# Josep M. Ferrer <[email protected]>, 2022.
msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2021-12-05 16:03+0100\n"
"Last-Translator: Antoni Bella Pérez <antonibella5@yahoo.com>\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-11-28 08:58+0100\n"
"Last-Translator: Josep M. Ferrer <txemaq@gmail.com>\n"
"Language-Team: Catalan <[email protected]>\n"
"Language: ca@valencia\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Lokalize 21.11.90\n"
"X-Generator: Lokalize 20.12.0\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
@@ -29,25 +30,45 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Reprodueix"
msgstr "Reproduïx"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "Reprodueix el següent"
msgid "Shuffle"
msgstr "Barreja"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "Afig a la llista de reproducció"
msgid "Open in Browser"
msgstr "Obri en el navegador"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr "Àlbum • %1"
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr "Més"
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Ràdio"
#: contents/ui/ArtistPage.qml:46
#, kde-format
msgid "Artist"
msgstr "Artista"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
@@ -56,22 +77,22 @@ msgstr ""
"Encara no s'admet la reproducció de vídeo. Voleu reproduir només l'àudio de "
"«%1»?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Àlbums"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "Individuals"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "Cançons"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Vídeos"
@@ -86,40 +107,86 @@ msgstr "D'acord"
msgid "Cancel"
msgstr "Cancel·la"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Preferides"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "Mostra-ho tot"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Cançons preferides"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "Les més reproduïdes"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "Cançons reproduïdes"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "Arrere"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Busca"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "Ara s'està reproduint"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Cua"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr "Lletra"
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Elimina la pista"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "Neteja"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "Barreja"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "Pausa"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "No s'està reproduint cap suport"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "Expandeix"
msgid "Unknown list of songs"
msgstr "Llista desconeguda de cançons"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "Encara no hi ha cap cançó"
#: contents/ui/PlaylistPage.qml:42
#, kde-format
msgid "Playlist"
msgstr "Llista de reproducció"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -136,22 +203,27 @@ msgstr "Llistes de reproducció"
msgid "Unknown"
msgstr "Desconeguda"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "Reprodueix el següent"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "Ràdio"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "Busca a la Música de Youtube"
msgstr "Busca en la Música de Youtube"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "Busca"
msgid "Play Next"
msgstr "Reproduïx el següent"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr "Afig a la cua"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr "Elimina de les preferides"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr "Afig a les preferides"
+134 -53
View File
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2022-01-11 17:36+0100\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-06-28 13:58+0200\n"
"Last-Translator: Vit Pelcak <[email protected]>\n"
"Language-Team: Czech <[email protected]>\n"
"Language: cs\n"
@@ -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 21.12.0\n"
"X-Generator: Lokalize 22.04.2\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
@@ -27,25 +27,46 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Přehrát"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "Přehrát následující"
msgid "Shuffle"
msgstr "Zamíchat"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "Přidat do seznamu skladeb"
msgid "Open in Browser"
msgstr "Otevřít v prohlížeči"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr ""
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr ""
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Rádio"
#: contents/ui/ArtistPage.qml:46
#, fuzzy, kde-format
#| msgid "Artists"
msgid "Artist"
msgstr "Umělci"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
@@ -54,22 +75,22 @@ msgstr ""
"Přehrávání videa ještě není podporováno. Chcete z \"%1\" přehrávat pouze "
"zvuk?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Alba"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "Samotné"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "Písně"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Videa"
@@ -84,40 +105,87 @@ msgstr "OK"
msgid "Cancel"
msgstr "Zrušit"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Oblíbené"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "Zobrazit vše"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Oblíbené skladby"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "Nejčastěji hrané"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "Přehrané skladby"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "Zpět"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Hledat"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "Nyní přehrávám"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Fronta"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Odstranit skladbu"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "Vyprázdnit"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "Zamíchat"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "Pozastavit"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "Nepřehrává se žádné médium"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "Rozvinout"
msgid "Unknown list of songs"
msgstr "Neznámý seznam skladeb"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "Zatím zde nejsou žádné skladby"
#: contents/ui/PlaylistPage.qml:42
#, fuzzy, kde-format
#| msgid "Playlists"
msgid "Playlist"
msgstr "Seznamy skladeb"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -134,22 +202,35 @@ msgstr "Seznamy skladeb"
msgid "Unknown"
msgstr "Neznámý"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "Přehrát následující"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "Rádio"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "Najít hudbu na Hudba YouTube"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "Hledat"
msgid "Play Next"
msgstr "Přehrát následující"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr ""
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, fuzzy, kde-format
#| msgid "Favourites"
msgid "Remove Favourite"
msgstr "Oblíbené"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, fuzzy, kde-format
#| msgid "Favourites"
msgid "Add Favourite"
msgstr "Oblíbené"
#~ msgid "Add to Playlist"
#~ msgstr "Přidat do seznamu skladeb"
#~ msgid "Play next"
#~ msgstr "Přehrát následující"
+146 -55
View File
@@ -2,21 +2,22 @@
# This file is distributed under the same license as the audiotube package.
# Burkhard Lück <[email protected]>, 2021.
# Frederik Schwarzer <[email protected]>, 2021, 2022.
# Frank Steinmetzger <[email protected]>, 2022.
#
msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2022-02-20 10:37+0100\n"
"Last-Translator: Frederik Schwarzer <[email protected]>\n"
"Language-Team: German <kde-i18n-doc@kde.org>\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-11-10 20:16+0100\n"
"Last-Translator: Frank Steinmetzger <[email protected]>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Lokalize 21.08.0\n"
"X-Generator: Lokalize 22.08.3\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
@@ -28,25 +29,46 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Wiedergabe"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "Nächste Wiedergabe"
msgid "Shuffle"
msgstr "Zufällig"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "Zur Wiedergabeliste hinzufügen"
msgid "Open in Browser"
msgstr "In Browser öffnen"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr ""
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr ""
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/ArtistPage.qml:46
#, fuzzy, kde-format
#| msgid "Artists"
msgid "Artist"
msgstr "Interpreten"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
@@ -55,22 +77,22 @@ msgstr ""
"Die Video-Wiedergabe wird noch nicht unterstützt. Möchten Sie nur die "
"Audiospur von „%1“ abspielen?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Alben"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "Singles"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "Songs"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Videos"
@@ -85,40 +107,87 @@ msgstr "OK"
msgid "Cancel"
msgstr "Abbrechen"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Favoriten"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "Alle anzeigen"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Lieblingsstücke"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "Am meisten abgespielt"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "Abgespielte Stücke"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "Zurück"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Suchen"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "Aktueller Titel"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Warteschlange"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Stück entfernen"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "Löschen"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "Zufällig"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "Pause"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "Es werden keine Medien wiedergegeben"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "Erweitern"
msgid "Unknown list of songs"
msgstr "Unbekannte Liste von Liedern"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "Bisher keine Lieder hier"
#: contents/ui/PlaylistPage.qml:42
#, fuzzy, kde-format
#| msgid "Playlists"
msgid "Playlist"
msgstr "Wiedergabelisten"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -135,25 +204,47 @@ msgstr "Wiedergabelisten"
msgid "Unknown"
msgstr "Unbekannt"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "Nächste Wiedergabe"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "Musik auf YouTube suchen"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "Suchen"
msgid "Play Next"
msgstr "Nächste Wiedergabe"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr ""
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, fuzzy, kde-format
#| msgid "Favourites"
msgid "Remove Favourite"
msgstr "Favoriten"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, fuzzy, kde-format
#| msgid "Favourites"
msgid "Add Favourite"
msgstr "Favoriten"
#~ msgid "Add to Playlist"
#~ msgstr "Zur Wiedergabeliste hinzufügen"
#~ msgid "Play next"
#~ msgstr "Nächste Wiedergabe"
#~ msgid "Clear"
#~ msgstr "Löschen"
#~ msgid "Pause"
#~ msgstr "Pause"
#~ msgid "Expand"
#~ msgstr "Erweitern"
#~ msgid "Play only Audio"
#~ msgstr "Nur Audio abspielen"
+143 -53
View File
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2022-01-01 15:21+0000\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-11-26 12:33+0000\n"
"Last-Translator: Steve Allewell <[email protected]>\n"
"Language-Team: British English <[email protected]>\n"
"Language: en_GB\n"
@@ -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 21.12.0\n"
"X-Generator: Lokalize 21.12.3\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
@@ -27,25 +27,46 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Play"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "Play Next"
msgid "Shuffle"
msgstr "Shuffle"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "Add to Playlist"
msgid "Open in Browser"
msgstr "Open in Browser"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr ""
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr ""
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/ArtistPage.qml:46
#, fuzzy, kde-format
#| msgid "Artists"
msgid "Artist"
msgstr "Artists"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
@@ -54,22 +75,22 @@ msgstr ""
"Video playback is not supported yet. Do you want to play only the audio of "
"\"%1\"?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Albums"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "Singles"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "Songs"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Videos"
@@ -84,40 +105,87 @@ msgstr "OK"
msgid "Cancel"
msgstr "Cancel"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Favourites"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "Show All"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Favourite Songs"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "Most played"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "Played Songs"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "Back"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Search"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "Now Playing"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Queue"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr "Lyrics"
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Remove Track"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "Clear"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "Shuffle"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "Pause"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "No media playing"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "Expand"
msgid "Unknown list of songs"
msgstr "Unknown list of songs"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "No songs here yet"
#: contents/ui/PlaylistPage.qml:42
#, fuzzy, kde-format
#| msgid "Playlists"
msgid "Playlist"
msgstr "Playlists"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -134,25 +202,47 @@ msgstr "Playlists"
msgid "Unknown"
msgstr "Unknown"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "Play next"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "Find music on YouTube Music"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "Search"
msgid "Play Next"
msgstr "Play Next"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr ""
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, fuzzy, kde-format
#| msgid "Favourites"
msgid "Remove Favourite"
msgstr "Favourites"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, fuzzy, kde-format
#| msgid "Favourites"
msgid "Add Favourite"
msgstr "Favourites"
#~ msgid "Add to Playlist"
#~ msgstr "Add to Playlist"
#~ msgid "Play next"
#~ msgstr "Play next"
#~ msgid "Clear"
#~ msgstr "Clear"
#~ msgid "Pause"
#~ msgstr "Pause"
#~ msgid "Expand"
#~ msgstr "Expand"
#~ msgid "Play only Audio"
#~ msgstr "Play only Audio"
+140 -54
View File
@@ -3,13 +3,13 @@
# This file is distributed under the same license as the audiotube package.
#
# Automatically generated, 2021.
# Eloy Cuadra <[email protected]>, 2021.
# Eloy Cuadra <[email protected]>, 2021, 2022.
msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2021-12-06 00:36+0100\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-11-28 05:14+0100\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 21.11.90\n"
"X-Generator: Lokalize 22.11.80\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
@@ -29,25 +29,45 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Reproducir"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "Reproducir siguiente"
msgid "Shuffle"
msgstr "Desordenar"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "Añadir a la lista de reproducción"
msgid "Open in Browser"
msgstr "Abrir en el navegador"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr "Álbum • %1"
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr "Más"
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/ArtistPage.qml:46
#, kde-format
msgid "Artist"
msgstr "Artista"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
@@ -56,22 +76,22 @@ msgstr ""
"La reproducción de vídeo aún no está permitida. ¿Desea reproducir solo el "
"sonido de «%1»?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Álbumes"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "Sencillos"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "Canciones"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Vídeos"
@@ -86,40 +106,86 @@ msgstr "Aceptar"
msgid "Cancel"
msgstr "Cancelar"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Favoritas"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "Mostrar todas"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Canciones favoritas"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "Más reproducidas"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "Canciones reproducidas"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "Volver"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Buscar"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "Reproduciendo"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Cola"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr "Letra"
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Eliminar pista"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "Borrar todo"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "Desordenar"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "Pausar"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "Ningún medio en reproducción"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "Expandir"
msgid "Unknown list of songs"
msgstr "Lista de canciones desconocida"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "Todavía no contiene canciones"
#: contents/ui/PlaylistPage.qml:42
#, kde-format
msgid "Playlist"
msgstr "Lista de reproducción"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -136,25 +202,45 @@ msgstr "Listas de reproducción"
msgid "Unknown"
msgstr "Desconocido"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "Reproducir siguiente"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "Encuentre música en YouTube Music"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "Buscar"
msgid "Play Next"
msgstr "Reproducir siguiente"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr "Añadir a la cola"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr "Eliminar favorita"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr "Añadir favorita"
#~ msgid "Add to Playlist"
#~ msgstr "Añadir a la lista de reproducción"
#~ msgid "Play next"
#~ msgstr "Reproducir siguiente"
#~ msgid "Clear"
#~ msgstr "Borrar todo"
#~ msgid "Pause"
#~ msgstr "Pausar"
#~ msgid "Expand"
#~ msgstr "Expandir"
#~ msgid "Play only Audio"
#~ msgstr "Reproducir solo el sonido"
+140 -54
View File
@@ -1,5 +1,5 @@
# Translation for audiotube.po to Euskara/Basque (eu).
# Copyright (C) 2021-2022, This file is copyright:
# Copyright (C) 2021-2022 This file is copyright:
# This file is distributed under the same license as the audiotube package.
# KDE euskaratzeko proiektuko arduraduna <[email protected]>.
#
@@ -9,8 +9,8 @@ msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2022-02-21 18:58+0100\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-11-29 05:34+0100\n"
"Last-Translator: Iñigo Salvador Azurmendi <[email protected]>\n"
"Language-Team: Basque <[email protected]>\n"
"Language: eu\n"
@@ -18,7 +18,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 21.12.2\n"
"X-Generator: Lokalize 22.08.3\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
@@ -30,25 +30,45 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Jo"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "Jo hurrengoa"
msgid "Shuffle"
msgstr "Nahastu"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "Gehitu jotze-zerrendara"
msgid "Open in Browser"
msgstr "Ireki arakatzailean"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr "Albuma • %1"
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr "Gehiago"
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Irratia"
#: contents/ui/ArtistPage.qml:46
#, kde-format
msgid "Artist"
msgstr "Artista"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
@@ -57,22 +77,22 @@ msgstr ""
"Oraindik ez dago bideoa atzera jotzeko euskarririk. «%1»(r)en audioa "
"bakarrik jo nahi duzu?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Albumak"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "Banakoa"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "Abestiak"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Bideoak"
@@ -87,40 +107,86 @@ msgstr "Ados"
msgid "Cancel"
msgstr "Utzi"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Gogokoak"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "Erakutsi denak"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Gogoko abestiak"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "Gehien jotakoa"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "Jotako abestiak"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "Atzera"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Bilatu"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "Orain jotzen"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Ilara"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr "Hitzak"
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Kendu pista"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "Garbitu"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "Nahastu"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "Eten"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "Ez da euskarririk jotzen ari"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "Zabaldu"
msgid "Unknown list of songs"
msgstr "Abesti zerrenda ezezaguna"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "Hemen oraindik ez dago abestirik"
#: contents/ui/PlaylistPage.qml:42
#, kde-format
msgid "Playlist"
msgstr "Jotze-zerrenda"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -137,25 +203,45 @@ msgstr "Jotze-zerrendak"
msgid "Unknown"
msgstr "Ezezaguna"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "Jo hurrengoa"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "Irratia"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "Aurkitu musika «Youtube Music»en"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "Bilatu"
msgid "Play Next"
msgstr "Jo hurrengoa"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr "Gehitu ilaran"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr "Kendu gogokoa"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr "Gehitu gogokoa"
#~ msgid "Add to Playlist"
#~ msgstr "Gehitu jotze-zerrendara"
#~ msgid "Play next"
#~ msgstr "Jo hurrengoa"
#~ msgid "Clear"
#~ msgstr "Garbitu"
#~ msgid "Pause"
#~ msgstr "Eten"
#~ msgid "Expand"
#~ msgstr "Zabaldu"
#~ msgid "Play only Audio"
#~ msgstr "Audio bakarrik jo"
+143 -53
View File
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2022-01-11 22:47+0200\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-10-24 07:57+0300\n"
"Last-Translator: Tommi Nieminen <[email protected]>\n"
"Language-Team: Finnish <[email protected]>\n"
"Language: fi\n"
@@ -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 20.04.2\n"
"X-Generator: Lokalize 20.12.0\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
@@ -27,25 +27,46 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Toista"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "Toista seuraava"
msgid "Shuffle"
msgstr "Sekoita"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "Lisää soittolistaan"
msgid "Open in Browser"
msgstr "Avaa selaimeen"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr ""
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr ""
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/ArtistPage.qml:46
#, fuzzy, kde-format
#| msgid "Artists"
msgid "Artist"
msgstr "Artistit"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
@@ -53,22 +74,22 @@ msgid ""
msgstr ""
"Videotoistoa ei vielä tueta. Haluatko toistaa videosta ”%1” vain äänen?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Albumit"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "Singlet"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "Kappaleet"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Videot"
@@ -83,40 +104,87 @@ msgstr "OK"
msgid "Cancel"
msgstr "Peru"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Suosikit"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "Näytä kaikki"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Suosikkikappaleet"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "Soitetuimmat"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "Soitetut kappaleet"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "Takaisin"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Etsi"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "Nyt soi"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Jono"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Poista raita"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "Tyhjennä"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "Sekoita"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "Tauko"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "Mitään ei toisteta"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "Laajenna"
msgid "Unknown list of songs"
msgstr "Tuntematon kappaleluettelo"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "Ei vielä kappaleita"
#: contents/ui/PlaylistPage.qml:42
#, fuzzy, kde-format
#| msgid "Playlists"
msgid "Playlist"
msgstr "Soittolistat"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -133,25 +201,47 @@ msgstr "Soittolistat"
msgid "Unknown"
msgstr "Tuntematon"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "Toista seuraava"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "Etsi musiikkia Youtube Musicista"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "Etsi"
msgid "Play Next"
msgstr "Toista seuraava"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr ""
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, fuzzy, kde-format
#| msgid "Favourites"
msgid "Remove Favourite"
msgstr "Suosikit"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, fuzzy, kde-format
#| msgid "Favourites"
msgid "Add Favourite"
msgstr "Suosikit"
#~ msgid "Add to Playlist"
#~ msgstr "Lisää soittolistaan"
#~ msgid "Play next"
#~ msgstr "Toista seuraava"
#~ msgid "Clear"
#~ msgstr "Tyhjennä"
#~ msgid "Pause"
#~ msgstr "Tauko"
#~ msgid "Expand"
#~ msgstr "Laajenna"
#~ msgid "Play only Audio"
#~ msgstr "Toista vain ääni"
+140 -54
View File
@@ -1,10 +1,10 @@
# Xavier Besnard <[email protected]>, 2021.
# Xavier Besnard <[email protected]>, 2021, 2022.
msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2021-12-06 10:18+0100\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-12-04 08:33+0100\n"
"Last-Translator: Xavier Besnard <[email protected]>\n"
"Language-Team: French <[email protected]>\n"
"Language: fr\n"
@@ -12,7 +12,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 21.11.90\n"
"X-Generator: Lokalize 22.11.90\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
@@ -24,25 +24,45 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Lire"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "Lire le suivant"
msgid "Shuffle"
msgstr "Mélanger"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "Ajouter à la liste de lecture"
msgid "Open in Browser"
msgstr "Ouvrir dans un navigateur"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr "Album • %1"
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr "Et plus encore"
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/ArtistPage.qml:46
#, kde-format
msgid "Artist"
msgstr "Artiste"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
@@ -51,22 +71,22 @@ msgstr ""
"La lecture de vidéos n'est pas encore prise en charge. Voulez-vous vraiment "
"lire uniquement l'audio de « %1 » ?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Albums"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "Titres uniques"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "Chansons"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Vidéos"
@@ -81,40 +101,86 @@ msgstr "Ok"
msgid "Cancel"
msgstr "Annuler"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Favoris"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "Tout afficher"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Titres favoris"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "Les plus lus"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "Titres lus"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "En arrière"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Rechercher"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "En cours de lecture"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Mettre en file d'attente"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr "Paroles"
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Supprimer une piste"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "Effacer"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "Mélanger"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "Pause"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "Aucun média en lecture"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "Développer"
msgid "Unknown list of songs"
msgstr "Liste inconnue de titres"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "Aucun titre ici encore"
#: contents/ui/PlaylistPage.qml:42
#, kde-format
msgid "Playlist"
msgstr "Liste de lecture"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -131,25 +197,45 @@ msgstr "Listes de lecture"
msgid "Unknown"
msgstr "Inconnu"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "Lire le suivant"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "Rechercher de la musique sur « YouTube Music »"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "Rechercher"
msgid "Play Next"
msgstr "Lire le suivant"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr "Ajouter à la file de lecture"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr "Supprimer un favori"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr "Ajouter un favori"
#~ msgid "Add to Playlist"
#~ msgstr "Ajouter à la liste de lecture"
#~ msgid "Play next"
#~ msgstr "Lire le suivant"
#~ msgid "Clear"
#~ msgstr "Effacer"
#~ msgid "Pause"
#~ msgstr "Pause"
#~ msgid "Expand"
#~ msgstr "Développer"
#~ msgid "Play only Audio"
#~ msgstr "Ne lire que l'audio"
+140 -51
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2021-09-17 20:09+0530\n"
"Last-Translator: Raghavendra Kamath <[email protected]>\n"
"Language-Team: kde-hindi\n"
@@ -27,25 +27,46 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "बजाएँ"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "अगला बजाएँ"
msgid "Shuffle"
msgstr "फेंटें"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "गीत-सूची में जोड़ें"
msgid "Open in Browser"
msgstr ""
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr ""
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr ""
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "रेडियो"
#: contents/ui/ArtistPage.qml:46
#, fuzzy, kde-format
#| msgid "Artists"
msgid "Artist"
msgstr "कलाकार"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
@@ -53,22 +74,22 @@ msgid ""
msgstr ""
"वीडियो चलाना अभी तक समर्थित नहीं है। क्या आप केवल \"%1\" का ध्वनी चलाना चाहते हैं?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "एल्बम्स"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "एक गीत"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "गीत"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "वीडियो"
@@ -83,40 +104,88 @@ msgstr ""
msgid "Cancel"
msgstr ""
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr ""
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr ""
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr ""
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr ""
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr ""
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr ""
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "खोजें"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "ओडियो-ट्यूब"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, fuzzy, kde-format
#| msgid "No media playing"
msgid "Now Playing"
msgstr "कोई मीडिया नहीं बजा रहा है"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "गाना हटाएँ"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "साफ करें"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "फेंटें"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "रोकें"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "कोई मीडिया नहीं बजा रहा है"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "विस्तृत करें"
msgid "Unknown list of songs"
msgstr ""
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr ""
#: contents/ui/PlaylistPage.qml:42
#, fuzzy, kde-format
#| msgid "Playlists"
msgid "Playlist"
msgstr "गीत-सूचीयाँ"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -133,25 +202,45 @@ msgstr "गीत-सूचीयाँ"
msgid "Unknown"
msgstr "अज्ञात"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "अगला बजाएँ"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "रेडियो"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "यूट्यूब संगीत पर संगीत ढूंढें"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "खोजें"
msgid "Play Next"
msgstr "अगला बजाएँ"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr ""
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr ""
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr ""
#~ msgid "Add to Playlist"
#~ msgstr "गीत-सूची में जोड़ें"
#~ msgid "Play next"
#~ msgstr "अगला बजाएँ"
#~ msgid "Clear"
#~ msgstr "साफ करें"
#~ msgid "Pause"
#~ msgstr "रोकें"
#~ msgid "Expand"
#~ msgstr "विस्तृत करें"
#~ msgid "Play only Audio"
#~ msgstr "केवल ध्वनी चलाएँ"
+232
View File
@@ -0,0 +1,232 @@
# Copyright (C) YEAR This file is copyright:
# This file is distributed under the same license as the audiotube package.
# Linerly <[email protected]>, 2022.
#
msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-12-21 11:44+0700\n"
"Last-Translator: Linerly <[email protected]>\n"
"Language-Team: Indonesian <[email protected]>\n"
"Language: id\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Lokalize 22.08.3\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
msgid "Your names"
msgstr "Linerly"
#, kde-format
msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Putar"
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Shuffle"
msgstr "Acak"
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Open in Browser"
msgstr "Buka di Peramban"
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr "Album • %1"
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr "Lainnya"
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/ArtistPage.qml:46
#, kde-format
msgid "Artist"
msgstr "Artis"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
"\"%1\"?"
msgstr ""
"Pemutaran video belum didukung. Apakah Anda ingin memutar audionya dari "
"\"%1\" saja?"
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Album"
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "Single"
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "Lagu"
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Video"
#: contents/ui/ConfirmationMessage.qml:16
#, kde-format
msgid "OK"
msgstr "Oke"
#: contents/ui/ConfirmationMessage.qml:21
#, kde-format
msgid "Cancel"
msgstr "Batalkan"
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Favorit"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "Tampilkan Semua"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Lagu Favorit"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "Paling banyak diputar"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "Lagu yang telah diputar"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "Kembali"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Cari"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "Sekarang Diputarkan"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Antrean"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr "Lirik"
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Hapus Trek"
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "Tidak ada media yang diputarkan"
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Unknown list of songs"
msgstr "Daftar lagu yang tidak diketahui"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "Belum ada lagu di sini"
#: contents/ui/PlaylistPage.qml:42
#, kde-format
msgid "Playlist"
msgstr "Daftar Putar"
#: contents/ui/SearchPage.qml:27
#, kde-format
msgid "Artists"
msgstr "Artis"
#: contents/ui/SearchPage.qml:29
#, kde-format
msgid "Playlists"
msgstr "Daftar Putar"
#: contents/ui/SearchPage.qml:36
#, kde-format
msgid "Unknown"
msgstr "Tidak diketahui"
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "Cari musik di YouTube Music"
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Play Next"
msgstr "Putar Berikutnya"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr "Tambahkan ke antrean"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr "Hapus Favorit"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr "Tambahkan Favorit"
#~ msgid "Add to Playlist"
#~ msgstr "Tambahkan ke Daftar Putar"
#~ msgid "Play next"
#~ msgstr "Putar berikutnya"
+140 -54
View File
@@ -1,13 +1,13 @@
# Copyright (C) YEAR This file is copyright:
# This file is distributed under the same license as the audiotube package.
# Vincenzo Reale <[email protected]>, 2021.
# Vincenzo Reale <[email protected]>, 2021, 2022.
#
msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2021-12-06 02:46+0100\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-11-28 14:06+0100\n"
"Last-Translator: Vincenzo Reale <[email protected]>\n"
"Language-Team: Italian <[email protected]>\n"
"Language: it\n"
@@ -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 21.08.3\n"
"X-Generator: Lokalize 22.08.3\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
@@ -27,25 +27,45 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Riproduci"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "Riproduci successivo"
msgid "Shuffle"
msgstr "Mescola"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "Aggiungi alla scaletta"
msgid "Open in Browser"
msgstr "Apri nel browser"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr "Album • %1"
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr "Altro"
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/ArtistPage.qml:46
#, kde-format
msgid "Artist"
msgstr "Artista"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
@@ -54,22 +74,22 @@ msgstr ""
"La riproduzione dei video non è ancora supportata. Vuoi riprodurre solo "
"l'audio di «%1»?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Album"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "Singoli"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "Brani"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Video"
@@ -84,40 +104,86 @@ msgstr "OK"
msgid "Cancel"
msgstr "Annulla"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Preferiti"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "Mostra tutto"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Brani preferiti"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "Più riprodotti"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "Brani riprodotti"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "Indietro"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Cerca"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "In riproduzione"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Coda"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr "Testi"
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Rimuovi traccia"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "Pulisci"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "Mescola"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "Pausa"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "Nessun supporto in riproduzione"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "Espandi"
msgid "Unknown list of songs"
msgstr "Elenco di brani sconosciuto"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "Non c'è ancora alcun brano"
#: contents/ui/PlaylistPage.qml:42
#, kde-format
msgid "Playlist"
msgstr "Scaletta"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -134,25 +200,45 @@ msgstr "Scalette"
msgid "Unknown"
msgstr "Sconosciuto"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "Riproduci successivo"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "Trova musica su Youtube Music"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "Cerca"
msgid "Play Next"
msgstr "Riproduci successivo"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr "Aggiungi alla coda"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr "Rimuovi preferito"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr "Aggiungi preferito"
#~ msgid "Add to Playlist"
#~ msgstr "Aggiungi alla scaletta"
#~ msgid "Play next"
#~ msgstr "Riproduci successivo"
#~ msgid "Clear"
#~ msgstr "Pulisci"
#~ msgid "Pause"
#~ msgstr "Pausa"
#~ msgid "Expand"
#~ msgstr "Espandi"
#~ msgid "Play only Audio"
#~ msgstr "Riproduci solo l'audio"
+221
View File
@@ -0,0 +1,221 @@
msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2021-05-29 19:15-0700\n"
"Last-Translator: Japanese KDE translation team <[email protected]>\n"
"Language-Team: Japanese <[email protected]>\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Accelerator-Marker: &\n"
"X-Text-Markup: kde4\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
msgid "Your names"
msgstr ""
#, kde-format
msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr ""
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr ""
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Shuffle"
msgstr ""
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Open in Browser"
msgstr ""
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr ""
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr ""
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr ""
#: contents/ui/ArtistPage.qml:46
#, kde-format
msgid "Artist"
msgstr ""
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
"\"%1\"?"
msgstr ""
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr ""
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr ""
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr ""
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr ""
#: contents/ui/ConfirmationMessage.qml:16
#, kde-format
msgid "OK"
msgstr ""
#: contents/ui/ConfirmationMessage.qml:21
#, kde-format
msgid "Cancel"
msgstr ""
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr ""
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr ""
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr ""
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr ""
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr ""
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr ""
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr ""
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr ""
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Unknown list of songs"
msgstr ""
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr ""
#: contents/ui/PlaylistPage.qml:42
#, kde-format
msgid "Playlist"
msgstr ""
#: contents/ui/SearchPage.qml:27
#, kde-format
msgid "Artists"
msgstr ""
#: contents/ui/SearchPage.qml:29
#, kde-format
msgid "Playlists"
msgstr ""
#: contents/ui/SearchPage.qml:36
#, kde-format
msgid "Unknown"
msgstr ""
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr ""
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Play Next"
msgstr ""
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr ""
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr ""
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr ""
+232
View File
@@ -0,0 +1,232 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR This file is copyright:
# This file is distributed under the same license as the audiotube package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-11-29 06:58+0100\n"
"Last-Translator: Temuri Doghonadze <[email protected]>\n"
"Language-Team: Georgian <[email protected]>\n"
"Language: ka\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.2\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
msgid "Your names"
msgstr "Temuri Doghonadze"
#, kde-format
msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "დაკვრა"
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Shuffle"
msgstr "შემთხვევით"
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Open in Browser"
msgstr "ბრაუზერში გახსნა"
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr "ალბომი • %1"
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr "მეტი"
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "რადიო"
#: contents/ui/ArtistPage.qml:46
#, kde-format
msgid "Artist"
msgstr "შემსრულებელი"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
"\"%1\"?"
msgstr ""
"ვიდეოს დაკვრა ჯერ მხარდაჭერილი არაა. გნებავთ \"%1\"-ის მხოლოდ ხმა დავუკრა?"
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "ალბომები"
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "სინგლები"
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "სიმღერები"
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "ვიდეო"
#: contents/ui/ConfirmationMessage.qml:16
#, kde-format
msgid "OK"
msgstr "კარგი"
#: contents/ui/ConfirmationMessage.qml:21
#, kde-format
msgid "Cancel"
msgstr "გაუქმენა"
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "რჩეულები"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "ყველას ჩვენება"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "რჩეული სიმღერები"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "ხშირად დაკრულები"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "დაკრული სიმღერები"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "უკან"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "ძებნა"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "მიმდინარეობს დაკვრა"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "რიგი"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr "ლირიკა"
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "აუდიობილიკის წაშლა"
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "არაფერს ვუკრავ"
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Unknown list of songs"
msgstr "უცნობი სიმღერების სია"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "აქ ჯერ სიმღერები არაა"
#: contents/ui/PlaylistPage.qml:42
#, kde-format
msgid "Playlist"
msgstr "დასაკრავი სია"
#: contents/ui/SearchPage.qml:27
#, kde-format
msgid "Artists"
msgstr "შემსრულებლები"
#: contents/ui/SearchPage.qml:29
#, kde-format
msgid "Playlists"
msgstr "დასაკრავი სიები"
#: contents/ui/SearchPage.qml:36
#, kde-format
msgid "Unknown"
msgstr "უცნობი"
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "იპოვეთ მუსიკა YouTube Music-ზე"
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Play Next"
msgstr "შემდეგის დაკვრა"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr "რიგში ჩამატება"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr "რჩეულის წაშლა"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr "რჩეულის დამატება"
#~ msgid "Add to Playlist"
#~ msgstr "დასაკრავი სიაში დამატება"
#~ msgid "Play next"
#~ msgstr "შემდეგის დაკვრა"
+145 -55
View File
@@ -1,21 +1,21 @@
# Copyright (C) YEAR This file is copyright:
# This file is distributed under the same license as the audiotube package.
# Shinjo Park <[email protected]>, 2021.
# Shinjo Park <[email protected]>, 2021, 2022.
#
msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2021-12-08 00:45+0100\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-10-03 14:20+0200\n"
"Last-Translator: Shinjo Park <[email protected]>\n"
"Language-Team: Korean <kde-kr@kde.org>\n"
"Language-Team: Korean <kde-i18n-doc@kde.org>\n"
"Language: ko\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Lokalize 21.08.1\n"
"X-Generator: Lokalize 21.12.3\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
@@ -27,47 +27,68 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "재생"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "다음 재생"
msgid "Shuffle"
msgstr "무순서 재생"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "재생 목록에 추가"
msgid "Open in Browser"
msgstr "브라우저로 열기"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr ""
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr ""
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "라디오"
#: contents/ui/ArtistPage.qml:46
#, fuzzy, kde-format
#| msgid "Artists"
msgid "Artist"
msgstr "아티스트"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
"\"%1\"?"
msgstr "비디오 재생은 지원하지 않습니다. \"%1\"의 오디오만 재생하시겠습니까?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "앨범"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "싱글"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "곡"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "비디오"
@@ -82,40 +103,87 @@ msgstr "확인"
msgid "Cancel"
msgstr "취소"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "책갈피"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "모두 표시"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "책갈피에 등록된 노래"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "가장 많이 재생됨"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "재생한 노래"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "뒤로"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "검색"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "지금 재생 중"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "대기열에 추가"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "트랙 삭제"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "지우기"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "무순서 재생"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "일시 정지"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "재생 중인 미디어 없음"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "확장"
msgid "Unknown list of songs"
msgstr "알 수 없는 노래 목록"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "목록에 등록된 곡 없음"
#: contents/ui/PlaylistPage.qml:42
#, fuzzy, kde-format
#| msgid "Playlists"
msgid "Playlist"
msgstr "재생 목록"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -132,25 +200,47 @@ msgstr "재생 목록"
msgid "Unknown"
msgstr "알 수 없음"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "다음 재생"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "라디오"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "YouTube Music에서 음악 찾기"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "검색"
msgid "Play Next"
msgstr "다음 재생"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr ""
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, fuzzy, kde-format
#| msgid "Favourites"
msgid "Remove Favourite"
msgstr "책갈피"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, fuzzy, kde-format
#| msgid "Favourites"
msgid "Add Favourite"
msgstr "책갈피"
#~ msgid "Add to Playlist"
#~ msgstr "재생 목록에 추가"
#~ msgid "Play next"
#~ msgstr "다음 재생"
#~ msgid "Clear"
#~ msgstr "지우기"
#~ msgid "Pause"
#~ msgstr "일시 정지"
#~ msgid "Expand"
#~ msgstr "확장"
#~ msgid "Play only Audio"
#~ msgstr "오디오만 재생"
+141 -55
View File
@@ -1,13 +1,13 @@
# Copyright (C) YEAR This file is copyright:
# This file is distributed under the same license as the audiotube package.
#
# Freek de Kruijf <[email protected]>, 2021.
# Freek de Kruijf <[email protected]>, 2021, 2022.
msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2021-12-05 16:48+0100\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-11-28 11:10+0100\n"
"Last-Translator: Freek de Kruijf <[email protected]>\n"
"Language-Team: \n"
"Language: nl\n"
@@ -15,37 +15,57 @@ 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 21.08.3\n"
"X-Generator: Lokalize 22.08.3\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
msgid "Your names"
msgstr "Freek de Kruijf - 2021"
msgstr "Freek de Kruijf - 2021 t/m 2022"
#, kde-format
msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Afspelen"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "Volgende afspelen"
msgid "Shuffle"
msgstr "Willekeurig afspelen"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "Aan afspeellijst toevoegen"
msgid "Open in Browser"
msgstr "In browser openen"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr "Album • %1"
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr "Meer"
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/ArtistPage.qml:46
#, kde-format
msgid "Artist"
msgstr "Artiest"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
@@ -54,22 +74,22 @@ msgstr ""
"Afspelen van video wordt nog niet ondersteund. Wilt u alleen het geluid van "
"\"%1\" afspelen?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Albums"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "Enkelvoudige"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "Songs"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Video's"
@@ -84,40 +104,86 @@ msgstr "OK"
msgid "Cancel"
msgstr "Annuleren"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Favorieten"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "Alles tonen"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Favoriete songs"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "Meest afgespeeld"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "Afgespeelde songs"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "Terug"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Zoeken"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "Speelt nu"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Wachtrij"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr "Liedteksten"
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Track verwijderen"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "Wissen"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "Willekeurig afspelen"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "Pauzeren"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "Er speelt geen medium"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "Uitbreiden"
msgid "Unknown list of songs"
msgstr "Onbekende lijst met songs"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "Er zijn hier nog geen songs"
#: contents/ui/PlaylistPage.qml:42
#, kde-format
msgid "Playlist"
msgstr "Afspeellijst"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -134,25 +200,45 @@ msgstr "Afspeellijsten"
msgid "Unknown"
msgstr "Onbekend"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "Volgende afspelen"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "Muziek zoeken op YouTube Music"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "Zoeken"
msgid "Play Next"
msgstr "Volgende afspelen"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr "Aan wachtrij toevoegen"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr "Favoriet verwijderen"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr "Favoriet toevoegen"
#~ msgid "Add to Playlist"
#~ msgstr "Aan afspeellijst toevoegen"
#~ msgid "Play next"
#~ msgstr "Volgende afspelen"
#~ msgid "Clear"
#~ msgstr "Wissen"
#~ msgid "Pause"
#~ msgstr "Pauzeren"
#~ msgid "Expand"
#~ msgstr "Uitbreiden"
#~ msgid "Play only Audio"
#~ msgstr "Alleen geluid afspelen"
+227
View File
@@ -0,0 +1,227 @@
# Translation of audiotube to Norwegian Nynorsk
#
# Øystein Steffensen-Alværvik <[email protected]>, 2022.
# Karl Ove Hufthammer <[email protected]>, 2022.
msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2022-12-12 00:49+0000\n"
"PO-Revision-Date: 2022-09-11 19:45+0200\n"
"Last-Translator: Karl Ove Hufthammer <[email protected]>\n"
"Language-Team: Norwegian Nynorsk <[email protected]>\n"
"Language: nn\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Lokalize 22.08.1\n"
"X-Environment: kde\n"
"X-Accelerator-Marker: &\n"
"X-Text-Markup: kde4\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
msgid "Your names"
msgstr "Øystein Steffensen-Alværvik"
#, kde-format
msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Spel av"
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Shuffle"
msgstr "Stokk om"
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Open in Browser"
msgstr "Opna i nettlesar"
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr ""
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr ""
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/ArtistPage.qml:46
#, kde-format
msgid "Artist"
msgstr ""
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
"\"%1\"?"
msgstr "Videoavspeling er endå ikkje støtta. Vil du spela av lyden til «%1»?"
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Album"
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "Singelplater"
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "Songar"
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Videoar"
#: contents/ui/ConfirmationMessage.qml:16
#, kde-format
msgid "OK"
msgstr "OK"
#: contents/ui/ConfirmationMessage.qml:21
#, kde-format
msgid "Cancel"
msgstr "Avbryt"
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Favorittar"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:181
#, kde-format
msgid "Show All"
msgstr "Vis alle"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Favorittsongar"
#: contents/ui/LibraryPage.qml:171
#, kde-format
msgid "Most played"
msgstr "Oftast avspela"
#: contents/ui/LibraryPage.qml:186
#, kde-format
msgid "Played Songs"
msgstr "Avspela songar"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "Tilbake"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Søk"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "Spelar no"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Kø"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Fjern spor"
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "Inkje medium vert spela"
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Unknown list of songs"
msgstr "Ukjend songliste"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "Ingen songar enno"
#: contents/ui/PlaylistPage.qml:42
#, kde-format
msgid "Playlist"
msgstr ""
#: contents/ui/SearchPage.qml:27
#, kde-format
msgid "Artists"
msgstr "Artistar"
#: contents/ui/SearchPage.qml:29
#, kde-format
msgid "Playlists"
msgstr "Spelelister"
#: contents/ui/SearchPage.qml:36
#, kde-format
msgid "Unknown"
msgstr "Ukjend"
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "Søk etter musikk på YouTube Music"
#: contents/ui/SongMenu.qml:26
#, kde-format
msgid "Play Next"
msgstr "Spel som neste"
#: contents/ui/SongMenu.qml:32
#, kde-format
msgid "Add to queue"
msgstr ""
#: contents/ui/SongMenu.qml:39
#, kde-format
msgid "Remove Favourite"
msgstr ""
#: contents/ui/SongMenu.qml:39
#, kde-format
msgid "Add Favourite"
msgstr ""
+140 -51
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-01-01 09:11-0800\n"
"Last-Translator: A S Alam <[email protected]>\n"
"Language-Team: Punjabi <[email protected]>\n"
@@ -27,47 +27,68 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "alam yellow @ gmail.com"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "ਚਲਾਓ"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "ਅਗਲਾ ਚਲਾਓ"
msgid "Shuffle"
msgstr "ਰਲਵੇਂ"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "ਪਲੇਅਲਿਸਟ ਵਿੱਚ ਜੋੜੋ"
msgid "Open in Browser"
msgstr ""
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr ""
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr ""
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "ਰੇਡੀਓ"
#: contents/ui/ArtistPage.qml:46
#, fuzzy, kde-format
#| msgid "Artists"
msgid "Artist"
msgstr "ਕਲਾਕਾਰ"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
"\"%1\"?"
msgstr "ਵਿਡੀਓ ਪਲੇਅਬੈਕ ਹਾਲੇ ਸਹਾਇਕ ਨਹੀਂ ਹੈ। ਕੀ ਤੁਸੀਂ \"%1\" ਦਾ ਆਡੀਓ ਹੀ ਚਲਾਉਣਾ ਚਾਹੋਗੇ?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "ਐਲਬਮਾਂ"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "ਇਕੱਲੇ"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "ਗੀਤ"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "ਵਿਡੀਓ"
@@ -82,40 +103,88 @@ msgstr "ਠੀਕ ਹੈ"
msgid "Cancel"
msgstr "ਰੱਦ ਕਰੋ"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr ""
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr ""
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr ""
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr ""
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr ""
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr ""
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "ਖੋਜੋ"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "ਆਡੀਓ-ਟਿਊਬ"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, fuzzy, kde-format
#| msgid "No media playing"
msgid "Now Playing"
msgstr "ਕੋਈ ਮੀਡੀਆ ਨਹੀਂ ਚੱਲਦਾ"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "ਟਰੈਕ ਨੂੰ ਹਟਾਓ"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "ਮਿਟਾਓ"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "ਰਲਵੇਂ"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "ਵਿਰਾਮ"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "ਕੋਈ ਮੀਡੀਆ ਨਹੀਂ ਚੱਲਦਾ"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "ਫੈਲਾਓ"
msgid "Unknown list of songs"
msgstr ""
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr ""
#: contents/ui/PlaylistPage.qml:42
#, fuzzy, kde-format
#| msgid "Playlists"
msgid "Playlist"
msgstr "ਪਲੇਅਲਿਸਟਾਂ"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -132,25 +201,45 @@ msgstr "ਪਲੇਅਲਿਸਟਾਂ"
msgid "Unknown"
msgstr "ਅਣਪਛਾਤਾ"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "ਅਗਲਾ ਚਲਾਓ"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "ਰੇਡੀਓ"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "ਯੂਟਿਊਬ ਸੰਗੀਤ ਉੱਤੇ ਸੰਗੀਤ ਲੱਭੋ"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "ਖੋਜੋ"
msgid "Play Next"
msgstr "ਅਗਲਾ ਚਲਾਓ"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr ""
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr ""
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr ""
#~ msgid "Add to Playlist"
#~ msgstr "ਪਲੇਅਲਿਸਟ ਵਿੱਚ ਜੋੜੋ"
#~ msgid "Play next"
#~ msgstr "ਅਗਲਾ ਚਲਾਓ"
#~ msgid "Clear"
#~ msgstr "ਮਿਟਾਓ"
#~ msgid "Pause"
#~ msgstr "ਵਿਰਾਮ"
#~ msgid "Expand"
#~ msgstr "ਫੈਲਾਓ"
#~ msgid "Play only Audio"
#~ msgstr "ਸਿਰਫ਼ ਆਡੀਓ ਹੀ ਚਲਾਓ"
+144 -54
View File
@@ -1,14 +1,14 @@
# Copyright (C) YEAR This file is copyright:
# This file is distributed under the same license as the audiotube package.
#
# Łukasz Wojniłowicz <[email protected]>, 2021.
# Łukasz Wojniłowicz <[email protected]>, 2021, 2022.
# Ignacy Kajdan <[email protected]>, 2021.
msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2021-12-30 12:38+0100\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-10-18 18:06+0200\n"
"Last-Translator: Łukasz Wojniłowicz <[email protected]>\n"
"Language-Team: Polish <[email protected]>\n"
"Language: pl\n"
@@ -17,7 +17,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2);\n"
"X-Generator: Lokalize 22.03.70\n"
"X-Generator: Lokalize 22.08.1\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
@@ -29,25 +29,46 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected], [email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Odtwórz"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "Odtwórz następny"
msgid "Shuffle"
msgstr "Wymieszaj"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "Dodaj do listy odtwarzania"
msgid "Open in Browser"
msgstr "Otwórz w przeglądarce"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr ""
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr ""
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/ArtistPage.qml:46
#, fuzzy, kde-format
#| msgid "Artists"
msgid "Artist"
msgstr "Wykonawcy"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
@@ -56,22 +77,22 @@ msgstr ""
"Odtwarzanie wideo nie jest jeszcze obsługiwane. Czy odtworzyć tylko dźwięk z "
"„%1”?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Albumy"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "Single"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "Piosenki"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Filmy"
@@ -86,40 +107,87 @@ msgstr "OK"
msgid "Cancel"
msgstr "Anuluj"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Ulubione"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "Pokaż wszystkie"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Ulubione utwory"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "Najczęściej odtwarzane"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "Odtwarzane utwory"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "Wstecz"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Szukaj"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "Teraz odtwarzany"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Kolejka"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Usuń utwór"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "Wyczyść"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "Wymieszaj"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "Wstrzymaj"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "Nic nie jest odtwarzane"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "Rozwiń"
msgid "Unknown list of songs"
msgstr "Nieznana lista utworów"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "Jeszcze nie ma tutaj utworów"
#: contents/ui/PlaylistPage.qml:42
#, fuzzy, kde-format
#| msgid "Playlists"
msgid "Playlist"
msgstr "Listy odtwarzania"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -136,25 +204,47 @@ msgstr "Listy odtwarzania"
msgid "Unknown"
msgstr "Nieznany"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "Odtwórz następny"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "Znajdź muzykę w serwisie YouTube Music"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "Szukaj"
msgid "Play Next"
msgstr "Odtwórz następny"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr ""
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, fuzzy, kde-format
#| msgid "Favourites"
msgid "Remove Favourite"
msgstr "Ulubione"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, fuzzy, kde-format
#| msgid "Favourites"
msgid "Add Favourite"
msgstr "Ulubione"
#~ msgid "Add to Playlist"
#~ msgstr "Dodaj do listy odtwarzania"
#~ msgid "Play next"
#~ msgstr "Odtwórz następny"
#~ msgid "Clear"
#~ msgstr "Wyczyść"
#~ msgid "Pause"
#~ msgstr "Wstrzymaj"
#~ msgid "Expand"
#~ msgstr "Rozwiń"
#~ msgid "Play only Audio"
#~ msgstr "Odtwórz tylko dźwięk"
+122 -54
View File
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2021-09-04 18:29+0100\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-11-28 18:35+0000\n"
"Last-Translator: José Nuno Coelho Pires <[email protected]>\n"
"Language-Team: Portuguese <[email protected]>\n"
"Language: pt\n"
@@ -29,25 +29,45 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Reproduzir"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "Reproduzir o Seguinte"
msgid "Shuffle"
msgstr "Baralhar"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "Adicionar à Lista de Reprodução"
msgid "Open in Browser"
msgstr "Abrir no Navegador"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr "Álbum • %1"
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr "Mais"
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Rádio"
#: contents/ui/ArtistPage.qml:46
#, kde-format
msgid "Artist"
msgstr "Artista"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
@@ -56,22 +76,22 @@ msgstr ""
"A reprodução de vídeos ainda não é suportada. Deseja reproduzir apenas o "
"áudio de \"%1\"?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Álbuns"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "'Singles'"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "Músicas"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Vídeos"
@@ -86,40 +106,86 @@ msgstr "OK"
msgid "Cancel"
msgstr "Cancelar"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Favoritos"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "Mostrar Tudo"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Músicas Favoritas"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "Mais Tocadas"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "Músicas Tocadas"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "Recuar"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Procurar"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "Agora a Ouvir"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Fila"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr "Letras Musicais"
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Remover a Faixa"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "Limpar"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "Baralhar"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "Pausa"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "Nada em reprodução"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "Expandir"
msgid "Unknown list of songs"
msgstr "Lista de músicas desconhecida"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "Ainda sem músicas aqui"
#: contents/ui/PlaylistPage.qml:42
#, kde-format
msgid "Playlist"
msgstr "Lista de Reprodução"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -136,25 +202,27 @@ msgstr "Listas de Reprodução"
msgid "Unknown"
msgstr "Desconhecido"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "Reproduzir o seguinte"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "Rádio"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "Procurar música no YouTube Music"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "Procurar"
msgid "Play Next"
msgstr "Reproduzir o Seguinte"
#~ msgid "Play only Audio"
#~ msgstr "Reproduzir só o Áudio"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr "Adicionar à fila"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr "Remover o Favorito"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr "Adicionar aos Favoritos"
+140 -54
View File
@@ -1,14 +1,14 @@
# Copyright (C) YEAR This file is copyright:
# This file is distributed under the same license as the audiotube package.
#
# Luiz Fernando Ranghetti <[email protected]>, 2021.
# Luiz Fernando Ranghetti <[email protected]>, 2021, 2022.
# Thiago Masato Costa Sueto <[email protected]>, 2021.
msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2021-12-09 10:13-0300\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-12-20 10:48-0300\n"
"Last-Translator: Luiz Fernando Ranghetti <[email protected]>\n"
"Language-Team: Portuguese <[email protected]>\n"
"Language: pt_BR\n"
@@ -16,7 +16,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 20.04.2\n"
"X-Generator: Lokalize 21.12.3\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
@@ -28,25 +28,45 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Reproduzir"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "Reproduzir próxima"
msgid "Shuffle"
msgstr "Embaralhar"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "Adicionar à lista de reprodução"
msgid "Open in Browser"
msgstr "Abrir no navegador"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr "Álbum • %1"
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr "Mais"
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Rádio"
#: contents/ui/ArtistPage.qml:46
#, kde-format
msgid "Artist"
msgstr "Artista"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
@@ -55,22 +75,22 @@ msgstr ""
"A reprodução de vídeos ainda não é suportada. Deseja reproduzir apenas o "
"áudio de \"%1\"?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Álbuns"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "Singles"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "Músicas"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Vídeos"
@@ -85,40 +105,86 @@ msgstr "OK"
msgid "Cancel"
msgstr "Cancelar"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Favoritas"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "Mostrar tudo"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Músicas favoritas"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "Mais reproduzidas"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "Músicas reproduzidas"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "Voltar"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Pesquisar"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "Reproduzindo agora"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Fila"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr "Letras"
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Remover faixa"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "Limpar"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "Embaralhar"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "Pausar"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "Nenhuma mídia em reprodução"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "Expandir"
msgid "Unknown list of songs"
msgstr "Lista de músicas desconhecida"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "Nenhuma música ainda"
#: contents/ui/PlaylistPage.qml:42
#, kde-format
msgid "Playlist"
msgstr "Lista de músicas"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -135,25 +201,45 @@ msgstr "Listas de músicas"
msgid "Unknown"
msgstr "Desconhecido"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "Reproduzir próxima"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "Rádio"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "Encontre músicas no YouTube Music"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "Pesquisar"
msgid "Play Next"
msgstr "Reproduzir próxima"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr "Adicionar à fila"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr "Remover das favoritas"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr "Adicionar favorita"
#~ msgid "Add to Playlist"
#~ msgstr "Adicionar à lista de reprodução"
#~ msgid "Play next"
#~ msgstr "Reproduzir próxima"
#~ msgid "Clear"
#~ msgstr "Limpar"
#~ msgid "Pause"
#~ msgstr "Pausar"
#~ msgid "Expand"
#~ msgstr "Expandir"
#~ msgid "Play only Audio"
#~ msgstr "Reproduzir apenas áudio"
+139 -61
View File
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2022-05-10 21:39+0300\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-12-27 10:21+0300\n"
"Last-Translator: Alexander Yavorsky <[email protected]>\n"
"Language-Team: Russian <[email protected]>\n"
"Language: ru\n"
@@ -21,54 +21,75 @@ msgstr ""
#, kde-format
msgctxt "NAME OF TRANSLATORS"
msgid "Your names"
msgstr "Александр Яворский"
msgstr "Александр Яворский, Павел Чернышов"
#, kde-format
msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
msgstr "[email protected], [email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Воспроизвести"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "Воспроизвести следующий"
msgid "Shuffle"
msgstr "Перемешать"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr ""
msgid "Open in Browser"
msgstr "Открыть в браузере"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr "Альбом • %1"
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr "Дополнительно"
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Радио"
#: contents/ui/ArtistPage.qml:46
#, kde-format
msgid "Artist"
msgstr "Исполнитель"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
"\"%1\"?"
msgstr ""
"Воспроизведение видео пока не поддерживается. Воспроизвести звук трека «%1»?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Альбомы"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr ""
msgstr "Синглы"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr ""
msgstr "Треки"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Видеозаписи"
@@ -83,72 +104,129 @@ msgstr "ОК"
msgid "Cancel"
msgstr "Отмена"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Избранное"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "Показать все"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Избранные треки"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "Часто воспроизводимые"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "Воспроизведённые треки"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "Назад"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Поиск"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "Текущий трек"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Очередь воспроизведения"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr "Текст песни"
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Удалить дорожку"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "Очистить"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "Перемешать"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "Приостановить"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr ""
msgstr "Ничего не воспроизводится"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr ""
msgid "Unknown list of songs"
msgstr "Неизвестный список треков"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "Пока нет ни одного трека"
#: contents/ui/PlaylistPage.qml:42
#, kde-format
msgid "Playlist"
msgstr "Список воспроизведения"
#: contents/ui/SearchPage.qml:27
#, kde-format
msgid "Artists"
msgstr ""
msgstr "Исполнители"
#: contents/ui/SearchPage.qml:29
#, kde-format
msgid "Playlists"
msgstr ""
msgstr "Списки воспроизведения"
#: contents/ui/SearchPage.qml:36
#, kde-format
msgid "Unknown"
msgstr ""
msgstr "Неизвестный тип"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr ""
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "Радио"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr ""
msgstr "Найти музыку в YouTube Music"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "Поиск"
msgid "Play Next"
msgstr "Воспроизвести следующим"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr "Добавить в очередь воспроизведения"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr "Убрать из избранного"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr "Добавить в избранное"
#~ msgid "Clear"
#~ msgstr "Очистить"
#~ msgid "Pause"
#~ msgstr "Приостановить"
+140 -54
View File
@@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-04-07 18:01+0200\n"
"Last-Translator: Roman Paholik <[email protected]>\n"
"Language-Team: Slovak <[email protected]>\n"
@@ -25,48 +25,68 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Prehrať"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#, fuzzy, kde-format
#| msgid "Play"
msgid "Play Next"
msgstr "Prehrať"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Add to Playlist"
msgstr "Pridať do zoznamu skladieb"
msgid "Shuffle"
msgstr "Zamiešať"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Open in Browser"
msgstr ""
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr ""
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr ""
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Rádio"
#: contents/ui/ArtistPage.qml:46
#, fuzzy, kde-format
#| msgid "Artists"
msgid "Artist"
msgstr "Interpreti"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
"\"%1\"?"
msgstr ""
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Albumy"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "Samotné"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr ""
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Videá"
@@ -81,40 +101,88 @@ msgstr "OK"
msgid "Cancel"
msgstr "Zrušiť"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr ""
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr ""
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr ""
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr ""
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr ""
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr ""
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Hľadať"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, fuzzy, kde-format
#| msgid "No media playing"
msgid "Now Playing"
msgstr "Neprehráva sa žiadne médium"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr ""
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "Vyčistiť"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "Zamiešať"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "Pozastaviť"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "Neprehráva sa žiadne médium"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "Rozvinúť"
msgid "Unknown list of songs"
msgstr ""
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr ""
#: contents/ui/PlaylistPage.qml:42
#, fuzzy, kde-format
#| msgid "Playlists"
msgid "Playlist"
msgstr "Zoznamy skladieb"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -131,22 +199,40 @@ msgstr "Zoznamy skladieb"
msgid "Unknown"
msgstr "Neznáme"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr ""
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "Rádio"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr ""
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, fuzzy, kde-format
#| msgid "Play"
msgid "Play Next"
msgstr "Prehrať"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Search"
msgstr "Hľadať"
msgid "Add to queue"
msgstr ""
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr ""
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr ""
#~ msgid "Add to Playlist"
#~ msgstr "Pridať do zoznamu skladieb"
#~ msgid "Clear"
#~ msgstr "Vyčistiť"
#~ msgid "Pause"
#~ msgstr "Pozastaviť"
#~ msgid "Expand"
#~ msgstr "Rozvinúť"
+140 -54
View File
@@ -1,20 +1,20 @@
# Copyright (C) YEAR This file is copyright:
# This file is distributed under the same license as the audiotube package.
#
# Matjaž Jeran <[email protected]>, 2021.
# Matjaž Jeran <[email protected]>, 2021, 2022.
msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2021-12-09 13:26+0100\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-11-29 07:45+0100\n"
"Last-Translator: Matjaž Jeran <[email protected]>\n"
"Language-Team: Slovenian <[email protected]>\n"
"Language: sl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Lokalize 21.04.3\n"
"X-Generator: Lokalize 22.08.3\n"
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
"%100==4 ? 3 : 0);\n"
@@ -28,47 +28,67 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Predvajaj"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "Predvajaj naslednjo"
msgid "Shuffle"
msgstr "Premešaj"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "Dodaj v seznam predvajanja"
msgid "Open in Browser"
msgstr "Odpri v brskalniku"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr "Album • %1"
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr "Več"
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/ArtistPage.qml:46
#, kde-format
msgid "Artist"
msgstr "Avtor"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
"\"%1\"?"
msgstr "Video playback še ni podprt. Ali želite predvajati samo zvok \"%1\"?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Albumi"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "Singli"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "Glasba"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Videposnetki"
@@ -83,40 +103,86 @@ msgstr "V redu"
msgid "Cancel"
msgstr "Prekliči"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Priljubljene"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "Prikaži vse"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Priljubljene pesmi"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "Največkrat predvajane"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "Predvajane pesmi"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "Nazaj"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Išči"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "Pravkar predvajano"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Čakalna vrsta"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr "Besedilo"
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Odstrani sled"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "Očisti"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "Premešaj"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "Premor"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "Niče se ne predvaja"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "Razširi"
msgid "Unknown list of songs"
msgstr "Neznan seznam pesmi"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "Tu še ni nobene pesmi"
#: contents/ui/PlaylistPage.qml:42
#, kde-format
msgid "Playlist"
msgstr "Seznam predvajanja"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -133,25 +199,45 @@ msgstr "Seznami predvajanja"
msgid "Unknown"
msgstr "Neznano"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "Predvajaj naslednjo"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "Najdi glasbo na Youtube Music"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "Išči"
msgid "Play Next"
msgstr "Predvajaj naslednjo"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr "Dodaj v v čakalno vrsto"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr "Odstrani priljubljenega"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr "Dodaj priljubljenega"
#~ msgid "Add to Playlist"
#~ msgstr "Dodaj v seznam predvajanja"
#~ msgid "Play next"
#~ msgstr "Predvajaj naslednjo"
#~ msgid "Clear"
#~ msgstr "Očisti"
#~ msgid "Pause"
#~ msgstr "Premor"
#~ msgid "Expand"
#~ msgstr "Razširi"
#~ msgid "Play only Audio"
#~ msgstr "Predvajaj samo zvok"
+143 -53
View File
@@ -1,13 +1,13 @@
# Copyright (C) YEAR This file is copyright:
# This file is distributed under the same license as the audiotube package.
#
# Stefan Asserhäll <[email protected]>, 2021.
# Stefan Asserhäll <[email protected]>, 2021, 2022.
msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2021-12-05 11:41+0100\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-09-24 14:57+0200\n"
"Last-Translator: Stefan Asserhäll <[email protected]>\n"
"Language-Team: Swedish <[email protected]>\n"
"Language: sv\n"
@@ -27,47 +27,68 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Spela"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "Spela nästa"
msgid "Shuffle"
msgstr "Blanda"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "Lägg till i spellista"
msgid "Open in Browser"
msgstr "Öppna i webbläsare"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr ""
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr ""
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/ArtistPage.qml:46
#, fuzzy, kde-format
#| msgid "Artists"
msgid "Artist"
msgstr "Artister"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
"\"%1\"?"
msgstr "Videouppspelning stöds inte ännu. Vill du bara spela ljudet på \"%1\"?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Album"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "Singlar"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "Låtar"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Videor"
@@ -82,40 +103,87 @@ msgstr "Ok"
msgid "Cancel"
msgstr "Avbryt"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Favoriter"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "Visa alla"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Favoritlåtar"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "Mest spelade"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "Spelade låtar"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "Bakåt"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Sök"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "Spelar nu"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Köa"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Ta bort spår"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "Rensa"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "Blanda"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "Paus"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "Inga media spelar"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "Expandera"
msgid "Unknown list of songs"
msgstr "Okänd låtlista"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "Inga låtar här ännu"
#: contents/ui/PlaylistPage.qml:42
#, fuzzy, kde-format
#| msgid "Playlists"
msgid "Playlist"
msgstr "Spellistor"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -132,25 +200,47 @@ msgstr "Spellistor"
msgid "Unknown"
msgstr "Okänd"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "Spela nästa"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "Radio"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "Sök efter musik på YouTube musik"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "Sök"
msgid "Play Next"
msgstr "Spela nästa"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr ""
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, fuzzy, kde-format
#| msgid "Favourites"
msgid "Remove Favourite"
msgstr "Favoriter"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, fuzzy, kde-format
#| msgid "Favourites"
msgid "Add Favourite"
msgstr "Favoriter"
#~ msgid "Add to Playlist"
#~ msgstr "Lägg till i spellista"
#~ msgid "Play next"
#~ msgstr "Spela nästa"
#~ msgid "Clear"
#~ msgstr "Rensa"
#~ msgid "Pause"
#~ msgstr "Paus"
#~ msgid "Expand"
#~ msgstr "Expandera"
#~ msgid "Play only Audio"
#~ msgstr "Spela bara ljud"
+139 -53
View File
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2022-04-15 14:41+0300\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-11-28 18:46+0300\n"
"Last-Translator: Emir SARI <[email protected]>\n"
"Language-Team: Turkish <[email protected]>\n"
"Language: tr\n"
@@ -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 21.12.3\n"
"X-Generator: Lokalize 22.08.3\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
@@ -27,25 +27,45 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Çal"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "Sonrakini Çal"
msgid "Shuffle"
msgstr "Karıştır"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "Çalma Listesine Ekle"
msgid "Open in Browser"
msgstr "Tarayıcıda Aç"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr "Albüm • %1"
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr "Daha Fazla"
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Radyo"
#: contents/ui/ArtistPage.qml:46
#, kde-format
msgid "Artist"
msgstr "Sanatçı"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
@@ -54,22 +74,22 @@ msgstr ""
"Video oynatımı henüz desteklenmiyor. \"%1\" videosunun yalnızca sesinin "
"çalınmasını ister misiniz?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Albümler"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "Tekliler"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "Şarkılar"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Videolar"
@@ -84,40 +104,86 @@ msgstr "Tamam"
msgid "Cancel"
msgstr "İptal"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Beğeniler"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "Tümünü Göster"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Beğenilen Şarkılar"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "En Çok Çalınanlar"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "Çalınan Şarkılar"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "Geri"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Ara"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "Şimdi Çalınıyor"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Kuyruk"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr "Şarkı Sözleri"
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Parçayı Kaldır"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "Temizle"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "Karıştır"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "Duraklat"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "Ortam çalmıyor"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "Genişlet"
msgid "Unknown list of songs"
msgstr "Bilinmeyen şarkılar listesi"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "Burada henüz şarkı yok"
#: contents/ui/PlaylistPage.qml:42
#, kde-format
msgid "Playlist"
msgstr "Çalma Listesi"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -134,22 +200,42 @@ msgstr "Çalma Listeleri"
msgid "Unknown"
msgstr "Bilinmiyor"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "Sonrakini çal"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "Radyo"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "YouTube Müzik'te müzik bul"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "Ara"
msgid "Play Next"
msgstr "Sonrakini Çal"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr "Kuyruğa ekle"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr "Beğenilerden Kaldır"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr "Beğenilere Ekle"
#~ msgid "Add to Playlist"
#~ msgstr "Çalma Listesine Ekle"
#~ msgid "Play next"
#~ msgstr "Sonrakini çal"
#~ msgid "Clear"
#~ msgstr "Temizle"
#~ msgid "Pause"
#~ msgstr "Duraklat"
#~ msgid "Expand"
#~ msgstr "Genişlet"
+140 -54
View File
@@ -1,14 +1,14 @@
# Copyright (C) YEAR This file is copyright:
# This file is distributed under the same license as the PACKAGE package.
#
# Yuri Chornoivan <[email protected]>, 2021.
# Yuri Chornoivan <[email protected]>, 2021, 2022.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2021-12-05 08:42+0200\n"
"Last-Translator: Yuri Chornoivan <[email protected]>\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-11-28 20:43+0200\n"
"Last-Translator: Fracture dept <[email protected]>\n"
"Language-Team: Ukrainian <[email protected]>\n"
"Language: uk\n"
"MIME-Version: 1.0\n"
@@ -28,25 +28,45 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "Відтворити"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "Відтворити наступну"
msgid "Shuffle"
msgstr "Перемішати"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "Додати до списку відтворення"
msgid "Open in Browser"
msgstr "Відкрити у переглядачі"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr "Альбом • %1"
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr "Більше"
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "Радіо"
#: contents/ui/ArtistPage.qml:46
#, kde-format
msgid "Artist"
msgstr "Виконавець"
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
@@ -55,22 +75,22 @@ msgstr ""
"Підтримки відтворення відео ще не передбачено. Хочете, щоб було відтворено "
"лише звукову частину «%1»?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "Альбоми"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "Одинарні"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "Пісні"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "Відео"
@@ -85,40 +105,86 @@ msgstr "Гаразд"
msgid "Cancel"
msgstr "Скасувати"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "Улюблені"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "Показати всі"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "Улюблені композиції"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "Часто слухали"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "Відтворені композиції"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "Назад"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "Пошук"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "Зараз відтворюємо"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "Додати до черги"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr "Текст"
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "Вилучити композицію"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "Спорожнити"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "Перемішати"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "Призупинити"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "Відтворення не відбувається"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "Розгорнути"
msgid "Unknown list of songs"
msgstr "Невідомий список композицій"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "Тут ще немає композицій"
#: contents/ui/PlaylistPage.qml:42
#, kde-format
msgid "Playlist"
msgstr "Список відтворення"
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -135,25 +201,45 @@ msgstr "Списки відтворення"
msgid "Unknown"
msgstr "Невідомий"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "Відтворити наступну"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "Радіо"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "Шукати музику на сайті «Музика Youtube»"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "Пошук"
msgid "Play Next"
msgstr "Відтворити наступну"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr "Додати до черги"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr "Вилучити з улюблених"
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr "Додати до улюблених"
#~ msgid "Add to Playlist"
#~ msgstr "Додати до списку відтворення"
#~ msgid "Play next"
#~ msgstr "Відтворити наступну"
#~ msgid "Clear"
#~ msgstr "Спорожнити"
#~ msgid "Pause"
#~ msgstr "Призупинити"
#~ msgid "Expand"
#~ msgstr "Розгорнути"
#~ msgid "Play only Audio"
#~ msgstr "Відтворити лише звук"
-155
View File
@@ -1,155 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR This file is copyright:
# This file is distributed under the same license as the audiotube package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2021-12-05 01:46+0000\n"
"Last-Translator: transxx.py program <[email protected]>\n"
"Language-Team: KDE Test Language <[email protected]>\n"
"Language: x-test\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
msgid "Your names"
msgstr "xxYour namesxx"
#, kde-format
msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "xxYour emailsxx"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#, kde-format
msgid "Play"
msgstr "xxPlayxx"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#, kde-format
msgid "Play Next"
msgstr "xxPlay Nextxx"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#, kde-format
msgid "Add to Playlist"
msgstr "xxAdd to Playlistxx"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
"\"%1\"?"
msgstr ""
"xxVideo playback is not supported yet. Do you want to play only the audio of "
"\"%1\"?xx"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "xxAlbumsxx"
#: contents/ui/ArtistPage.qml:57
#, kde-format
msgid "Singles"
msgstr "xxSinglesxx"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "xxSongsxx"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "xxVideosxx"
#: contents/ui/ConfirmationMessage.qml:16
#, kde-format
msgid "OK"
msgstr "xxOKxx"
#: contents/ui/ConfirmationMessage.qml:21
#, kde-format
msgid "Cancel"
msgstr "xxCancelxx"
#: contents/ui/main.qml:51
#, kde-format
msgid "AudioTube"
msgstr "xxAudioTubexx"
#: contents/ui/PlayerFooter.qml:106
#, kde-format
msgid "Remove Track"
msgstr "xxRemove Trackxx"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "xxClearxx"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "xxShufflexx"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "xxPausexx"
#: contents/ui/PlayerFooter.qml:203
#, kde-format
msgid "No media playing"
msgstr "xxNo media playingxx"
#: contents/ui/PlayerFooter.qml:247
#, kde-format
msgid "Expand"
msgstr "xxExpandxx"
#: contents/ui/SearchPage.qml:27
#, kde-format
msgid "Artists"
msgstr "xxArtistsxx"
#: contents/ui/SearchPage.qml:29
#, kde-format
msgid "Playlists"
msgstr "xxPlaylistsxx"
#: contents/ui/SearchPage.qml:36
#, kde-format
msgid "Unknown"
msgstr "xxUnknownxx"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "xxPlay nextxx"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "xxRadioxx"
#: contents/ui/SearchPage.qml:147
#, kde-format
msgid "Find music on YouTube Music"
msgstr "xxFind music on YouTube Musicxx"
#: contents/ui/SearchPage.qml:150
#, kde-format
msgid "Search"
msgstr "xxSearchxx"
+123 -52
View File
@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: kdeorg\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2021-12-05 00:45+0000\n"
"PO-Revision-Date: 2022-05-15 15:46\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-12-24 11:42\n"
"Last-Translator: \n"
"Language-Team: Chinese Simplified\n"
"Language: zh_CN\n"
@@ -27,47 +27,67 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "[email protected], [email protected]"
#: contents/ui/AlbumPage.qml:19 contents/ui/PlayerFooter.qml:173
#: contents/ui/PlaylistPage.qml:19
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr "播放"
#: contents/ui/AlbumPage.qml:61 contents/ui/ArtistPage.qml:101
#: contents/ui/PlaylistPage.qml:67
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Play Next"
msgstr "播放下一首"
msgid "Shuffle"
msgstr "随机播放"
#: contents/ui/AlbumPage.qml:66 contents/ui/ArtistPage.qml:107
#: contents/ui/PlaylistPage.qml:72 contents/ui/SearchPage.qml:123
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Add to Playlist"
msgstr "添加到播放列表"
msgid "Open in Browser"
msgstr "在浏览器中打开"
#: contents/ui/ArtistPage.qml:39 contents/ui/SearchPage.qml:67
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr ""
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr ""
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr "电台"
#: contents/ui/ArtistPage.qml:46
#, kde-format
msgid "Artist"
msgstr ""
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
"\"%1\"?"
msgstr "视频播放尚未被支持。您想要只播放“%1”中的音频吗?"
#: contents/ui/ArtistPage.qml:55 contents/ui/SearchPage.qml:25
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr "专辑"
#: contents/ui/ArtistPage.qml:57
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr "单曲"
#: contents/ui/ArtistPage.qml:59 contents/ui/SearchPage.qml:31
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr "曲目"
#: contents/ui/ArtistPage.qml:61 contents/ui/SearchPage.qml:33
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr "视频"
@@ -82,40 +102,86 @@ msgstr "确定"
msgid "Cancel"
msgstr "取消"
#: contents/ui/main.qml:51
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr "收藏夹"
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr "显示全部"
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr "收藏的歌曲"
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr "最常播放"
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr "已播放歌曲"
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr "返回"
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr "搜索"
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr "AudioTube"
#: contents/ui/PlayerFooter.qml:106
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr "正在播放"
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr "播放队列"
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr "移除曲目"
#: contents/ui/PlayerFooter.qml:123
#, kde-format
msgid "Clear"
msgstr "清除"
#: contents/ui/PlayerFooter.qml:128 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Shuffle"
msgstr "随机播放"
#: contents/ui/PlayerFooter.qml:173
#, kde-format
msgid "Pause"
msgstr "暂停"
#: contents/ui/PlayerFooter.qml:203
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr "没有正在播放的媒体"
#: contents/ui/PlayerFooter.qml:247
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Expand"
msgstr "展开"
msgid "Unknown list of songs"
msgstr "未知歌曲列表"
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr "此处无歌曲"
#: contents/ui/PlaylistPage.qml:42
#, kde-format
msgid "Playlist"
msgstr ""
#: contents/ui/SearchPage.qml:27
#, kde-format
@@ -132,22 +198,27 @@ msgstr "播放列表"
msgid "Unknown"
msgstr "未知"
#: contents/ui/SearchPage.qml:117
#, kde-format
msgid "Play next"
msgstr "播放下一首"
#: contents/ui/SearchPage.qml:129
#, kde-format
msgid "Radio"
msgstr "电台"
#: contents/ui/SearchPage.qml:147
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr "查找 YouTube Music 中的音乐"
#: contents/ui/SearchPage.qml:150
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Search"
msgstr "搜索"
msgid "Play Next"
msgstr "播放下一首"
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr ""
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr ""
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr ""
+225
View File
@@ -0,0 +1,225 @@
# Chinese translations for audiotube package
# audiotube 套件的正體中文翻譯.
# Copyright (C) 2022 This file is copyright:
# This file is distributed under the same license as the audiotube package.
# Automatically generated, 2022.
#
msgid ""
msgstr ""
"Project-Id-Version: audiotube\n"
"Report-Msgid-Bugs-To: https://bugs.kde.org\n"
"POT-Creation-Date: 2022-12-24 00:52+0000\n"
"PO-Revision-Date: 2022-05-30 00:47+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#, kde-format
msgctxt "NAME OF TRANSLATORS"
msgid "Your names"
msgstr ""
#, kde-format
msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr ""
#: contents/ui/AlbumPage.qml:22 contents/ui/PlaylistPage.qml:26
#, kde-format
msgid "Play"
msgstr ""
#: contents/ui/AlbumPage.qml:29 contents/ui/ArtistPage.qml:32
#: contents/ui/PlaylistPage.qml:33
#, kde-format
msgid "Shuffle"
msgstr ""
#: contents/ui/AlbumPage.qml:37 contents/ui/ArtistPage.qml:39
#, kde-format
msgid "Open in Browser"
msgstr ""
#: contents/ui/AlbumPage.qml:44
#, kde-format
msgid "Album • %1"
msgstr ""
#: contents/ui/AlbumPage.qml:87 contents/ui/ArtistPage.qml:125
#: contents/ui/PlaybackHistory.qml:72 contents/ui/PlaylistPage.qml:89
#: contents/ui/SearchPage.qml:128
#, kde-format
msgid "More"
msgstr ""
#: contents/ui/ArtistPage.qml:27
#, kde-format
msgid "Radio"
msgstr ""
#: contents/ui/ArtistPage.qml:46
#, kde-format
msgid "Artist"
msgstr ""
#: contents/ui/ArtistPage.qml:68 contents/ui/SearchPage.qml:69
#, kde-format
msgid ""
"Video playback is not supported yet. Do you want to play only the audio of "
"\"%1\"?"
msgstr ""
#: contents/ui/ArtistPage.qml:85 contents/ui/SearchPage.qml:25
#, kde-format
msgid "Albums"
msgstr ""
#: contents/ui/ArtistPage.qml:87
#, kde-format
msgid "Singles"
msgstr ""
#: contents/ui/ArtistPage.qml:89 contents/ui/SearchPage.qml:31
#, kde-format
msgid "Songs"
msgstr ""
#: contents/ui/ArtistPage.qml:91 contents/ui/SearchPage.qml:33
#, kde-format
msgid "Videos"
msgstr ""
#: contents/ui/ConfirmationMessage.qml:16
#, kde-format
msgid "OK"
msgstr ""
#: contents/ui/ConfirmationMessage.qml:21
#, kde-format
msgid "Cancel"
msgstr ""
#: contents/ui/LibraryPage.qml:21
#, kde-format
msgid "Favourites"
msgstr ""
#: contents/ui/LibraryPage.qml:31 contents/ui/LibraryPage.qml:206
#, kde-format
msgid "Show All"
msgstr ""
#: contents/ui/LibraryPage.qml:36
#, kde-format
msgid "Favourite Songs"
msgstr ""
#: contents/ui/LibraryPage.qml:196
#, kde-format
msgid "Most played"
msgstr ""
#: contents/ui/LibraryPage.qml:211
#, kde-format
msgid "Played Songs"
msgstr ""
#: contents/ui/main.qml:49
#, kde-format
msgid "Back"
msgstr ""
#: contents/ui/main.qml:83 contents/ui/SearchPage.qml:149
#, kde-format
msgid "Search"
msgstr ""
#: contents/ui/main.qml:95
#, kde-format
msgid "AudioTube"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:107
#, kde-format
msgid "Now Playing"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:132
#, kde-format
msgid "Queue"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:157
#, kde-format
msgid "Lyrics"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:273
#, kde-format
msgid "Remove Track"
msgstr ""
#: contents/ui/MaximizedPlayerPage.qml:315
#: contents/ui/MinimizedPlayerControls.qml:91
#, kde-format
msgid "No media playing"
msgstr ""
#: contents/ui/PlaybackHistory.qml:15
#, kde-format
msgid "Unknown list of songs"
msgstr ""
#: contents/ui/PlaybackHistory.qml:27
#, kde-format
msgid "No songs here yet"
msgstr ""
#: contents/ui/PlaylistPage.qml:42
#, kde-format
msgid "Playlist"
msgstr ""
#: contents/ui/SearchPage.qml:27
#, kde-format
msgid "Artists"
msgstr ""
#: contents/ui/SearchPage.qml:29
#, kde-format
msgid "Playlists"
msgstr ""
#: contents/ui/SearchPage.qml:36
#, kde-format
msgid "Unknown"
msgstr ""
#: contents/ui/SearchPage.qml:146
#, kde-format
msgid "Find music on YouTube Music"
msgstr ""
#: contents/ui/SongMenu.qml:50 contents/ui/SongMenu.qml:97
#, kde-format
msgid "Play Next"
msgstr ""
#: contents/ui/SongMenu.qml:59 contents/ui/SongMenu.qml:103
#, kde-format
msgid "Add to queue"
msgstr ""
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Remove Favourite"
msgstr ""
#: contents/ui/SongMenu.qml:69 contents/ui/SongMenu.qml:110
#, kde-format
msgid "Add Favourite"
msgstr ""
+1 -1
View File
@@ -3,5 +3,5 @@
#
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
ytmusicapi==0.21.0
ytmusicapi==0.24.0
yt-dlp
+9 -8
View File
@@ -16,7 +16,7 @@ add_library(asyncdatabase STATIC
)
target_include_directories(asyncdatabase PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(asyncdatabase PUBLIC Qt5::Sql)
target_link_libraries(asyncdatabase PUBLIC Qt::Sql)
add_subdirectory(example)
@@ -39,12 +39,13 @@ add_executable(audiotube
)
target_link_libraries(audiotube
Qt5::Core
Qt5::Gui
Qt5::Qml
Qt5::Quick
Qt5::QuickControls2
Qt5::Svg
Qt::Core
Qt::Gui
Qt::Qml
Qt::Quick
Qt::QuickControls2
Qt::Svg
Qt::Widgets
KF5::I18n
KF5::CoreAddons
KF5::Crash
@@ -52,6 +53,6 @@ target_link_libraries(audiotube
asyncdatabase
)
target_compile_definitions(audiotube PRIVATE -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_QML_DEBUG)
target_compile_definitions(audiotube PRIVATE -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING)
install(TARGETS audiotube ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
+25 -2
View File
@@ -3,8 +3,9 @@
// SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
#include "albummodel.h"
#include "playlistutils.h"
#include <QDebug>
#include <QStringBuilder>
AlbumModel::AlbumModel(QObject *parent)
: AbstractYTMusicModel(parent)
@@ -21,6 +22,7 @@ AlbumModel::AlbumModel(QObject *parent)
std::sort(m_album.thumbnails.begin(), m_album.thumbnails.end());
Q_EMIT titleChanged();
Q_EMIT artistsChanged();
Q_EMIT thumbnailUrlChanged();
Q_EMIT playlistIdChanged();
});
@@ -45,6 +47,14 @@ QVariant AlbumModel::data(const QModelIndex &index, int role) const
return QString::fromStdString(m_album.tracks[index.row()].video_id.value_or(std::string()));
case Artists:
return QVariant::fromValue(m_album.tracks[index.row()].artists);
case ThumbnailUrl:
if (!m_album.thumbnails.empty()) {
return QString::fromStdString(m_album.thumbnails.front().url);
} else {
return {};
}
case ArtistsDisplayString:
return PlaylistUtils::artistsToString(m_album.tracks[index.row()].artists);
}
Q_UNREACHABLE();
@@ -57,7 +67,9 @@ QHash<int, QByteArray> AlbumModel::roleNames() const
return {
{Title, "title"},
{VideoId, "videoId"},
{Artists, "artists"}
{Artists, "artists"},
{ThumbnailUrl, "thumbnailUrl"},
{ArtistsDisplayString, "artistsDisplayString"}
};
}
@@ -77,6 +89,12 @@ QString AlbumModel::title() const
return QString::fromStdString(m_album.title);
}
QString AlbumModel::artists() const
{
return PlaylistUtils::artistsToString(m_album.artists);
}
QUrl AlbumModel::thumbnailUrl() const
{
if (m_album.thumbnails.empty()) {
@@ -90,3 +108,8 @@ QString AlbumModel::playlistId() const
{
return QString::fromStdString(m_album.audio_playlist_id);
}
QUrl AlbumModel::webUrl() const
{
return QUrl(YTMUSIC_WEB_BASE_URL % "/playlist?list=" % QString::fromStdString(m_album.audio_playlist_id));
}
+10 -1
View File
@@ -16,14 +16,18 @@ class AlbumModel : public AbstractYTMusicModel
Q_PROPERTY(QString browseId READ browseId WRITE setBrowseId NOTIFY browseIdChanged REQUIRED)
Q_PROPERTY(QString title READ title NOTIFY titleChanged)
Q_PROPERTY(QString artists READ artists NOTIFY artistsChanged)
Q_PROPERTY(QUrl thumbnailUrl READ thumbnailUrl NOTIFY thumbnailUrlChanged)
Q_PROPERTY(QString playlistId READ playlistId NOTIFY playlistIdChanged)
Q_PROPERTY(QUrl webUrl READ webUrl NOTIFY webUrlChanged)
public:
enum Role {
Title = Qt::UserRole + 1,
VideoId,
Artists
Artists,
ThumbnailUrl,
ArtistsDisplayString
};
explicit AlbumModel(QObject *parent = nullptr);
@@ -39,12 +43,17 @@ public:
QString title() const;
Q_SIGNAL void titleChanged();
QString artists() const;
Q_SIGNAL void artistsChanged();
QUrl thumbnailUrl() const;
Q_SIGNAL void thumbnailUrlChanged();
QString playlistId() const;
Q_SIGNAL void playlistIdChanged();
QUrl webUrl() const;
Q_SIGNAL void webUrlChanged();
private:
QString m_browseId;
+28 -1
View File
@@ -4,6 +4,8 @@
#include "artistmodel.h"
#include <QStringBuilder>
#include <asyncytmusic.h>
ArtistModel::ArtistModel(QObject *parent)
@@ -26,9 +28,21 @@ ArtistModel::ArtistModel(QObject *parent)
std::sort(m_artist.thumbnails.begin(), m_artist.thumbnails.end());
albums = m_artist.albums ? m_artist.albums->results : std::vector<artist::Artist::Album>();
for (auto &album : albums) {
std::sort(album.thumbnails.begin(), album.thumbnails.end());
}
singles = m_artist.singles ? m_artist.singles->results : std::vector<artist::Artist::Single>();
for (auto &single : singles) {
std::sort(single.thumbnails.begin(), single.thumbnails.end());
}
songs = m_artist.songs ? m_artist.songs->results : std::vector<artist::Artist::Song>();
for (auto &song : songs) {
std::sort(song.thumbnails.begin(), song.thumbnails.end());
}
videos = m_artist.videos ? m_artist.videos->results : std::vector<artist::Artist::Video>();
for (auto &video : videos) {
std::sort(video.thumbnails.begin(), video.thumbnails.end());
}
// std::span can't know if the data pointer underneath it was changed, so re-create
m_view = MultiIterableView(albums, singles, songs, videos);
@@ -103,6 +117,13 @@ QVariant ArtistModel::data(const QModelIndex &index, int role) const
Q_UNREACHABLE();
}, m_view[index.row()]);
case ThumbnailUrl:
return std::visit([&](auto&& item) {
if (!item.thumbnails.empty()) {
return QString::fromStdString(item.thumbnails.front().url);
}
return QString();
}, m_view[index.row()]);
}
Q_UNREACHABLE();
@@ -116,7 +137,8 @@ QHash<int, QByteArray> ArtistModel::roleNames() const
{Title, "title"},
{Type, "type"},
{Artists, "artists"},
{VideoId, "videoId"}
{VideoId, "videoId"},
{ThumbnailUrl, "thumbnailUrl"}
};
}
@@ -145,6 +167,11 @@ QUrl ArtistModel::thumbnailUrl() const
return QUrl(QString::fromStdString(m_artist.thumbnails.back().url));
}
QUrl ArtistModel::webUrl() const
{
return QUrl(YTMUSIC_WEB_BASE_URL % u"channel/" % QString::fromStdString(m_artist.channel_id));
}
void ArtistModel::triggerItem(int row)
{
std::visit([&](auto&& item) {
+6 -1
View File
@@ -23,6 +23,7 @@ class ArtistModel : public AbstractYTMusicModel
Q_PROPERTY(QString title READ title NOTIFY titleChanged)
Q_PROPERTY(QUrl thumbnailUrl READ thumbnailUrl NOTIFY thumbnailUrlChanged)
Q_PROPERTY(QUrl webUrl READ webUrl NOTIFY webUrlChanged)
public:
enum Type {
@@ -37,7 +38,8 @@ public:
Title,
Type,
Artists,
VideoId
VideoId,
ThumbnailUrl
};
explicit ArtistModel(QObject *parent = nullptr);
@@ -56,6 +58,9 @@ public:
QUrl thumbnailUrl() const;
Q_SIGNAL void thumbnailUrlChanged();
QUrl webUrl() const;
Q_SIGNAL void webUrlChanged();
Q_INVOKABLE void triggerItem(int row);
Q_SIGNAL void openAlbum(const QString &browseId);
+48 -11
View File
@@ -78,6 +78,8 @@ void runDatabaseMigrations(QSqlDatabase &database, const QString &migrationDirec
}
qCDebug(asyncdatabase) << "Running migration" << subdir.dirName();
database.transaction();
// Hackish
const auto statements = file.readAll().split(';');
@@ -99,39 +101,52 @@ void runDatabaseMigrations(QSqlDatabase &database, const QString &migrationDirec
}
}
}
if (migrationSuccessful) {
database.commit();
markMigrationRun(database, subdir.dirName());
} else {
database.rollback();
}
}
}
qCDebug(asyncdatabase) << "Migrations finished";
}
struct AsyncSqlDatabasePrivate {
QSqlDatabase database;
};
// Internal asynchronous database class
QFuture<void> AsyncSqlDatabase::establishConnection(const DatabaseConfiguration &configuration)
{
return runAsync<void>([=, this] {
m_database = std::make_unique<QSqlDatabase>(QSqlDatabase::addDatabase(configuration.type()));
return runAsync([=, this] {
d->database = QSqlDatabase::addDatabase(configuration.type());
if (configuration.databaseName()) {
m_database->setDatabaseName(*configuration.databaseName());
d->database.setDatabaseName(*configuration.databaseName());
}
if (configuration.hostName()) {
m_database->setHostName(*configuration.hostName());
d->database.setHostName(*configuration.hostName());
}
if (configuration.userName()) {
m_database->setUserName(*configuration.userName());
d->database.setUserName(*configuration.userName());
}
if (configuration.password()) {
m_database->setPassword(*configuration.password());
d->database.setPassword(*configuration.password());
}
m_database->open();
if (!d->database.open()) {
qCDebug(asyncdatabase) << "Failed to open database" << d->database.lastError().text();
if (configuration.databaseName()) {
qCDebug(asyncdatabase) << "Tried to use database" << *configuration.databaseName();
}
}
});
}
AsyncSqlDatabase::AsyncSqlDatabase()
: QObject()
, m_database(nullptr)
, d(std::make_unique<AsyncSqlDatabasePrivate>())
{
}
@@ -176,6 +191,11 @@ std::optional<Row> AsyncSqlDatabase::retrieveOptionalRow(QSqlQuery &query)
}
}
QSqlDatabase &AsyncSqlDatabase::db()
{
return d->database;
}
AsyncSqlDatabase::~AsyncSqlDatabase() = default;
void printSqlError(const QSqlQuery &query)
@@ -193,6 +213,14 @@ QSqlQuery prepareQuery(const QSqlDatabase &database, const QString &sqlQuery)
return query;
}
QSqlQuery runQuery(QSqlQuery &query)
{
if (!query.exec()) {
printSqlError(query);
}
return query;
}
}
struct DatabaseConfigurationPrivate : public QSharedData {
@@ -250,18 +278,22 @@ const std::optional<QString> &DatabaseConfiguration::password() const {
}
struct ThreadedDatabasePrivate {
asyncdatabase_private::AsyncSqlDatabase db;
};
std::unique_ptr<ThreadedDatabase> ThreadedDatabase::establishConnection(DatabaseConfiguration config) {
auto threadedDb = std::make_unique<ThreadedDatabase>();
threadedDb->setObjectName(QStringLiteral("database thread"));
threadedDb->m_db->moveToThread(&*threadedDb);
threadedDb->d->db.moveToThread(&*threadedDb);
threadedDb->start();
threadedDb->m_db->establishConnection(config);
threadedDb->d->db.establishConnection(config);
return threadedDb;
}
ThreadedDatabase::ThreadedDatabase()
: QThread()
, m_db(std::make_unique<asyncdatabase_private::AsyncSqlDatabase>())
, d(std::make_unique<ThreadedDatabasePrivate>())
{
}
@@ -270,3 +302,8 @@ ThreadedDatabase::~ThreadedDatabase()
quit();
wait();
}
asyncdatabase_private::AsyncSqlDatabase &ThreadedDatabase::db()
{
return d->db;
}
+39 -44
View File
@@ -10,10 +10,6 @@ class QSqlDatabase;
#include <QString>
#include <QObject>
#include <QFuture>
#include <QFutureWatcher>
#include <QSqlQuery>
#include <QDebug>
#include <QThread>
#include <QSharedDataPointer>
#include <memory>
@@ -23,9 +19,6 @@ class QSqlDatabase;
#include "asyncdatabase_p.h"
using Row = std::vector<QVariant>;
using Rows = std::vector<Row>;
struct DatabaseConfigurationPrivate;
///
@@ -66,36 +59,15 @@ private:
///
const QString DATABASE_TYPE_SQLITE = QStringLiteral("QSQLITE");
///
/// Parse the row into a tuple of the given types.
/// The types need to be deserializable from QVariant.
///
template <typename ...RowTypes>
auto parseRow(const Row &row) -> std::tuple<RowTypes...>
template <typename T>
concept FromSql = requires(T v, typename T::ColumnTypes row)
{
auto tuple = std::tuple<RowTypes...>();
int i = 0;
asyncdatabase_private::iterate_tuple(tuple, [&](auto &elem) {
elem = row.at(i).value<std::decay_t<decltype(elem)>>();
i++;
});
return tuple;
}
typename T::ColumnTypes;
{ std::tuple(row) } -> std::same_as<typename T::ColumnTypes>;
{ T::fromSql(row) } -> std::same_as<T>;
};
///
/// Parse the rows into a list of tuples of the given types.
/// The types need to be deserializable from QVariant.
///
template <typename ...RowTypes>
auto parseRows(const Rows &rows) -> std::vector<std::tuple<RowTypes...>> {
std::vector<std::tuple<RowTypes...>> parsedRows;
parsedRows.reserve(rows.size());
for (const auto &row : rows) {
parsedRows.push_back(parseRow<RowTypes...>(row));
}
return parsedRows;
}
struct ThreadedDatabasePrivate;
class ThreadedDatabase : public QThread {
public:
@@ -113,8 +85,9 @@ public:
/// \return
///
template <typename ...Args>
requires std::conjunction_v<std::is_convertible<Args, QVariant>...>
auto execute(const QString &sqlQuery, Args... args) -> QFuture<void> {
return m_db->execute(sqlQuery, args...);
return db().execute(sqlQuery, args...);
}
///
@@ -127,7 +100,7 @@ public:
/// \return
///
auto runMigrations(const QString &migrationDirectory) -> QFuture<void> {
return m_db->runMigrations(migrationDirectory);
return db().runMigrations(migrationDirectory);
}
///
@@ -136,22 +109,44 @@ public:
/// \param parameters to bind to the placeholders in the SQL query.
/// \return Future of a list of lists of variants.
///
template <typename ...Args>
auto getResults(const QString &sqlQuery, Args... args) -> QFuture<Rows> {
return m_db->getResults(sqlQuery, args...);
/// T must provide a tuple of the column types as `using ColumnTypes = std::tuple<...>`
/// and a `static T fromSql(ColumnTypes tuple)` deserialization method.
///
template <typename T, typename ...Args>
requires FromSql<T> && std::conjunction_v<std::is_convertible<Args, QVariant>...>
auto getResults(const QString &sqlQuery, Args... args) -> QFuture<std::vector<T>> {
return db().getResults<T, Args...>(sqlQuery, args...);
}
///
/// \brief Like getResults, but for retrieving just one row.
///
template <typename ...Args>
auto getResult(const QString &sqlQuery, Args... args) -> QFuture<std::optional<Row>> {
return m_db->getResult(sqlQuery, args...);
template <typename T, typename ...Args>
requires FromSql<T> && std::conjunction_v<std::is_convertible<Args, QVariant>...>
auto getResult(const QString &sqlQuery, Args... args) -> QFuture<std::optional<T>> {
return db().getResult<T, Args...>(sqlQuery, args...);
}
ThreadedDatabase();
~ThreadedDatabase();
private:
std::unique_ptr<asyncdatabase_private::AsyncSqlDatabase> m_db;
asyncdatabase_private::AsyncSqlDatabase &db();
std::unique_ptr<ThreadedDatabasePrivate> d;
};
///
/// \brief Deserialize just a single value from a query result.
///
template <typename T>
struct SingleValue {
using ColumnTypes = std::tuple<T>;
static SingleValue fromSql(ColumnTypes tuple) {
auto [value] = tuple;
return SingleValue { value };
}
T value;
};
+53 -23
View File
@@ -60,11 +60,35 @@ void connectFuture(const QFuture<T> &future, QObjectDerivedType *self, const Fun
using Row = std::vector<QVariant>;
using Rows = std::vector<Row>;
template <typename RowTypesTuple>
auto parseRow(const Row &row) -> RowTypesTuple
{
auto tuple = RowTypesTuple();
int i = 0;
asyncdatabase_private::iterate_tuple(tuple, [&](auto &elem) {
elem = row.at(i).value<std::decay_t<decltype(elem)>>();
i++;
});
return tuple;
}
template <typename RowTypesTuple>
auto parseRows(const Rows &rows) -> std::vector<RowTypesTuple> {
std::vector<RowTypesTuple> parsedRows;
parsedRows.reserve(rows.size());
std::ranges::transform(rows, std::back_inserter(parsedRows), parseRow<RowTypesTuple>);
return parsedRows;
}
void runDatabaseMigrations(QSqlDatabase &database, const QString &migrationDirectory);
void printSqlError(const QSqlQuery &query);
// non-template helper functions to allow patching a much as possible in the shared library
QSqlQuery prepareQuery(const QSqlDatabase &database, const QString &sqlQuery);
QSqlQuery runQuery(QSqlQuery &query);
struct AsyncSqlDatabasePrivate;
class AsyncSqlDatabase : public QObject {
Q_OBJECT
@@ -72,32 +96,40 @@ class AsyncSqlDatabase : public QObject {
public:
QFuture<void> establishConnection(const DatabaseConfiguration &configuration);
template <typename ...Args>
auto getResults(const QString &sqlQuery, Args... args) -> QFuture<Rows> {
return runAsync<Rows>([=, this] {
template <typename T, typename ...Args>
auto getResults(const QString &sqlQuery, Args... args) -> QFuture<std::vector<T>> {
return runAsync([=, this] {
auto query = executeQuery(sqlQuery, args...);
return retrieveRows(query);
const auto rows = parseRows<typename T::ColumnTypes>(retrieveRows(query));
std::vector<T> deserializedRows;
std::ranges::transform(rows, std::back_inserter(deserializedRows), T::fromSql);
return deserializedRows;
});
}
template <typename ...Args>
auto getResult(const QString &sqlQuery, Args... args) -> QFuture<std::optional<Row>> {
return runAsync<std::optional<Row>>([=, this] {
template <typename T, typename ...Args>
auto getResult(const QString &sqlQuery, Args... args) -> QFuture<std::optional<T>> {
return runAsync([=, this]() -> std::optional<T> {
auto query = executeQuery(sqlQuery, args...);
return retrieveOptionalRow(query);
if (const auto row = retrieveOptionalRow(query)) {
return T::fromSql(parseRow<typename T::ColumnTypes>(*row));
}
return std::nullopt;
});
}
template <typename ...Args>
auto execute(const QString &sqlQuery, Args... args) -> QFuture<void> {
return runAsync<void>([=, this] {
return runAsync([=, this] {
executeQuery(sqlQuery, args...);
});
}
auto runMigrations(const QString &migrationDirectory) -> QFuture<void> {
return runAsync<void>([=, this] {
runDatabaseMigrations(*m_database, migrationDirectory);
return runAsync([=, this] {
runDatabaseMigrations(db(), migrationDirectory);
});
}
@@ -107,26 +139,22 @@ public:
private:
template <typename ...Args>
QSqlQuery executeQuery(const QString &sqlQuery, Args... args) {
auto query = prepareQuery(*m_database, sqlQuery);
auto query = prepareQuery(db(), sqlQuery);
auto argsTuple = std::make_tuple<Args...>(std::move(args)...);
int i = 0;
asyncdatabase_private::iterate_tuple(argsTuple, [&](auto &arg) {
query.bindValue(i, arg);
i++;
});
if (!query.exec()) {
printSqlError(query);
}
return query;
return runQuery(query);
}
template <typename T, typename Functor>
QFuture<T> runAsync(Functor func) {
auto interface = std::make_shared<QFutureInterface<T>>();
template <typename Functor>
QFuture<std::invoke_result_t<Functor>> runAsync(Functor func) {
using ReturnType = std::invoke_result_t<Functor>;
auto interface = std::make_shared<QFutureInterface<ReturnType>>();
QMetaObject::invokeMethod(this, [interface, func] {
if constexpr (!std::is_same_v<T, void>) {
if constexpr (!std::is_same_v<ReturnType, void>) {
auto result = func();
interface->reportResult(result);
} else {
@@ -143,7 +171,9 @@ private:
Rows retrieveRows(QSqlQuery &query);
std::optional<Row> retrieveOptionalRow(QSqlQuery &query);
std::unique_ptr<QSqlDatabase> m_database;
QSqlDatabase &db();
std::unique_ptr<AsyncSqlDatabasePrivate> d;
};
}
+27 -15
View File
@@ -9,6 +9,7 @@
#include <QJsonObject>
#include <QJsonArray>
#include <QFutureInterface>
#include <QCoreApplication>
#include <pybind11/embed.h>
@@ -23,8 +24,8 @@ namespace py = pybind11;
#include <type_traits>
#include <memory>
template <typename R, typename T, typename OP>
std::optional<R> map_optional(const std::optional<T> &optional, OP op) {
template <typename T, typename OP>
std::optional<std::invoke_result_t<OP, T>> mapOptional(const std::optional<T> &optional, OP op) {
if (optional.has_value()) {
if constexpr (std::is_member_function_pointer<OP>::value) {
return (&optional.value()->*op)();
@@ -61,7 +62,7 @@ AsyncYTMusic::AsyncYTMusic(QObject *parent)
//
QFuture<std::vector<search::SearchResultItem>> AsyncYTMusic::search(const QString &query)
{
return invokeAndCatchOnThread<std::vector<search::SearchResultItem>>([=, this]() {
return invokeAndCatchOnThread([=, this]() {
return m_ytm->search(query.toStdString());
});
}
@@ -71,7 +72,7 @@ QFuture<std::vector<search::SearchResultItem>> AsyncYTMusic::search(const QStrin
//
QFuture<artist::Artist> AsyncYTMusic::fetchArtist(const QString &channelId)
{
return invokeAndCatchOnThread<artist::Artist>([=, this]() {
return invokeAndCatchOnThread([=, this]() {
return m_ytm->get_artist(channelId.toStdString());
});
}
@@ -81,7 +82,7 @@ QFuture<artist::Artist> AsyncYTMusic::fetchArtist(const QString &channelId)
//
QFuture<album::Album> AsyncYTMusic::fetchAlbum(const QString &browseId)
{
return invokeAndCatchOnThread<album::Album>([=, this]() {
return invokeAndCatchOnThread([=, this]() {
return m_ytm->get_album(browseId.toStdString());
});
}
@@ -91,7 +92,7 @@ QFuture<album::Album> AsyncYTMusic::fetchAlbum(const QString &browseId)
//
QFuture<std::optional<song::Song>> AsyncYTMusic::fetchSong(const QString &videoId)
{
return invokeAndCatchOnThread<std::optional<song::Song>>([=, this]() {
return invokeAndCatchOnThread([=, this]() {
return m_ytm->get_song(videoId.toStdString());
});
}
@@ -100,7 +101,7 @@ QFuture<std::optional<song::Song>> AsyncYTMusic::fetchSong(const QString &videoI
// fetchPlaylist
//
QFuture<playlist::Playlist> AsyncYTMusic::fetchPlaylist(const QString &playlistId) {
return invokeAndCatchOnThread<playlist::Playlist>([=, this]() {
return invokeAndCatchOnThread([=, this]() {
return m_ytm->get_playlist(playlistId.toStdString());
});
}
@@ -110,7 +111,7 @@ QFuture<playlist::Playlist> AsyncYTMusic::fetchPlaylist(const QString &playlistI
//
QFuture<std::vector<artist::Artist::Album>> AsyncYTMusic::fetchArtistAlbums(const QString &channelId, const QString &params)
{
return invokeAndCatchOnThread<std::vector<artist::Artist::Album>>([=, this]() {
return invokeAndCatchOnThread([=, this]() {
return m_ytm->get_artist_albums(channelId.toStdString(), params.toStdString());
});
}
@@ -120,7 +121,7 @@ QFuture<std::vector<artist::Artist::Album>> AsyncYTMusic::fetchArtistAlbums(cons
//
QFuture<video_info::VideoInfo> AsyncYTMusic::extractVideoInfo(const QString &videoId)
{
return invokeAndCatchOnThread<video_info::VideoInfo>([=, this]() {
return invokeAndCatchOnThread([=, this]() {
return m_ytm->extract_video_info(videoId.toStdString());
});
}
@@ -130,10 +131,19 @@ QFuture<video_info::VideoInfo> AsyncYTMusic::extractVideoInfo(const QString &vid
//
QFuture<watch::Playlist> AsyncYTMusic::fetchWatchPlaylist(const std::optional<QString> &videoId, const std::optional<QString> &playlistId)
{
return invokeAndCatchOnThread<watch::Playlist>([=, this]() {
return invokeAndCatchOnThread([=, this]() {
return m_ytm->get_watch_playlist(
map_optional<std::string>(videoId, &QString::toStdString),
map_optional<std::string>(playlistId, &QString::toStdString)
mapOptional(videoId, &QString::toStdString),
mapOptional(playlistId, &QString::toStdString)
);
});
}
QFuture<Lyrics> AsyncYTMusic::fetchLyrics(const QString &browseId)
{
return invokeAndCatchOnThread([=, this]() {
return m_ytm->get_lyrics(
browseId.toStdString()
);
});
}
@@ -152,17 +162,19 @@ YTMusicThread::~YTMusicThread()
AsyncYTMusic *YTMusicThread::operator->()
{
return &m_ytm;
return m_ytm;
}
AsyncYTMusic &YTMusicThread::get()
{
return m_ytm;
return *m_ytm;
}
YTMusicThread::YTMusicThread()
: m_ytm(new AsyncYTMusic())
{
connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, m_ytm, &QObject::deleteLater);
setObjectName(QStringLiteral("YTMusicAPI"));
m_ytm.moveToThread(this);
m_ytm->moveToThread(this);
start();
}
+15 -7
View File
@@ -13,6 +13,8 @@
#include <ytmusic.h>
constexpr QStringView YTMUSIC_WEB_BASE_URL = u"https://music.youtube.com/";
Q_DECLARE_METATYPE(std::vector<artist::Artist::Album>);
Q_DECLARE_METATYPE(std::vector<search::SearchResultItem>)
Q_DECLARE_METATYPE(artist::Artist)
@@ -54,17 +56,19 @@ template <typename T, typename QObjectDerivedType, typename Function>
void connectFuture(const QFuture<T> &future, QObjectDerivedType *self, const Function &fun) {
auto watcher = std::make_shared<QFutureWatcher<T>>();
watcher->setFuture(future);
QObject::connect(watcher.get(), &QFutureWatcherBase::finished, self, [self, watcher, fun, future] {
QObject::connect(watcher.get(), &QFutureWatcherBase::finished, self, [self, watcher, fun, future]() {
if constexpr (std::is_same_v<void, T>) {
if constexpr (std::is_member_function_pointer_v<Function>) {
(self->*fun)();
} else {
Q_UNUSED(self);
fun();
}
} else if (future.resultCount() > 0) {
if constexpr (std::is_member_function_pointer_v<Function>) {
(self->*fun)(watcher->result());
} else {
Q_UNUSED(self);
fun(watcher->result());
}
}
@@ -75,12 +79,13 @@ void connectFuture(const QFuture<T> &future, QObjectDerivedType *self, const Fun
/// Applies a function to a the contained value of a QFuture once it finishes.
/// @returns a QFuture that finishes once the future given as first argument finished
///
template <typename T, typename U, typename Func>
QFuture<U> mapFuture(const QFuture<T> &future, Func mapFunction) {
template <typename T, typename Func>
QFuture<std::invoke_result_t<Func, T>> mapFuture(const QFuture<T> &future, Func mapFunction) {
using ReturnType = std::invoke_result_t<Func, T>;
auto watcher = std::make_shared<QFutureWatcher<T>>();
watcher->setFuture(future);
auto interface = std::make_shared<QFutureInterface<U>>();
auto interface = std::make_shared<QFutureInterface<ReturnType>>();
QObject::connect(watcher.get(), &QFutureWatcherBase::finished, watcher.get(), [interface, watcher, mapFunction] {
auto result = watcher->result();
auto mapped = mapFunction(std::move(result));
@@ -116,6 +121,8 @@ public:
QFuture<watch::Playlist> fetchWatchPlaylist(const std::optional<QString> &videoId = std::nullopt ,
const std::optional<QString> &playlistId = std::nullopt);
QFuture<Lyrics> fetchLyrics(const QString &browseId);
Q_SIGNAL void errorOccurred(const QString &error);
protected:
@@ -123,8 +130,9 @@ protected:
private:
/// Invokes the given function on the thread of the YTMusic object, and handles exceptions that occur while invoking it.
template <typename ReturnType>
QFuture<ReturnType> invokeAndCatchOnThread(const std::function<ReturnType()> &fun) {
template <typename Func>
QFuture<std::invoke_result_t<Func>> invokeAndCatchOnThread(Func fun) {
using ReturnType = std::invoke_result_t<Func>;
auto interface = std::make_shared<QFutureInterface<ReturnType>>();
QMetaObject::invokeMethod(this, [=, this]() {
try {
@@ -154,5 +162,5 @@ public:
private:
YTMusicThread();
AsyncYTMusic m_ytm;
AsyncYTMusic *m_ytm;
};
+45 -24
View File
@@ -13,39 +13,65 @@ Kirigami.ScrollablePage {
property alias browseId: albumModel.browseId
title: albumModel.title
actions {
main: Kirigami.Action {
icon.name: "media-playback-start"
text: i18n("Play")
onTriggered: {
applicationWindow().playPlaylist(albumModel.playlistId)
}
}
}
ListView {
header: Kirigami.ItemViewHeader {
backgroundImage.source: albumModel.thumbnailUrl
id: songList
header: ListHeader {
visibleActions: [
Kirigami.Action {
icon.name: "media-playback-start"
text: i18n("Play")
onTriggered: {
applicationWindow().playPlaylist(albumModel.playlistId)
}
},
Kirigami.Action {
icon.name: "media-playlist-shuffle"
text: i18n("Shuffle")
onTriggered: {
applicationWindow().playShufflePlaylist(albumModel.playlistId)
}
}
]
overflowActions: [
Kirigami.Action {
text: i18n("Open in Browser")
icon.name: "internet-services"
onTriggered: Qt.openUrlExternally(albumModel.webUrl)
}
]
title: albumModel.title
imageSourceURL: albumModel.thumbnailUrl
subtitle: i18n("Album • %1" , albumModel.artists)
width: songList.width
}
reuseItems: true
model: AlbumModel {
id: albumModel
}
SongMenu {
id: menu
}
delegate: Kirigami.SwipeListItem {
id: delegateItem
required property string title
required property string videoId
required property var artists
required property string thumbnailUrl
required property string artistsDisplayString
required property int index
RowLayout {
Layout.fillHeight: true
Kirigami.Icon {
Layout.fillHeight: true
source: "emblem-music-symbolic"
Controls.Label {
text: (index + 1)
font.bold: true
leftPadding: 5
color: Kirigami.Theme.disabledTextColor
Layout.preferredWidth: 30
}
Controls.Label {
@@ -57,18 +83,13 @@ Kirigami.ScrollablePage {
actions: [
Kirigami.Action {
icon.name: "go-next"
text: i18n("Play Next")
onTriggered: UserPlaylistModel.playNext(delegateItem.videoId, delegateItem.title, delegateItem.artists)
},
Kirigami.Action {
icon.name: "media-playlist-append"
text: i18n("Add to Playlist")
onTriggered: UserPlaylistModel.append(delegateItem.videoId, delegateItem.title, delegateItem.artists)
icon.name: "view-more-horizontal-symbolic"
text: i18n("More")
onTriggered: menu.openForSong(delegateItem.videoId, delegateItem.title, delegateItem.artists, delegateItem.artistsDisplayString)
}
]
onClicked: play(videoId)
onClicked: play(delegateItem.videoId)
}
Controls.BusyIndicator {
+45 -27
View File
@@ -11,13 +11,42 @@ import org.kde.ytmusic 1.0
Kirigami.ScrollablePage {
property alias channelId: artistModel.channelId
property string radioId
property string shuffleId
title: artistModel.title
SongMenu {
id: menu
}
ListView {
header: Kirigami.ItemViewHeader {
backgroundImage.source: artistModel.thumbnailUrl
id: songList
header: ListHeader {
visibleActions: [
Kirigami.Action {
text: i18n("Radio")
icon.name: "radio"
onTriggered: playPlaylist(radioId)
},
Kirigami.Action {
text: i18n("Shuffle")
icon.name: "media-playlist-shuffle"
onTriggered: playPlaylist(shuffleId)
}
]
overflowActions: [
Kirigami.Action {
text: i18n("Open in Browser")
icon.name: "internet-services"
onTriggered: Qt.openUrlExternally(artistModel.webUrl)
}
]
title: artistModel.title
imageSourceURL: artistModel.thumbnailUrl
subtitle: i18n("Artist")
rounded: true
width: songList.width
}
reuseItems: true
@@ -38,15 +67,16 @@ Kirigami.ScrollablePage {
onOpenVideo: (videoId, title) => {
videoPlayMessage.text = i18n("Video playback is not supported yet. Do you want to play only the audio of \"%1\"?", title)
videoPlayMessage.visible = true
videoPlayMessage.okAction = function() {
videoPlayMessage.okAction = () => {
play(videoId)
videoPlayMessage.visible = false
}
videoPlayMessage.cancelAction = function() {
videoPlayMessage.cancelAction = () => {
videoPlayMessage.visible = false
}
}
}
section.property: "type"
section.delegate: Kirigami.ListSectionHeader {
text: {
@@ -62,6 +92,7 @@ Kirigami.ScrollablePage {
}
}
}
delegate: Kirigami.SwipeListItem {
id: delegateItem
@@ -70,22 +101,15 @@ Kirigami.ScrollablePage {
required property int index
required property var artists
required property string videoId
required property string thumbnailUrl
RowLayout {
Layout.fillHeight: true
Kirigami.Icon {
Layout.fillHeight: true
source: {
switch (type) {
case ArtistModel.Album:
return "media-album-cover"
case ArtistModel.Single:
case ArtistModel.Song:
return "emblem-music-symbolic"
case ArtistModel.Video:
return "emblem-videos-symbolic"
}
}
RoundedImage {
source: delegateItem.thumbnailUrl
height: 35
width: height
radius:5
}
Controls.Label {
@@ -97,16 +121,10 @@ Kirigami.ScrollablePage {
actions: [
Kirigami.Action {
icon.name: "go-next"
text: i18n("Play Next")
icon.name: "view-more-horizontal-symbolic"
text: i18n("More")
visible: type === ArtistModel.Song
onTriggered: UserPlaylistModel.playNext(delegateItem.videoId, delegateItem.title, delegateItem.artists)
},
Kirigami.Action {
icon.name: "media-playlist-append"
text: i18n("Add to Playlist")
visible: type === ArtistModel.Song
onTriggered: UserPlaylistModel.append(delegateItem.videoId, delegateItem.title, delegateItem.artists)
onTriggered: menu.openForSong(delegateItem.videoId, delegateItem.title, delegateItem.artists, artistModel.title)
}
]
+286 -44
View File
@@ -10,106 +10,348 @@ import org.kde.kirigami 2.14 as Kirigami
import org.kde.ytmusic 1.0
Kirigami.ScrollablePage {
objectName: "libraryPage"
globalToolBarStyle: Kirigami.ApplicationHeaderStyle.None
ColumnLayout {
Kirigami.Heading {
text: i18n("Favourites")
RowLayout {
Layout.fillWidth: true
Kirigami.Heading {
text: i18n("Favourites")
Layout.alignment: Qt.AlignLeft
}
// Spacer
Item {
Layout.fillWidth: true
}
Controls.ToolButton {
text: i18n("Show All")
Layout.alignment: Qt.AlignRight
icon.name: "arrow-right"
onClicked: pageStack.layers.push("qrc:/PlaybackHistory.qml", {
"dataModel": Library.favourites,
"title": i18n("Favourite Songs")
})
}
}
Controls.ScrollView {
Layout.fillWidth: true
RowLayout {
spacing: 20
Repeater {
Layout.fillWidth: true
model: Library.favourites
delegate: ColumnLayout {
id: delegateItem
required property string title
required property string artist
required property var artists
required property string artistsDisplayString
required property string videoId
Layout.fillWidth: false
Layout.maximumWidth: 200
Kirigami.Card {
id: card
Layout.preferredHeight: 200
onClicked: play(delegateItem.videoId)
Kirigami.ShadowedRectangle {
color: Kirigami.Theme.backgroundColor
id: favCover
MouseArea {
id: favArea
anchors.fill: parent
onClicked: play(delegateItem.videoId)
hoverEnabled: !Kirigami.Settings.hasTransientTouchInput
onEntered: {
if (!Kirigami.Settings.hasTransientTouchInput){
favSelected.visible = true
playAnimationPosition.running = true
playAnimationOpacity.running = true
}
}
onExited: favSelected.visible = false
}
Layout.margins: 5
width: 200
height: 200
radius: 10
shadow.size: 15
shadow.xOffset: 5
shadow.yOffset: 5
shadow.color: Qt.rgba(0, 0, 0, 0.2)
ThumbnailSource {
id: thumbnailSource
videoId: delegateItem.videoId
}
header: Image {
sourceSize: "200x200"
RoundedImage {
source: thumbnailSource.cachedPath
fillMode: Image.PreserveAspectCrop
asynchronous: true
height: 200
width: height
radius: 10
}
Rectangle {
id: favSelected
Rectangle {
anchors.fill: parent
color: Kirigami.Theme.hoverColor
radius: 10
opacity: 0.2
}
Item{
height: parent.height
width: parent.width
NumberAnimation on opacity{
id: playAnimationOpacity
easing.type: Easing.OutCubic
running: false
from: 0; to: 1
}
NumberAnimation on y {
id: playAnimationPosition
easing.type: Easing.OutCubic
running: false
from: 20; to: 0
duration: 100
}
Rectangle {
height: 45
width: 45
radius: 50
color: Kirigami.Theme.hoverColor
opacity: 0.8
anchors.centerIn: parent
}
Kirigami.Icon {
x: 100 - 0.43 * height
y: 100 - 0.5 * height
color: "white"
source: "media-playback-start"
}
}
visible: false
anchors.fill: parent
radius: 9
border.color: Kirigami.Theme.hoverColor
border.width: 2
color: "transparent"
}
}
RowLayout {
ColumnLayout {
Controls.Label {
text: delegateItem.title
Layout.maximumWidth: 200
Layout.fillWidth: true
leftPadding: 5
elide: Text.ElideRight
}
Controls.Label {
Layout.fillWidth: true
Layout.maximumWidth: 200
leftPadding: 5
color: Kirigami.Theme.disabledTextColor
text: delegateItem.artistsDisplayString
elide: Text.ElideRight
}
}
Controls.ToolButton {
Layout.fillHeight: true
icon.name: "view-more-horizontal-symbolic"
onPressed: favMenu.openForSong(delegateItem.videoId,
delegateItem.title,
delegateItem.artists,
delegateItem.artistsDisplayString)
SongMenu {
id:favMenu
}
}
actions: [
Kirigami.Action {
icon.name: "delete"
onTriggered: Library.removeFavourite(delegateItem.videoId)
}
]
}
Controls.Label {
Layout.maximumWidth: 200
text: delegateItem.title
elide: Qt.ElideRight
Item {
height: 5
}
}
}
}
}
Kirigami.Heading {
text: i18n("Most played")
Item {
height: 20
}
RowLayout {
Layout.fillWidth: true
Kirigami.Heading {
text: i18n("Most played")
Layout.alignment: Qt.AlignLeft
}
// Spacer
Item {
Layout.fillWidth: true
}
Controls.ToolButton {
text: i18n("Show All")
Layout.alignment: Qt.AlignRight
icon.name: "arrow-right"
onClicked: pageStack.layers.push("qrc:/PlaybackHistory.qml", {
"dataModel": Library.playbackHistory,
"title": i18n("Played Songs")
})
}
}
Controls.ScrollView {
Layout.fillWidth: true
RowLayout {
spacing: 20
Repeater {
Layout.fillWidth: true
model: Library.mostPlayed
delegate: ColumnLayout {
id: mpdelegateItem
required property string title
required property string artist
required property var artists
required property string artistsDisplayString
required property string videoId
Layout.fillWidth: false
Layout.maximumWidth: 200
Kirigami.Card {
id: mpcard
Layout.preferredHeight: 200
onClicked: play(mpdelegateItem.videoId)
Kirigami.ShadowedRectangle {
color: Kirigami.Theme.backgroundColor
id: recCover
MouseArea {
id: recArea
anchors.fill: parent
onClicked: play(mpdelegateItem.videoId)
hoverEnabled: !Kirigami.Settings.hasTransientTouchInput
onEntered: {
if (!Kirigami.Settings.hasTransientTouchInput)
recSelected.visible = true
playAnimationPositionRec.running = true
playAnimationOpacityRec.running = true
}
onExited: recSelected.visible = false
}
Layout.margins: 5
width: 200
height: 200
radius: 10
shadow.size: 15
shadow.xOffset: 5
shadow.yOffset: 5
shadow.color: Qt.rgba(0, 0, 0, 0.2)
ThumbnailSource {
id: mpthumbnailSource
videoId: mpdelegateItem.videoId
}
header: Image {
sourceSize: "200x200"
RoundedImage {
source: mpthumbnailSource.cachedPath
fillMode: Image.PreserveAspectCrop
asynchronous: true
height: 200
width: height
radius: 10
}
Rectangle {
id: recSelected
actions: [
Kirigami.Action {
icon.name: "delete"
onTriggered: Library.removeFavourite(mpdelegateItem.videoId)
Rectangle {
anchors.fill: parent
color: Kirigami.Theme.hoverColor
radius: 10
opacity: 0.2
}
Item{
height: parent.height
width: parent.width
NumberAnimation on opacity{
id: playAnimationOpacityRec
easing.type: Easing.OutCubic
running: false
from: 0; to: 1
}
NumberAnimation on y {
id: playAnimationPositionRec
easing.type: Easing.OutCubic
running: false
from: 20; to: 0
duration: 100
}
Rectangle {
height: 45
width: 45
radius: 50
color: Kirigami.Theme.hoverColor
opacity: 0.8
anchors.centerIn: parent
}
Kirigami.Icon {
x: 100 - 0.43 * height
y: 100 - 0.5 * height
color: "white"
source: "media-playback-start"
}
}
]
visible: false
anchors.fill: parent
radius: 9
border.color: Kirigami.Theme.hoverColor
border.width: 2
color: "transparent"
}
}
Controls.Label {
Layout.maximumWidth: 200
text: mpdelegateItem.title
elide: Qt.ElideRight
RowLayout {
ColumnLayout {
Controls.Label {
text: mpdelegateItem.title
Layout.maximumWidth: 200
Layout.fillWidth: true
leftPadding: 5
elide: Text.ElideRight
}
Controls.Label {
Layout.fillWidth: true
Layout.maximumWidth: 200
leftPadding: 5
color: Kirigami.Theme.disabledTextColor
text: mpdelegateItem.artistsDisplayString
elide: Text.ElideRight
}
}
Controls.ToolButton {
Layout.fillHeight: true
icon.name: "view-more-horizontal-symbolic"
onPressed: mpMenu.openForSong(mpdelegateItem.videoId,
mpdelegateItem.title,
mpdelegateItem.artists,
mpdelegateItem.artistsDisplayString)
SongMenu{
id:mpMenu
}
}
}
Item {
height: 5
}
}
}
+143
View File
@@ -0,0 +1,143 @@
// SPDX-FileCopyrightText: 2022 Mathis Brüchert <[email protected]>
//
// SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
import QtQuick 2.15
import org.kde.kirigami 2.14 as Kirigami
import QtQuick.Controls 2.14 as Controls
import QtQuick.Layouts 1.3
import QtGraphicalEffects 1.0
import org.kde.ytmusic 1.0
Item {
id:root
required property string imageSourceURL
property bool rounded : false
required property string title
property string subtitle
property list<Kirigami.Action> visibleActions
property list<Kirigami.Action> overflowActions
height: root.width > 500 ? 200 : 400
Item {
anchors.fill: parent
Image {
scale: 1.8
anchors.fill: parent
asynchronous: true
source: imageSourceURL
fillMode: Image.PreserveAspectCrop
sourceSize.width: 512
sourceSize.height: 512
}
layer.enabled: true
layer.effect: HueSaturation {
cached: true
saturation: 1.9
layer.enabled: true
layer.effect: FastBlur {
cached: true
radius: 100
}
}
}
Rectangle {
anchors.fill: parent
gradient: Gradient{
GradientStop { position: -1.0; color: "transparent" }
GradientStop { position: 1.0; color: Kirigami.Theme.backgroundColor }
}
}
GridLayout {
width: parent.width
flow: root.width > 500?GridLayout.LeftToRight:GridLayout.TopToBottom
Kirigami.ShadowedRectangle {
color: Kirigami.Theme.backgroundColor
Layout.margins: 30
width: 150
height: width
radius: rounded ? 100 : 10
shadow.size: 15
shadow.xOffset: 5
shadow.yOffset: 5
shadow.color: Qt.rgba(0, 0, 0, 0.2)
RoundedImage {
source: imageSourceURL
height: parent.height
width: height
radius: rounded ? 100 : 10
}
}
ColumnLayout {
Layout.leftMargin: 30
Layout.fillWidth: true
Controls.Label {
Layout.fillWidth: true
text: title
font.bold: true
font.pixelSize: 22
elide: Qt.ElideRight
}
Controls.Label {
Layout.fillWidth: true
text: subtitle
elide: Qt.ElideRight
}
RowLayout {
visible: root.visibleActions.length>0
Layout.topMargin: 30
Layout.rightMargin: 30
Repeater {
model: root.visibleActions
delegate: Controls.RoundButton{
required property var modelData
Layout.fillWidth: root.width <= 500
leftPadding: 20
rightPadding: 20
icon.name: modelData.icon.name
text:modelData.text
onClicked: modelData.triggered()
}
}
Controls.Menu {
id: overflowMenu
Instantiator {
model: root.overflowActions
onObjectAdded: overflowMenu.insertItem(index, object)
onObjectRemoved: overflowMenu.removeItem(object)
delegate: Controls.MenuItem {
required property var modelData
icon.name: modelData.icon.name
text:modelData.text
onTriggered: modelData.triggered()
}
}
}
Controls.RoundButton {
onClicked: overflowMenu.popup()
visible: root.overflowActions.length > 0
icon.name: "overflow-menu"
}
}
}
}
}
+509
View File
@@ -0,0 +1,509 @@
// SPDX-FileCopyrightText: 2020-2022 Devin Lin <[email protected]>
//
// SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import QtGraphicalEffects 1.0
import QtMultimedia 5.12
import org.kde.kirigami 2.19 as Kirigami
import org.kde.ytmusic 1.0
Item {
id: root
required property var info // VideoInfoExtractor object
required property var audio // Audio object
signal requestClose()
// background image
Item {
anchors.fill: parent
Rectangle {
anchors.fill: parent
color: Qt.rgba(25, 25, 30, 1)
}
Image {
scale: 1.8
anchors.fill: parent
asynchronous: true
source: info.thumbnail
fillMode: Image.PreserveAspectCrop
sourceSize.width: 512
sourceSize.height: 512
}
layer.enabled: true
layer.effect: HueSaturation {
cached: true
lightness: -0.5
saturation: 1.9
layer.enabled: true
layer.effect: FastBlur {
cached: true
radius: 100
}
}
}
Rectangle {
anchors.fill: parent
gradient: Gradient{
GradientStop { position: 0.0; color: "transparent" }
GradientStop { position: 1.1; color: "black" }
}
}
// content
ColumnLayout {
anchors.fill: parent
spacing: 0
// hide arrow button
ToolButton {
id: closeButton
Layout.alignment: Qt.AlignHCenter | Qt.AlignTop
Layout.maximumHeight: parent.height
Layout.preferredHeight: Kirigami.Units.gridUnit * 3
Layout.maximumWidth: parent.height
Layout.preferredWidth: Kirigami.Units.gridUnit * 3
Layout.topMargin: Kirigami.Units.smallSpacing
icon.name: "arrow-down"
icon.color: "white"
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
onClicked: root.requestClose()
}
// top tab bar
ScrollView {
Layout.alignment: Qt.AlignHCenter
Layout.maximumWidth: parent.width
RowLayout {
id: tabBar
ToolButton {
id: nowPlayingTab
padding: Kirigami.Units.largeSpacing
onClicked: swipeView.setCurrentIndex(0)
Layout.preferredHeight: Kirigami.Units.gridUnit * 2
Layout.preferredWidth: Kirigami.Units.gridUnit * 9
contentItem: Label {
text: i18n("Now Playing")
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
elide: Text.ElideRight
color: "white" // we need to ensure the label is white
}
// selection indicator
Rectangle {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
color: Kirigami.Theme.highlightColor
height: 1
visible: swipeView.currentIndex == 0
}
}
ToolButton {
id: queueTab
padding: Kirigami.Units.largeSpacing
onClicked: swipeView.setCurrentIndex(1)
Layout.preferredHeight: Kirigami.Units.gridUnit * 2
Layout.preferredWidth: Kirigami.Units.gridUnit * 9
contentItem: Label {
text: i18n("Queue")
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
elide: Text.ElideRight
color: "white"
}
// selection indicator
Rectangle {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
color: Kirigami.Theme.highlightColor
height: 1
visible: swipeView.currentIndex == 1
}
}
ToolButton {
id: lyricsTab
padding: Kirigami.Units.largeSpacing
onClicked: swipeView.setCurrentIndex(2)
Layout.preferredHeight: Kirigami.Units.gridUnit * 2
Layout.preferredWidth: Kirigami.Units.gridUnit * 9
contentItem: Label {
text: i18n("Lyrics")
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
elide: Text.ElideRight
color: "white"
}
// selection indicator
Rectangle {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
color: Kirigami.Theme.highlightColor
height: 1
visible: swipeView.currentIndex == 2
}
}
}
}
// tabs
Item {
height: 30
}
SwipeView {
id: swipeView
property double specWidth: {
let allowedWidth = root.width - Kirigami.Units.largeSpacing * 4;
let allowedHeight = root.height - Kirigami.Units.largeSpacing * 8 - (closeButton.height + tabBar.height + bottomPlayerControls.height);
if (allowedWidth > allowedHeight) {
return allowedHeight;
} else {
return allowedWidth;
}
}
Layout.alignment: Qt.AlignHCenter | Qt.AlignTop
Layout.fillWidth: true
Layout.preferredHeight: specWidth
// music art
Item {
height: swipeView.width
width: swipeView.height
Kirigami.ShadowedRectangle {
anchors.centerIn: parent
width: swipeView.specWidth
height: swipeView.specWidth
color: "transparent"
radius: 10
shadow.size: 15
shadow.xOffset: 5
shadow.yOffset: 5
shadow.color: Qt.rgba(0, 0, 0, 0.2)
RoundedImage {
source: info.thumbnail
height: parent.height
width: height
radius: 10
}
}
}
// playlist
ColumnLayout{
width: swipeView.width
height: swipeView.height
ScrollView {
Layout.maximumWidth: 900
Layout.fillWidth: true
Layout.fillHeight: true
Layout.alignment: Qt.AlignHCenter
ListView {
clip: true
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
BusyIndicator {
anchors.centerIn: parent
visible: UserPlaylistModel.loading || UserPlaylistModel.loading
}
model: UserPlaylistModel
delegate: Kirigami.SwipeListItem {
id: delegateItem
required property string title
required property string videoId
required property string artists
required property bool isCurrent
backgroundColor: 'transparent'
highlighted: isCurrent
onClicked: UserPlaylistModel.skipTo(videoId)
ColumnLayout {
Layout.fillWidth: true
Kirigami.Heading {
elide: Text.ElideRight
Layout.fillWidth: true
level: 2
text: title
}
Label {
elide: Text.ElideRight
Layout.fillWidth: true
text: artists
}
}
actions: [
Kirigami.Action {
text: i18n("Remove Track")
icon.name: "list-remove"
icon.color: "white"
onTriggered: UserPlaylistModel.remove(delegateItem.videoId)
}
]
}
}
}
}
ColumnLayout{
width: swipeView.width
height: swipeView.height
ScrollView {
Layout.maximumWidth: 900
contentWidth: -1
Layout.fillWidth: true
Layout.fillHeight: true
Layout.alignment: Qt.AlignHCenter
clip: true
//contentY: audio.position / audio.duration
Label {
padding: 20
text: UserPlaylistModel.lyrics
color: "white"
}
}
}
}
ColumnLayout {
id: bottomPlayerControls
Layout.topMargin: Kirigami.Units.largeSpacing
Layout.leftMargin: Kirigami.Units.gridUnit * 2
Layout.rightMargin: Kirigami.Units.gridUnit * 2
Layout.bottomMargin: Kirigami.Units.gridUnit * 2
// song name
Label {
id: mainLabel
text: info.title ? info.title : i18n("No media playing")
Layout.fillWidth: true
horizontalAlignment: Text.AlignHCenter
elide: Text.ElideRight
maximumLineCount: 1
// Hardcoded because the footerbar blur always makes a dark-ish
// background, so we don't want to use a color scheme color that
// might also be dark
color: "white"
font.pointSize: Kirigami.Theme.defaultFont.pointSize * 1.5
font.weight: Font.Bold
font.bold: true
}
// song artist
Kirigami.Heading {
id: authorLabel
text: info.artist ? info.artist : info.channel
Layout.fillWidth: true
horizontalAlignment: Text.AlignHCenter
elide: Text.ElideRight
maximumLineCount: 1
// Hardcoded because the footerbar blur always makes a dark-ish
// background, so we don't want to use a color scheme color that
// might also be dark
color: "white"
opacity: 0.9
font.pointSize: Kirigami.Theme.defaultFont.pointSize * 1.3
font.weight: Font.Bold
font.bold: true
}
// slider row
RowLayout {
Layout.topMargin: Kirigami.Units.gridUnit * 2
spacing: Kirigami.Units.smallSpacing
Label {
Layout.alignment: Qt.AlignVCenter
color: "white"
visible: info.title
text: PlayerUtils.formatTimestamp(audio.position)
}
Slider {
Layout.alignment: Qt.AlignVCenter
Layout.fillWidth: true
from: 0
to: audio.duration
value: audio.position
enabled: audio.seekable
onMoved: {
console.log("Value:", value);
audio.seek(Math.floor(value));
}
Behavior on value {
NumberAnimation {
duration: 1000
}
}
}
Label {
Layout.alignment: Qt.AlignVCenter
color: "white"
visible: info.title
text: PlayerUtils.formatTimestamp(audio.duration)
}
}
RowLayout {
Layout.topMargin: Kirigami.Units.largeSpacing
Layout.alignment: Qt.AlignCenter
Layout.fillWidth: true
spacing: Kirigami.Units.largeSpacing
// ensure white icons
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
ToolButton {
id: favouriteButton
readonly property QtObject favouriteWatcher: Library.favouriteWatcher(info.videoId)
Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
Layout.preferredHeight: Kirigami.Units.gridUnit * 2.5
Layout.maximumWidth: height
Layout.preferredWidth: height
onClicked: {
if (favouriteWatcher) {
if (favouriteWatcher.isFavourite) {
Library.removeFavourite(info.videoId)
// This would insert slightly ugly data into the database, but let's hope the song is already saved
} else {
let index = UserPlaylistModel.index(UserPlaylistModel.currentIndex, 0)
let videoId = UserPlaylistModel.data(index, UserPlaylistModel.VideoId)
let title = UserPlaylistModel.data(index, UserPlaylistModel.Title)
let artist = UserPlaylistModel.data(index, UserPlaylistModel.Artists)
let album = UserPlaylistModel.data(index, UserPlaylistModel.Album)
Library.addFavourite(videoId, title, artist, album)
}
}
}
icon.name: favouriteWatcher ? (favouriteWatcher.isFavourite ? "starred-symbolic" : "non-starred-symbolic") : ""
icon.width: Kirigami.Units.gridUnit * 1.5
icon.height: Kirigami.Units.gridUnit * 1.5
icon.color: "white"
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
}
ToolButton {
id: skipBackwardButton
Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
Layout.preferredHeight: Kirigami.Units.gridUnit * 2.5
Layout.maximumWidth: height
Layout.preferredWidth: height
enabled: false
icon.name: "media-skip-backward"
icon.width: Kirigami.Units.gridUnit * 1.5
icon.height: Kirigami.Units.gridUnit * 1.5
icon.color: "white"
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
}
ToolButton {
id: playPauseButton
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
Layout.preferredHeight: Kirigami.Units.gridUnit * 4
Layout.maximumWidth: height
Layout.preferredWidth: height
enabled: info.audioUrl != ""
onClicked: audio.playbackState === Audio.PlayingState ? audio.pause() : audio.play()
icon.name: audio.playbackState === Audio.PlayingState ? "media-playback-pause" : "media-playback-start"
icon.width: Kirigami.Units.gridUnit * 3
icon.height: Kirigami.Units.gridUnit * 3
icon.color: "white"
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
}
ToolButton {
id: skipForwardButton
Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter
Layout.preferredHeight: Kirigami.Units.gridUnit * 2.5
Layout.maximumWidth: height
Layout.preferredWidth: height
enabled: UserPlaylistModel.canSkip
onClicked: UserPlaylistModel.next()
icon.name: "media-skip-forward"
icon.width: Kirigami.Units.gridUnit * 1.5
icon.height: Kirigami.Units.gridUnit * 1.5
icon.color: "white"
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
}
ToolButton {
id: shuffleButton
Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter
Layout.preferredHeight: Kirigami.Units.gridUnit * 2.5
Layout.maximumWidth: height
Layout.preferredWidth: height
onClicked: UserPlaylistModel.shufflePlaylist()
icon.name: "media-playlist-shuffle"
icon.width: Kirigami.Units.gridUnit * 1.5
icon.height: Kirigami.Units.gridUnit * 1.5
icon.color: "white"
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
}
}
}
}
}
+212
View File
@@ -0,0 +1,212 @@
// SPDX-FileCopyrightText: 2020-2022 Devin Lin <[email protected]>
//
// SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import QtGraphicalEffects 1.0
import QtMultimedia 5.12
import org.kde.kirigami 2.19 as Kirigami
import org.kde.ytmusic 1.0
Item {
id: root
z: 2000
required property int progressBarHeight
required property int minimizedPlayerContentHeight
required property var info // VideoInfoExtractor object
required property var audio // Audio object
readonly property bool isWidescreen: width >= Kirigami.Units.gridUnit * 40
signal requestOpen()
Rectangle {
id: miniProgressBar
z: 1
visible: !root.isWidescreen
anchors.top: parent.top
anchors.left: parent.left
height: root.progressBarHeight
color: Kirigami.Theme.highlightColor
width: parent.width * (audio.position / audio.duration)
}
RowLayout {
anchors.fill: parent
spacing: 0
Rectangle {
Layout.fillHeight: true
Layout.fillWidth: true
Layout.maximumWidth: Kirigami.Units.gridUnit * 20
Layout.preferredWidth: Kirigami.Units.gridUnit * 20
color: Qt.rgba(0, 0, 0, trackClick.containsMouse ? 0.1 : trackClick.pressed ? 0.3 : 0)
RowLayout {
anchors.fill: parent
anchors.leftMargin: Kirigami.Units.largeSpacing
spacing: Kirigami.Units.largeSpacing
// track image
Item {
property double imageSize: root.height - Kirigami.Units.largeSpacing * 2
Layout.alignment: Qt.AlignVCenter
Layout.maximumWidth: imageSize
Layout.preferredWidth: imageSize
Layout.maximumHeight: imageSize
Layout.minimumHeight: imageSize
RoundedImage {
id: mainIcon
anchors.fill: parent
visible: !loadingIndicator.visible
source: info.thumbnail
radius: 5
}
BusyIndicator {
id: loadingIndicator
anchors.centerIn: parent
visible: UserPlaylistModel.loading
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
}
}
// track information
ColumnLayout {
Layout.fillWidth: true
Layout.fillHeight: true
Label {
id: mainLabel
text: info.title ? info.title : i18n("No media playing")
textFormat: Text.PlainText
wrapMode: Text.Wrap
Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft
Layout.fillWidth: true
horizontalAlignment: Text.AlignLeft
elide: Text.ElideRight
maximumLineCount: 1
// Hardcoded because the footerbar blur always makes a dark-ish
// background, so we don't want to use a color scheme color that
// might also be dark
color: "white"
font.weight: Font.Bold
}
Label {
id: authorLabel
text: info.artist ? info.artist : info.channel
textFormat: Text.PlainText
wrapMode: Text.Wrap
Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft
Layout.fillWidth: true
horizontalAlignment: Text.AlignLeft
elide: Text.ElideRight
maximumLineCount: 1
// Hardcoded because the footerbar blur always makes a dark-ish
// background, so we don't want to use a color scheme color that
// might also be dark
color: "white"
}
}
}
MouseArea {
id: trackClick
anchors.fill: parent
hoverEnabled: true
onClicked: root.requestOpen()
}
}
RowLayout {
visible: root.isWidescreen
Layout.preferredWidth: 0
Layout.fillHeight: true
Layout.fillWidth: true
Layout.leftMargin: Kirigami.Units.largeSpacing
Layout.rightMargin: Kirigami.Units.largeSpacing
spacing: Kirigami.Units.smallSpacing
Label {
Layout.alignment: Qt.AlignVCenter
color: "white"
visible: info.title
text: PlayerUtils.formatTimestamp(audio.position)
}
Slider {
Layout.alignment: Qt.AlignVCenter
Layout.fillWidth: true
from: 0
to: audio.duration
value: audio.position
enabled: audio.seekable
onMoved: {
console.log("Value:", value);
audio.seek(Math.floor(value));
}
Behavior on value {
NumberAnimation {
duration: 1000
}
}
}
Label {
Layout.alignment: Qt.AlignVCenter
color: "white"
visible: info.title
text: PlayerUtils.formatTimestamp(audio.duration)
}
}
ToolButton {
id: playPauseButton
Layout.preferredHeight: Kirigami.Units.gridUnit * 3
Layout.maximumWidth: height
Layout.preferredWidth: height
enabled: info.audioUrl != ""
onClicked: audio.playbackState === Audio.PlayingState ? audio.pause() : audio.play()
icon.name: audio.playbackState === Audio.PlayingState ? "media-playback-pause" : "media-playback-start"
icon.width: Kirigami.Units.gridUnit
icon.height: Kirigami.Units.gridUnit
icon.color: "white"
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
}
ToolButton {
id: skipForwardButton
Layout.rightMargin: Math.floor(Kirigami.Units.smallSpacing / 2)
Layout.preferredHeight: Kirigami.Units.gridUnit * 3
Layout.maximumWidth: height
Layout.preferredWidth: height
enabled: UserPlaylistModel.canSkip
onClicked: UserPlaylistModel.next()
icon.name: "media-skip-forward"
icon.width: Kirigami.Units.gridUnit
icon.height: Kirigami.Units.gridUnit
icon.color: "white"
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
Kirigami.Theme.inherit: false
}
}
}
+78
View File
@@ -0,0 +1,78 @@
// SPDX-FileCopyrightText: 2022 Jonah Brüchert <[email protected]>
//
// SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
import QtQuick 2.15
import QtQuick.Layouts 1.15
import QtQuick.Controls 2.15 as Controls
import org.kde.kirigami 2.15 as Kirigami
import org.kde.ytmusic 1.0
Kirigami.ScrollablePage {
id: playbackHistoryPage
title: i18n("Unknown list of songs")
property QtObject dataModel
SongMenu {
id:menu
}
ListView {
id: listView
reuseItems: true
Kirigami.PlaceholderMessage {
visible: listView.count < 1
text: i18n("No songs here yet")
anchors.centerIn: parent
}
model: playbackHistoryPage.dataModel
delegate: Kirigami.SwipeListItem {
id: delegateItem
required property string title
required property string videoId
required property string artists
onClicked: {
play(videoId)
}
RowLayout {
ThumbnailSource {
id: thumbnailSource
videoId: delegateItem.videoId
}
RoundedImage {
source: thumbnailSource.cachedPath
height: 35
width: height
radius: 5
}
ColumnLayout {
Controls.Label {
text: delegateItem.title
Layout.fillWidth: true
}
Controls.Label {
Layout.fillWidth: true
color: Kirigami.Theme.disabledTextColor
text: delegateItem.artists
}
}
}
actions: [
Kirigami.Action {
icon.name: "view-more-horizontal-symbolic"
text: i18n("More")
onTriggered: menu.openForSong(delegateItem.videoId, delegateItem.title, delegateItem.artists, delegateItem.artists)
}
]
}
}
}
+373 -224
View File
@@ -1,280 +1,429 @@
// SPDX-FileCopyrightText: 2021 Jonah Brüchert <[email protected]>
// SPDX-FileCopyrightText: 2021 Bart De Vries <[email protected]>
// SPDX-FileCopyrightText: 2020-2022 Devin Lin <[email protected]>
//
// SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick.Controls 2.12 as Controls
import QtMultimedia 5.12
import QtGraphicalEffects 1.0
import org.kde.kirigami 2.12 as Kirigami
import org.kde.ytmusic 1.0
import QtMultimedia 5.12
Item {
Flickable {
id: footerItem
property bool maximized: false
readonly property int progressBarHeight: Kirigami.Units.gridUnit / 6
readonly property int minimizedPlayerContentHeight: Math.round(Kirigami.Units.gridUnit * 3.5)
readonly property int minimizedPlayerHeight: minimizedPlayerContentHeight + progressBarHeight
anchors.left: parent.left
anchors.right: parent.right
height: maximized ? applicationWindow().height : 75
Rectangle {
color: Kirigami.Theme.backgroundColor
Kirigami.Theme.colorSet: Kirigami.Theme.Window
anchors.fill: footerLayout
boundsBehavior: Flickable.StopAtBounds
function close() {
toClose.restart();
}
function resetToBoundsOnFlick() {
if (!atYBeginning || !atYEnd) {
if (footerItem.verticalVelocity > 0) {
toOpen.restart();
} else if (footerItem.verticalVelocity < 0) {
toClose.restart();
} else { // i.e. when verticalVelocity === 0
if (contentY > contentHeight / 4) {
toOpen.restart();
} else {
toClose.restart();
}
}
}
}
function resetToBoundsOnResize() {
if (contentY > contentHeight / 4) {
contentY = contentHeight / 2;
} else {
contentY = 0;
}
}
NumberAnimation on contentY {
id: toOpen
from: contentY
to: contentHeight / 2
duration: Kirigami.Units.longDuration * 2
easing.type: Easing.OutCubic
running: false
}
NumberAnimation on contentY {
id: toClose
from: contentY
to: 0
duration: Kirigami.Units.longDuration * 2
easing.type: Easing.OutCubic
running: false
}
// snap to end
MouseArea {
anchors.fill: footerLayout
propagateComposedEvents: true
onPressed: {
toOpen.stop();
toClose.stop();
propagateComposedEvents = true;
}
onReleased: footerItem.resetToBoundsOnFlick()
}
onMovementStarted: {
toOpen.stop();
toClose.stop();
}
onFlickStarted: resetToBoundsOnFlick()
onMovementEnded: resetToBoundsOnFlick()
onHeightChanged: resetToBoundsOnResize()
property var videoInfoExtractor: VideoInfoExtractor {
id: info
onSongChanged: audio.play()
videoId: UserPlaylistModel.currentVideoId
onTitleChanged: {
let index = UserPlaylistModel.index(UserPlaylistModel.currentIndex, 0)
let videoId = UserPlaylistModel.data(index, UserPlaylistModel.VideoId)
let title = UserPlaylistModel.data(index, UserPlaylistModel.Title)
let artist = UserPlaylistModel.data(index, UserPlaylistModel.Artists)
let album = UserPlaylistModel.data(index, UserPlaylistModel.Album)
Library.addPlaybackHistoryItem(videoId, title, artist, album)
}
}
property var audioPlayer: Audio {
id: audio
source: info.audioUrl
onStatusChanged: {
if (status === Audio.EndOfMedia) {
console.log("Song ended");
UserPlaylistModel.next();
}
}
}
contentHeight: height * 2
ColumnLayout {
id: footerLayout
height: parent.height
anchors.fill: parent
anchors.left: parent.left
anchors.right: parent.right
spacing: 0
GridLayout {
id: playerLayout
readonly property bool mobile: width > height
Layout.fillHeight: footerItem.maximized
// margin from top
Item {
Layout.minimumHeight: footerItem.height - footerItem.minimizedPlayerHeight
}
Controls.Control {
Layout.fillWidth: true
flow: width > height ? GridLayout.LeftToRight : GridLayout.TopToBottom
visible: footerItem.maximized
ColumnLayout {
Layout.preferredWidth: footerLayout.width * (playerLayout.mobile ? 1 : 0.5)
Layout.preferredHeight: footerLayout.height * (playerLayout.mobile ? 0.5 : 1)
Item {
Layout.fillWidth: true
Layout.fillHeight: true
Image {
anchors.fill: parent
source: info.thumbnail
fillMode: Image.PreserveAspectFit
}
}
Controls.RoundButton {
readonly property QtObject favouriteWatcher: Library.favouriteWatcher(info.videoId)
Layout.alignment: Qt.AlignHCenter
icon.name: favouriteWatcher ? (favouriteWatcher.isFavourite ? "starred-symbolic" : "non-starred-symbolic") : ""
onClicked: if (favouriteWatcher)
favouriteWatcher.isFavourite
? Library.removeFavourite(info.videoId)
: Library.addFavourite(info.videoId, info.title)
}
}
Item {
Layout.fillWidth: true
Layout.fillHeight: true
Layout.preferredWidth: footerLayout.width * (playerLayout.mobile ? 1 : 0.5)
Layout.preferredHeight: footerLayout.height * (playerLayout.mobile ? 0.5 : 1)
Controls.ScrollView {
padding: 0
implicitHeight: footerItem.minimizedPlayerHeight
// minimized player background
background: Item {
Rectangle {
anchors.fill: parent
color: Qt.rgba(25, 25, 30, 1)
}
Image {
opacity: 0.2
source: info.thumbnail
asynchronous: true
anchors.fill: parent
fillMode: Image.PreserveAspectCrop
}
layer.enabled: true
layer.effect: HueSaturation {
cached: true
ListView {
anchors.fill: parent
id: playlistView
lightness: -0.5
saturation: 1.9
clip: true
Controls.BusyIndicator {
anchors.centerIn: parent
visible: UserPlaylistModel.loading || UserPlaylistModel.loading
}
onCountChanged: {
if (count < 1) {
footerItem.maximized = false
}
}
model: UserPlaylistModel
delegate: Kirigami.SwipeListItem {
id: delegateItem
required property string title
required property string videoId
required property string artists
required property bool isCurrent
highlighted: isCurrent
onClicked: UserPlaylistModel.skipTo(videoId)
ColumnLayout {
Layout.fillWidth: true
Kirigami.Heading {
elide: Text.ElideRight
Layout.fillWidth: true
level: 2
text: title
}
Controls.Label {
elide: Text.ElideRight
Layout.fillWidth: true
text: artists
}
}
actions: [
Kirigami.Action {
text: i18n("Remove Track")
icon.name: "list-remove"
onTriggered: UserPlaylistModel.remove(delegateItem.videoId)
}
]
}
header: Controls.ToolBar {
anchors.left: parent.left
anchors.right: parent.right
RowLayout {
anchors.fill: parent
Item {
Layout.fillWidth: true
}
Controls.ToolButton {
text: i18n("Clear")
icon.name: "edit-clear-all"
onClicked: UserPlaylistModel.clear()
}
Controls.ToolButton {
text: i18n("Shuffle")
icon.name: "media-playlist-shuffle"
onClicked: UserPlaylistModel.shufflePlaylist()
}
}
}
layer.enabled: true
layer.effect: FastBlur {
cached: true
radius: 64
transparentBorder: false
}
}
}
MinimizedPlayerControls {
progressBarHeight: footerItem.progressBarHeight
minimizedPlayerContentHeight: footerItem.minimizedPlayerContentHeight
height: minimizedPlayerHeight
focus: true
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
info: footerItem.videoInfoExtractor
audio: footerItem.audioPlayer
onRequestOpen: toOpen.start();
}
}
Kirigami.Separator {
MaximizedPlayerPage {
id: maximizedPlayerPage
Layout.fillWidth: true
Layout.fillHeight: true
implicitHeight: footerItem.height
info: footerItem.videoInfoExtractor
audio: footerItem.audioPlayer
onRequestClose: toClose.start();
}
//GridLayout {
//id: playerLayout
RowLayout {
id: player
//readonly property bool mobile: width > height
Layout.fillWidth: true
Layout.fillHeight: !footer.maximized
//Layout.fillHeight: footerItem.maximized
//Layout.fillWidth: true
//flow: width > height ? GridLayout.LeftToRight : GridLayout.TopToBottom
//visible: footerItem.maximized
VideoInfoExtractor {
id: info
//ColumnLayout {
//Layout.preferredWidth: footerLayout.width * (playerLayout.mobile ? 1 : 0.5)
//Layout.preferredHeight: footerLayout.height * (playerLayout.mobile ? 0.5 : 1)
onSongChanged: audio.play()
videoId: UserPlaylistModel.currentVideoId
onTitleChanged: Library.addPlaybackHistoryItem(info.videoId, info.title)
}
//Item {
//Layout.fillWidth: true
//Layout.fillHeight: true
Audio {
id: audio
//Image {
//anchors.fill: parent
//source: info.thumbnail
//fillMode: Image.PreserveAspectFit
//}
//}
//Controls.RoundButton {
//readonly property QtObject favouriteWatcher: Library.favouriteWatcher(info.videoId)
source: info.audioUrl
onStatusChanged: {
if (status === Audio.EndOfMedia) {
console.log("Song ended");
UserPlaylistModel.next();
}
}
}
//Layout.alignment: Qt.AlignHCenter
//icon.name: favouriteWatcher ? (favouriteWatcher.isFavourite ? "starred-symbolic" : "non-starred-symbolic") : ""
//onClicked: if (favouriteWatcher)
//favouriteWatcher.isFavourite
//? Library.removeFavourite(info.videoId)
//: Library.addFavourite(info.videoId, info.title)
//}
//}
Controls.ToolButton {
display: Controls.AbstractButton.IconOnly
Layout.preferredWidth: parent.height
Layout.fillHeight: true
enabled: info.audioUrl != ""
text: audio.playbackState === Audio.PlayingState ? i18n("Pause") : i18n("Play")
visible: !info.loading
icon.name: audio.playbackState === Audio.PlayingState ? "media-playback-pause" : "media-playback-start"
onClicked: audio.playbackState === Audio.PlayingState ? audio.pause() : audio.play()
}
//Item {
//Layout.fillWidth: true
//Layout.fillHeight: true
//Layout.preferredWidth: footerLayout.width * (playerLayout.mobile ? 1 : 0.5)
//Layout.preferredHeight: footerLayout.height * (playerLayout.mobile ? 0.5 : 1)
Controls.ToolButton {
display: Controls.AbstractButton.IconOnly
Layout.preferredWidth: parent.height
Layout.fillHeight: true
enabled: UserPlaylistModel.canSkip
visible: !info.loading
icon.name: "media-skip-forward"
onClicked: UserPlaylistModel.next()
}
//Controls.ScrollView {
//anchors.fill: parent
Controls.BusyIndicator {
Layout.fillHeight: true
visible: info.loading
}
//ListView {
//anchors.fill: parent
//id: playlistView
ColumnLayout {
Layout.fillHeight: true
Layout.topMargin: Kirigami.Units.smallSpacing
Layout.bottomMargin: Kirigami.Units.smallSpacing
//clip: true
Kirigami.Heading {
level: 3
Layout.fillWidth: true
elide: Qt.ElideRight
text: info.title ? info.title : i18n("No media playing")
}
//Controls.BusyIndicator {
//anchors.centerIn: parent
//visible: UserPlaylistModel.loading || UserPlaylistModel.loading
//}
RowLayout{
//onCountChanged: {
//if (count < 1) {
//footerItem.maximized = false
//}
//}
Controls.Label{
visible: info.title
text: PlayerUtils.formatTimestamp(audio.position)
}
//model: UserPlaylistModel
Controls.Slider {
Layout.fillWidth: true
from: 0
to: audio.duration
value: audio.position
enabled: audio.seekable
onMoved: {
console.log("Value:", value);
audio.seek(Math.floor(value));
}
//delegate: Kirigami.SwipeListItem {
//id: delegateItem
//required property string title
//required property string videoId
//required property string artists
//required property bool isCurrent
Behavior on value {
NumberAnimation {
duration: 1000
}
//highlighted: isCurrent
//onClicked: UserPlaylistModel.skipTo(videoId)
}
//ColumnLayout {
//Layout.fillWidth: true
//Kirigami.Heading {
//elide: Text.ElideRight
//Layout.fillWidth: true
//level: 2
//text: title
//}
}
//Controls.Label {
//elide: Text.ElideRight
//Layout.fillWidth: true
//text: artists
//}
//}
Controls.Label{
visible: info.title
text: PlayerUtils.formatTimestamp(audio.duration)
}
//actions: [
//Kirigami.Action {
//text: i18n("Remove Track")
//icon.name: "list-remove"
//onTriggered: UserPlaylistModel.remove(delegateItem.videoId)
//}
//]
//}
}
//header: Controls.ToolBar {
//anchors.left: parent.left
//anchors.right: parent.right
//RowLayout {
//anchors.fill: parent
//Item {
//Layout.fillWidth: true
//}
//Controls.ToolButton {
//text: i18n("Clear")
//icon.name: "edit-clear-all"
//onClicked: UserPlaylistModel.clear()
//}
//Controls.ToolButton {
//text: i18n("Shuffle")
//icon.name: "media-playlist-shuffle"
//onClicked: UserPlaylistModel.shufflePlaylist()
//}
//}
//}
//}
//}
//}
//}
//Kirigami.Separator {
//Layout.fillWidth: true
//}
//RowLayout {
//id: player
//Layout.fillWidth: true
//Layout.fillHeight: !footer.maximized
//Controls.ToolButton {
//display: Controls.AbstractButton.IconOnly
//Layout.preferredWidth: parent.height
//Layout.fillHeight: true
//enabled: info.audioUrl != ""
//text: audio.playbackState === Audio.PlayingState ? i18n("Pause") : i18n("Play")
//visible: !info.loading
//icon.name: audio.playbackState === Audio.PlayingState ? "media-playback-pause" : "media-playback-start"
//onClicked: audio.playbackState === Audio.PlayingState ? audio.pause() : audio.play()
//}
//Controls.ToolButton {
//display: Controls.AbstractButton.IconOnly
//Layout.preferredWidth: parent.height
//Layout.fillHeight: true
//enabled: UserPlaylistModel.canSkip
//visible: !info.loading
//icon.name: "media-skip-forward"
//onClicked: UserPlaylistModel.next()
//}
//Controls.BusyIndicator {
//Layout.fillHeight: true
//visible: info.loading
//}
//ColumnLayout {
//Layout.fillHeight: true
//Layout.topMargin: Kirigami.Units.smallSpacing
//Layout.bottomMargin: Kirigami.Units.smallSpacing
//Kirigami.Heading {
//level: 3
//Layout.fillWidth: true
//elide: Qt.ElideRight
//text: info.title ? info.title : i18n("No media playing")
//}
//RowLayout{
//Controls.Label{
//visible: info.title
//text: PlayerUtils.formatTimestamp(audio.position)
//}
//Controls.Slider {
//Layout.fillWidth: true
//from: 0
//to: audio.duration
//value: audio.position
//enabled: audio.seekable
//onMoved: {
//console.log("Value:", value);
//audio.seek(Math.floor(value));
//}
//Behavior on value {
//NumberAnimation {
//duration: 1000
//}
//}
//}
//Controls.Label{
//visible: info.title
//text: PlayerUtils.formatTimestamp(audio.duration)
//}
//}
}
//}
Controls.ToolButton {
display: Controls.AbstractButton.IconOnly
Layout.preferredWidth: parent.height
text: i18n("Expand")
enabled: playlistView.count > 0
Layout.fillHeight: true
icon.name: footerItem.maximized ? "arrow-down" : "arrow-up"
onClicked: footerItem.maximized = !footerItem.maximized
}
//Controls.ToolButton {
//display: Controls.AbstractButton.IconOnly
//Layout.preferredWidth: parent.height
//text: i18n("Expand")
//enabled: playlistView.count > 0
//Layout.fillHeight: true
//icon.name: footerItem.maximized ? "arrow-down" : "arrow-up"
//onClicked: footerItem.maximized = !footerItem.maximized
//}
}
//}
}
Behavior on height {
NumberAnimation {
}
}
//Behavior on height {
//NumberAnimation {
//}
//}
}
+50 -33
View File
@@ -13,27 +13,34 @@ Kirigami.ScrollablePage {
property alias playlistId: playlistModel.playlistId
title: playlistModel.title
actions {
main: Kirigami.Action {
icon.name: "media-playback-start"
text: i18n("Play")
onTriggered: {
applicationWindow().playPlaylist(playlistModel.playlistId)
}
}
right: Kirigami.Action {
icon.name: "media-playlist-shuffle"
text: i18n("Shuffle")
onTriggered: {
applicationWindow().playShufflePlaylist(playlistModel.playlistId)
}
}
SongMenu {
id: menu
}
ListView {
header: Kirigami.ItemViewHeader {
backgroundImage.source: playlistModel.thumbnailUrl
id: songList
header: ListHeader {
visibleActions: [
Kirigami.Action {
icon.name: "media-playback-start"
text: i18n("Play")
onTriggered: {
applicationWindow().playPlaylist(playlistModel.playlistId)
}
},
Kirigami.Action {
icon.name: "media-playlist-shuffle"
text: i18n("Shuffle")
onTriggered: {
applicationWindow().playShufflePlaylist(playlistModel.playlistId)
}
}
]
title: playlistModel.title
imageSourceURL: playlistModel.thumbnailUrl
width: songList.width
subtitle: i18n("Playlist")
}
model: PlaylistModel {
id: playlistModel
@@ -46,31 +53,41 @@ Kirigami.ScrollablePage {
required property string title
required property string videoId
required property var artists
required property string thumbnailUrl
required property string artistsDisplayString
RowLayout {
Layout.fillHeight: true
Kirigami.Icon {
Layout.fillHeight: true
source: "emblem-music-symbolic"
RoundedImage {
source: delegateItem.thumbnailUrl
height: 35
width: height
radius: 5
}
Controls.Label {
Layout.fillWidth: true
text: title
elide: Qt.ElideRight
ColumnLayout {
Controls.Label {
Layout.fillWidth: true
text: title
elide: Qt.ElideRight
}
Controls.Label {
Layout.fillWidth: true
visible: delegateItem.artistsDisplayString
color: Kirigami.Theme.disabledTextColor
text: delegateItem.artistsDisplayString
elide: Qt.ElideRight
}
}
}
actions: [
Kirigami.Action {
icon.name: "go-next"
text: i18n("Play Next")
onTriggered: UserPlaylistModel.playNext(delegateItem.videoId, delegateItem.title, delegateItem.artists)
},
Kirigami.Action {
icon.name: "media-playlist-append"
text: i18n("Add to Playlist")
onTriggered: UserPlaylistModel.append(delegateItem.videoId, delegateItem.title, delegateItem.artists)
icon.name: "view-more-horizontal-symbolic"
text: i18n("More")
onTriggered: menu.openForSong(delegateItem.videoId, delegateItem.title, delegateItem.artists, delegateItem.artistsDisplayString)
}
]
+34
View File
@@ -0,0 +1,34 @@
// SPDX-FileCopyrightText: 2022 Mathis Brüchert <[email protected]>
//
// SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
import QtQuick 2.15
import QtQuick.Window 2.15
Rectangle {
property alias radius: mask.radius
property alias source: image.source
id: icon
color: "transparent"
Rectangle {
id: imageSource
anchors.fill: parent
Image {
id:image
anchors.fill: parent
fillMode: Image.PreserveAspectCrop
asynchronous: true
sourceSize.width: parent.implicitWidth * Screen.devicePixelRatio
}
visible: false
layer.enabled: true
}
RoundedMask {
id: mask
anchors.fill: parent
colorSource: imageSource
}
}
+26
View File
@@ -0,0 +1,26 @@
// SPDX-FileCopyrightText: Mathis Brüchert <[email protected]>
//
// SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
import QtQuick 2.15
Rectangle {
id: mask
radius: 10
layer.enabled: true
layer.samplerName: "maskSource"
property var colorSource
layer.effect: ShaderEffect {
property var colorSource: mask.colorSource
fragmentShader: "
uniform lowp sampler2D colorSource;
uniform lowp sampler2D maskSource;
uniform lowp float qt_Opacity;
varying highp vec2 qt_TexCoord0;
void main() {
gl_FragColor = texture2D(colorSource, qt_TexCoord0) * texture2D(maskSource, qt_TexCoord0).a * qt_Opacity;
}"
}
}
+37 -38
View File
@@ -47,9 +47,11 @@ Kirigami.ScrollablePage {
})
}
onOpenArtist: (channelId) => {
onOpenArtist: (channelId, radioId, shuffleId) => {
pageStack.push("qrc:/ArtistPage.qml", {
"channelId": channelId
"channelId": channelId,
"radioId": radioId,
"shuffleId": shuffleId
})
}
@@ -75,60 +77,57 @@ Kirigami.ScrollablePage {
}
}
}
SongMenu {
id: menu
}
delegate: Kirigami.SwipeListItem {
id: delegateItem
required property int index
required property string title
required property int type
required property string videoId
required property var artists
required property string artistsDisplayString
required property string radioPlaylistId
required property string thumbnailUrl
RowLayout {
Layout.fillHeight: true
Kirigami.Icon {
Layout.fillHeight: true
source: {
switch (type) {
case SearchModel.Artist:
return "view-media-artist"
case SearchModel.Album:
return "media-album-cover"
case SearchModel.Playlist:
return "view-media-playlist"
case SearchModel.Song:
return "emblem-music-symbolic"
case SearchModel.Video:
return "emblem-videos-symbolic"
}
}
RoundedImage {
source: delegateItem.thumbnailUrl
height: 35
width: height
radius: delegateItem.type === SearchModel.Artist?height/2:5
}
Controls.Label {
Layout.fillWidth: true
text: title
elide: Qt.ElideRight
ColumnLayout {
Controls.Label {
Layout.fillWidth: true
text: title
elide: Qt.ElideRight
}
Controls.Label {
Layout.fillWidth: true
visible: delegateItem.artistsDisplayString
color: Kirigami.Theme.disabledTextColor
text: delegateItem.artistsDisplayString
elide: Qt.ElideRight
}
}
}
actions: [
Kirigami.Action {
icon.name: "go-next"
text: i18n("Play next")
visible: delegateItem.type === SearchModel.Song || delegateItem.type == SearchModel.Video
onTriggered: UserPlaylistModel.playNext(delegateItem.videoId, delegateItem.title, delegateItem.artists)
},
Kirigami.Action {
icon.name: "media-playlist-append"
text: i18n("Add to Playlist")
visible: delegateItem.type === SearchModel.Song || delegateItem.type == SearchModel.Video
onTriggered: UserPlaylistModel.append(delegateItem.videoId, delegateItem.title, delegateItem.artists)
},
Kirigami.Action {
icon.name: "radio"
text: i18n("Radio")
visible: delegateItem.type === SearchModel.Artist && delegateItem.radioPlaylistId
onTriggered: playPlaylist(delegateItem.radioPlaylistId)
icon.name: "view-more-horizontal-symbolic"
text: i18n("More")
visible: delegateItem.type === SearchModel.Song || delegateItem.type === SearchModel.Video
onTriggered: menu.openForSong(delegateItem.videoId, delegateItem.title, delegateItem.artists, delegateItem.artistsDisplayString)
}
]
+123
View File
@@ -0,0 +1,123 @@
// SPDX-FileCopyrightText: 2022 Mathis Brüchert <[email protected]>
//
// SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
import QtQuick 2.15
import QtQuick.Controls 2.15 as Controls
import org.kde.ytmusic 1.0
import org.kde.kirigami 2.19 as Kirigami
import QtQuick.Layouts 1.15
Item{
function openForSong(videoId, songTitle, artists, artistsDisplayString) {
menu.videoId = videoId
drawer.videoId = videoId
menu.songTitle = songTitle
drawer.songTitle = songTitle
menu.artists = artists
drawer.artists = artists
menu.artistsDisplayString = artistsDisplayString
drawer.artistsDisplayString = artistsDisplayString
Kirigami.Settings.isMobile? drawer.open():menu.popup()
}
Controls.Drawer {
edge: Qt.BottomEdge
height:contents.implicitHeight+20
width: applicationWindow().width
id: drawer
property string videoId
property string songTitle
property var artists
property string artistsDisplayString
ColumnLayout {
id: contents
anchors.fill: parent
Kirigami.Icon {
Layout.margins: Kirigami.Units.smallSpacing
source: "arrow-down"
implicitWidth: Kirigami.Units.gridUnit
implicitHeight: Kirigami.Units.gridUnit
Layout.alignment: Qt.AlignHCenter
}
Kirigami.BasicListItem{
label: i18n("Play Next")
icon: "go-next"
onClicked: {
UserPlaylistModel.playNext(drawer.videoId, drawer.SongTitle, drawer.artists)
drawer.close()
}
}
Kirigami.BasicListItem{
label: i18n("Add to queue")
icon: "media-playlist-append"
onClicked: {
UserPlaylistModel.append(drawer.videoId, drawer.songTitle, drawer.artists)
drawer.close()
}
}
Kirigami.BasicListItem{
readonly property QtObject favouriteWatcher: Library.favouriteWatcher(drawer.videoId)
label: favouriteWatcher ? (favouriteWatcher.isFavourite ? i18n("Remove Favourite"): i18n("Add Favourite")): ""
icon: favouriteWatcher ? (favouriteWatcher.isFavourite ? "starred-symbolic" : "non-starred-symbolic") : ""
onClicked: {
if (favouriteWatcher) {
if (favouriteWatcher.isFavourite) {
Library.removeFavourite(drawer.videoId)
} else {
Library.addFavourite(drawer.videoId, drawer.songTitle, drawer.artistsDisplayString, "")
}
}
drawer.close()
}
}
Item{
Layout.fillHeight: true
}
}
}
Controls.Menu{
property string videoId
property string songTitle
property var artists
property string artistsDisplayString
id: menu
Controls.MenuItem {
text: i18n("Play Next")
icon.name: "go-next"
onTriggered: UserPlaylistModel.playNext(menu.videoId, menu.SongTitle, menu.artists)
}
Controls.MenuItem {
text: i18n("Add to queue")
icon.name: "media-playlist-append"
onTriggered: UserPlaylistModel.append(menu.videoId, menu.songTitle, menu.artists)
}
Controls.MenuItem {
readonly property QtObject favouriteWatcher: Library.favouriteWatcher(menu.videoId)
text: favouriteWatcher ? (favouriteWatcher.isFavourite ? i18n("Remove Favourite"): i18n("Add Favourite")): ""
icon.name: favouriteWatcher ? (favouriteWatcher.isFavourite ? "starred-symbolic" : "non-starred-symbolic") : ""
onTriggered: {
if (favouriteWatcher) {
if (favouriteWatcher.isFavourite) {
Library.removeFavourite(menu.videoId)
} else {
Library.addFavourite(menu.videoId, menu.songTitle, menu.artistsDisplayString, "")
}
}
}
}
}
}
+267 -60
View File
@@ -12,10 +12,22 @@ import org.kde.ytmusic 1.0
Kirigami.ApplicationWindow {
id: root
property alias searchField: searchField
property alias searchField: searchLoader.item // TODO
property bool wideScreen: width >= 600
property bool showSearch: false // only applicable if not widescreen
// so that there is still a separator, since the header style is none
Kirigami.Separator {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
visible: pageStack.currentItem.objectName == "libraryPage"
&& pageStack.layers.depth == 1
}
header: Controls.Control {
visible: !footer.maximized
padding: Kirigami.Units.largeSpacing
background: Rectangle {
@@ -26,78 +38,68 @@ Kirigami.ApplicationWindow {
Kirigami.Theme.colorSet: Kirigami.Theme.Header
color: Kirigami.Theme.backgroundColor
}
contentItem: RowLayout{
Item {
Layout.fillWidth: true
contentItem: RowLayout {
Controls.ToolButton {
id: searchBack
Layout.alignment: Qt.AlignLeft
visible:
(!root.wideScreen && root.showSearch && root.searchField.text === "")
|| pageStack.layers.depth > 1
text: i18n("Back")
icon.name: "go-previous-view"
display: Controls.ToolButton.IconOnly
onClicked: if (root.showSearch)
root.showSearch = false
else
pageStack.layers.pop()
}
Kirigami.SearchField {
id: searchField
delaySearch: true
selectByMouse: true
Kirigami.Heading {
Layout.alignment: Qt.AlignLeft
Layout.leftMargin: Kirigami.Units.largeSpacing
level: 1
text: "AudioTube"
visible: !root.wideScreen && !root.showSearch
}
// spacer
Item {
Layout.fillWidth: !root.wideScreen
}
Loader {
id: searchLoader
visible: root.wideScreen || root.showSearch
Layout.alignment: Qt.AlignHCenter
Layout.fillWidth: true
Layout.maximumWidth: 400
onPressed: {
popup.open()
}
Controls.Popup {
id: popup
x: searchField.y
y: searchField.y + searchField.height
visible: true
width: searchField.width
height: completionList
? Math.min(completionList.count * Kirigami.Units.gridUnit * 2 + Kirigami.Units.gridUnit * 2, Kirigami.Units.gridUnit * 20)
: Kirigami.Units.gridUnit * 20
contentItem: Controls.ScrollView {
Controls.ScrollBar.horizontal.policy: Controls.ScrollBar.AlwaysOff
ListView {
id: completionList
model: Library.searches
delegate: Controls.ItemDelegate {
id: completionDelegate
width: parent.width
height: Kirigami.Units.gridUnit * 2
text: model.display
onClicked: {
searchField.text = model.display
searchField.accepted()
}
}
}
}
}
onAccepted: {
pageStack.clear()
if (text) {
Library.addSearch(text)
pageStack.push("qrc:/SearchPage.qml", {
"searchQuery": text})
} else {
pageStack.replace("qrc:/LibraryPage.qml")
}
popup.close()
}
sourceComponent: searchFieldComponent
}
Item {
Layout.fillWidth: true
Controls.ToolButton {
Layout.alignment: Qt.AlignRight
visible: !root.wideScreen && !root.showSearch
text: i18n("Search")
icon.name: "search"
display: Controls.ToolButton.TextBesideIcon
onClicked: {
root.showSearch = true
root.searchField.forceActiveFocus();
root.searchField.popup.open();
}
}
}
}
title: i18n("AudioTube")
controlsVisible: !footer.maximized
contextDrawer: Kirigami.ContextDrawer {
id: contextDrawer
}
pageStack.initialPage: "qrc:/LibraryPage.qml"
pageStack.clip: true
function play(videoId) {
UserPlaylistModel.initialVideoId = videoId
@@ -121,5 +123,210 @@ Kirigami.ApplicationWindow {
}
}
footer: PlayerFooter {}
Component {
id: searchAlbum
ColumnLayout {
Layout.alignment: Qt.AlignTop
id: mpdelegateItem
width: 100
Layout.maximumWidth: 70
Kirigami.ShadowedRectangle {
id: recCover
MouseArea {
id: recArea
anchors.fill: parent
onClicked: play(model.videoId)
hoverEnabled: !Kirigami.Settings.hasTransientTouchInput
onEntered: {
if (!Kirigami.Settings.hasTransientTouchInput)
recSelected.visible = true
}
onExited: recSelected.visible = false
}
Layout.margins: 5
width: 70
height: 70
radius: 10
shadow.size: 15
shadow.xOffset: 5
shadow.yOffset: 5
shadow.color: Qt.rgba(0, 0, 0, 0.2)
Rectangle {
width: 70
height: 70
color: "transparent"
ThumbnailSource {
id: thumbnailSource
videoId: model ? model.videoId : ""
}
RoundedImage {
source: thumbnailSource.cachedPath
height: parent.height
width: height
radius: 10
}
Rectangle {
id: recSelected
Rectangle {
anchors.fill: parent
color: Kirigami.Theme.hoverColor
radius: 10
opacity: 0.2
}
visible: false
anchors.fill: parent
radius: 9
border.color: Kirigami.Theme.hoverColor
border.width: 2
color: "transparent"
}
}
}
Controls.Label {
leftPadding:5
Layout.maximumWidth: 70
text: model ? model.title : ""
elide: Qt.ElideRight
wrapMode: Text.WordWrap
Layout.maximumHeight: 40
}
Item {
height: 5
}
}
}
Component {
id: searchFieldComponent
Kirigami.SearchField {
id: searchField
autoAccept: false
selectByMouse: true
onPressed: {
popup.open()
}
property alias popup: popup
property var filterExpression: new RegExp(`.*${searchField.text}.*`, "i")
Controls.Popup {
padding: 1
id: popup
x: searchField.y
y: searchField.y + searchField.height
width: searchField.width
height: completionList
? Math.min(completionList.count * Kirigami.Units.gridUnit * 2 + Kirigami.Units.gridUnit * 2 + recents.implicitHeight, Kirigami.Units.gridUnit * 20)
: Kirigami.Units.gridUnit * 20
contentItem: Controls.ScrollView {
contentWidth: -1
ColumnLayout {
width: popup.width
Controls.ScrollView {
id: recents
Layout.fillWidth: true
Layout.maximumWidth: popup.width - 23
visible: searchField.text && recentsRepeater.count > 0
leftPadding: 10
topPadding: 10
Controls.ScrollBar.horizontal.policy: Controls.ScrollBar.AlwaysOff
RowLayout {
spacing: 10
Layout.fillWidth: true
Layout.maximumWidth: popup.width - 23
Repeater {
id: recentsRepeater
Layout.fillWidth: true
model: SortFilterModel {
filterRole: PlaybackHistoryModel.Title
filterRegularExpression: searchField.filterExpression
sourceModel: Library.playbackHistory
}
delegate: Kirigami.DelegateRecycler {
sourceComponent: searchAlbum
}
}
}
}
Kirigami.Separator{
Layout.fillWidth: true
}
Repeater {
Layout.fillWidth: true
id: completionList
model: SortFilterModel {
sourceModel: Library.searches
filterRegularExpression: searchField.filterExpression
}
delegate: Controls.ItemDelegate {
Kirigami.Theme.colorSet: Kirigami.Theme.Window
Kirigami.Theme.inherit: false
Layout.fillWidth: true
id: completionDelegate
width: parent.width
height: Kirigami.Units.gridUnit * 2
text: model.display
onClicked: {
searchField.text = model.display
searchField.accepted()
}
}
}
}
}
}
onAccepted: {
while (pageStack.depth > 0) {
pageStack.pop()
}
pageStack.layers.clear()
if (text) {
Library.addSearch(text)
pageStack.push("qrc:/SearchPage.qml", {
"searchQuery": text})
} else {
pageStack.push("qrc:/LibraryPage.qml")
}
popup.close()
}
}
}
pageStack.anchors.bottomMargin: playerFooter.minimizedPlayerHeight + 1
// media player
PlayerFooter {
id: playerFooter
anchors.topMargin: -root.header.height
anchors.fill: parent
// only expand flicking area to full screen when it is open
z: (contentY === 0) ? -1 : 999
}
}
+67 -66
View File
@@ -17,8 +17,12 @@ namespace ranges = std::ranges;
Library::Library(QObject *parent)
: QObject{parent}
, m_database(ThreadedDatabase::establishConnection([]() -> DatabaseConfiguration {
const auto databaseDirectory = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation);
// Make sure the database directory exists
QDir(databaseDirectory).mkpath(QStringLiteral("."));
DatabaseConfiguration config;
config.setDatabaseName(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) % QDir::separator() % "library.sqlite");
config.setDatabaseName(databaseDirectory % QDir::separator() % "library.sqlite");
config.setType(DATABASE_TYPE_SQLITE);
return config;
}()))
@@ -36,22 +40,13 @@ Library &Library::instance()
FavouritesModel *Library::favourites()
{
auto future = mapFuture<Rows, std::vector<Song>>(
m_database->getResults("select * from favourites natural join songs"),
[](auto rows)
{
std::vector<Song> songs;
ranges::transform(parseRows<QString, QString, QString, QString>(rows),
std::back_inserter(songs),
Song::fromSql);
return songs;
});
auto future = m_database->getResults<Song>("select * from favourites natural join songs order by favourites.rowid desc");
return new FavouritesModel(std::move(future), this);
}
void Library::addFavourite(const QString &videoId, const QString &title)
void Library::addFavourite(const QString &videoId, const QString &title, const QString &artist, const QString &album)
{
connectFuture(addSong(videoId, title), this, [=, this] {
connectFuture(addSong(videoId, title, artist, album), this, [=, this] {
connectFuture(m_database->execute("insert or ignore into favourites (video_id) values (?)", videoId), this, &Library::favouritesChanged);
});
}
@@ -71,16 +66,7 @@ FavouriteWatcher *Library::favouriteWatcher(const QString &videoId)
SearchHistoryModel *Library::searches()
{
return new SearchHistoryModel(mapFuture<Rows, std::vector<QString>>(
m_database->getResults("select (search_query) from searches order by search_id desc"),
[](const auto &rows)
{
std::vector<QString> out;
ranges::transform(rows, std::back_inserter(out), [](auto row) {
return row[0].toString();
});
return out;
}), this);
return new SearchHistoryModel(m_database->getResults<SingleValue<QString>>("select distinct (search_query) from searches order by search_id desc"), this);
}
void Library::addSearch(const QString &text)
@@ -90,22 +76,13 @@ void Library::addSearch(const QString &text)
PlaybackHistoryModel *Library::playbackHistory()
{
auto future = mapFuture<Rows, std::vector<PlayedSong>>(
m_database->getResults("select * from played_songs natural join songs"),
[](auto rows)
{
std::vector<PlayedSong> playedSongs;
ranges::transform(parseRows<QString, int, QString, QString, QString>(rows),
std::back_inserter(playedSongs),
PlayedSong::fromSql);
return playedSongs;
});
auto future = m_database->getResults<PlayedSong>("select * from played_songs natural join songs");
return new PlaybackHistoryModel(std::move(future), this);
}
void Library::addPlaybackHistoryItem(const QString &videoId, const QString &title)
void Library::addPlaybackHistoryItem(const QString &videoId, const QString &title, const QString &artist, const QString &album)
{
connectFuture(addSong(videoId, title), this, [=, this] {
connectFuture(addSong(videoId, title, artist, album), this, [=, this] {
connectFuture(m_database->execute("insert or ignore into played_songs (video_id, plays) values (?, ?)", videoId, 0), this, [=, this] {
connectFuture(m_database->execute("update played_songs set plays = plays + 1 where video_id = ? ", videoId), this, &Library::playbackHistoryChanged);
});
@@ -114,16 +91,7 @@ void Library::addPlaybackHistoryItem(const QString &videoId, const QString &titl
PlaybackHistoryModel *Library::mostPlayed()
{
auto future = mapFuture<Rows, std::vector<PlayedSong>>(
m_database->getResults("select * from played_songs natural join songs order by plays desc limit 10"),
[](auto rows)
{
std::vector<PlayedSong> playedSongs;
ranges::transform(parseRows<QString, int, QString, QString, QString>(rows),
std::back_inserter(playedSongs),
PlayedSong::fromSql);
return playedSongs;
});
auto future = m_database->getResults<PlayedSong>("select * from played_songs natural join songs order by plays desc limit 10");
return new PlaybackHistoryModel(std::move(future), this);
}
@@ -132,9 +100,10 @@ QNetworkAccessManager &Library::nam()
return m_networkImageCacher;
}
QFuture<void> Library::addSong(const QString &videoId, const QString &title)
QFuture<void> Library::addSong(const QString &videoId, const QString &title, const QString &artist, const QString &album)
{
return m_database->execute("insert or ignore into songs (video_id, title, artist, album) values (?, ?, null, null)", videoId, title);
// replace is used here to update songs from times when we didn't store artist and album
return m_database->execute("insert or replace into songs (video_id, title, artist, album) values (?, ?, ?, ?)", videoId, title, artist, album);
}
void ThumbnailSource::setVideoId(const QString &id) {
@@ -154,15 +123,32 @@ void ThumbnailSource::setVideoId(const QString &id) {
return;
}
auto future = YTMusicThread::instance()->extractVideoInfo(id);
connectFuture(future, this, [this, id, cacheLocation](video_info::VideoInfo &&info) {
auto *reply = Library::instance().nam().get(QNetworkRequest(QUrl(QString::fromStdString(info.thumbnail))));
connect(reply, &QNetworkReply::finished, this, [id, reply, this, cacheLocation]() {
QFile file(cacheLocation);
file.open(QFile::WriteOnly);
file.write(reply->readAll());
setCachedPath(QUrl::fromLocalFile(cacheLocation));
});
auto *reply = Library::instance().nam().get(QNetworkRequest(QUrl("https://i.ytimg.com/vi_webp/" % m_videoId % "/maxresdefault.webp")));
auto storeResult = [this, cacheLocation](QNetworkReply *reply) {
QFile file(cacheLocation);
file.open(QFile::WriteOnly);
file.write(reply->readAll());
setCachedPath(QUrl::fromLocalFile(cacheLocation));
reply->deleteLater();
};
connect(reply, &QNetworkReply::errorOccurred, this, [this, storeResult](auto error) {
if (error == QNetworkReply::NetworkError::ContentNotFoundError) {
qDebug() << "Naive thumbnail resolution failed, falling back to yt-dlp (slower)";
connectFuture(YTMusicThread::instance()->extractVideoInfo(m_videoId), this, [this, storeResult](auto info) {
auto *reply = Library::instance().nam().get(QNetworkRequest(QUrl(QString::fromStdString(info.thumbnail))));
connect(reply, &QNetworkReply::finished, this, [reply, storeResult]() {
storeResult(reply);
});
});
}
});
connect(reply, &QNetworkReply::finished, this, [reply, storeResult]() {
storeResult(reply);
});
}
@@ -180,7 +166,8 @@ QHash<int, QByteArray> PlaybackHistoryModel::roleNames() const {
return {
{Roles::VideoId, "videoId"},
{Roles::Title, "title"},
{Roles::Artist, "artist"},
{Roles::Artists, "artists"},
{Roles::ArtistsDisplayString, "artistsDisplayString"},
{Roles::Plays, "plays"}
};
}
@@ -195,7 +182,14 @@ QVariant PlaybackHistoryModel::data(const QModelIndex &index, int role) const {
return m_playedSongs.at(index.row()).videoId;
case Roles::Title:
return m_playedSongs.at(index.row()).title;
case Roles::Artist:
case Roles::Artists:
return QVariant::fromValue(std::vector<meta::Artist> {
{
m_playedSongs.at(index.row()).artist.toStdString(),
{}
}
});
case Roles::ArtistsDisplayString:
return m_playedSongs.at(index.row()).artist;
case Roles::Plays:
return m_playedSongs.at(index.row()).plays;
@@ -218,7 +212,8 @@ QHash<int, QByteArray> FavouritesModel::roleNames() const {
return {
{Roles::VideoId, "videoId"},
{Roles::Title, "title"},
{Roles::Artist, "artist"}
{Roles::Artists, "artists"},
{Roles::ArtistsDisplayString, "artistsDisplayString"}
};
}
@@ -232,8 +227,15 @@ QVariant FavouritesModel::data(const QModelIndex &index, int role) const {
return m_favouriteSongs.at(index.row()).videoId;
case Roles::Title:
return m_favouriteSongs.at(index.row()).title;
case Roles::Artist:
case Roles::ArtistsDisplayString:
return m_favouriteSongs.at(index.row()).artist;
case Roles::Artists:
return QVariant::fromValue(std::vector<meta::Artist> {
{
m_favouriteSongs.at(index.row()).artist.toStdString(),
{}
}
});
}
Q_UNREACHABLE();
@@ -243,10 +245,9 @@ FavouriteWatcher::FavouriteWatcher(Library *library, const QString &videoId)
: QObject(library), m_videoId(videoId), m_library(library)
{
auto update = [this] {
connectFuture(m_library->database().getResult("select count(*) from favourites where video_id = ?", m_videoId), this, [this](auto row) {
if (row) {
auto [favCount] = parseRow<int>(*row);
m_isFavourite = favCount > 0;
connectFuture(m_library->database().getResult<SingleValue<bool>>("select count(*) > 0 from favourites where video_id = ?", m_videoId), this, [this](auto count) {
if (count) {
m_isFavourite = count->value;
Q_EMIT isFavouriteChanged();
}
});
@@ -259,7 +260,7 @@ bool FavouriteWatcher::isFavourite() const {
return m_isFavourite;
}
SearchHistoryModel::SearchHistoryModel(QFuture<std::vector<QString>> &&historyFuture, QObject *parent)
SearchHistoryModel::SearchHistoryModel(QFuture<std::vector<SingleValue<QString>>> &&historyFuture, QObject *parent)
: QAbstractListModel(parent)
{
connectFuture(historyFuture, this, [this](const auto history) {
@@ -276,7 +277,7 @@ int SearchHistoryModel::rowCount(const QModelIndex &parent) const {
QVariant SearchHistoryModel::data(const QModelIndex &index, int role) const {
switch (role) {
case Qt::DisplayRole:
return m_history[index.row()];
return m_history[index.row()].value;
}
Q_UNREACHABLE();
+18 -10
View File
@@ -8,6 +8,7 @@
#include <QQuickAsyncImageProvider>
#include <QNetworkAccessManager>
#include <QAbstractListModel>
#include <QSortFilterProxyModel>
#include <memory>
@@ -17,7 +18,9 @@
class FavouriteWatcher;
struct Song {
static Song fromSql(std::tuple<QString, QString, QString, QString> tuple) {
using ColumnTypes = std::tuple<QString, QString, QString, QString>;
static Song fromSql(ColumnTypes tuple) {
auto [videoId, title, artist, album] = tuple;
return Song {videoId, title, artist, album};
}
@@ -34,7 +37,8 @@ class FavouritesModel : public QAbstractListModel {
enum Roles {
VideoId = Qt::UserRole + 1,
Title,
Artist,
Artists,
ArtistsDisplayString
};
public:
@@ -49,7 +53,9 @@ private:
};
struct PlayedSong {
static PlayedSong fromSql(std::tuple<QString, int, QString, QString, QString> tuple) {
using ColumnTypes = std::tuple<QString, int, QString, QString, QString>;
static PlayedSong fromSql(ColumnTypes tuple) {
auto [videoId, plays, title, artist, album] = tuple;
return PlayedSong {videoId, title, artist, album, plays};
}
@@ -64,14 +70,16 @@ struct PlayedSong {
class PlaybackHistoryModel : public QAbstractListModel {
Q_OBJECT
public:
enum Roles {
VideoId = Qt::UserRole + 1,
Title,
Artist,
Artists,
ArtistsDisplayString,
Plays
};
Q_ENUM(Roles);
public:
PlaybackHistoryModel(QFuture<std::vector<PlayedSong>> &&songs, QObject *parent = nullptr);
QHash<int, QByteArray> roleNames() const override;
@@ -86,12 +94,12 @@ class SearchHistoryModel : public QAbstractListModel {
Q_OBJECT
public:
SearchHistoryModel(QFuture<std::vector<QString> > &&historyFuture, QObject *parent = nullptr);
SearchHistoryModel(QFuture<std::vector<SingleValue<QString>>> &&historyFuture, QObject *parent = nullptr);
int rowCount(const QModelIndex &parent) const override;
QVariant data(const QModelIndex &index, int role) const override;
private:
std::vector<QString> m_history;
std::vector<SingleValue<QString>> m_history;
};
class Library : public QObject
@@ -110,7 +118,7 @@ public:
FavouritesModel *favourites();
Q_SIGNAL void favouritesChanged();
Q_INVOKABLE void addFavourite(const QString &videoId, const QString &title);
Q_INVOKABLE void addFavourite(const QString &videoId, const QString &title, const QString &artist, const QString &album);
Q_INVOKABLE void removeFavourite(const QString &videoId);
Q_INVOKABLE FavouriteWatcher *favouriteWatcher(const QString &videoId);
@@ -120,7 +128,7 @@ public:
PlaybackHistoryModel *playbackHistory();
Q_SIGNAL void playbackHistoryChanged();
Q_INVOKABLE void addPlaybackHistoryItem(const QString &videoId, const QString &title);
Q_INVOKABLE void addPlaybackHistoryItem(const QString &videoId, const QString &title, const QString &artist, const QString &album);
PlaybackHistoryModel *mostPlayed();
@@ -130,7 +138,7 @@ public:
}
private:
QFuture<void> addSong(const QString &videoId, const QString &title);
QFuture<void> addSong(const QString &videoId, const QString &title, const QString &artist, const QString &album);
QNetworkAccessManager m_networkImageCacher;
std::unique_ptr<ThreadedDatabase> m_database;
+3
View File
@@ -5,6 +5,7 @@
#include <QApplication>
#include <QQmlApplicationEngine>
#include <QtQml>
#include <QSortFilterProxyModel>
#include <QUrl>
#include <KLocalizedContext>
#include <KLocalizedString>
@@ -45,6 +46,8 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
qmlRegisterType<VideoInfoExtractor>(URI, 1, 0, "VideoInfoExtractor");
qmlRegisterType<ArtistModel>(URI, 1, 0, "ArtistModel");
qmlRegisterType<PlaylistModel>(URI, 1, 0, "PlaylistModel");
qmlRegisterUncreatableType<PlaybackHistoryModel>(URI, 1, 0, "PlaybackHistoryModel","");
qmlRegisterType<QSortFilterProxyModel>(URI, 1, 0, "SortFilterModel");
qmlRegisterSingletonType<UserPlaylistModel>(URI, 1, 0, "UserPlaylistModel", [](QQmlEngine *, QJSEngine *) {
return new UserPlaylistModel();
});
+11 -1
View File
@@ -39,7 +39,9 @@ QHash<int, QByteArray> PlaylistModel::roleNames() const
return {
{Title, "title"},
{Artists, "artists"},
{VideoId, "videoId"}
{VideoId, "videoId"},
{ThumbnailUrl, "thumbnailUrl"},
{ArtistsDisplayString, "artistsDisplayString"}
};
}
@@ -55,6 +57,14 @@ QVariant PlaylistModel::data(const QModelIndex &index, int role) const
return QString::fromStdString(*m_playlist.tracks[index.row()].video_id);
}
return {};
case ThumbnailUrl:
if (!m_playlist.tracks[index.row()].thumbnails.empty()) {
return QString::fromStdString(m_playlist.tracks[index.row()].thumbnails.front().url);
} else {
return {};
}
case ArtistsDisplayString:
return PlaylistUtils::artistsToString(m_playlist.tracks[index.row()].artists);
}
Q_UNREACHABLE();
+3 -1
View File
@@ -26,7 +26,9 @@ public:
enum Role {
Title,
Artists,
VideoId
VideoId,
ThumbnailUrl,
ArtistsDisplayString
};
int rowCount(const QModelIndex &parent) const override;
+7
View File
@@ -14,7 +14,14 @@ SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted
<file alias="PlaylistPage.qml">contents/ui/PlaylistPage.qml</file>
<file alias="ConfirmationMessage.qml">contents/ui/ConfirmationMessage.qml</file>
<file alias="LibraryPage.qml">contents/ui/LibraryPage.qml</file>
<file alias="MinimizedPlayerControls.qml">contents/ui/MinimizedPlayerControls.qml</file>
<file alias="MaximizedPlayerPage.qml">contents/ui/MaximizedPlayerPage.qml</file>
<file>migrations/2022-05-20-194850_init/down.sql</file>
<file>migrations/2022-05-20-194850_init/up.sql</file>
<file alias="PlaybackHistory.qml">contents/ui/PlaybackHistory.qml</file>
<file alias="RoundedMask.qml">contents/ui/RoundedMask.qml</file>
<file alias="SongMenu.qml">contents/ui/SongMenu.qml</file>
<file alias="ListHeader.qml">contents/ui/ListHeader.qml</file>
<file alias="RoundedImage.qml">contents/ui/RoundedImage.qml</file>
</qresource>
</RCC>
+25 -1
View File
@@ -3,6 +3,9 @@
// SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
#include "searchmodel.h"
#include "playlistutils.h"
#include <ranges>
SearchModel::SearchModel(QObject *parent)
: AbstractYTMusicModel(parent)
@@ -21,6 +24,7 @@ SearchModel::SearchModel(QObject *parent)
beginResetModel();
setLoading(false);
m_searchResults = results;
endResetModel();
});
});
@@ -117,6 +121,24 @@ QVariant SearchModel::data(const QModelIndex &index, int role) const
return QString();
}, m_searchResults.at(index.row()));
case ThumbnailUrl:
return std::visit([&](auto &&arg) {
using T = std::decay_t<decltype(arg)>;
if (!arg.thumbnails.empty()) {
return QString::fromStdString(arg.thumbnails.front().url);
}
return QString();
}, m_searchResults.at(index.row()));
case ArtistsDisplayString:
return QVariant::fromValue(std::visit([&](auto&& arg) {
using T = std::decay_t<decltype(arg)>;
if constexpr (std::is_same_v<T, search::Song> || std::is_same_v<T, search::Video> || std::is_same_v<T, search::Album>) {
return PlaylistUtils::artistsToString(arg.artists);
}
return QString();
}, m_searchResults.at(index.row())));
}
Q_UNREACHABLE();
@@ -131,7 +153,9 @@ QHash<int, QByteArray> SearchModel::roleNames() const
{Type, "type"},
{VideoId, "videoId"},
{Artists, "artists"},
{ArtistsDisplayString, "artistsDisplayString"},
{RadioPlaylistId, "radioPlaylistId"},
{ThumbnailUrl, "thumbnailUrl"}
};
}
@@ -153,7 +177,7 @@ void SearchModel::triggerItem(int row)
if constexpr (std::is_same_v<T, search::Album>) {
Q_EMIT openAlbum(QString::fromStdString(arg.browse_id));
} else if constexpr (std::is_same_v<T, search::Artist>) {
Q_EMIT openArtist(QString::fromStdString(arg.browse_id));
Q_EMIT openArtist(QString::fromStdString(arg.browse_id), QString::fromStdString(arg.radio_id.value_or("")), QString::fromStdString(arg.shuffle_id.value_or("")));
} else if constexpr (std::is_same_v<T, search::Playlist>) {
Q_EMIT openPlaylist(QString::fromStdString(arg.browse_id));
} else if constexpr (std::is_same_v<T, search::Song>) {
+4 -2
View File
@@ -19,6 +19,7 @@ class SearchModel : public AbstractYTMusicModel
public:
enum Type {
Artist,
ArtistsDisplayString,
Album,
Playlist,
Song,
@@ -31,7 +32,8 @@ public:
Type,
VideoId,
Artists,
RadioPlaylistId
RadioPlaylistId,
ThumbnailUrl
};
explicit SearchModel(QObject *parent = nullptr);
@@ -47,7 +49,7 @@ public:
Q_INVOKABLE void triggerItem(int row);
Q_SIGNAL void openAlbum(const QString &browseId);
Q_SIGNAL void openArtist(const QString &browseId);
Q_SIGNAL void openArtist(const QString &browseId,const QString &radioId, const QString &shuffleId);
Q_SIGNAL void openPlaylist(const QString &browseId);
Q_SIGNAL void openSong(const QString &videoId);
Q_SIGNAL void openVideo(const QString &videoId, const QString &title);
+42 -1
View File
@@ -11,6 +11,8 @@
#include <QRandomGenerator>
#include <QFutureWatcher>
#include <iostream>
#include "playlistutils.h"
UserPlaylistModel::UserPlaylistModel(QObject *parent)
@@ -55,6 +57,15 @@ UserPlaylistModel::UserPlaylistModel(QObject *parent)
connect(&YTMusicThread::instance().get(), &AsyncYTMusic::errorOccurred, this, [this] {
setLoading(false);
});
connect(this, &UserPlaylistModel::currentVideoIdChanged, this, [this]() {
// Clear lyrics, so we won't display old ones if the next song doesn't have any.
m_lyrics = {};
Q_EMIT lyricsChanged();
if (!m_currentVideoId.isEmpty()) {
fetchLyrics(m_currentVideoId);
}
});
}
int UserPlaylistModel::rowCount(const QModelIndex &parent) const
@@ -71,6 +82,8 @@ QVariant UserPlaylistModel::data(const QModelIndex &index, int role) const
return QString::fromStdString(m_playlist.tracks[index.row()].video_id);
case Artists:
return PlaylistUtils::artistsToString(m_playlist.tracks[index.row()].artists);
case Album:
return QString::fromStdString(m_playlist.tracks[index.row()].album.value_or(meta::Album()).name);
case IsCurrent:
return m_playlist.tracks[index.row()].video_id == m_currentVideoId.toStdString();
}
@@ -86,7 +99,8 @@ QHash<int, QByteArray> UserPlaylistModel::roleNames() const
{Title, "title"},
{VideoId, "videoId"},
{Artists, "artists"},
{IsCurrent, "isCurrent"}
{Album, "album"},
{IsCurrent, "isCurrent"},
};
}
@@ -129,6 +143,16 @@ void UserPlaylistModel::setCurrentVideoId(const QString &videoId)
Q_EMIT canSkipChanged();
}
int UserPlaylistModel::currentIndex() const
{
auto currentTrack = std::find_if(m_playlist.tracks.begin(), m_playlist.tracks.end(),
[this](const watch::Playlist::Track &track) {
return track.video_id == m_currentVideoId.toStdString();
});
return std::distance(m_playlist.tracks.begin(), currentTrack);
}
bool UserPlaylistModel::canSkip() const
{
const auto currentTrackIt = std::find_if(m_playlist.tracks.begin(), m_playlist.tracks.end(),
@@ -271,11 +295,28 @@ void UserPlaylistModel::emitCurrentVideoChanged(const QString &oldVideoId)
Q_EMIT dataChanged(index(newIndex), index(newIndex), {IsCurrent});
}
void UserPlaylistModel::fetchLyrics(const QString &videoId)
{
auto future = YTMusicThread::instance()->fetchWatchPlaylist(videoId);
connectFuture(future, this, [=, this](const auto &playlist) {
if (playlist.lyrics) {
connectFuture(YTMusicThread::instance()->fetchLyrics(QString::fromStdString(*playlist.lyrics)), this, [=, this](const auto &lyrics) {
m_lyrics = lyrics;
Q_EMIT lyricsChanged();
});
}
});
}
bool UserPlaylistModel::shuffle() const
{
return m_shuffle;
}
QString UserPlaylistModel::lyrics() const {
return QString::fromStdString(m_lyrics.lyrics);
}
void UserPlaylistModel::setShuffle(bool shuffle)
{
m_shuffle = shuffle;
+14 -1
View File
@@ -4,6 +4,7 @@
#pragma once
#include <QAbstractListModel>
#include <QFuture>
#include <ytmusic.h>
@@ -20,15 +21,19 @@ class UserPlaylistModel : public AbstractYTMusicModel
// output
Q_PROPERTY(QString currentVideoId READ currentVideoId NOTIFY currentVideoIdChanged)
Q_PROPERTY(int currentIndex READ currentIndex NOTIFY currentVideoIdChanged)
Q_PROPERTY(bool canSkip READ canSkip NOTIFY canSkipChanged)
Q_PROPERTY(QString lyrics READ lyrics NOTIFY lyricsChanged)
public:
enum Role {
Title = Qt::UserRole + 1,
VideoId,
Artists,
IsCurrent
Album,
IsCurrent,
};
Q_ENUM(Role);
explicit UserPlaylistModel(QObject *parent = nullptr);
@@ -46,6 +51,8 @@ public:
void setCurrentVideoId(const QString &videoId);
Q_SIGNAL void currentVideoIdChanged();
int currentIndex() const;
bool canSkip() const;
Q_SIGNAL void canSkipChanged();
@@ -57,6 +64,9 @@ public:
bool shuffle() const;
Q_SIGNAL void shuffleChanged();
QString lyrics() const;
Q_SIGNAL void lyricsChanged();
Q_INVOKABLE void next();
Q_INVOKABLE void skipTo(const QString &videoId);
Q_INVOKABLE void playNext(const QString &videoId, const QString &title, const std::vector<meta::Artist> &artists);
@@ -68,10 +78,13 @@ public:
private:
void emitCurrentVideoChanged(const QString &oldVideoId);
void fetchLyrics(const QString &videoId);
QString m_initialVideoId;
QString m_playlistId;
QString m_currentVideoId;
bool m_shuffle = false;
watch::Playlist m_playlist;
::Lyrics m_lyrics;
};
+14
View File
@@ -17,6 +17,8 @@ VideoInfoExtractor::VideoInfoExtractor(QObject *parent)
m_videoInfo = {};
Q_EMIT audioUrlChanged();
Q_EMIT titleChanged();
Q_EMIT artistChanged();
Q_EMIT channelChanged();
Q_EMIT songChanged();
Q_EMIT thumbnailChanged();
return;
@@ -30,6 +32,8 @@ VideoInfoExtractor::VideoInfoExtractor(QObject *parent)
setLoading(false);
Q_EMIT audioUrlChanged();
Q_EMIT titleChanged();
Q_EMIT artistChanged();
Q_EMIT channelChanged();
Q_EMIT songChanged();
Q_EMIT thumbnailChanged();
});
@@ -81,6 +85,16 @@ QString VideoInfoExtractor::title() const
return QString::fromStdString(m_videoInfo.title);
}
QString VideoInfoExtractor::artist() const
{
return QString::fromStdString(m_videoInfo.artist);
}
QString VideoInfoExtractor::channel() const
{
return QString::fromStdString(m_videoInfo.channel);
}
QString VideoInfoExtractor::thumbnail() const
{
return QString::fromStdString(m_videoInfo.thumbnail);
+8
View File
@@ -17,6 +17,8 @@ class VideoInfoExtractor : public QObject
Q_PROPERTY(QUrl audioUrl READ audioUrl NOTIFY audioUrlChanged)
Q_PROPERTY(QString title READ title NOTIFY titleChanged)
Q_PROPERTY(QString artist READ artist NOTIFY artistChanged) // may be empty if it is a video
Q_PROPERTY(QString channel READ channel NOTIFY channelChanged)
Q_PROPERTY(QString thumbnail READ thumbnail NOTIFY thumbnailChanged)
Q_PROPERTY(bool loading READ loading WRITE setLoading NOTIFY loadingChanged)
@@ -32,6 +34,12 @@ public:
QString title() const;
Q_SIGNAL void titleChanged();
QString artist() const;
Q_SIGNAL void artistChanged();
QString channel() const;
Q_SIGNAL void channelChanged();
QString thumbnail() const;
Q_SIGNAL void thumbnailChanged();
+38 -15
View File
@@ -5,6 +5,7 @@
#include "ytmusic.h"
#include <algorithm>
#include <iostream>
#include <pybind11/embed.h>
#include <pybind11/stl.h>
@@ -21,7 +22,7 @@ void pyPrintPretty(py::handle obj) {
#define UNEXPORT __attribute__ ((visibility("hidden")))
constexpr auto TESTED_YTMUSICAPI_VERSION = "0.21.0";
constexpr auto TESTED_YTMUSICAPI_VERSION = "0.24.0";
struct UNEXPORT YTMusicPrivate {
py::scoped_interpreter guard {};
@@ -40,10 +41,16 @@ struct UNEXPORT YTMusicPrivate {
// Some of the called python code randomly fails if the encoding is not utf8
setenv("LC_ALL", "en_US.utf8", true);
const auto version = module.attr("_version").attr("__version__").cast<std::string>();
if (version != TESTED_YTMUSICAPI_VERSION) {
std::cerr << "Running with untested version of ytmusicapi." << std::endl;
auto oldVersion = module.attr("__dict__").contains("_version");
if (oldVersion) {
std::cerr << "Running with outdated and untested version of ytmusicapi." << std::endl;
std::cerr << "The currently tested and supported version is " << TESTED_YTMUSICAPI_VERSION << std::endl;
} else {
const auto version = module.attr("version")("ytmusicapi").cast<std::string>();
if (version != TESTED_YTMUSICAPI_VERSION) {
std::cerr << "Running with untested version of ytmusicapi." << std::endl;
std::cerr << "The currently tested and supported version is " << TESTED_YTMUSICAPI_VERSION << std::endl;
}
}
}
@@ -268,7 +275,8 @@ std::optional<search::SearchResultItem> extract_search_result(py::handle result)
result["videoId"].cast<std::string>(),
result["title"].cast<std::string>(),
extract_py_list<meta::Artist>(result["artists"]),
result["views"].cast<std::string>()
result["views"].cast<std::string>(),
extract_py_list<meta::Thumbnail>(result["thumbnails"])
},
result["duration"].cast<std::string>()
};
@@ -278,7 +286,8 @@ std::optional<search::SearchResultItem> extract_search_result(py::handle result)
result["videoId"].cast<std::string>(),
result["title"].cast<std::string>(),
extract_py_list<meta::Artist>(result["artists"]),
result["duration"].cast<std::string>()
result["duration"].cast<std::string>(),
extract_py_list<meta::Thumbnail>(result["thumbnails"])
},
extract_meta_album(result["album"]),
result["isExplicit"].cast<bool>()
@@ -290,21 +299,24 @@ std::optional<search::SearchResultItem> extract_search_result(py::handle result)
result["type"].cast<std::string>(),
extract_py_list<meta::Artist>(result["artists"]),
result["year"].cast<std::optional<std::string>>(),
result["isExplicit"].cast<bool>()
result["isExplicit"].cast<bool>(),
extract_py_list<meta::Thumbnail>(result["thumbnails"])
};
} else if (resultType == "playlist") {
return search::Playlist {
result["browseId"].cast<std::string>(),
result["title"].cast<std::string>(),
result["author"].cast<std::string>(),
result["itemCount"].cast<std::string>()
result["itemCount"].cast<std::string>(),
extract_py_list<meta::Thumbnail>(result["thumbnails"])
};
} else if (resultType == "artist") {
return search::Artist {
result["browseId"].cast<std::string>(),
result["artist"].cast<std::string>(),
optional_key<std::string>(result, "shuffleId"),
optional_key<std::string>(result, "radioId")
optional_key<std::string>(result, "radioId"),
extract_py_list<meta::Thumbnail>(result["thumbnails"])
};
} else {
std::cerr << "Warning: Unsupported search result type found" << std::endl;
@@ -358,7 +370,7 @@ artist::Artist YTMusic::get_artist(const std::string &channel_id) const
artist["views"].cast<std::optional<std::string>>(),
artist["name"].cast<std::string>(),
artist["channelId"].cast<std::string>(),
artist["subscribers"].cast<std::string>(),
artist["subscribers"].cast<std::optional<std::string>>(),
artist["subscribed"].cast<bool>(),
extract_py_list<meta::Thumbnail>(artist["thumbnails"]),
extract_artist_section<artist::Artist::Song>(artist, "songs"),
@@ -460,10 +472,12 @@ video_info::VideoInfo YTMusic::extract_video_info(const std::string &video_id) c
using namespace pybind11::literals;
const auto info = d->get_ytdl().attr("extract_info")(video_id, "download"_a=py::bool_(false));
return {
info["id"].cast<std::string>(),
info["title"].cast<std::string>(),
info.contains("artist") ? info["artist"].cast<std::string>() : "",
info.contains("channel") ? info["channel"].cast<std::string>() : "",
extract_py_list<video_info::Format>(info["formats"]),
info["thumbnail"].cast<std::string>()
};
@@ -471,16 +485,25 @@ video_info::VideoInfo YTMusic::extract_video_info(const std::string &video_id) c
watch::Playlist YTMusic::get_watch_playlist(const std::optional<std::string> &videoId,
const std::optional<std::string> &playlistId,
int limit,
const std::optional<std::string> &params) const
int limit) const
{
const auto playlist = d->get_ytmusic().attr("get_watch_playlist")("videoId"_a = videoId,
"playlistId"_a = playlistId,
"limit"_a = py::int_(limit),
"params"_a = params);
"limit"_a = py::int_(limit));
return {
extract_py_list<watch::Playlist::Track>(playlist["tracks"]),
playlist["lyrics"].cast<std::optional<std::string>>()
};
}
Lyrics YTMusic::get_lyrics(const std::string &browse_id) const
{
auto lyrics = d->get_ytmusic().attr("get_lyrics")(browse_id);
return {
lyrics["source"].cast<std::string>(),
lyrics["lyrics"].cast<std::string>()
};
}
+15 -3
View File
@@ -44,6 +44,7 @@ struct Media {
std::string title;
std::vector<meta::Artist> artists;
std::string duration;
std::vector<meta::Thumbnail> thumbnails;
};
struct Video : public Media {
@@ -55,6 +56,7 @@ struct Playlist {
std::string title;
std::string author;
std::string item_count;
std::vector<meta::Thumbnail> thumbnails;
};
struct Song : public Media {
@@ -69,6 +71,7 @@ struct Album {
std::vector<meta::Artist> artists;
std::optional<std::string> year;
bool is_explicit;
std::vector<meta::Thumbnail> thumbnails;
};
struct Artist {
@@ -76,6 +79,7 @@ struct Artist {
std::string artist;
std::optional<std::string> shuffle_id;
std::optional<std::string> radio_id;
std::vector<meta::Thumbnail> thumbnails;
};
using SearchResultItem = std::variant<Video, Playlist, Song, Album, Artist>;
@@ -131,7 +135,7 @@ struct Artist {
std::optional<std::string> views;
std::string name;
std::string channel_id;
std::string subscribers;
std::optional<std::string> subscribers;
bool subscribed;
std::vector<meta::Thumbnail> thumbnails;
std::optional<Section<Song>> songs;
@@ -241,6 +245,8 @@ struct Format {
struct VideoInfo {
std::string id;
std::string title;
std::string artist;
std::string channel;
std::vector<Format> formats;
std::string thumbnail;
@@ -266,6 +272,11 @@ struct Playlist {
};
}
struct Lyrics {
std::string source;
std::string lyrics;
};
class YTMusic
{
public:
@@ -304,8 +315,9 @@ public:
/// https://ytmusicapi.readthedocs.io/en/latest/reference.html#ytmusicapi.YTMusic.get_watch_playlist
watch::Playlist get_watch_playlist(const std::optional<std::string> &videoId = std::nullopt,
const std::optional<std::string> &playlistId = std::nullopt,
int limit = 25,
const std::optional<std::string> &params = std::nullopt) const;
int limit = 25) const;
Lyrics get_lyrics(const std::string &browse_id) const;
// TODO wrap more methods