Misc cleanup
This commit is contained in:
@@ -45,10 +45,10 @@ std::string encodingToMimetype(Encoding encoding);
|
||||
|
||||
struct TranscodeParameters
|
||||
{
|
||||
Encoding encoding = Encoding::MP3;
|
||||
std::size_t bitrate = 128000;
|
||||
boost::optional<std::size_t> stream = boost::none; // Id of the stream to be transcoded (auto detect by default)
|
||||
boost::optional<std::chrono::seconds> offset = boost::none;
|
||||
Encoding encoding {Encoding::MP3};
|
||||
std::size_t bitrate {128000};
|
||||
boost::optional<std::size_t> stream {boost::none}; // Id of the stream to be transcoded (auto detect by default)
|
||||
boost::optional<std::chrono::seconds> offset {boost::none};
|
||||
};
|
||||
|
||||
class Transcoder
|
||||
|
||||
@@ -34,7 +34,6 @@ std::set<std::string> defaultClusterTypeNames =
|
||||
"ALBUMGROUPING",
|
||||
"MOOD",
|
||||
"ALBUMMOOD",
|
||||
"COMMENT:SONGS-DB_OCCASION",
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ AudioResource::handleRequest(const Wt::Http::Request& request,
|
||||
else
|
||||
{
|
||||
Database::IdType trackId;
|
||||
Av::TranscodeParameters parameters;
|
||||
Av::TranscodeParameters parameters {};
|
||||
|
||||
LMS_LOG(UI, DEBUG) << "No continuation yet";
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user