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.
Depends highly on what your control system is expecting? Like what it supports and what format the message must have. You have to more specific.
There are several plugins available for network communication.
What is your use case? Is this private use or commercial. I do not support commercial projects in this forum.
The format i want is plain text, the control system accepts plain text via TCP/ip /Telnet
i only need to send the song title as plain text via TCP/IP - Telnet to my control prosessor and from there i know what to do, it is a Crestron control prosessor
Thankyou for the help
EDIT - Got it working and can now send the track and artist information
Are there a function to exctract the Album cover art URL ?
If you can find where the images are stored by Spotify (I think they are downloaded locally somewhere when the track is played) you could eventually create a similar script that triggers and sends it.
I was just browsing the spotify api pages and it seems they have added alot of functionalities nowdays.
So i was woundering if it still not possible to play spesific playlist and such without having to emulate a load of keypresses and stuff?
Sure, the Spotify api is providing much more then the library I am using for this Spotify plugin. Unfortunately, I have not seen that one updated with new functions. As mentioned before, the python support for Windows seems not to be the highest priority, at least I have not found a way to make alternative libraries work. So instead, I jumped on the Mopidy track.
Mopidy is an excellent player that also handles Spotify and supports more features. Mopidy runs under Linux, for instance in a virtual machine or on a Raspberry Pi. Check out the plugin I wrote here http://eventghost.net/forum/viewtopic.php?f=9&t=6360
Yes, this is a known problem if you run windows 7 64 bit or later. There is an updated version where this should be fixed and I would be interested if you can try it. Also, run EG as 'Administrator' to give EG necessary control of the Spotify application.
It's an easy fix. If you don't want to wait for a new version you can open "\EventGhost\plugins\Spotify\__init__.py" then scroll down to row 205. You'll see this code: