input/Stream: mark qobuz:// and tidal:// as "seeking is expensive"

Those are loaded with the "curl" input plugin, and this one is
"expensive", because it needs to send a new HTTP request with Range
header for each seek.
This commit is contained in:
Max Kellermann 2018-06-21 22:35:30 +02:00
parent 2cb83a1f84
commit 197968d65e

View File

@ -79,6 +79,8 @@ static bool
ExpensiveSeeking(const char *uri) noexcept
{
return StringStartsWith(uri, "http://") ||
StringStartsWith(uri, "tidal://") ||
StringStartsWith(uri, "qobuz://") ||
StringStartsWith(uri, "https://");
}