Hello all. Im not sure where I should ask this, but maybe someone can point me in the right direction.
Im trying to develop a python application that will pull information from the API with socket.io so I can send that data out a serial port to a custom display.
Does anyone have working on the latest Volumio release, a bit of python code snippet that runs on the Volumio host, that can access the API socket.io? I am OK with the serial part so far, I can talk to my display out the GPIO UART, but I seemingly struggle with python and socket.io. Possibly the python is too old? I cant get modules to load, or unsure of what socket IO module will work with python that comes installed by default on Volumio. Ive googled my brains out but most information is scattered or old and doesn’t work. Im new to python. Im just looking for a bit of how to on getting the development environment working and help with a piece of working code as simple as getting the status of the player.
Im also open to ideas on how to do this other ways besides python. I only need to get the status (play, pause), track and artist name.