D
D
Drno2021-09-16 11:43:33
linux
Drno, 2021-09-16 11:43:33

How to automate this?

Good day to everyone, tell me where to dig)
There is a link to the music player, you need to automate its launch when the system boots. Ubuntu 16.04 is used (yes, I know it's old, but the machines on which the music plays are old)
The problem is that the player and the playlist are formed directly on the page, apparently by a JS script. And then gives 1 song from the database.
Unlike, say, SebrMusic, where the link to the stream can be found directly in the page ....

Now the launch looks like this - open VNC (because the PC is in the ass of the world ...), open the browser, press the button ... (damn hand )
It would be desirable to automate it. Ideally, of course, to drive a console player into which thread, the same one with VLC used to play wonderfully saving music)) and did not require it to run X and a browser.
Actually the link itself. The JS tag is specified because they have a script in this language, maybe the programmers will tell you something.
https://sphere.care/playGooseGoose-2floor/

PS - Chukchi is not a programmer, Chukchi is a system administrator. So writing scripts at an elementary level

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Developer, 2021-09-16
@samodum

Selenium, AutoIt, Sikuli

V
Victor Taran, 2021-09-16
@shambler81

%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA-%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0- %D0%BE%D1%82-2017-06-06-11-59-02-1024x576.png
mocp what do you not like?:

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question