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:
parent
2cb83a1f84
commit
197968d65e
@ -79,6 +79,8 @@ static bool
|
|||||||
ExpensiveSeeking(const char *uri) noexcept
|
ExpensiveSeeking(const char *uri) noexcept
|
||||||
{
|
{
|
||||||
return StringStartsWith(uri, "http://") ||
|
return StringStartsWith(uri, "http://") ||
|
||||||
|
StringStartsWith(uri, "tidal://") ||
|
||||||
|
StringStartsWith(uri, "qobuz://") ||
|
||||||
StringStartsWith(uri, "https://");
|
StringStartsWith(uri, "https://");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user