ESpotify PS4: Difference between revisions

From GameBrew
(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}}
Use a PS4 DualShock 4 to Control Spotify Functions Python Script.
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.


==Media==
==Setup==
'''YOUTUBETITLE''' ([https://www.youtube.com/watch?v=zzzzzzzzzzz YUOTUBE]) <br>
* You can set it up by creating a Spotify developer app in the [https://developer.spotify.com/dashboard/applications Developer Portal].
<youtube width="640">zzzzzzzzzzzzz</youtube>
* You need to edit the Redirect URI for the created app to "http://localhost:808".
<youtube></youtube>
* 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==
==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
https://dlhb.gamebrew.org/ps4homebrews/espotifyps4-03.png
https://dlhb.gamebrew.org/ps4homebrews/espotifyps4-04.png
https://dlhb.gamebrew.org/ps4homebrews/espotifyps4-05.png
https://dlhb.gamebrew.org/ps4homebrews/espotifyps4-06.png
https://dlhb.gamebrew.org/ps4homebrews/espotifyps4-07.png
https://dlhb.gamebrew.org/ps4homebrews/espotifyps4-08.png-->


==Changelog==
==Changelog==
Line 43: Line 63:


== External links ==
== External links ==
* Gbatemp - https://www.psxhax.com/threads/espotify-use-a-ps4-dualshock-4-to-control-spotify-functions-python-script.10427/
* 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
* VitaDB -
* Gbatemp -
* Google Source -
* Reddit -
* Gitlab -
* Github -
* Official Website -

Latest revision as of 02:26, 6 May 2024

eSpotify
Espotifyps4.png
General
Authorhdhdhfhfirjf
TypePC Utilities
Version1.0.0
LicenseMixed
Last Updated2021/11/28
Links
Download
Website
Source

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"
espotifyps4-01.png

paste the client credentials into config.json ( client id, client secret )
espotifyps4-02.png

Changelog

v1.0

  • First Release.

External links

Advertising: