Skip to content

Commit 54bff67

Browse files
committed
fix: remove main
1 parent 5c06589 commit 54bff67

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

app/spotify/service.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -84,21 +84,3 @@ def get_devices_count(self) -> int:
8484
def __get_devices_from_api(self) -> list[Device]:
8585
devices_json = self.__api.devices()["devices"]
8686
return [Device(**device) for device in devices_json]
87-
88-
89-
90-
if __name__ == "__main__":
91-
import os
92-
93-
SPOTIFY_CLIENT_ID = "f194ec87794e4505ace8cb76a65b37df"
94-
SPOTIFY_CLIENT_SECRET = "324b3a763f704dbeb0764f9e2bf8d53a"
95-
96-
service = SpotifyService(
97-
client_id=SPOTIFY_CLIENT_ID,
98-
client_secret=SPOTIFY_CLIENT_SECRET,
99-
redirect_uri="http://localhost:8080"
100-
)
101-
102-
print(service.get_devices())
103-
104-
service.play(Track(id="2bqS0QtnXGjOYs3z6VtSyW"))

0 commit comments

Comments
 (0)