📜 ⬆️ ⬇️

Office music player with elements of democracy do it yourself

In our office, 4 programmers are sitting in the same room with similar musical views and a terrible reluctance to sit in headphones. Therefore, one of the computers in the office is selected as a music server, and broadcasts music around in large speakers.
I admit, this is extremely inconvenient, initially it was poured into phrases about the office, such as: “Put this song on, please!”, “Turn down the volume”, “Turn off ..”, etc. Therefore, for local needs, they wrote a small plugin for the music player that allows everyone to control the music from their computers. Decided to lay out, because surely there are people who need it.


AIMP was chosen as a music player, a plugin for Delphi was written to it, the task of which is to control the player, receiving commands using the simplest protocol. The client itself is written in Python (and worked on win32-2.5), in fact, it emulates the window of Winamp's beloved child, and the design is in trouble, can you not remind me of that.
What can I say - convenient. We already use more than a year of complaints and scandals because of the music does not arise.

Yes, I must say that we are sitting solely on Windows for this performance has been tested only under this platform, although theoretically everything should be run under other platforms.
')
So, what you need to install:

per customer:

After unpacking, you need to change the stg.py files where the ip-address of the host with AIMP is registered, and the connection port.

Source: https://habr.com/ru/post/67922/


All Articles