Commit 90d15c42 authored by Antoine Cellerier's avatar Antoine Cellerier

Oops. (shouldn't change anything except remove a few warnings in the logs)

parent 950caf17
...@@ -31,7 +31,7 @@ function fetch_art() ...@@ -31,7 +31,7 @@ function fetch_art()
local l = vlc.object.libvlc() local l = vlc.object.libvlc()
local t = vlc.var.get( l, "musicbrainz-previousdate" ) local t = vlc.var.get( l, "musicbrainz-previousdate" )
if t ~= nil then if t ~= nil then
if t + 10000000. > vlc.misc.mdate() then if t + 1000000. > vlc.misc.mdate() then
vlc.msg.warn( "We must wait 1 second between requests unless we want to be blacklisted from the musicbrainz server." ) vlc.msg.warn( "We must wait 1 second between requests unless we want to be blacklisted from the musicbrainz server." )
vlc.misc.mwait( t + 1000000. ) vlc.misc.mwait( t + 1000000. )
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment