Change mpris path
This commit is contained in:
@@ -328,7 +328,7 @@ void Mpris2::SetShuffle(bool enable) {
|
|||||||
QVariantMap Mpris2::Metadata() const { return last_metadata_; }
|
QVariantMap Mpris2::Metadata() const { return last_metadata_; }
|
||||||
|
|
||||||
QString Mpris2::current_track_id() const {
|
QString Mpris2::current_track_id() const {
|
||||||
return QString("/org/strawberry/strawberrymusicplayer/Track/%1").arg(QString::number(app_->playlist_manager()->active()->current_row()));
|
return QString("/org/strawbs/strawberry/Track/%1").arg(QString::number(app_->playlist_manager()->active()->current_row()));
|
||||||
}
|
}
|
||||||
|
|
||||||
// We send Metadata change notification as soon as the process of changing song starts...
|
// We send Metadata change notification as soon as the process of changing song starts...
|
||||||
@@ -483,7 +483,7 @@ QStringList Mpris2::Orderings() const { return QStringList() << "User"; }
|
|||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
QDBusObjectPath MakePlaylistPath(int id) {
|
QDBusObjectPath MakePlaylistPath(int id) {
|
||||||
return QDBusObjectPath(QString("/org/strawberry/strawberrymusicplayer/PlaylistId/%1").arg(id));
|
return QDBusObjectPath(QString("/org/strawbs/strawberry/PlaylistId/%1").arg(id));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user