mirror of
https://github.com/jellyfin/jellyfin-desktop.git
synced 2026-11-15 10:32:58 +00:00
Add MPRIS support
This commit is contained in:
1 parent
811ca84b24
commit
00dfb70e1b
21 files changed
+2340
-36
No files matched your search
@@ -258,6 +258,27 @@ void InputComponent::sendAction(const QString action)
|
||||
emit hostInput(actionsToSend);
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////
|
||||
void InputComponent::setVolume(int volume)
|
||||
{
|
||||
qDebug() << "InputComponent: setVolume" << volume;
|
||||
emit volumeChanged(volume);
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////
|
||||
void InputComponent::seekTo(qint64 position)
|
||||
{
|
||||
qDebug() << "InputComponent: seekTo" << position << "ms";
|
||||
emit positionSeek(position);
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////
|
||||
void InputComponent::setRate(double rate)
|
||||
{
|
||||
qDebug() << "InputComponent: setRate" << rate;
|
||||
emit rateChanged(rate);
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////
|
||||
void InputComponent::registerHostCommand(const QString& command, QObject* receiver, const char* slot)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user