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