Subsonic API: added getLyrics/getLyricsBySongId support, ref #379
This commit is contained in:
@@ -384,7 +384,7 @@ namespace lms::db
|
||||
assert(filePath.is_relative());
|
||||
|
||||
assert(_absoluteFilePath.filename() == filePath.filename()); // must be compatible with previous setAbsoluteFilePath call
|
||||
_fileStem = filePath.stem(); // lazy migration (_fileStem added later, could be set only with setAbsoluteFilePath)
|
||||
_fileStem = filePath.stem(); // lazy migration (_fileStem added later, could be set only with setAbsoluteFilePath)
|
||||
_relativeFilePath = filePath;
|
||||
}
|
||||
|
||||
|
||||
@@ -61,6 +61,10 @@ namespace lms::db
|
||||
std::string_view getFileStem() const { return _fileStem; }
|
||||
const Wt::WDateTime& getLastWriteTime() const { return _fileLastWrite; }
|
||||
std::size_t getFileSize() const { return _fileSize; }
|
||||
std::string_view getLanguage() const { return _language; }
|
||||
std::string_view getDisplayArtist() const { return _displayArtist; }
|
||||
std::string_view getDisplayTitle() const { return _displayTitle; }
|
||||
std::chrono::milliseconds getOffset() const { return _offset; }
|
||||
bool isSynchronized() const { return _synchronized; }
|
||||
SynchronizedLines getSynchronizedLines() const;
|
||||
std::vector<std::string> getUnsynchronizedLines() const;
|
||||
|
||||
Reference in New Issue
Block a user