From eb479274cd0bab97c4fdc076e2827f1a1111b1f4 Mon Sep 17 00:00:00 2001 From: andy Date: Sun, 7 Aug 2022 19:33:16 +0100 Subject: [PATCH] changed music link to mixonomer --- README.md | 2 +- dispatch.yaml | 3 --- docs/index.rst | 2 +- music/auth/auth.py | 4 ++-- pyproject.toml | 2 +- 5 files changed, 5 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index d9beb5b..ecf4486 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[Mixonomer](https://music.sarsoo.xyz) +[Mixonomer](https://mixonomer.sarsoo.xyz) ================== ![Python Tests](https://github.com/sarsoo/Mixonomer/workflows/test%20and%20deploy/badge.svg) diff --git a/dispatch.yaml b/dispatch.yaml index 8ca2765..514b62e 100644 --- a/dispatch.yaml +++ b/dispatch.yaml @@ -9,6 +9,3 @@ dispatch: - url: "mixonomer.sarsoo.xyz/*" service: spotify - - url: "mix.sarsoo.xyz/*" - service: spotify - diff --git a/docs/index.rst b/docs/index.rst index f8beeb5..da00c4c 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -10,7 +10,7 @@ Mixonomer Admin Script All Modules -`Mixonomer `_ +`Mixonomer `_ ---------------------------------------------- .. image:: https://github.com/sarsoo/Mixonomer/workflows/test%20and%20deploy/badge.svg diff --git a/music/auth/auth.py b/music/auth/auth.py index 02c0043..8a12e91 100644 --- a/music/auth/auth.py +++ b/music/auth/auth.py @@ -122,7 +122,7 @@ def auth(): 'response_type': 'code', 'scope': 'playlist-modify-public playlist-modify-private playlist-read-private ' 'user-read-playback-state user-modify-playback-state user-library-read', - 'redirect_uri': 'https://music.sarsoo.xyz/auth/spotify/token' + 'redirect_uri': 'https://mixonomer.sarsoo.xyz/auth/spotify/token' } ) @@ -151,7 +151,7 @@ def token(): data = { 'grant_type': 'authorization_code', 'code': code, - 'redirect_uri': 'https://music.sarsoo.xyz/auth/spotify/token' + 'redirect_uri': 'https://mixonomer.sarsoo.xyz/auth/spotify/token' } req = requests.post('https://accounts.spotify.com/api/token', data=data, headers=headers) diff --git a/pyproject.toml b/pyproject.toml index aec0314..949e520 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ version = "1.0.1" description = "Spotify smart playlist generator. Last.fm integration for listening statistics" authors = ["andy "] readme = "README.md" -homepage = "https://music.sarsoo.xyz/" +homepage = "https://mixonomer.sarsoo.xyz/" repository = "https://github.com/Sarsoo/Mixonomer" [tool.poetry.scripts]