changed music link to mixonomer

This commit is contained in:
andy 2022-08-07 19:33:16 +01:00
parent 0bad78a567
commit eb479274cd
5 changed files with 5 additions and 8 deletions

View File

@ -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) ![Python Tests](https://github.com/sarsoo/Mixonomer/workflows/test%20and%20deploy/badge.svg)

View File

@ -9,6 +9,3 @@ dispatch:
- url: "mixonomer.sarsoo.xyz/*" - url: "mixonomer.sarsoo.xyz/*"
service: spotify service: spotify
- url: "mix.sarsoo.xyz/*"
service: spotify

View File

@ -10,7 +10,7 @@ Mixonomer
Admin Script <src/admin> Admin Script <src/admin>
All Modules <src/modules> All Modules <src/modules>
`Mixonomer <https://music.sarsoo.xyz>`_ `Mixonomer <https://mixonomer.sarsoo.xyz>`_
---------------------------------------------- ----------------------------------------------
.. image:: https://github.com/sarsoo/Mixonomer/workflows/test%20and%20deploy/badge.svg .. image:: https://github.com/sarsoo/Mixonomer/workflows/test%20and%20deploy/badge.svg

View File

@ -122,7 +122,7 @@ def auth():
'response_type': 'code', 'response_type': 'code',
'scope': 'playlist-modify-public playlist-modify-private playlist-read-private ' 'scope': 'playlist-modify-public playlist-modify-private playlist-read-private '
'user-read-playback-state user-modify-playback-state user-library-read', '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 = { data = {
'grant_type': 'authorization_code', 'grant_type': 'authorization_code',
'code': 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) req = requests.post('https://accounts.spotify.com/api/token', data=data, headers=headers)

View File

@ -4,7 +4,7 @@ version = "1.0.1"
description = "Spotify smart playlist generator. Last.fm integration for listening statistics" description = "Spotify smart playlist generator. Last.fm integration for listening statistics"
authors = ["andy <andy@sarsoo.xyz>"] authors = ["andy <andy@sarsoo.xyz>"]
readme = "README.md" readme = "README.md"
homepage = "https://music.sarsoo.xyz/" homepage = "https://mixonomer.sarsoo.xyz/"
repository = "https://github.com/Sarsoo/Mixonomer" repository = "https://github.com/Sarsoo/Mixonomer"
[tool.poetry.scripts] [tool.poetry.scripts]