add 96kbps + handle the encoding settings from user
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
#include "admin/UsersView.hpp"
|
||||
|
||||
#include "resource/ImageResource.hpp"
|
||||
#include "resource/TranscodeResource.hpp"
|
||||
#include "resource/AudioResource.hpp"
|
||||
|
||||
namespace UserInterface {
|
||||
|
||||
@@ -78,7 +78,7 @@ LmsApplication::LmsApplication(const Wt::WEnvironment& env, Wt::Dbo::SqlConnecti
|
||||
_appGroups(appGroups),
|
||||
_scanner(scanner),
|
||||
_imageResource(nullptr),
|
||||
_transcodeResource(nullptr)
|
||||
_audioResource(nullptr)
|
||||
{
|
||||
auto bootstrapTheme = std::make_unique<Wt::WBootstrapTheme>();
|
||||
bootstrapTheme->setVersion(Wt::BootstrapVersion::v3);
|
||||
@@ -329,7 +329,7 @@ LmsApplication::createHome()
|
||||
}
|
||||
|
||||
_imageResource = std::make_shared<ImageResource>();
|
||||
_transcodeResource = std::make_shared<TranscodeResource>();
|
||||
_audioResource = std::make_shared<AudioResource>();
|
||||
|
||||
setConfirmCloseMessage(Wt::WString::tr("Lms.quit-confirm"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user