def get_request(self): song = request.get_next(self.sid) if not song: return None self.reset_request_sequence() song.data['entry_type'] = ElecSongTypes.request return song
def _get_request_function(self): return request.get_next(self.sid)
def _get_request_song(self): return request.get_next(self.sid)
def _get_request_function(self): if len(self.songs) > 0: return request.get_next(self.sid, 1) else: return request.get_next(self.sid)