Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPD error: Connection refused #28

Open
Spp595 opened this issue Apr 7, 2023 · 2 comments
Open

MPD error: Connection refused #28

Spp595 opened this issue Apr 7, 2023 · 2 comments

Comments

@Spp595
Copy link

Spp595 commented Apr 7, 2023

MPD error: Connection refused
child_process.js:866
    throw err;
    ^

Error: Command failed: mpc current --format '%name% - %artist% - %title%'
MPD error: Connection refused

    at checkExecSyncError (child_process.js:790:11)
    at Object.execSync (child_process.js:863:15)
    at getPlay (/opt/lumi/gateway.js:284:32)
    at Object.getState (/opt/lumi/gateway.js:183:5)
    at MqttClient.<anonymous> (/opt/lumi/mqtt_client.js:10:13)
    at MqttClient.emit (events.js:412:35)
    at Readable.<anonymous> (/opt/lumi/node_modules/mqtt/lib/client.js:1570:14)
    at Readable.emit (events.js:400:28)
    at endReadableNT (/opt/lumi/node_modules/readable-stream/lib/_stream_readable.js:1094:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21) {
  status: 1,
  signal: null,
  output: [
    null,
    Buffer(0) [Uint8Array] [],
    Buffer(30) [Uint8Array] [
       77,  80,  68,  32, 101, 114, 114,
      111, 114,  58,  32,  67, 111, 110,
      110, 101,  99, 116, 105, 111, 110,
       32, 114, 101, 102, 117, 115, 101,
      100,  10
    ]
  ],
  pid: 12529,
  stdout: Buffer(0) [Uint8Array] [],
  stderr: Buffer(30) [Uint8Array] [
     77,  80,  68,  32, 101, 114, 114,
    111, 114,  58,  32,  67, 111, 110,
    110, 101,  99, 116, 105, 111, 110,
     32, 114, 101, 102, 117, 115, 101,
    100,  10
  ]
}

@andrusek12
Copy link

Did you resolve it?

@Spp595
Copy link
Author

Spp595 commented Feb 22, 2024

Did you resolve it?

No, I just gave up on this idea (

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants