ESpotify PS4: Difference between revisions
From GameBrew
More actions
Created page with "{{Infobox PS4 Homebrews |title=eSpotify |image=espotifyps4.png |description=Use a PS4 DualShock 4 to Control Spotify Functions Python Script. |author=hdhdhfhfirjf |lastupdated=2021/11/28 |type=PC Utilities |version=1.0.0 |license=Mixed |download=https://dlhb.gamebrew.org/ps4homebrews/espotifyps4.7z |website=https://www.psxhax.com/threads/espotify-use-a-ps4-dualshock-4-to-control-spotify-functions-python-script.10427/ |source=https://github.com/hdhdhfhfirjf/eSpotify |dona..." |
No edit summary |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 2: | Line 2: | ||
|title=eSpotify | |title=eSpotify | ||
|image=espotifyps4.png | |image=espotifyps4.png | ||
|description=Use a PS4 DualShock 4 to | |description=Use a PS4 DualShock 4 to control Spotify. | ||
|author=hdhdhfhfirjf | |author=hdhdhfhfirjf | ||
|lastupdated=2021/11/28 | |lastupdated=2021/11/28 | ||
| Line 19: | Line 19: | ||
|image_alt=eSpotify | |image_alt=eSpotify | ||
}} | }} | ||
Control Spotify functions like pause, next song, volume with PS4 controller without having to take your hands off the controller for keyboard binds or tab out. | |||
== | ==User guide== | ||
Create a Spotify developer app in the [https://developer.spotify.com/dashboard/applications Developer Portal]. | |||
[[#Screenshots|Edit the Redirect URIs]] for the created app to <nowiki>"http://localhost:808"</nowiki>. | |||
< | Paste the [[#Screenshots|Client Credentials]] into config.json (Client ID, Client Secret). Edit config as wanted. | ||
The first time you run it, it should open the redirect URI in your browser. | |||
You may have to log in, if not, accept the scope terms for the Spotify API. | |||
'''Controller key codes:''' | |||
<pre> | |||
{ | |||
"x": 0, | |||
"circle": 1, | |||
"square": 2, | |||
"triangle": 3, | |||
"share": 4, | |||
"PS": 5, | |||
"options": 6, | |||
"left_stick_click": 7, | |||
"right_stick_click": 8, | |||
"L1": 9, | |||
"R1": 10, | |||
"up_arrow": 11, | |||
"down_arrow": 12, | |||
"left_arrow": 13, | |||
"right_arrow": 14, | |||
"touchpad": 15 | |||
}</pre> | |||
==Screenshots== | |||
'''Edit the Redirect URIs'''<br> | |||
https://dlhb.gamebrew.org/ps4homebrews/espotifyps4-01.png | https://dlhb.gamebrew.org/ps4homebrews/espotifyps4-01.png | ||
'''Client ID, Client Secret'''<br> | |||
https://dlhb.gamebrew.org/ps4homebrews/espotifyps4-02.png | https://dlhb.gamebrew.org/ps4homebrews/espotifyps4-02.png | ||
==Changelog== | ==Changelog== | ||
| Line 43: | Line 65: | ||
== External links == | == External links == | ||
* | * GitHub - https://github.com/hdhdhfhfirjf/eSpotify | ||
* PSXHAX - https://www.psxhax.com/threads/espotify-use-a-ps4-dualshock-4-to-control-spotify-functions-python-script.10427/ | |||
Latest revision as of 22:51, 4 June 2025
| eSpotify | |
|---|---|
| General | |
| Author | hdhdhfhfirjf |
| Type | PC Utilities |
| Version | 1.0.0 |
| License | Mixed |
| Last Updated | 2021/11/28 |
| Links | |
| Download | |
| Website | |
| Source | |
Control Spotify functions like pause, next song, volume with PS4 controller without having to take your hands off the controller for keyboard binds or tab out.
User guide
Create a Spotify developer app in the Developer Portal.
Edit the Redirect URIs for the created app to "http://localhost:808".
Paste the Client Credentials into config.json (Client ID, Client Secret). Edit config as wanted.
The first time you run it, it should open the redirect URI in your browser.
You may have to log in, if not, accept the scope terms for the Spotify API.
Controller key codes:
{
"x": 0,
"circle": 1,
"square": 2,
"triangle": 3,
"share": 4,
"PS": 5,
"options": 6,
"left_stick_click": 7,
"right_stick_click": 8,
"L1": 9,
"R1": 10,
"up_arrow": 11,
"down_arrow": 12,
"left_arrow": 13,
"right_arrow": 14,
"touchpad": 15
}
Screenshots
Edit the Redirect URIs
Client ID, Client Secret
Changelog
v1.0
- First Release.