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



commit 43e06af019d4466339d69cf8a40c0be832710e16
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 43157853..4b222414 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]