Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
Jellyfin::DTO::LyricMetadata Class Reference

#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

Constructor & Destructor Documentation

◆ LyricMetadata() [1/2]

Jellyfin::DTO::LyricMetadata::LyricMetadata ( )

◆ LyricMetadata() [2/2]

Jellyfin::DTO::LyricMetadata::LyricMetadata ( const LyricMetadata & other)

Member Function Documentation

◆ album()

QString Jellyfin::DTO::LyricMetadata::album ( ) const

Gets or sets the album this song is on.

◆ albumNull()

bool Jellyfin::DTO::LyricMetadata::albumNull ( ) const

◆ artist()

QString Jellyfin::DTO::LyricMetadata::artist ( ) const

Gets or sets the song artist.

◆ artistNull()

bool Jellyfin::DTO::LyricMetadata::artistNull ( ) const

◆ author()

QString Jellyfin::DTO::LyricMetadata::author ( ) const

Gets or sets the author of the lyric data.

◆ authorNull()

bool Jellyfin::DTO::LyricMetadata::authorNull ( ) const

◆ by()

QString Jellyfin::DTO::LyricMetadata::by ( ) const

Gets or sets who the LRC file was created by.

◆ byNull()

bool Jellyfin::DTO::LyricMetadata::byNull ( ) const

◆ creator()

QString Jellyfin::DTO::LyricMetadata::creator ( ) const

Gets or sets the software used to create the LRC file.

◆ creatorNull()

bool Jellyfin::DTO::LyricMetadata::creatorNull ( ) const

◆ fromJson()

LyricMetadata Jellyfin::DTO::LyricMetadata::fromJson ( QJsonObject source)
static

◆ isSynced()

std::optional< bool > Jellyfin::DTO::LyricMetadata::isSynced ( ) const

Gets or sets a value indicating whether this lyric is synced.

◆ isSyncedNull()

bool Jellyfin::DTO::LyricMetadata::isSyncedNull ( ) const

◆ length()

std::optional< qint64 > Jellyfin::DTO::LyricMetadata::length ( ) const

Gets or sets the length of the song in ticks.

◆ lengthNull()

bool Jellyfin::DTO::LyricMetadata::lengthNull ( ) const

◆ offset()

std::optional< qint64 > Jellyfin::DTO::LyricMetadata::offset ( ) const

Gets or sets the lyric offset compared to audio in ticks.

◆ offsetNull()

bool Jellyfin::DTO::LyricMetadata::offsetNull ( ) const

◆ replaceData()

void Jellyfin::DTO::LyricMetadata::replaceData ( LyricMetadata & other)

Replaces the data being hold by this class with that of the other.

◆ setAlbum()

void Jellyfin::DTO::LyricMetadata::setAlbum ( QString newAlbum)

Gets or sets the album this song is on.

◆ setAlbumNull()

void Jellyfin::DTO::LyricMetadata::setAlbumNull ( )

◆ setArtist()

void Jellyfin::DTO::LyricMetadata::setArtist ( QString newArtist)

Gets or sets the song artist.

◆ setArtistNull()

void Jellyfin::DTO::LyricMetadata::setArtistNull ( )

◆ setAuthor()

void Jellyfin::DTO::LyricMetadata::setAuthor ( QString newAuthor)

Gets or sets the author of the lyric data.

◆ setAuthorNull()

void Jellyfin::DTO::LyricMetadata::setAuthorNull ( )

◆ setBy()

void Jellyfin::DTO::LyricMetadata::setBy ( QString newBy)

Gets or sets who the LRC file was created by.

◆ setByNull()

void Jellyfin::DTO::LyricMetadata::setByNull ( )

◆ setCreator()

void Jellyfin::DTO::LyricMetadata::setCreator ( QString newCreator)

Gets or sets the software used to create the LRC file.

◆ setCreatorNull()

void Jellyfin::DTO::LyricMetadata::setCreatorNull ( )

◆ setFromJson()

void Jellyfin::DTO::LyricMetadata::setFromJson ( QJsonObject source)

◆ setIsSynced()

void Jellyfin::DTO::LyricMetadata::setIsSynced ( std::optional< bool > newIsSynced)

Gets or sets a value indicating whether this lyric is synced.

◆ setIsSyncedNull()

void Jellyfin::DTO::LyricMetadata::setIsSyncedNull ( )

◆ setLength()

void Jellyfin::DTO::LyricMetadata::setLength ( std::optional< qint64 > newLength)

Gets or sets the length of the song in ticks.

◆ setLengthNull()

void Jellyfin::DTO::LyricMetadata::setLengthNull ( )

◆ setOffset()

void Jellyfin::DTO::LyricMetadata::setOffset ( std::optional< qint64 > newOffset)

Gets or sets the lyric offset compared to audio in ticks.

◆ setOffsetNull()

void Jellyfin::DTO::LyricMetadata::setOffsetNull ( )

◆ setTitle()

void Jellyfin::DTO::LyricMetadata::setTitle ( QString newTitle)

Gets or sets the title of the song.

◆ setTitleNull()

void Jellyfin::DTO::LyricMetadata::setTitleNull ( )

◆ setVersion()

void Jellyfin::DTO::LyricMetadata::setVersion ( QString newVersion)

Gets or sets the version of the creator used.

◆ setVersionNull()

void Jellyfin::DTO::LyricMetadata::setVersionNull ( )

◆ title()

QString Jellyfin::DTO::LyricMetadata::title ( ) const

Gets or sets the title of the song.

◆ titleNull()

bool Jellyfin::DTO::LyricMetadata::titleNull ( ) const

◆ toJson()

QJsonObject Jellyfin::DTO::LyricMetadata::toJson ( ) const

◆ version()

QString Jellyfin::DTO::LyricMetadata::version ( ) const

Gets or sets the version of the creator used.

◆ versionNull()

bool Jellyfin::DTO::LyricMetadata::versionNull ( ) const

Member Data Documentation

◆ m_album

QString Jellyfin::DTO::LyricMetadata::m_album
protected

◆ m_artist

QString Jellyfin::DTO::LyricMetadata::m_artist
protected

◆ m_author

QString Jellyfin::DTO::LyricMetadata::m_author
protected

◆ m_by

QString Jellyfin::DTO::LyricMetadata::m_by
protected

◆ m_creator

QString Jellyfin::DTO::LyricMetadata::m_creator
protected

◆ m_isSynced

std::optional<bool> Jellyfin::DTO::LyricMetadata::m_isSynced = std::nullopt
protected

◆ m_length

std::optional<qint64> Jellyfin::DTO::LyricMetadata::m_length = std::nullopt
protected

◆ m_offset

std::optional<qint64> Jellyfin::DTO::LyricMetadata::m_offset = std::nullopt
protected

◆ m_title

QString Jellyfin::DTO::LyricMetadata::m_title
protected

◆ m_version

QString Jellyfin::DTO::LyricMetadata::m_version
protected

The documentation for this class was generated from the following files: