![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <songinfo.h>
Public Member Functions | |
| SongInfo (bool isAutomated) | |
| SongInfo (const SongInfo &other) | |
| void | replaceData (SongInfo &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QString | name () const |
| Gets or sets the name. | |
| void | setName (QString newName) |
| Gets or sets the name. | |
| bool | nameNull () const |
| void | setNameNull () |
| QString | originalTitle () const |
| Gets or sets the original title. | |
| void | setOriginalTitle (QString newOriginalTitle) |
| Gets or sets the original title. | |
| bool | originalTitleNull () const |
| void | setOriginalTitleNull () |
| QString | path () const |
| Gets or sets the path. | |
| void | setPath (QString newPath) |
| Gets or sets the path. | |
| bool | pathNull () const |
| void | setPathNull () |
| QString | metadataLanguage () const |
| Gets or sets the metadata language. | |
| void | setMetadataLanguage (QString newMetadataLanguage) |
| Gets or sets the metadata language. | |
| bool | metadataLanguageNull () const |
| void | setMetadataLanguageNull () |
| QString | metadataCountryCode () const |
| Gets or sets the metadata country code. | |
| void | setMetadataCountryCode (QString newMetadataCountryCode) |
| Gets or sets the metadata country code. | |
| bool | metadataCountryCodeNull () const |
| void | setMetadataCountryCodeNull () |
| QJsonObject | providerIds () const |
| Gets or sets the provider ids. | |
| void | setProviderIds (QJsonObject newProviderIds) |
| Gets or sets the provider ids. | |
| bool | providerIdsNull () const |
| void | setProviderIdsNull () |
| std::optional< qint32 > | year () const |
| Gets or sets the year. | |
| void | setYear (std::optional< qint32 > newYear) |
| Gets or sets the year. | |
| bool | yearNull () const |
| void | setYearNull () |
| std::optional< qint32 > | indexNumber () const |
| void | setIndexNumber (std::optional< qint32 > newIndexNumber) |
| bool | indexNumberNull () const |
| void | setIndexNumberNull () |
| std::optional< qint32 > | parentIndexNumber () const |
| void | setParentIndexNumber (std::optional< qint32 > newParentIndexNumber) |
| bool | parentIndexNumberNull () const |
| void | setParentIndexNumberNull () |
| QDateTime | premiereDate () const |
| void | setPremiereDate (QDateTime newPremiereDate) |
| bool | premiereDateNull () const |
| void | setPremiereDateNull () |
| bool | isAutomated () const |
| void | setIsAutomated (bool newIsAutomated) |
| QStringList | albumArtists () const |
| void | setAlbumArtists (QStringList newAlbumArtists) |
| bool | albumArtistsNull () const |
| void | setAlbumArtistsNull () |
| QString | album () const |
| void | setAlbum (QString newAlbum) |
| bool | albumNull () const |
| void | setAlbumNull () |
| QStringList | artists () const |
| void | setArtists (QStringList newArtists) |
| bool | artistsNull () const |
| void | setArtistsNull () |
Static Public Member Functions | |
| static SongInfo | fromJson (QJsonObject source) |
Protected Attributes | |
| QString | m_name |
| QString | m_originalTitle |
| QString | m_path |
| QString | m_metadataLanguage |
| QString | m_metadataCountryCode |
| QJsonObject | m_providerIds |
| std::optional< qint32 > | m_year = std::nullopt |
| std::optional< qint32 > | m_indexNumber = std::nullopt |
| std::optional< qint32 > | m_parentIndexNumber = std::nullopt |
| QDateTime | m_premiereDate |
| bool | m_isAutomated |
| QStringList | m_albumArtists |
| QString | m_album |
| QStringList | m_artists |
| Jellyfin::DTO::SongInfo::SongInfo | ( | bool | isAutomated | ) |
| Jellyfin::DTO::SongInfo::SongInfo | ( | const SongInfo & | other | ) |
| QString Jellyfin::DTO::SongInfo::album | ( | ) | const |
| QStringList Jellyfin::DTO::SongInfo::albumArtists | ( | ) | const |
| bool Jellyfin::DTO::SongInfo::albumArtistsNull | ( | ) | const |
| bool Jellyfin::DTO::SongInfo::albumNull | ( | ) | const |
| QStringList Jellyfin::DTO::SongInfo::artists | ( | ) | const |
| bool Jellyfin::DTO::SongInfo::artistsNull | ( | ) | const |
|
static |
| std::optional< qint32 > Jellyfin::DTO::SongInfo::indexNumber | ( | ) | const |
| bool Jellyfin::DTO::SongInfo::indexNumberNull | ( | ) | const |
| bool Jellyfin::DTO::SongInfo::isAutomated | ( | ) | const |
| QString Jellyfin::DTO::SongInfo::metadataCountryCode | ( | ) | const |
Gets or sets the metadata country code.
| bool Jellyfin::DTO::SongInfo::metadataCountryCodeNull | ( | ) | const |
| QString Jellyfin::DTO::SongInfo::metadataLanguage | ( | ) | const |
Gets or sets the metadata language.
| bool Jellyfin::DTO::SongInfo::metadataLanguageNull | ( | ) | const |
| QString Jellyfin::DTO::SongInfo::name | ( | ) | const |
Gets or sets the name.
| bool Jellyfin::DTO::SongInfo::nameNull | ( | ) | const |
| QString Jellyfin::DTO::SongInfo::originalTitle | ( | ) | const |
Gets or sets the original title.
| bool Jellyfin::DTO::SongInfo::originalTitleNull | ( | ) | const |
| std::optional< qint32 > Jellyfin::DTO::SongInfo::parentIndexNumber | ( | ) | const |
| bool Jellyfin::DTO::SongInfo::parentIndexNumberNull | ( | ) | const |
| QString Jellyfin::DTO::SongInfo::path | ( | ) | const |
Gets or sets the path.
| bool Jellyfin::DTO::SongInfo::pathNull | ( | ) | const |
| QDateTime Jellyfin::DTO::SongInfo::premiereDate | ( | ) | const |
| bool Jellyfin::DTO::SongInfo::premiereDateNull | ( | ) | const |
| QJsonObject Jellyfin::DTO::SongInfo::providerIds | ( | ) | const |
Gets or sets the provider ids.
| bool Jellyfin::DTO::SongInfo::providerIdsNull | ( | ) | const |
| void Jellyfin::DTO::SongInfo::replaceData | ( | SongInfo & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::SongInfo::setAlbum | ( | QString | newAlbum | ) |
| void Jellyfin::DTO::SongInfo::setAlbumArtists | ( | QStringList | newAlbumArtists | ) |
| void Jellyfin::DTO::SongInfo::setAlbumArtistsNull | ( | ) |
| void Jellyfin::DTO::SongInfo::setAlbumNull | ( | ) |
| void Jellyfin::DTO::SongInfo::setArtists | ( | QStringList | newArtists | ) |
| void Jellyfin::DTO::SongInfo::setArtistsNull | ( | ) |
| void Jellyfin::DTO::SongInfo::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::SongInfo::setIndexNumber | ( | std::optional< qint32 > | newIndexNumber | ) |
| void Jellyfin::DTO::SongInfo::setIndexNumberNull | ( | ) |
| void Jellyfin::DTO::SongInfo::setIsAutomated | ( | bool | newIsAutomated | ) |
| void Jellyfin::DTO::SongInfo::setMetadataCountryCode | ( | QString | newMetadataCountryCode | ) |
Gets or sets the metadata country code.
| void Jellyfin::DTO::SongInfo::setMetadataCountryCodeNull | ( | ) |
| void Jellyfin::DTO::SongInfo::setMetadataLanguage | ( | QString | newMetadataLanguage | ) |
Gets or sets the metadata language.
| void Jellyfin::DTO::SongInfo::setMetadataLanguageNull | ( | ) |
| void Jellyfin::DTO::SongInfo::setName | ( | QString | newName | ) |
Gets or sets the name.
| void Jellyfin::DTO::SongInfo::setNameNull | ( | ) |
| void Jellyfin::DTO::SongInfo::setOriginalTitle | ( | QString | newOriginalTitle | ) |
Gets or sets the original title.
| void Jellyfin::DTO::SongInfo::setOriginalTitleNull | ( | ) |
| void Jellyfin::DTO::SongInfo::setParentIndexNumber | ( | std::optional< qint32 > | newParentIndexNumber | ) |
| void Jellyfin::DTO::SongInfo::setParentIndexNumberNull | ( | ) |
| void Jellyfin::DTO::SongInfo::setPath | ( | QString | newPath | ) |
Gets or sets the path.
| void Jellyfin::DTO::SongInfo::setPathNull | ( | ) |
| void Jellyfin::DTO::SongInfo::setPremiereDate | ( | QDateTime | newPremiereDate | ) |
| void Jellyfin::DTO::SongInfo::setPremiereDateNull | ( | ) |
| void Jellyfin::DTO::SongInfo::setProviderIds | ( | QJsonObject | newProviderIds | ) |
Gets or sets the provider ids.
| void Jellyfin::DTO::SongInfo::setProviderIdsNull | ( | ) |
| void Jellyfin::DTO::SongInfo::setYear | ( | std::optional< qint32 > | newYear | ) |
Gets or sets the year.
| void Jellyfin::DTO::SongInfo::setYearNull | ( | ) |
| QJsonObject Jellyfin::DTO::SongInfo::toJson | ( | ) | const |
| std::optional< qint32 > Jellyfin::DTO::SongInfo::year | ( | ) | const |
Gets or sets the year.
| bool Jellyfin::DTO::SongInfo::yearNull | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |