fix getting discography

This commit is contained in:
nixo 2019-05-21 15:48:20 +02:00
parent 0b7d0ebdd8
commit d2dd9bf4ff
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ restp(p, app...) = branch(req -> restpath!(p, req), app...)
function torrentdl(query::AbstractString) function torrentdl(query::AbstractString)
global rpc, me global rpc, me
TransmissionRPC.getauth(rpc) TransmissionRPC.getauth(rpc)
todl = RuTrackers.getdiscography(query) todl = RuTrackers.getdiscography(me, query)
add.(Ref(rpc), RuTrackers.download.(Ref(me), todl)) add.(Ref(rpc), RuTrackers.download.(Ref(me), todl))
end end