lyrics: add kugou and YT music providers

This commit is contained in:
bbedward committed 2026-09-25 14:02:27 -04:00
1 parent 60342b7416
commit 3b529b3a97
7 files changed
+28 -10

No files matched your search

+1 -1
View File
@@ -83,7 +83,7 @@ require (
)
require (
github.com/AvengeMedia/dankgo v1.6.3-0.20260923232838-611ba62fa30d
github.com/AvengeMedia/dankgo v1.6.3-0.20260925175559-4a47523e16ac
github.com/atotto/clipboard v0.1.4 // indirect
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
github.com/charmbracelet/colorprofile v0.4.3 // indirect
+2 -2
View File
@@ -1,7 +1,7 @@
filippo.io/edwards25519 v1.2.0 h1:crnVqOiS4jqYleHd9vaKZ+HKtHfllngJIiOpNpoJsjo=
filippo.io/edwards25519 v1.2.0/go.mod h1:xzAOLCNug/yB62zG1bQ8uziwrIqIuxhctzJT18Q77mc=
github.com/AvengeMedia/dankgo v1.6.3-0.20260923232838-611ba62fa30d h1:T6rY9AQ5WwZQzrV6FX+pn8r6ir4B4H/YdnzxmiMqS5g=
github.com/AvengeMedia/dankgo v1.6.3-0.20260923232838-611ba62fa30d/go.mod h1:Fj+FTCumlv8YjKmdv75DREJuGmqU9EnGpBroZuCWc/k=
github.com/AvengeMedia/dankgo v1.6.3-0.20260925175559-4a47523e16ac h1:02z5CUZ2P4EZbGzGTAWzX8djLtMsVeYKXF268c+VFy8=
github.com/AvengeMedia/dankgo v1.6.3-0.20260925175559-4a47523e16ac/go.mod h1:Fj+FTCumlv8YjKmdv75DREJuGmqU9EnGpBroZuCWc/k=
github.com/AvengeMedia/dgop v1.6.3-0.20260920163359-59c7d81ae3b9 h1:ssoiAng7ng500BgtZa1riJH6kKudQVM8Uk9a9kF7mDA=
github.com/AvengeMedia/dgop v1.6.3-0.20260920163359-59c7d81ae3b9/go.mod h1:8TFIP72NLxCbogF2hHU6sXj3RoTbHQW8beeCrisHs/Y=
github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY=
+1 -1
View File
@@ -111,7 +111,7 @@
inherit version;
pname = "dms-shell";
src = ./core;
vendorHash = "sha256-sCwBrGiGX59/7tLP/Y8Sk75QgmGvvaJrBVMkKrOEBmo=";
vendorHash = "sha256-RVeNOUrBqhTRgNiqLO6hOlpG9BMtRO7bhtdi2N0fBb8=";
subPackages = [ "cmd/dms" ];
+12 -4
View File
@@ -44,19 +44,27 @@ Singleton {
readonly property var lyricsProviderCatalog: [
{
id: "betterlyrics",
text: I18n.tr("Better Lyrics", "Lyrics provider name")
text: "Better Lyrics"
},
{
id: "unison",
text: I18n.tr("Unison", "Lyrics provider name")
text: "Unison"
},
{
id: "lyricsplus",
text: I18n.tr("LyricsPlus", "Lyrics provider name")
text: "LyricsPlus"
},
{
id: "kugou",
text: "KuGou"
},
{
id: "lrclib",
text: I18n.tr("LRCLIB", "Lyrics provider name")
text: "LRCLIB"
},
{
id: "youtubemusic",
text: "YouTube Music"
}
]
readonly property var lyricsProviders: {
@@ -512,9 +512,17 @@ var LOCAL_SPEC = {
id: "lyricsplus",
enabled: true
},
{
id: "kugou",
enabled: true
},
{
id: "lrclib",
enabled: true
},
{
id: "youtubemusic",
enabled: true
}
]
},
@@ -138,7 +138,7 @@ Item {
SettingsCard {
title: I18n.tr("Lyrics providers", "Lyrics source priority settings")
settingKey: "mediaLyricsProviders"
tags: ["lyrics", "provider", "priority", "order", "source", "lrclib", "better lyrics", "unison", "lyricsplus"]
tags: ["lyrics", "provider", "priority", "order", "source", "lrclib", "better lyrics", "unison", "lyricsplus", "kugou", "youtube music"]
headerActions: DankActionButton {
iconName: "restart_alt"
@@ -7798,6 +7798,7 @@
"keywords": [
"audio",
"better lyrics",
"kugou",
"lrclib",
"lyrics",
"lyricsplus",
@@ -7813,7 +7814,8 @@
"sound",
"source",
"spotify",
"unison"
"unison",
"youtube music"
],
"parentLabel": "Sound & media",
"icon": "restart_alt"