Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <item.h>
Signals | |
void | jellyfinIdChanged (const QString &newId) |
void | nameChanged (const QString &newName) |
void | originalTitleChanged (const QString &newOriginalTitle) |
void | serverIdChanged (const QString &newServerId) |
void | etagChanged (const QString &newEtag) |
void | sourceTypeChanged (const QString &sourceType) |
void | playlistItemIdChanged (const QString &playlistItemIdChanged) |
void | dateCreatedChanged (QDateTime newDateCreatedChanged) |
void | dateLastMediaAddedChanged (QDateTime newDateLastMediaAdded) |
void | extraTypeChanged (const QString &newExtraType) |
void | airsBeforeSeasonNumberChanged (int newAirsBeforeSeasonNumber) |
void | airsAfterSeasonNumberChanged (int newAirsAfterSeasonNumber) |
void | airsBeforeEpisodeNumberChanged (int newAirsAfterEpisodeNumber) |
bool | canDeleteChanged (bool newCanDelete) |
void | canDownloadChanged (bool newCanDownload) |
void | hasSubtitlesChanged (bool newHasSubtitles) |
void | preferredMetadataLanguageChanged (const QString &newPreferredMetadataLanguage) |
void | preferredMetadataCountryCodeChanged (const QString &newPreferredMetadataCountryCode) |
void | supportsSyncChanged (bool newSupportsSync) |
void | containerChanged (const QString &newContainer) |
void | sortNameChanged (const QString &newSortName) |
void | forcedSortNameChanged (const QString &newForcedSortName) |
void | premiereDateChanged (QDateTime newPremiereDate) |
void | criticRatingChanged (float newCriticRating) |
void | productionLocationsChanged (QStringList newProductionLocations) |
void | runTimeTicksChanged (qint64 newRunTimeTicks) |
void | overviewChanged (const QString &newOverview) |
void | productionYearChanged (int newProductionYear) |
void | indexNumberChanged (int newIndexNumber) |
void | indexNumberEndChanged (int newIndexNumberEnd) |
void | isFolderChanged (bool newIsFolder) |
void | typeChanged (const QString &newType) |
void | parentBackdropItemIdChanged () |
void | parentBackdropImageTagsChanged () |
void | userDataChanged (UserData *newUserData) |
void | recursiveItemCountChanged (int newRecursiveItemCount) |
void | childCountChanged (int newChildCount) |
void | albumArtistChanged (const QString &newAlbumArtist) |
void | seriesNameChanged (const QString &newSeriesName) |
void | seriesIdChanged (const QString &newSeriesId) |
void | seasonIdChanged (const QString &newSeasonId) |
void | seasonNameChanged (const QString &newSeasonName) |
void | mediaStreamsChanged (QVariantList &newMediaStreams) |
void | audioStreamsChanged (QVariantList &newAudioStreams) |
void | videoStreamsChanged (QVariantList &newVideoStreams) |
void | subtitleStreamsChanged (QVariantList &newSubtitleStreams) |
void | primaryImageAspectRatioChanged (double newPrimaryImageAspectRatio) |
void | artistsChanged (const QStringList &newArtists) |
void | artistItemsChanged () |
void | collectionTypeChanged () |
void | imageTagsChanged () |
void | backdropImageTagsChanged () |
void | imageBlurHashesChanged () |
void | trailerCountChanged (int newTrailerCount) |
void | movieCountChanged (int newMovieCount) |
void | seriesCountChanged (int newSeriesCount) |
void | programCountChanged (int newProgramCount) |
void | episodeCountChanged (int newEpisodeCount) |
void | songCountChanged (int newSongCount) |
void | albumCountChanged (int newAlbumCount) |
void | artistCountChanged (int newArtistCount) |
void | musicVideoCountChanged (int newMusicVideoCount) |
void | mediaTypeChanged (const QString &newMediaType) |
void | endDateChanged () |
void | startDateChanged () |
void | widthChanged (int newWidth) |
void | heightChanged (int newHeight) |
void | currentProgramChanged () |
Public Member Functions | |
Item (QObject *parent=nullptr, QSharedPointer< Model::Item > data=QSharedPointer< Model::Item >::create()) | |
QString | jellyfinId () const |
QString | name () const |
QString | originalTitle () const |
QString | serverId () const |
QString | etag () const |
QString | sourceType () const |
QString | playlistItemId () const |
QDateTime | dateCreated () const |
QDateTime | dateLastMediaAdded () const |
QString | extraType () const |
int | airsBeforeSeasonNumber () const |
int | airsAfterSeasonNumber () const |
int | airsBeforeEpisodeNumber () const |
qint64 | runTimeTicks () const |
QString | overview () const |
int | productionYear () const |
int | indexNumber () const |
int | indexNumberEnd () const |
bool | isFolder () const |
QString | type () const |
QString | parentBackdropItemId () const |
QStringList | parentBackdropImageTags () const |
UserData * | userData () const |
int | recursiveItemCount () const |
int | childCount () const |
QString | albumArtist () const |
QString | seriesName () const |
QString | seriesId () const |
QString | seasonId () const |
QString | seasonName () const |
QObjectList | mediaStreams () const |
QObjectList | audioStreams () const |
QObjectList | videoStreams () const |
QObjectList | subtitleStreams () const |
double | primaryImageAspectRatio () const |
QStringList | artists () const |
QList< QObject * > | artistItems () const |
QString | collectionType () const |
QJsonObject | imageTags () const |
QStringList | backdropImageTags () const |
QJsonObject | imageBlurHashes () const |
QString | mediaType () const |
QDateTime | endDate () const |
QDateTime | startDate () const |
Item * | currentProgram () const |
int | trailerCount () const |
int | movieCount () const |
int | seriesCount () const |
int | programCount () const |
int | episodeCount () const |
int | songCount () const |
int | albumCount () const |
int | artistCount () const |
int | musicVideoCount () const |
int | width () const |
int | height () const |
QSharedPointer< Model::Item > | data () const |
void | setData (QSharedPointer< Model::Item > newData) |
Protected Member Functions | |
void | setUserData (DTO::UserItemDataDto &newData) |
void | setUserData (QSharedPointer< DTO::UserItemDataDto > newData) |
void | updateMediaStreams () |
Protected Attributes | |
QSharedPointer< Model::Item > | m_data |
UserData * | m_userData = nullptr |
QObjectList | m_allMediaStreams |
QObjectList | m_audioStreams |
QObjectList | m_videoStreams |
QObjectList | m_subtitleStreams |
QObjectList | m_artistItems |
Item * | m_currentProgram = nullptr |
|
explicit |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
signal |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
signal |
|
signal |
|
inline |
|
signal |
|
inline |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
signal |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
signal |
|
signal |
|
signal |
|
inline |
|
signal |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
void Jellyfin::ViewModel::Item::setData | ( | QSharedPointer< Model::Item > | newData | ) |
|
protected |
|
protected |
|
inline |
|
signal |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
protected |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |