removing subtitles by default
This commit is contained in:
parent
398be76d31
commit
93f60ddf3b
3 changed files with 6 additions and 0 deletions
|
@ -556,6 +556,10 @@ void MpvObject::subAdd(QVariant urls)
|
||||||
command(QVariantList() << "sub-add" << urls);
|
command(QVariantList() << "sub-add" << urls);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MpvObject::subRemove()
|
||||||
|
{
|
||||||
|
command(QVariantList() << "sub-remove");
|
||||||
|
}
|
||||||
|
|
||||||
void MpvObject::updateState()
|
void MpvObject::updateState()
|
||||||
{
|
{
|
||||||
|
|
|
@ -139,6 +139,7 @@ public slots:
|
||||||
void loadFile(QVariant urls);
|
void loadFile(QVariant urls);
|
||||||
void screenshotToFile(QString file);
|
void screenshotToFile(QString file);
|
||||||
void subAdd(QVariant urls);
|
void subAdd(QVariant urls);
|
||||||
|
void subRemove();
|
||||||
|
|
||||||
bool enableAudio() const { return m_enableAudio; }
|
bool enableAudio() const { return m_enableAudio; }
|
||||||
void setEnableAudio(bool value) {
|
void setEnableAudio(bool value) {
|
||||||
|
|
|
@ -60,6 +60,7 @@ Item {
|
||||||
else
|
else
|
||||||
mpv.setProperty("loop", "no");
|
mpv.setProperty("loop", "no");
|
||||||
/* showPassiveNotification(mpv.getProperty("loop")); */
|
/* showPassiveNotification(mpv.getProperty("loop")); */
|
||||||
|
mpv.setProperty("sid", "no");
|
||||||
}
|
}
|
||||||
/* onIsPlayingChanged: showPassiveNotification(mpv.getProperty("pause")) */
|
/* onIsPlayingChanged: showPassiveNotification(mpv.getProperty("pause")) */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue