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 |
||
(One intermediate revision by the same user not shown) | |||
Line 20: | Line 20: | ||
}} | }} | ||
{{cleanup|article|Needs cleanup}} | {{cleanup|article|Needs cleanup}} | ||
eSpotify: Control Spotify with a Game Controller. This script enables you to manage Spotify functions, such as Pause, Next Song, and Volume, using a PS4 DualShock 4 Controller. Consequently, you no longer need to switch tabs while gaming to perform these actions. | |||
== | ==Setup== | ||
* You can set it up by creating a Spotify developer app in the [https://developer.spotify.com/dashboard/applications Developer Portal]. | |||
* You need to edit the Redirect URI for the created app to "http://localhost:808". | |||
* You then paste the Client Credentials into config.json (Client ID, Client Secret). | |||
* 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. | |||
* The key codes for the PS4 controller are provided. | |||
'''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 ui for the created app : "http://localhost:8081"'''<br> | |||
https://dlhb.gamebrew.org/ps4homebrews/espotifyps4-01.png | https://dlhb.gamebrew.org/ps4homebrews/espotifyps4-01.png | ||
'''paste the client credentials into config.json ( 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 63: | ||
== External links == | == External links == | ||
* | * Psxhax - https://www.psxhax.com/threads/espotify-use-a-ps4-dualshock-4-to-control-spotify-functions-python-script.10427/ | ||
* Github - https://github.com/hdhdhfhfirjf/eSpotify | * Github - https://github.com/hdhdhfhfirjf/eSpotify | ||
Latest revision as of 02:26, 6 Mayıs 2024
eSpotify | |
---|---|
General | |
Author | hdhdhfhfirjf |
Type | PC Utilities |
Version | 1.0.0 |
License | Mixed |
Last Updated | 2021/11/28 |
Links | |
Download | |
Website | |
Source | |
This article may require cleanup to meet GameBrew's quality standards.
Reason: Needs cleanup |
eSpotify: Control Spotify with a Game Controller. This script enables you to manage Spotify functions, such as Pause, Next Song, and Volume, using a PS4 DualShock 4 Controller. Consequently, you no longer need to switch tabs while gaming to perform these actions.
Setup
- You can set it up by creating a Spotify developer app in the Developer Portal.
- You need to edit the Redirect URI for the created app to "http://localhost:808".
- You then paste the Client Credentials into config.json (Client ID, Client Secret).
- 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.
- The key codes for the PS4 controller are provided.
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 ui for the created app : "http://localhost:8081"
paste the client credentials into config.json ( client id, client secret )
Changelog
v1.0
- First Release.