1. Luke Plant
  2. playerdo

Commits

Luke Plant  committed 99b8d2a

Removed unused code.

  • Participants
  • Parent commits b8c6046
  • Branches default

Comments (0)

Files changed (1)

File playerdo/backends/mpris.py

View file
  • Ignore whitespace
 
     friendly_name = "Any MPRIS player"
     player_object_name = "/Player"
-    tracklist_object_name = "/TrackList"
 
     @property
     def bus_name(self):
             self._player = obj
             return obj
 
-    @property
-    def tracklist(self):
-        if self.bus_name is None or self.tracklist_object_name is None:
-            raise NotImplementedError
-
-        try:
-            return self._tracklist
-        except AttributeError:
-            obj = DBusObject(self.bus_name, self.tracklist_object_name)
-            self._tracklist = obj
-            return obj
-
     def is_running(self):
         if self.bus_name is None:
             return False