[gnome-music/wip/jfelder/mpris-limit-get-songs: 10/13] mpris: Rename song path prefix to TrackList



commit 8599a1aff9ba6d9b218020516ad5665db0b00af0
Author: Jean Felder <jfelder src gnome org>
Date:   Thu Oct 25 10:57:27 2018 +0200

    mpris: Rename song path prefix to TrackList
    
    MPRIS specification use a Camel case naming. So it makes sens to use
    this convention for TrackLists.

 gnomemusic/mpris.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/mpris.py b/gnomemusic/mpris.py
index 3dae302d..af524049 100644
--- a/gnomemusic/mpris.py
+++ b/gnomemusic/mpris.py
@@ -351,7 +351,7 @@ class MediaPlayer2Service(Server):
             return "/org/mpris/MediaPlayer2/TrackList/NoTrack"
 
         id_hex = media.get_id().encode('ascii').hex()
-        path = "/org/gnome/GnomeMusic/Tracklist/{}".format(id_hex)
+        path = "/org/gnome/GnomeMusic/TrackList/{}".format(id_hex)
         return path
 
     @log


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]