1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-04 01:42:44 +00:00

core: send start index when playing on remote session

This commit is contained in:
Chris Josten 2023-01-05 15:53:52 +01:00
parent 7a7ddc7717
commit 3783de9ce7
5 changed files with 177 additions and 2 deletions

View file

@ -27728,6 +27728,33 @@ public:
void setPlayCommand(PlayCommand newPlayCommand);
/**
* @brief Optional. The index of the audio stream to play.
*/
const qint32 &audioStreamIndex() const;
void setAudioStreamIndex(qint32 newAudioStreamIndex);
bool audioStreamIndexNull() const;
void setAudioStreamIndexNull();
/**
* @brief Optional. The media source id.
*/
const QString &mediaSourceId() const;
void setMediaSourceId(QString newMediaSourceId);
bool mediaSourceIdNull() const;
void setMediaSourceIdNull();
/**
* @brief Optional. The start index.
*/
const qint32 &startIndex() const;
void setStartIndex(qint32 newStartIndex);
bool startIndexNull() const;
void setStartIndexNull();
/**
* @brief The starting position of the first item.
*/
@ -27737,6 +27764,15 @@ public:
void setStartPositionTicksNull();
/**
* @brief Optional. The index of the subtitle stream to play.
*/
const qint32 &subtitleStreamIndex() const;
void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex);
bool subtitleStreamIndexNull() const;
void setSubtitleStreamIndexNull();
private:
// Required path parameters
QString m_sessionId;
@ -27746,7 +27782,11 @@ private:
PlayCommand m_playCommand;
// Optional query parameters
std::optional<qint32> m_audioStreamIndex = std::nullopt;
QString m_mediaSourceId;
std::optional<qint32> m_startIndex = std::nullopt;
std::optional<qint64> m_startPositionTicks = std::nullopt;
std::optional<qint32> m_subtitleStreamIndex = std::nullopt;
};