File tree 1 file changed +5
-2
lines changed
custom_components/spotcast
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,8 @@ def callback(*_):
121
121
def quick_play (self , ** kwargs ):
122
122
"""
123
123
Launches the spotify controller and returns when it's ready.
124
- To actually play media, another application using spotify connect is required.
124
+ To actually play media, another application using spotify
125
+ connect is required.
125
126
"""
126
127
self .access_token = kwargs ["access_token" ]
127
128
self .expires = kwargs ["expires" ]
@@ -132,4 +133,6 @@ def getSpotifyDeviceID(self) -> str:
132
133
"""
133
134
Retrieve the Spotify deviceID from provided chromecast info
134
135
"""
135
- return hashlib .md5 (self .castDevice .cast_info .friendly_name .encode ()).hexdigest ()
136
+ return hashlib .md5 (
137
+ self .castDevice .cast_info .friendly_name .encode ()
138
+ ).hexdigest ()
You can’t perform that action at this time.
0 commit comments