[gnome-music/wip/jfelder/mpris-limit-get-songs: 9/12] mrpis: Rename song path prefix to TrackList



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

    mrpis: 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]