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 -
|
||||
# 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 2013-2021 hugovk
|
||||
|
@ -705,7 +705,7 @@ class LastFMNetwork(_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_secret: a provided API_SECRET
|
||||
|
@ -727,27 +727,27 @@ class LibreFMNetwork(_Network):
|
|||
password_hash: str = "",
|
||||
) -> None:
|
||||
super().__init__(
|
||||
name="Libre.fm",
|
||||
homepage="https://libre.fm",
|
||||
ws_server=("libre.fm", "/2.0/"),
|
||||
name="music.lonestar.it",
|
||||
homepage="https://music.lonestar.it",
|
||||
ws_server=("music.lonestar.it", "/2.0/"),
|
||||
api_key=api_key,
|
||||
api_secret=api_secret,
|
||||
session_key=session_key,
|
||||
username=username,
|
||||
password_hash=password_hash,
|
||||
domain_names={
|
||||
DOMAIN_ENGLISH: "libre.fm",
|
||||
DOMAIN_GERMAN: "libre.fm",
|
||||
DOMAIN_SPANISH: "libre.fm",
|
||||
DOMAIN_FRENCH: "libre.fm",
|
||||
DOMAIN_ITALIAN: "libre.fm",
|
||||
DOMAIN_POLISH: "libre.fm",
|
||||
DOMAIN_PORTUGUESE: "libre.fm",
|
||||
DOMAIN_SWEDISH: "libre.fm",
|
||||
DOMAIN_TURKISH: "libre.fm",
|
||||
DOMAIN_RUSSIAN: "libre.fm",
|
||||
DOMAIN_JAPANESE: "libre.fm",
|
||||
DOMAIN_CHINESE: "libre.fm",
|
||||
DOMAIN_ENGLISH: "music.lonestar.it",
|
||||
DOMAIN_GERMAN: "music.lonestar.it",
|
||||
DOMAIN_SPANISH: "music.lonestar.it",
|
||||
DOMAIN_FRENCH: "music.lonestar.it",
|
||||
DOMAIN_ITALIAN: "music.lonestar.it",
|
||||
DOMAIN_POLISH: "music.lonestar.it",
|
||||
DOMAIN_PORTUGUESE: "music.lonestar.it",
|
||||
DOMAIN_SWEDISH: "music.lonestar.it",
|
||||
DOMAIN_TURKISH: "music.lonestar.it",
|
||||
DOMAIN_RUSSIAN: "music.lonestar.it",
|
||||
DOMAIN_JAPANESE: "music.lonestar.it",
|
||||
DOMAIN_CHINESE: "music.lonestar.it",
|
||||
},
|
||||
urls={
|
||||
"album": "artist/%(artist)s/album/%(album)s",
|
||||
|
|
Loading…
Reference in a new issue