Пример #1
0
	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
Пример #2
0
 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
Пример #3
0
 def _get_request_function(self):
     return request.get_next(self.sid)
Пример #4
0
	def _get_request_function(self):
		return request.get_next(self.sid)
Пример #5
0
 def _get_request_song(self):
     return request.get_next(self.sid)
Пример #6
0
	def _get_request_song(self):
		return request.get_next(self.sid)
Пример #7
0
	def _get_request_function(self):
		if len(self.songs) > 0:
			return request.get_next(self.sid, 1)
		else:
			return request.get_next(self.sid)