![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <lyricmetadata.h>
Public Member Functions | |
| LyricMetadata () | |
| LyricMetadata (const LyricMetadata &other) | |
| void | replaceData (LyricMetadata &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QString | artist () const |
| Gets or sets the song artist. | |
| void | setArtist (QString newArtist) |
| Gets or sets the song artist. | |
| bool | artistNull () const |
| void | setArtistNull () |
| QString | album () const |
| Gets or sets the album this song is on. | |
| void | setAlbum (QString newAlbum) |
| Gets or sets the album this song is on. | |
| bool | albumNull () const |
| void | setAlbumNull () |
| QString | title () const |
| Gets or sets the title of the song. | |
| void | setTitle (QString newTitle) |
| Gets or sets the title of the song. | |
| bool | titleNull () const |
| void | setTitleNull () |
| QString | author () const |
| Gets or sets the author of the lyric data. | |
| void | setAuthor (QString newAuthor) |
| Gets or sets the author of the lyric data. | |
| bool | authorNull () const |
| void | setAuthorNull () |
| std::optional< qint64 > | length () const |
| Gets or sets the length of the song in ticks. | |
| void | setLength (std::optional< qint64 > newLength) |
| Gets or sets the length of the song in ticks. | |
| bool | lengthNull () const |
| void | setLengthNull () |
| QString | by () const |
| Gets or sets who the LRC file was created by. | |
| void | setBy (QString newBy) |
| Gets or sets who the LRC file was created by. | |
| bool | byNull () const |
| void | setByNull () |
| std::optional< qint64 > | offset () const |
| Gets or sets the lyric offset compared to audio in ticks. | |
| void | setOffset (std::optional< qint64 > newOffset) |
| Gets or sets the lyric offset compared to audio in ticks. | |
| bool | offsetNull () const |
| void | setOffsetNull () |
| QString | creator () const |
| Gets or sets the software used to create the LRC file. | |
| void | setCreator (QString newCreator) |
| Gets or sets the software used to create the LRC file. | |
| bool | creatorNull () const |
| void | setCreatorNull () |
| QString | version () const |
| Gets or sets the version of the creator used. | |
| void | setVersion (QString newVersion) |
| Gets or sets the version of the creator used. | |
| bool | versionNull () const |
| void | setVersionNull () |
| std::optional< bool > | isSynced () const |
| Gets or sets a value indicating whether this lyric is synced. | |
| void | setIsSynced (std::optional< bool > newIsSynced) |
| Gets or sets a value indicating whether this lyric is synced. | |
| bool | isSyncedNull () const |
| void | setIsSyncedNull () |
Static Public Member Functions | |
| static LyricMetadata | fromJson (QJsonObject source) |
Protected Attributes | |
| QString | m_artist |
| QString | m_album |
| QString | m_title |
| QString | m_author |
| std::optional< qint64 > | m_length = std::nullopt |
| QString | m_by |
| std::optional< qint64 > | m_offset = std::nullopt |
| QString | m_creator |
| QString | m_version |
| std::optional< bool > | m_isSynced = std::nullopt |
| Jellyfin::DTO::LyricMetadata::LyricMetadata | ( | ) |
| Jellyfin::DTO::LyricMetadata::LyricMetadata | ( | const LyricMetadata & | other | ) |
| QString Jellyfin::DTO::LyricMetadata::album | ( | ) | const |
Gets or sets the album this song is on.
| bool Jellyfin::DTO::LyricMetadata::albumNull | ( | ) | const |
| QString Jellyfin::DTO::LyricMetadata::artist | ( | ) | const |
Gets or sets the song artist.
| bool Jellyfin::DTO::LyricMetadata::artistNull | ( | ) | const |
| QString Jellyfin::DTO::LyricMetadata::author | ( | ) | const |
Gets or sets the author of the lyric data.
| bool Jellyfin::DTO::LyricMetadata::authorNull | ( | ) | const |
| QString Jellyfin::DTO::LyricMetadata::by | ( | ) | const |
Gets or sets who the LRC file was created by.
| bool Jellyfin::DTO::LyricMetadata::byNull | ( | ) | const |
| QString Jellyfin::DTO::LyricMetadata::creator | ( | ) | const |
Gets or sets the software used to create the LRC file.
| bool Jellyfin::DTO::LyricMetadata::creatorNull | ( | ) | const |
|
static |
| std::optional< bool > Jellyfin::DTO::LyricMetadata::isSynced | ( | ) | const |
Gets or sets a value indicating whether this lyric is synced.
| bool Jellyfin::DTO::LyricMetadata::isSyncedNull | ( | ) | const |
| std::optional< qint64 > Jellyfin::DTO::LyricMetadata::length | ( | ) | const |
Gets or sets the length of the song in ticks.
| bool Jellyfin::DTO::LyricMetadata::lengthNull | ( | ) | const |
| std::optional< qint64 > Jellyfin::DTO::LyricMetadata::offset | ( | ) | const |
Gets or sets the lyric offset compared to audio in ticks.
| bool Jellyfin::DTO::LyricMetadata::offsetNull | ( | ) | const |
| void Jellyfin::DTO::LyricMetadata::replaceData | ( | LyricMetadata & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::LyricMetadata::setAlbum | ( | QString | newAlbum | ) |
Gets or sets the album this song is on.
| void Jellyfin::DTO::LyricMetadata::setAlbumNull | ( | ) |
| void Jellyfin::DTO::LyricMetadata::setArtist | ( | QString | newArtist | ) |
Gets or sets the song artist.
| void Jellyfin::DTO::LyricMetadata::setArtistNull | ( | ) |
| void Jellyfin::DTO::LyricMetadata::setAuthor | ( | QString | newAuthor | ) |
Gets or sets the author of the lyric data.
| void Jellyfin::DTO::LyricMetadata::setAuthorNull | ( | ) |
| void Jellyfin::DTO::LyricMetadata::setBy | ( | QString | newBy | ) |
Gets or sets who the LRC file was created by.
| void Jellyfin::DTO::LyricMetadata::setByNull | ( | ) |
| void Jellyfin::DTO::LyricMetadata::setCreator | ( | QString | newCreator | ) |
Gets or sets the software used to create the LRC file.
| void Jellyfin::DTO::LyricMetadata::setCreatorNull | ( | ) |
| void Jellyfin::DTO::LyricMetadata::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::LyricMetadata::setIsSynced | ( | std::optional< bool > | newIsSynced | ) |
Gets or sets a value indicating whether this lyric is synced.
| void Jellyfin::DTO::LyricMetadata::setIsSyncedNull | ( | ) |
| void Jellyfin::DTO::LyricMetadata::setLength | ( | std::optional< qint64 > | newLength | ) |
Gets or sets the length of the song in ticks.
| void Jellyfin::DTO::LyricMetadata::setLengthNull | ( | ) |
| void Jellyfin::DTO::LyricMetadata::setOffset | ( | std::optional< qint64 > | newOffset | ) |
Gets or sets the lyric offset compared to audio in ticks.
| void Jellyfin::DTO::LyricMetadata::setOffsetNull | ( | ) |
| void Jellyfin::DTO::LyricMetadata::setTitle | ( | QString | newTitle | ) |
Gets or sets the title of the song.
| void Jellyfin::DTO::LyricMetadata::setTitleNull | ( | ) |
| void Jellyfin::DTO::LyricMetadata::setVersion | ( | QString | newVersion | ) |
Gets or sets the version of the creator used.
| void Jellyfin::DTO::LyricMetadata::setVersionNull | ( | ) |
| QString Jellyfin::DTO::LyricMetadata::title | ( | ) | const |
Gets or sets the title of the song.
| bool Jellyfin::DTO::LyricMetadata::titleNull | ( | ) | const |
| QJsonObject Jellyfin::DTO::LyricMetadata::toJson | ( | ) | const |
| QString Jellyfin::DTO::LyricMetadata::version | ( | ) | const |
Gets or sets the version of the creator used.
| bool Jellyfin::DTO::LyricMetadata::versionNull | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |