Added additional debug log when playing back a song from subsonic containing the url (without username and password).
This commit is contained in:
parent
296f55510d
commit
baaacf3e16
2 changed files with 11 additions and 1 deletions
|
@ -41,6 +41,10 @@ class SubsonicApi():
|
|||
template = '%s/stream.view?id=%s&u=%s&p=%s&c=mopidy&v=1.14'
|
||||
return template % (self.url, song_id, self.username, self.password)
|
||||
|
||||
def get_censored_song_stream_uri(self, song_id):
|
||||
template = '%s/stream.view?id=%s&u=******&p=******&c=mopidy&v=1.14'
|
||||
return template % (self.url, song_id)
|
||||
|
||||
def find_raw(self, query, exclude_artists=False, exclude_albums=False, exclude_songs=False):
|
||||
try:
|
||||
response = self.connection.search2(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue