示例#1
0
 def set_party(self, party):
     """
         Set party mode on if party is True
         Play a new random track if not already playing
         @param party as bool
     """
     ShufflePlayer.set_party(self, party)
     self.update_crossfading()
示例#2
0
 def set_party(self, party):
     """
         Set party mode on if party is True
         Play a new random track if not already playing
         @param party as bool
     """
     ShufflePlayer.set_party(self, party)
     self.set_next()
     self.set_prev()
     self.update_crossfading()
示例#3
0
 def set_party(self, party):
     """
         Set party mode on if party is True
         Play a new random track if not already playing
         @param party as bool
     """
     ShufflePlayer.set_party(self, party)
     self.set_next()
     self.set_prev()
     if self.is_playing():
         self.emit('next-changed')
示例#4
0
 def set_party(self, party):
     """
         Set party mode on if party is True
         Play a new random track if not already playing
         @param party as bool
     """
     ShufflePlayer.set_party(self, party)
     self.set_next()
     self.set_prev()
     if self.is_playing():
         self.emit('next-changed')
示例#5
0
 def set_party(self, party):
     ShufflePlayer.set_party(self, party)
     self._set_next()
     self._set_prev()