Open Elisa through Python?

Hello,

I’m wondering what the path/cmd is to open Elisa and play a radio station or music through it, that way I can open it through my python script.

Is that possible?

Thanks in advance.

Should be /usr/bin/elisa.

1 Like

Hi,

It’s like running any shell command in python, you’ll need the os library for this :

import os
"""
do your thing
"""
os.system("elisa")
### or as said earlier
os.system("/usr/bin/elisa")
1 Like

Great! Now is there away to have the music automatically play when Elisa opens.
Because right now it just stays paused until I click play.

Cool, you might be interested in using mpd and mpc if you want to automate everything with scripts though

Thanks. I’ll look into that.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.