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:
parent
7a7ddc7717
commit
3783de9ce7
5 changed files with 177 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue