Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
spotify plugin?
spotify plugin?
Hi!
im just wondering if there┬┤s a spotify plugin for eventghost?
I have an android tablet that i use spotify on, my thought was that when i press play in spotify, it will create an action i eventghost.
is this possible?
im just wondering if there┬┤s a spotify plugin for eventghost?
I have an android tablet that i use spotify on, my thought was that when i press play in spotify, it will create an action i eventghost.
is this possible?
Re: spotify plugin?
There was a Spotify plugin but it stopped working a year ago and no one has made a new one.
I really wish someone would make a new Spotify plugin too.
The old partially broken plugin:
viewtopic.php?f=9&t=1793
I really wish someone would make a new Spotify plugin too.
The old partially broken plugin:
viewtopic.php?f=9&t=1793
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: spotify plugin?
The problem with making a Spotify plugin is it depends on software that goes through very frequent updates and the updates keep breaking the plugin. Spotify does have a web API but the web API only allows for a very limited amount of playback time. Something like 30 seconds. So in that respect it's pretty useless. And having to constantly maintain code to keep something running is not something a plugin dev has time or even a want to do.
So until they nail down an API that gives all control and they stop changing it all the time I don't foresee the old plugin getting fixed or a new one being made
So until they nail down an API that gives all control and they stop changing it all the time I don't foresee the old plugin getting fixed or a new one being made
Re: spotify plugin?
ok ,so we have to wait then, thank you for your answers.
Re: spotify plugin?
Anxiously waiting for a new Spotify plugin!
This is why I like Bathmate for helping me gain size.
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: spotify plugin?
it seems as thought there are a couple of people that would like to have this plugin. even tho it might be more trouble then it's worth i might have a stab at it. tho i am very busy at the moment so development of this plugin will take some time.
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: spotify plugin?
Maybe was a robot asking!???
Anyway, maybe easiest, you could then try to combine some functionality from the web api with my old plug and use those functions that are still working. Just an idea
Anyway, maybe easiest, you could then try to combine some functionality from the web api with my old plug and use those functions that are still working. Just an idea
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: spotify plugin?
The most important feature I'm missing is the ability to start a specific playlist. There used to be an option to automatically start playing playlists viewed in the browser but now it seems you have to click the play button manually.
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: spotify plugin?
krambriw wrote:Maybe was a robot asking!???
Anyway, maybe easiest, you could then try to combine some functionality from the web api with my old plug and use those functions that are still working. Just an idea
that is exactly what i was thinking. i would like to use more of the web api then anything i think. I would hope they wouldn't change that up to much. but who knows. they are a couple of people wanting this it seems so i do think one should be made. and hopefully it works for a while.
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: spotify plugin?
When I looked at the web api documentation it looks unfortunately as it is rather useless for this purpose (a plugin for EG). The web api allows you to manage & build playlists, searching for artists & albums and retrieving info about them. But this functionality I doubt is useful for an EG user, instead you wanna start/stop playing, jumping to next playlist etc etc. The pure configuration of playlists are better handled directly in the Spotify app.
"All" libraries or python wrappers, that we eventually could use for an EG plugin, are depending on LibSpotify but it is deprecated. See information from Spotify below. Hopefully there will be a library for Windows a sunny day in the future...
BR Walter
"All" libraries or python wrappers, that we eventually could use for an EG plugin, are depending on LibSpotify but it is deprecated. See information from Spotify below. Hopefully there will be a library for Windows a sunny day in the future...
BR Walter
Please note that we have removed the LibSpotify binaries from our website in an effort to phase out the usage of this deprecated library. LibSpotify has been considered deprecated since 2015 and will be shut down in 2017, so we want to ensure that all developersÔÇÖ efforts and attention are focused on newer and better APIs that we actively support and maintain. These APIs include the Web API, iOS and Android SDKs, and upcoming embedded libraries for Windows, Mac OS X and Linux. More information regarding upcoming libraries will be provided in the coming months.
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: spotify plugin?
krambriw wrote:When I looked at the web api documentation it looks unfortunately as it is rather useless for this purpose (a plugin for EG). The web api allows you to manage & build playlists, searching for artists & albums and retrieving info about them. But this functionality I doubt is useful for an EG user, instead you wanna start/stop playing, jumping to next playlist etc etc. The pure configuration of playlists are better handled directly in the Spotify app.
"All" libraries or python wrappers, that we eventually could use for an EG plugin, are depending on LibSpotify but it is deprecated. See information from Spotify below. Hopefully there will be a library for Windows a sunny day in the future...
BR Walter
Please note that we have removed the LibSpotify binaries from our website in an effort to phase out the usage of this deprecated library. LibSpotify has been considered deprecated since 2015 and will be shut down in 2017, so we want to ensure that all developersÔÇÖ efforts and attention are focused on newer and better APIs that we actively support and maintain. These APIs include the Web API, iOS and Android SDKs, and upcoming embedded libraries for Windows, Mac OS X and Linux. More information regarding upcoming libraries will be provided in the coming months.
well that pretty much sums that up. thanks for looking Walter, so it's pretty much a waste of time to develop for the existing API because they are changing it next year. and it seems as tho they have not even released any documentation as to the API. so it seems we will have to wait until they release the binaries for windows. and the information on the API
Re: spotify plugin?
If you have an AVR with Spotify connect, and there is either a serial, or network plugin for your stereo, you can control Spotify by using eg to send commands to your stereo. When I had a subscription to Spotify, I used the Spotify app on whatever tablet I had around me at the time to send commands to the Spotify app running on my stereo. Spotify connect has a play to function where you can send your music to any device from any device. I don't have Spotify connect anymore, and now I just play Spotify through my stereo that is hooked up to my PC. I use EG to fire off keystroke emulations through my MCE remote, and it accomplishes about the same thing. Why not try that in the mean time. I have one set button to launch Spotify on the PC, and it enables the EG control scheme for Spotify at the same time. One limitation is that Spotify has to be in focus in order to see the keystroke emulations, I believe.
-
m19brandon
- Experienced User
- Posts: 177
- Joined: Mon Feb 03, 2014 10:36 pm
Re: spotify plugin?
I had been keeping my local version of this plugin running but gave up 6 months go. Spotify would change the tab counts every month.
You can launch Spotify to a playlist,station or song through the .exe with the /uri switch. But you have to kill the .exe and relaunch to change.
/uri spotify:user:#####:playlist:4mjs5mQNaTsh3E7traUApx
/uri spotify
artist:3h8OjAdgYXVRoMZ8jFd6Uw
You can launch Spotify to a playlist,station or song through the .exe with the /uri switch. But you have to kill the .exe and relaunch to change.
/uri spotify:user:#####:playlist:4mjs5mQNaTsh3E7traUApx
/uri spotify
Re: spotify plugin?
I used to have it so that Ctrl+Alt+Down Arrow would toggle pause, and Ctrl+Alt+Left/Right Arrow would skip to previous/next track as well as display the selected track in an OSD with "Artist - Song" format. After the Spotify plugin broke, all of this stopped working. After that I have been able to restore everything but the pause toggling.
To skip tracks I simply use the Spotify plugin, which still works for that. To display the current artist and song, I do the following:
1) Find Window: Program: Spotify.exe WindowClass: SpotifyMainWindow
2) Python Command: eg.result = eg.WinApi.GetWindowText(eg.result[0])
3) Python Command: eg.globals spotifyInfo = (eg.result)
4) Show OSD: Ôû║ {eg.globals.spotifyInfo}
If your keyboard has media buttons you can probably set this to display when pressing them. Too bad that we can't do much more right now.
To skip tracks I simply use the Spotify plugin, which still works for that. To display the current artist and song, I do the following:
1) Find Window: Program: Spotify.exe WindowClass: SpotifyMainWindow
2) Python Command: eg.result = eg.WinApi.GetWindowText(eg.result[0])
3) Python Command: eg.globals spotifyInfo = (eg.result)
4) Show OSD: Ôû║ {eg.globals.spotifyInfo}
If your keyboard has media buttons you can probably set this to display when pressing them. Too bad that we can't do much more right now.
