Readd lines that was removed in a merge by mistake
This commit is contained in:
parent
e27957a7fe
commit
696942e3c0
@ -82,10 +82,16 @@ class LibspotifyLibraryController(BaseLibraryController):
|
||||
else:
|
||||
spotify_query.append(u'%s:"%s"' % (field, value))
|
||||
spotify_query = u' '.join(spotify_query)
|
||||
logger.debug(u'Spotify search query: %s', spotify_query)
|
||||
logger.debug(u'In search method, search for: %s' % spotify_query)
|
||||
my_end, other_end = multiprocessing.Pipe()
|
||||
self.backend.spotify.search(spotify_query.encode(ENCODING), other_end)
|
||||
logger.debug(u'In Library.search(), waiting for search results')
|
||||
my_end.poll(None)
|
||||
logger.debug(u'In Library.search(), receiving search results')
|
||||
playlist = my_end.recv()
|
||||
logger.debug(u'In Library.search(), done receiving search results')
|
||||
logger.debug(['%s' % t.name for t in playlist.tracks])
|
||||
return playlist
|
||||
|
||||
|
||||
class LibspotifyPlaybackController(BasePlaybackController):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user