Java Need help How can I control Spotify-Desktop with Java?

LenniCodes

New Coder
Sep 21, 2019
10
3
4
Hi there!
I am trying to make a java-program to control the Desktop Spotify-Program... not with the Web-API... it should't need to be a premium spotify-account. I don't know how to do...
anybody ideas? :)
 

Crow

Active Coder
Sep 7, 2019
119
16
28
Hey there. I haven't seen you yet but, welcome to CodeForum.org!

Anyways, as for your Question...

At first, I thought Spotify was built on something like Electron. But after looking at their Careers that are available, it appears that they do use Java for some of their stuff so that's something.

But, it appears that Spotify only has a Web-API and not a native Desktop-API. So, if you wanted to use an API then you're unfortunately, out of luck. Secondly, Spotify is Proprietary-Software. So, if you wanted to figure out how to control the Desktop-Program and make Mods for it, you'd need access to the Source-Code. Unfortunately, only Spotify has access to this Source-Code so learning Spotify's Code to try and modify it is essentially impossible and you'd need to work there just to get access to that Source-Code.

But, if you did work there and you modified that Source-Code and released a Modified-Version of Spotify to the world or only used it for Personal-Use, you'd probably be fired.

I think you may want to skip this one and do something much simpler. Maybe look for an Open-Source Project that has a Desktop-API for you to work on.
 

LenniCodes

New Coder
Sep 21, 2019
10
3
4
Hey there. I haven't seen you yet but, welcome to CodeForum.org!

Anyways, as for your Question...

At first, I thought Spotify was built on something like Electron. But after looking at their Careers that are available, it appears that they do use Java for some of their stuff so that's something.

But, it appears that Spotify only has a Web-API and not a native Desktop-API. So, if you wanted to use an API then you're unfortunately, out of luck. Secondly, Spotify is Proprietary-Software. So, if you wanted to figure out how to control the Desktop-Program and make Mods for it, you'd need access to the Source-Code. Unfortunately, only Spotify has access to this Source-Code so learning Spotify's Code to try and modify it is essentially impossible and you'd need to work there just to get access to that Source-Code.

But, if you did work there and you modified that Source-Code and released a Modified-Version of Spotify to the world or only used it for Personal-Use, you'd probably be fired.

I think you may want to skip this one and do something much simpler. Maybe look for an Open-Source Project that has a Desktop-API for you to work on.
Thank you for your reply!!! :) thats right I am new at this page... you said i have to have access to the spotify code but i saw some python examples which use the point between the communication of the webplayer and the desktop-program to manipulate the way of information. or something like that... they used some localhost services for it.. but i dont know how... :(
 
Last edited: