mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
steal some of @tcsenpai 's changes from the PR
+ ditch the LAST FM API KEY thing + expose the Musixmatch urls + use the kerve last fm api to download similar artist data + use google.it instead of the Google public dns to check internet connectivity (to make it work in all environments) + return og Dockerfile to fix ARM support
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import socket as Socket
|
||||
|
||||
|
||||
def has_connection(host="8.8.8.8", port=53, timeout=3):
|
||||
def has_connection(host="google.it", port=80, timeout=3):
|
||||
"""
|
||||
Host: 8.8.8.8 (google-public-dns-a.google.com)
|
||||
OpenPort: 53/tcp
|
||||
|
||||
Reference in New Issue
Block a user