* Fixed: Issue #56: update_now_playing() and scrobble() does not accept
integers where natural
This commit is contained in:
parent
b267c90b82
commit
e882d38ffe
|
@ -451,10 +451,10 @@ class _Network(object):
|
||||||
|
|
||||||
if album: params["album"] = album
|
if album: params["album"] = album
|
||||||
if album_artist: params["albumArtist"] = album_artist
|
if album_artist: params["albumArtist"] = album_artist
|
||||||
if context: params["context"] = context
|
if context: params["context"] = _unicode(context)
|
||||||
if track_number: params["trackNumber"] = track_number
|
if track_number: params["trackNumber"] = _unicode(track_number)
|
||||||
if mbid: params["mbid"] = mbid
|
if mbid: params["mbid"] = mbid
|
||||||
if duration: params["duration"] = duration
|
if duration: params["duration"] = _unicode(duration)
|
||||||
|
|
||||||
_Request(self, "track.updateNowPlaying", params).execute()
|
_Request(self, "track.updateNowPlaying", params).execute()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue