change libre.fm to music.lonestar.it
Some checks are pending
Deploy / Build & verify package (push) Waiting to run
Deploy / Publish in-dev package to test.pypi.org (push) Blocked by required conditions
Deploy / Publish released package to pypi.org (push) Blocked by required conditions
Lint / lint (push) Waiting to run
Release drafter / update_release_draft (push) Waiting to run
Test / test (ubuntu-latest, 3.10) (push) Waiting to run
Test / test (ubuntu-latest, 3.11) (push) Waiting to run
Test / test (ubuntu-latest, 3.12) (push) Waiting to run
Test / test (ubuntu-latest, 3.13) (push) Waiting to run
Test / test (ubuntu-latest, 3.8) (push) Waiting to run
Test / test (ubuntu-latest, 3.9) (push) Waiting to run
Test / test (ubuntu-latest, pypy3.10) (push) Waiting to run
Test / Test successful (push) Blocked by required conditions
Some checks are pending
Deploy / Build & verify package (push) Waiting to run
Deploy / Publish in-dev package to test.pypi.org (push) Blocked by required conditions
Deploy / Publish released package to pypi.org (push) Blocked by required conditions
Lint / lint (push) Waiting to run
Release drafter / update_release_draft (push) Waiting to run
Test / test (ubuntu-latest, 3.10) (push) Waiting to run
Test / test (ubuntu-latest, 3.11) (push) Waiting to run
Test / test (ubuntu-latest, 3.12) (push) Waiting to run
Test / test (ubuntu-latest, 3.13) (push) Waiting to run
Test / test (ubuntu-latest, 3.8) (push) Waiting to run
Test / test (ubuntu-latest, 3.9) (push) Waiting to run
Test / test (ubuntu-latest, pypy3.10) (push) Waiting to run
Test / Test successful (push) Blocked by required conditions
This commit is contained in:
parent
25904371de
commit
c260d7b83f
|
@ -1,6 +1,6 @@
|
||||||
#
|
#
|
||||||
# pylast -
|
# pylast -
|
||||||
# A Python interface to Last.fm and Libre.fm
|
# A Python interface to Last.fm and music.lonestar.it
|
||||||
#
|
#
|
||||||
# Copyright 2008-2010 Amr Hassan
|
# Copyright 2008-2010 Amr Hassan
|
||||||
# Copyright 2013-2021 hugovk
|
# Copyright 2013-2021 hugovk
|
||||||
|
@ -705,7 +705,7 @@ class LastFMNetwork(_Network):
|
||||||
|
|
||||||
class LibreFMNetwork(_Network):
|
class LibreFMNetwork(_Network):
|
||||||
"""
|
"""
|
||||||
A preconfigured _Network object for Libre.fm
|
A preconfigured _Network object for music.lonestar.it
|
||||||
|
|
||||||
api_key: a provided API_KEY
|
api_key: a provided API_KEY
|
||||||
api_secret: a provided API_SECRET
|
api_secret: a provided API_SECRET
|
||||||
|
@ -727,27 +727,27 @@ class LibreFMNetwork(_Network):
|
||||||
password_hash: str = "",
|
password_hash: str = "",
|
||||||
) -> None:
|
) -> None:
|
||||||
super().__init__(
|
super().__init__(
|
||||||
name="Libre.fm",
|
name="music.lonestar.it",
|
||||||
homepage="https://libre.fm",
|
homepage="https://music.lonestar.it",
|
||||||
ws_server=("libre.fm", "/2.0/"),
|
ws_server=("music.lonestar.it", "/2.0/"),
|
||||||
api_key=api_key,
|
api_key=api_key,
|
||||||
api_secret=api_secret,
|
api_secret=api_secret,
|
||||||
session_key=session_key,
|
session_key=session_key,
|
||||||
username=username,
|
username=username,
|
||||||
password_hash=password_hash,
|
password_hash=password_hash,
|
||||||
domain_names={
|
domain_names={
|
||||||
DOMAIN_ENGLISH: "libre.fm",
|
DOMAIN_ENGLISH: "music.lonestar.it",
|
||||||
DOMAIN_GERMAN: "libre.fm",
|
DOMAIN_GERMAN: "music.lonestar.it",
|
||||||
DOMAIN_SPANISH: "libre.fm",
|
DOMAIN_SPANISH: "music.lonestar.it",
|
||||||
DOMAIN_FRENCH: "libre.fm",
|
DOMAIN_FRENCH: "music.lonestar.it",
|
||||||
DOMAIN_ITALIAN: "libre.fm",
|
DOMAIN_ITALIAN: "music.lonestar.it",
|
||||||
DOMAIN_POLISH: "libre.fm",
|
DOMAIN_POLISH: "music.lonestar.it",
|
||||||
DOMAIN_PORTUGUESE: "libre.fm",
|
DOMAIN_PORTUGUESE: "music.lonestar.it",
|
||||||
DOMAIN_SWEDISH: "libre.fm",
|
DOMAIN_SWEDISH: "music.lonestar.it",
|
||||||
DOMAIN_TURKISH: "libre.fm",
|
DOMAIN_TURKISH: "music.lonestar.it",
|
||||||
DOMAIN_RUSSIAN: "libre.fm",
|
DOMAIN_RUSSIAN: "music.lonestar.it",
|
||||||
DOMAIN_JAPANESE: "libre.fm",
|
DOMAIN_JAPANESE: "music.lonestar.it",
|
||||||
DOMAIN_CHINESE: "libre.fm",
|
DOMAIN_CHINESE: "music.lonestar.it",
|
||||||
},
|
},
|
||||||
urls={
|
urls={
|
||||||
"album": "artist/%(artist)s/album/%(album)s",
|
"album": "artist/%(artist)s/album/%(album)s",
|
||||||
|
|
Loading…
Reference in a new issue