decoder/Thread: reimplement HasRemoteTagScanner() using the InputPlugin list
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include "DecoderAPI.hxx"
|
||||
#include "input/InputStream.hxx"
|
||||
#include "input/LocalOpen.hxx"
|
||||
#include "input/Registry.hxx"
|
||||
#include "DecoderList.hxx"
|
||||
#include "system/Error.hxx"
|
||||
#include "util/MimeType.hxx"
|
||||
@@ -432,14 +433,6 @@ try {
|
||||
error_uri));
|
||||
}
|
||||
|
||||
gcc_pure
|
||||
static bool
|
||||
HasRemoteTagScanner(const char *uri) noexcept
|
||||
{
|
||||
return StringStartsWith(uri, "tidal://") ||
|
||||
StringStartsWith(uri, "qobuz://");
|
||||
}
|
||||
|
||||
/**
|
||||
* Try to guess whether tags attached to the given song are
|
||||
* "volatile", e.g. if they have been received by a live stream, but
|
||||
|
Reference in New Issue
Block a user