mirror of
https://github.com/TangentFoxy/FindingMusic.git
synced 2024-11-17 23:14:21 +00:00
actually use your own library silly
This commit is contained in:
parent
8298b99fe9
commit
08372b05d7
@ -33,7 +33,8 @@ local funkwhale = arg[2]
|
||||
local results = music.random(count, nil, nil, {downloaded = true, searched = true})
|
||||
local track
|
||||
for _,v in ipairs(results) do
|
||||
track = music.data[v].names[1]
|
||||
track = music.name(v) -- music.data[v].names[1]
|
||||
if not track then print("Track '" .. v .. "' does not exist?") end -- shouldn't happen
|
||||
if urlencode then
|
||||
track = urlencode.encode_url(track)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user