Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/p/r/PrimCom-HEAD/modules/radio.py   PrimCom(Download)
        common.play_audio(url)
        sleep(.1)
        radio.pid = common.get_pid_by_name(cfg.PLAYER["cmd"])
        radio.on = True
        radio.url = url

src/p/r/PrimCom-HEAD/lib/common.py   PrimCom(Download)
def play_audio(audio):
    """
    Audio can be a file or an URL stream.
    """
    cmd = '{player} "{audio}" 1>/dev/null 2>&1 &'.format(player=cfg.PLAYER["cmdline"],