queue_source.h
Rama main · réplica de lectura del repositorio original.
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0
#pragma once
#include "lms_artwork.h"
namespace bridge {
// Identify remote sources independently of duration. Queue selection also
// accepts finite LMS duration without a live edge. Inputs are CLI-decoded once.
inline bool remotePlaybackSource(const std::string &id, const std::string &remote, const std::string &url) {
return remoteArtworkTrack(id, remote, url) || url.compare(0, 7, "file://") != 0;
}
} // namespace bridge