Skip to content

Commit

Permalink
Upd: save song uri in entry
Browse files Browse the repository at this point in the history
  • Loading branch information
jcorporation committed Jun 19, 2024
1 parent adb2ad6 commit d70eb1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Lyrics/Lyrics.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- {"name": "Lyrics", "file": "Lyrics/Lyrics.lua", "version": 3, "desc": "Fetches lyrics on demand.", "order":0, "arguments":["uri"]}
-- {"name": "Lyrics", "file": "Lyrics/Lyrics.lua", "version": 4, "desc": "Fetches lyrics on demand.", "order":0, "arguments":["uri"]}
-- Import lyrics provider configuration
local providers = require "scripts/LyricsProviders"
local rc, code, headers, body, song, lyrics_text, desc, synced
Expand Down Expand Up @@ -111,12 +111,12 @@ local entry = {
synced = synced,
lang = "",
desc = desc,
text = lyrics_text
text = lyrics_text,
uri = mympd_arguments.uri
}
local result = {
method = "MYMPD_API_LYRICS_GET",
data = { entry },
uri = mympd_arguments.uri,
totalEntities = 1,
returnedEntities = 1
}
Expand Down

0 comments on commit d70eb1b

Please sign in to comment.