Skip to content

Daemon mode does nto run properly #232

@CaesarSP

Description

@CaesarSP

What happened

Daemon runs but it doesn't start autoplaying nor it shows up in playerctl.
I have tried both cli headless and systemd-service, both reach the same problem.

Steps to reproduce

Run:

/usr/bin/cliamp --daemon --auto-play https://soundcloud.com/rangerbts/flying-fish-network &
cliamp status --json

{
  "ok": true,
  "state": "stopped",
  "index": -1,
  "shuffle": true,
  "repeat": "All",
  "mono": false,
  "speed": 1
}

playerctl -l
No players found

EDIT:

If I were to do cliamp queue Downloads/flying\ fish\ network.mp3 while a daemon is running, sound starts playing
BUT, running playerctl -l still returns "No players found".

Environment

  • cliamp version (cliamp --version): v1.50.0
  • OS: Arch Linux, DankMaeriaShell (Niri)
  • Audio backend: PipeWire
  • Provider(s) involved: SoundCloud

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions