Plexamp just sits there when I try to play

Is there some sort of system log from the AppImage which might tell us why it’s not starting? Maybe attempting to start mpd manually from Terminal would give hints as well.

Hi Elan. I wasn’t able to get it working on RedHat. I switched to Ubuntu and it works flawlessly.

Huh, interesting. Without further details, not sure why that would be…AppImages are supposed to be universal…

@elan said:
Will be fixed in the next version.

This still happens to me with 1.0.3 on Windows 10 Enterprise 1703 when playing from my Plex Cloud Server. (Could be a PCS issue, of course.)

@“Jester.Tucker” said:
This still happens to me with 1.0.3 on Windows 10 Enterprise 1703 when playing from my Plex Cloud Server. (Could be a PCS issue, of course.)

Can haz server.log?

Can do!

https://pastebin.com/snX6kV58

I have this same issue, on Windows 10.0.15063 I have uninstalled and reinstalled, I have wiped out the folders left behind with uninstall. I have attached my logs. My temp folder is set normally for windows. I have tired 3 different versions. 1.0 1.02 and 1.04. Can view just fine when it goes to play just sits there. The first time I installed after I found it on 1.0 it worked one time. After that it stopped. I can find anything in this set of posts that match my result. I find people with the exact same issue. On the same network on my Mac it works fine. I would love for this to work. It is the perfect minimalist player for the computer at work.

@“Jester.Tucker” said:
Can do!

Thanks! It sort of looks like MPD is crashing for some reason:

Feb 28, 2018 14:46:53 DEBUG - PROXY: Initiating proxy for stream for /services/clouddrive/onedrive/media/onedrive:12CE722E539404A0!327776?download=1&X-Plex-Client-Identifier=aa8f9566-d46b-4bf4-84cc-6df1f27423e8&X-Plex-Session-Identifier=6c3cb2ca-3ae3-4543-83a0-a1f3622b7fa1 to Plex Cloud
Feb 28, 2018 14:46:53 ERROR - [MPD] Error connecting:Error: read ECONNRESET
Feb 28, 2018 14:46:53 DEBUG - Lost connection to MPD, reconnecting
Feb 28, 2018 14:46:54 INFO - [MPD] Connecting...
Feb 28, 2018 14:46:54 INFO - [MPD] Ready!

@Dale-Flix said:
I have this same issue, on Windows 10.0.15063

I’m not sure why, but it looks like MPD is unable to start:

Mar 01, 2018 14:35:24 INFO - [MPD] Started, now we will connect
Mar 01, 2018 14:35:24 INFO - [MPD] Connecting...
Mar 01, 2018 14:35:25 ERROR - [MPD] Error connecting:Error: connect ECONNREFUSED 127.0.0.1:36600
Mar 01, 2018 14:35:25 INFO - [MPD] Connecting...
Mar 01, 2018 14:35:26 ERROR - [MPD] Error connecting:Error: connect ECONNREFUSED 127.0.0.1:36600
Mar 01, 2018 14:35:26 INFO - [MPD] Connecting...
Mar 01, 2018 14:35:27 ERROR - [MPD] Error connecting:Error: connect ECONNREFUSED 127.0.0.1:36600
Mar 01, 2018 14:35:27 INFO - [MPD] Connecting...
Mar 01, 2018 14:35:28 ERROR - [MPD] Error connecting:Error: connect ECONNREFUSED 127.0.0.1:36600
Mar 01, 2018 14:35:28 INFO - [MPD] Connecting...
Mar 01, 2018 14:35:29 ERROR - [MPD] Error connecting:Error: connect ECONNREFUSED 127.0.0.1:36600
Mar 01, 2018 14:35:29 INFO - [MPD] Connecting...
Mar 01, 2018 14:35:30 ERROR - [MPD] Error connecting:Error: connect ECONNREFUSED 127.0.0.1:36600
Mar 01, 2018 14:35:30 INFO - [MPD] Connecting...
Mar 01, 2018 14:35:31 ERROR - [MPD] Error connecting:Error: connect ECONNREFUSED 127.0.0.1:36600
Mar 01, 2018 14:35:32 INFO - [MPD] Connecting...
Mar 01, 2018 14:35:33 ERROR - [MPD] Error connecting:Error: connect ECONNREFUSED 127.0.0.1:36600
Mar 01, 2018 14:35:33 INFO - [MPD] Connecting...
Mar 01, 2018 14:35:34 ERROR - [MPD] Error connecting:Error: connect ECONNREFUSED 127.0.0.1:36600
Mar 01, 2018 14:35:34 INFO - [MPD] Connecting...
Mar 01, 2018 14:35:35 ERROR - [MPD] Error connecting:Error: connect ECONNREFUSED 127.0.0.1:36600

You could try to run mpd.exe from a CMD window and see if it spits out any useful information.

Found it. /user/<>/Appdata/Local/Programs/plexamp/resources/helpers
When i run it at the command line I get exception: no configuration file found.
the configuration file is in the folder with the exec.

audio_output {
type “soundio”
name “Output”
mixer_type “software”
udp_bind_address “127.0.0.1”
udp_port “36601”
}

bind_to_address “127.0.0.1”
port “36600”
audio_buffer_size “16384”
buffer_before_play “5%”
log_file “log.log”

When i run with mpd mpd.conf
it starts with
Mar 07 07:53:17.261: soundio_output: Created soundio object
Mar 07 07:53:17.267: soundio_output: Connected to soundio object
Mar 07 07:53:17.403: soundio_output: Flushed soundio events
Mar 07 07:53:17.408: soundio_output: Output device: Speakers (Jabra EVOLVE LINK)
Mar 07 07:53:17.414: soundio_output: Current output stream format: 48000:f:2
Mar 07 07:53:17.424: udp_server: Created UDP server on 127.0.0.1:36601
Mar 07 07:53:17.429: udp_server: Started UDP server.

however Plexamp still plays nothing.

I See the error in the log.log about the .mp3 codec
Mar 07 08:06:02.718: ffmpeg: codec ‘mp3’
Mar 07 08:06:02.718: ffmpeg: Unsupported audio codec
I have stopped the program. Deleted the files in the C:\Users[user]\AppData\Local\Plexamp\Plexamp\Codecs folder for the

\6bd6751-1276-windows-i386 folder. when the program is restarted the folder is recreated and .dll repopulated. it produces the same error.

I am able to use it as a remote control to play music with Plex Media Player. plays fine. Visualizer isn’t keeping up. Then I wouldn’t expect it to with a remote sampling of the stat of the song on the player actually doing the work.

Hopefully what I am identifying is helpful. I know this is not ready for prime-time. I also know the graphic doesn’t match the song, that is not your fault.

Additional note: I found that the Plex Media Player is also using a local codec d file for MP3 playing. So I tried to copy the one that was working from the file that Plex Media Player had stored in the C:\Users[user]\AppData\Local\PlexMediaPlayer\Codecs\97a6171-pmp-260-windows-x86_64 to the same folder for the plexamp and it made no difference.

Interesting, It will play FLAC files properly.

Mar 07 08:42:43.339: decoder_thread: setting replaygain track=-4.590000 album=-5.100000
Mar 07 08:42:43.339: decoder_thread: setting mixramp in=-23.38 0.00;-4.17 1.50;-2.16 2.60;0.07 2.70;3.17 3.80;6.53 239.80; out=-43.28 0.17;-39.98 0.77;-29.62 1.07;-21.84 1.37;-20.41 1.47;-16.89 1.97;-14.27 2.17;-10.60 3.17;-8.66 3.37;-4.04 3.77;-1.36 3.97;1.38 4.47;3.26 4.67;6.14 14.57;
Mar 07 08:42:43.916: ffmpeg: codec ‘mp3’
Mar 07 08:42:43.917: ffmpeg: Unsupported audio codec
Mar 07 08:42:43.918: exception: Failed to decode http://127.0.0.1:20000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F15160%2F1381935799%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3D98bb8bd9-a8dc-4f3a-b01c-4c7037730b3e
Mar 07 08:42:43.919: player: played “http://127.0.0.1:20000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F15160%2F1381935799%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3D98bb8bd9-a8dc-4f3a-b01c-4c7037730b3e
Mar 07 08:42:43.967: player: Got device format: 48000:f:2
Mar 07 08:42:43.967: decoder_thread: setting replaygain track=-4.590000 album=-5.100000
Mar 07 08:42:43.967: decoder_thread: setting mixramp in=-23.38 0.00;-4.17 1.50;-2.16 2.60;0.07 2.70;3.17 3.80;6.53 239.80; out=-43.28 0.17;-39.98 0.77;-29.62 1.07;-21.84 1.37;-20.41 1.47;-16.89 1.97;-14.27 2.17;-10.60 3.17;-8.66 3.37;-4.04 3.77;-1.36 3.97;1.38 4.47;3.26 4.67;6.14 14.57;
Mar 07 08:42:44.305: ffmpeg: codec ‘mp3’
Mar 07 08:42:44.305: ffmpeg: Unsupported audio codec
Mar 07 08:42:44.305: exception: Failed to decode http://127.0.0.1:20000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F15160%2F1381935799%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3D98bb8bd9-a8dc-4f3a-b01c-4c7037730b3e
Mar 07 08:42:44.305: player: played “http://127.0.0.1:20000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F15160%2F1381935799%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3D98bb8bd9-a8dc-4f3a-b01c-4c7037730b3e
Mar 07 08:42:44.305: player: Got device format: 48000:f:2
Mar 07 08:42:44.305: decoder_thread: setting replaygain track=-5.090000 album=-6.030000
Mar 07 08:42:44.305: decoder_thread: setting mixramp in=-51.00 0.00;-26.39 0.20;-21.03 0.30;-18.52 0.40;-17.56 0.50;-14.77 1.30;-11.53 2.50;-8.98 6.00;-5.89 8.50;-2.78 17.20;0.10 30.40;3.10 67.60;6.13 90.60; out=-51.00 0.11;-39.42 4.41;-29.41 6.51;-23.78 7.91;-19.82 9.21;-17.58 10.21;-14.77 10.51;-11.96 11.11;-8.85 12.91;-5.87 15.71;-1.48 16.01;2.75 16.11;5.07 16.21;6.48 17.21;
Mar 07 08:42:44.741: ffmpeg: codec ‘flac’
Mar 07 08:42:44.741: decoder: audio_format=44100:16:2, seekable=true
Mar 07 08:42:44.741: decoder: Shared device format set to 48000:f:2, will convert if required
Mar 07 08:42:44.741: decoder: converting to 48000:f:2
Mar 07 08:42:44.741: libsamplerate: setting samplerate conversion ratio to 1.09
Mar 07 08:42:44.741: decoder: Enabling spectrum analyzer, format: 48000:f:2
Mar 07 08:42:45.367: soundio_output: Device latency between 0.000000 sec and 2.000000 sec.
Mar 07 08:42:45.367: soundio_output: Current device latency is 0.010000 sec.
Mar 07 08:42:45.405: soundio_output: Opened output stream, 48000 Hz Stereo float 32-bit LE latency 75.00 ms
Mar 07 08:42:45.405: soundio_output: Buffer size bytes per frame: 8, sample rate: 48000, buffer size: 76800
Mar 07 08:42:45.405: soundio_output: Opened device.
Mar 07 08:42:45.405: output: opened plugin=soundio name=“Output” audio_format=48000:f:2
Mar 07 08:42:45.405: output: resetting output clock.
Mar 07 08:42:45.405: replay_gain: scale=0.556545

Sorry, a few things here:

@“Jester.Tucker” — looks like something might not be working with OneDrive hosted files. If you’d like to PM me and share your cloud server with me, I can try to reproduce locally.

@Dale-Flix — the reason why it’s saying “ffmpeg: Unsupported audio codec” is because it relies on having a special environment variable set to tell it where to look for codecs. However, it does seem to start for you when run from the command line, so I’m … confused.

I am not sure my self. As it stands I can get it to work some times with out the manual start, other times it will not. I have stopped playing with it for now. The application is missing one of the main ways I listen to music. As it happens I most often listen to the same song over and over for a few hours. So until that is supported in the only place I use it on windows, I will just continue to use my Iphone Plex app to play the music for me the way I like. I will check back later to see any improvements. I need to finish my homes revers proxy. I get sick of having to rdp to a home system to manage the house, or deal with 10 different applications on my phone.

Thanks for the considerations.

Similar issue here with version 1.0.5. When I attempt to play a song, it generates the following error messages, then returns to the main browsing screen. Running Debian 8.10 under GNOME and i3wm (same results either way). Works fine on my Windows machine, though.

error: Unhandled Rejection! false == true
error: AssertionError: false == true
at r.sendCommand (/tmp/.mount_plexam4R9FIV/app/resources/app.asar/server.prod.js:1:1674112)
at r (/tmp/.mount_plexam4R9FIV/app/resources/app.asar/server.prod.js:1:910091)
at ret [as sendCommandAsync] (eval at u (/tmp/.mount_plexam4R9FIV/app/resources/app.asar/server.prod.js:1:890827), :13:39)
at e.exports.pause (/tmp/.mount_plexam4R9FIV/app/resources/app.asar/server.prod.js:1:617233)
at /tmp/.mount_plexam4R9FIV/app/resources/app.asar/server.prod.js:1:620934
at Generator.next ()
at r (/tmp/.mount_plexam4R9FIV/app/resources/app.asar/server.prod.js:1:620143)
at /tmp/.mount_plexam4R9FIV/app/resources/app.asar/server.prod.js:1:620289
at Promise ()
at s (/tmp/.mount_plexam4R9FIV/app/resources/app.asar/server.prod.js:1:620087)
at e.exports.process (/tmp/.mount_plexam4R9FIV/app/resources/app.asar/server.prod.js:1:621638)
at e.get (/tmp/.mount_plexam4R9FIV/app/resources/app.asar/server.prod.js:1:628338)
at r.handle_request (/tmp/.mount_plexam4R9FIV/app/resources/app.asar/server.prod.js:1:998149)
at r (/tmp/.mount_plexam4R9FIV/app/resources/app.asar/server.prod.js:1:999576)
at r.dispatch (/tmp/.mount_plexam4R9FIV/app/resources/app.asar/server.prod.js:1:999735)
at r.handle_request (/tmp/.mount_plexam4R9FIV/app/resources/app.asar/server.prod.js:1:998149)
at /tmp/.mount_plexam4R9FIV/app/resources/app.asar/server.prod.js:1:994420
at s (/tmp/.mount_plexam4R9FIV/app/resources/app.asar/server.prod.js:1:995881)
at s (/tmp/.mount_plexam4R9FIV/app/resources/app.asar/server.prod.js:1:996075)
at Function.h.process_params (/tmp/.mount_plexam4R9FIV/app/resources/app.asar/server.prod.js:1:996298)
at r (/tmp/.mount_plexam4R9FIV/app/resources/app.asar/server.prod.js:1:994364)
at Function.h.handle (/tmp/.mount_plexam4R9FIV/app/resources/app.asar/server.prod.js:1:995799)

@mrmoniker ~ for some reason, the mpd is unable to start. Probably related to your specific flavor of Linux, not sure if the AppImage runs everywhere. If you figure out why it doesn’t run there, let us know, possibly we just need to package another library.

@elan you indicated earlier about the environment variable, what might that be. I found it. FFMPEG_EXTERNAL_LIBS \\?\C:\Users\{user}\AppData\Local\Plexamp\Plexamp\Codecs\6bd6751-1276-windows-i386\
Is what mine is setting too when the application starts. I have updated to 1.0.5 and I am no longer having to start the MPD manually. Interestingly enough if I start playing files that are in the flac format they play perfectly. After a few of them play then anything will play. But if I start the session with playing a MP3 or other format than flac it fails.

I am attaching a few entries from my MPD log.

I know, it is still not repeating the same song over and over. It is better than having to keep swapping headsets.

May 03 08:47:40.987: player: Got device format: 48000:f:2
May 03 08:47:40.988: decoder_thread: setting replaygain track=-9.850000 album=-11.060000
May 03 08:47:40.988: decoder_thread: setting mixramp in=-51.00 0.00;0.63 0.10;4.33 0.80;6.16 15.20; out=-51.00 0.15;-37.22 1.35;-28.54 1.65;-22.86 1.85;-20.16 1.95;-17.10 2.05;-14.52 2.15;-9.68 2.25;-1.09 2.35;1.30 2.45;3.54 2.65;6.44 14.45;
May 03 08:47:43.758: ffmpeg: codec ‘flac’
May 03 08:47:43.758: decoder: audio_format=44100:16:2, seekable=true
May 03 08:47:43.758: decoder: Shared device format set to 48000:f:2, will convert if required
May 03 08:47:43.758: decoder: converting to 48000:f:2
May 03 08:47:43.759: libsamplerate: setting samplerate conversion ratio to 1.09
May 03 08:47:43.762: decoder: Enabling spectrum analyzer, format: 48000:f:2
May 03 08:47:43.982: soundio_output: Device latency between 0.000000 sec and 2.000000 sec.
May 03 08:47:43.982: soundio_output: Current device latency is 0.010000 sec.
May 03 08:47:44.011: soundio_output: Opened output stream, 48000 Hz Stereo float 32-bit LE latency 75.00 ms
May 03 08:47:44.011: soundio_output: Buffer size bytes per frame: 8, sample rate: 48000, buffer size: 76800
May 03 08:47:44.012: soundio_output: Opened device.
May 03 08:47:44.012: output: opened plugin=soundio name=“Output” audio_format=48000:f:2
May 03 08:47:44.012: output: resetting output clock.
May 03 08:47:44.012: replay_gain: scale=0.321736
May 03 08:47:58.466: player: played “http://127.0.0.1:36000/proxy/file.flac?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F247444%2F1414454225%2Ffile.flac%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3D32bf73e7-503a-410b-95ea-c120a8e0c6b9
May 03 08:47:58.473: player: Got device format: 48000:f:2
May 03 08:47:58.473: decoder_thread: setting replaygain track=-11.800000 album=-11.660000
May 03 08:47:58.473: decoder_thread: setting mixramp in=-42.70 0.00;-39.01 0.10;-6.40 0.20;-5.02 0.30;-2.87 0.50;0.40 5.70;3.41 10.70;6.64 11.10; out=-51.00 0.17;-37.59 5.27;-25.79 5.37;-15.77 5.47;-8.51 5.57;-3.43 5.67;-0.72 5.77;0.61 5.87;3.72 18.07;6.58 18.77;
May 03 08:47:58.796: ffmpeg: codec ‘mp3’
May 03 08:47:58.796: ffmpeg: Unsupported audio codec
May 03 08:47:58.796: exception: Failed to decode http://127.0.0.1:36000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F240143%2F1505339725%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3D3b8d7948-174a-48fc-8c6c-009c1cae68bb
May 03 08:47:58.796: player: played “http://127.0.0.1:36000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F240143%2F1505339725%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3D3b8d7948-174a-48fc-8c6c-009c1cae68bb
May 03 08:47:58.796: player: Got device format: 48000:f:2
May 03 08:47:58.797: decoder_thread: setting replaygain track=-11.270000 album=-11.660000
May 03 08:47:58.797: decoder_thread: setting mixramp in=-51.00 0.00;-8.47 0.20;-5.84 0.50;-2.63 0.80;0.09 8.30;3.18 9.00;6.85 9.50; out=-51.00 0.10;-38.76 5.70;-28.29 6.30;-22.57 6.60;-20.39 6.70;-16.62 6.90;-14.42 7.00;-10.93 7.20;-8.77 7.30;-3.90 7.50;-1.42 9.90;2.74 10.00;4.93 10.10;6.82 10.30;
May 03 08:47:59.073: ffmpeg: codec ‘mp3’
May 03 08:47:59.073: ffmpeg: Unsupported audio codec
May 03 08:47:59.074: exception: Failed to decode http://127.0.0.1:36000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F240138%2F1505339664%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3D0bd028c7-b111-406c-a9fa-2fd85b93c219
May 03 08:47:59.074: player: played “http://127.0.0.1:36000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F240138%2F1505339664%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3D0bd028c7-b111-406c-a9fa-2fd85b93c219
May 03 08:48:18.100: player: Got device format: 48000:f:2
May 03 08:48:18.100: decoder_thread: setting replaygain track=-10.810000 album=-11.660000
May 03 08:48:18.100: decoder_thread: setting mixramp in=-51.00 0.00;-8.38 0.20;-5.55 0.30;-2.94 0.90;2.43 15.20;4.71 15.30;6.76 15.50; out=-51.00 0.10;-38.69 4.70;-28.34 5.10;-22.50 5.30;-18.57 5.40;-15.18 5.50;-11.93 5.60;-5.96 5.80;-2.86 5.90;0.46 6.10;4.92 8.80;6.01 10.00;
May 03 08:48:18.552: ffmpeg: codec ‘mp3’
May 03 08:48:18.552: ffmpeg: Unsupported audio codec
May 03 08:48:18.553: exception: Failed to decode http://127.0.0.1:36000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F240139%2F1505339676%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3D3a9bcb4f-ce66-44fe-9fde-549fb4e6e448
May 03 08:48:18.553: player: played “http://127.0.0.1:36000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F240139%2F1505339676%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3D3a9bcb4f-ce66-44fe-9fde-549fb4e6e448
May 03 08:48:18.553: player: Got device format: 48000:f:2
May 03 08:48:18.553: decoder_thread: setting replaygain track=-12.550000 album=-11.660000
May 03 08:48:18.553: decoder_thread: setting mixramp in=-39.05 0.00;-27.73 0.30;-23.55 0.50;-19.79 0.70;-17.21 0.80;-14.09 1.00;-11.41 1.20;-8.65 8.80;-5.99 13.00;-2.87 13.20;0.12 13.30;3.35 13.60;6.02 25.80; out=-51.00 0.14;-38.77 5.74;-27.96 6.14;-23.75 6.34;-20.35 6.54;-17.22 6.84;-14.65 7.14;-11.69 7.64;-7.59 8.14;-5.89 8.34;-2.66 8.84;0.04 9.74;3.03 10.54;6.07 11.04;
May 03 08:48:18.853: ffmpeg: codec ‘mp3’
May 03 08:48:18.853: ffmpeg: Unsupported audio codec
May 03 08:48:18.854: exception: Failed to decode http://127.0.0.1:36000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F240140%2F1505339688%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3Df2bfb515-ffd8-49ed-b811-d4b53a09d1c4
May 03 08:48:18.854: player: played “http://127.0.0.1:36000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F240140%2F1505339688%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3Df2bfb515-ffd8-49ed-b811-d4b53a09d1c4
May 03 08:48:37.798: player: Got device format: 48000:f:2
May 03 08:48:37.798: decoder_thread: setting replaygain track=-12.550000 album=-11.660000
May 03 08:48:37.798: decoder_thread: setting mixramp in=-39.05 0.00;-27.73 0.30;-23.55 0.50;-19.79 0.70;-17.21 0.80;-14.09 1.00;-11.41 1.20;-8.65 8.80;-5.99 13.00;-2.87 13.20;0.12 13.30;3.35 13.60;6.02 25.80; out=-51.00 0.14;-38.77 5.74;-27.96 6.14;-23.75 6.34;-20.35 6.54;-17.22 6.84;-14.65 7.14;-11.69 7.64;-7.59 8.14;-5.89 8.34;-2.66 8.84;0.04 9.74;3.03 10.54;6.07 11.04;
May 03 08:48:38.033: ffmpeg: codec ‘mp3’
May 03 08:48:38.033: ffmpeg: Unsupported audio codec
May 03 08:48:38.033: exception: Failed to decode http://127.0.0.1:36000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F240140%2F1505339688%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3Df2bfb515-ffd8-49ed-b811-d4b53a09d1c4
May 03 08:48:38.033: player: played “http://127.0.0.1:36000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F240140%2F1505339688%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3Df2bfb515-ffd8-49ed-b811-d4b53a09d1c4
May 03 08:48:38.033: player: Got device format: 48000:f:2
May 03 08:48:38.033: decoder_thread: setting replaygain track=-10.990000 album=-11.660000
May 03 08:48:38.034: decoder_thread: setting mixramp in=-51.00 0.00;-21.54 0.20;-17.73 0.30;-14.65 0.40;-12.00 0.50;-8.96 3.00;-5.87 6.40;-0.93 13.00;0.84 13.10;3.82 23.90;6.12 44.60; out=-51.00 0.18;-39.98 4.98;-28.55 6.38;-23.68 7.78;-19.21 7.98;-17.42 8.08;-13.84 8.28;-6.81 8.48;-3.71 8.58;-1.58 8.68;0.18 8.78;3.60 10.48;6.22 11.28;
May 03 08:48:38.507: ffmpeg: codec ‘mp3’
May 03 08:48:38.508: ffmpeg: Unsupported audio codec
May 03 08:48:38.508: exception: Failed to decode http://127.0.0.1:36000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F240141%2F1505339700%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3Dec8527bc-25ee-41cb-bd96-942339ed77e3
May 03 08:48:38.508: player: played “http://127.0.0.1:36000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F240141%2F1505339700%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3Dec8527bc-25ee-41cb-bd96-942339ed77e3
May 03 08:48:42.452: player: Got device format: 48000:f:2
May 03 08:48:42.452: decoder_thread: setting replaygain track=-12.550000 album=-11.660000
May 03 08:48:42.452: decoder_thread: setting mixramp in=-39.05 0.00;-27.73 0.30;-23.55 0.50;-19.79 0.70;-17.21 0.80;-14.09 1.00;-11.41 1.20;-8.65 8.80;-5.99 13.00;-2.87 13.20;0.12 13.30;3.35 13.60;6.02 25.80; out=-51.00 0.14;-38.77 5.74;-27.96 6.14;-23.75 6.34;-20.35 6.54;-17.22 6.84;-14.65 7.14;-11.69 7.64;-7.59 8.14;-5.89 8.34;-2.66 8.84;0.04 9.74;3.03 10.54;6.07 11.04;
May 03 08:48:42.705: ffmpeg: codec ‘mp3’
May 03 08:48:42.705: ffmpeg: Unsupported audio codec
May 03 08:48:42.706: exception: Failed to decode http://127.0.0.1:36000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F240140%2F1505339688%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3De20e2ba7-e96e-457e-b02c-7fdce9a803b0
May 03 08:48:42.706: player: played “http://127.0.0.1:36000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F240140%2F1505339688%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3De20e2ba7-e96e-457e-b02c-7fdce9a803b0
May 03 08:48:42.706: exception: Failed to decode http://127.0.0.1:36000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F240140%2F1505339688%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3De20e2ba7-e96e-457e-b02c-7fdce9a803b0
May 03 08:48:43.771: player: Got device format: 48000:f:2
May 03 08:48:43.771: decoder_thread: setting replaygain track=-10.810000 album=-11.660000
May 03 08:48:43.771: decoder_thread: setting mixramp in=-51.00 0.00;-8.38 0.20;-5.55 0.30;-2.94 0.90;2.43 15.20;4.71 15.30;6.76 15.50; out=-51.00 0.10;-38.69 4.70;-28.34 5.10;-22.50 5.30;-18.57 5.40;-15.18 5.50;-11.93 5.60;-5.96 5.80;-2.86 5.90;0.46 6.10;4.92 8.80;6.01 10.00;
May 03 08:48:44.175: ffmpeg: codec ‘mp3’
May 03 08:48:44.176: ffmpeg: Unsupported audio codec
May 03 08:48:44.176: exception: Failed to decode http://127.0.0.1:36000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F240139%2F1505339676%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3D03e91a77-eb9d-45ee-bf1c-4666783f8f0d
May 03 08:48:44.176: player: Got device format: 48000:f:2
May 03 08:48:44.176: decoder_thread: setting replaygain track=-10.810000 album=-11.660000
May 03 08:48:44.176: decoder_thread: setting mixramp in=-51.00 0.00;-8.38 0.20;-5.55 0.30;-2.94 0.90;2.43 15.20;4.71 15.30;6.76 15.50; out=-51.00 0.10;-38.69 4.70;-28.34 5.10;-22.50 5.30;-18.57 5.40;-15.18 5.50;-11.93 5.60;-5.96 5.80;-2.86 5.90;0.46 6.10;4.92 8.80;6.01 10.00;
May 03 08:48:44.460: ffmpeg: codec ‘mp3’
May 03 08:48:44.460: ffmpeg: Unsupported audio codec
May 03 08:48:44.461: exception: Failed to decode http://127.0.0.1:36000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F240139%2F1505339676%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3D03e91a77-eb9d-45ee-bf1c-4666783f8f0d
May 03 08:48:44.461: player: played “http://127.0.0.1:36000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F240139%2F1505339676%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3D03e91a77-eb9d-45ee-bf1c-4666783f8f0d
May 03 08:48:44.461: exception: Failed to decode http://127.0.0.1:36000/proxy/file.mp3?source=ca9d64640927d11b325556d67804752e3eaba6ab&endpoint=%2Flibrary%2Fparts%2F240139%2F1505339676%2Ffile.mp3%3Fdownload%3D1%26X-Plex-Client-Identifier%3D4adece98-9f4a-4f0b-9f2b-da279ff5caf0%26X-Plex-Session-Identifier%3D03e91a77-eb9d-45ee-bf1c-4666783f8f0d
May 03 08:48:56.314: player: Got device format: 48000:f:2
May 03 08:48:56.314: decoder_thread: setting replaygain track=-12.090000 album=-11.060000
May 03 08:48:56.314: decoder_thread: setting mixramp in=-51.00 0.00;0.18 0.10;4.22 0.30;6.38 4.10; out=-51.00 0.19;-39.41 0.99;-29.49 1.39;-22.51 1.69;-19.11 1.79;-16.48 1.89;-14.12 1.99;-9.74 2.19;-6.94 2.29;-4.79 2.39;-2.33 2.49;0.06 2.59;3.73 2.79;6.66 2.99;
May 03 08:48:56.616: ffmpeg: codec ‘flac’
May 03 08:48:56.616: decoder: audio_format=44100:16:2, seekable=true
May 03 08:48:56.616: decoder: Shared device format set to 48000:f:2, will convert if required
May 03 08:48:56.616: decoder: converting to 48000:f:2
May 03 08:48:56.616: libsamplerate: setting samplerate conversion ratio to 1.09
May 03 08:48:56.616: decoder: Enabling spectrum analyzer, format: 48000:f:2
May 03 08:48:57.934: soundio_output: Device latency between 0.000000 sec and 2.000000 sec.
May 03 08:48:57.934: soundio_output: Current device latency is 0.010000 sec.
May 03 08:48:57.966: soundio_output: Opened output stream, 48000 Hz Stereo float 32-bit LE latency 75.00 ms
May 03 08:48:57.966: soundio_output: Buffer size bytes per frame: 8, sample rate: 48000, buffer size: 76800
May 03 08:48:57.966: soundio_output: Opened device.
May 03 08:48:57.966: output: opened plugin=soundio name=“Output” audio_format=48000:f:2
May 03 08:48:57.966: output: resetting output clock.
May 03 08:48:57.966: replay_gain: scale=0.248599


the log seems to not be recording the latest session.
but all failed formats are now working after initializing with flac.
I have tried this 4 different sessions. between today and yesterday.

Okay I have final figured it out, or at least part of it. Here goes. Plexamp start up with out MPD started manually first. Some how it started and connects, to my server. The MPD that it is running is not some how finished with it’s startup.

I can start up MPD manually but when it is started it is not running with the environment variable you stated. So it can’t find the library. so If I start it up manually some how it is able to find the FLAC library it it can do it some other way. I can’t account for that.

I have been killing the manually started MPD I guess by the time I have completed 2-3 songs or repetitions, the internal MPD can be seen and talked to because then after killing the mpd I started it can continue playing for a good long while. I have listened to it most of the the day.

What I am missing is why is the internal MPD taking so long to finish it’s start. another interesting point to the findings is that if I don’t manually start mpd ahead of plexamp. the one that it is starting never starts at all. it will not play flac. I have let it sit there for up to 30 min. Way longer than my previous song list of flac and then kill and swap.

If I start the mpd manually, then start plaxamp, allow it to sit with out playing anything, for almost 5 min. then kill the manually started mpd. Plexamp again starts functioning.

I have placed a process trace on the mpd called internally. I can see based on memory consumption and ports it is listening on that is takes nearly the whole 5 min to start up. I am not running a slow system. there is no reason resource wise this is taking so long.

You can see in the server log the following entire, indicating the lack of ability to communicate with mpd after the start up.
May 03, 2018 13:10:01 ERROR - [MPD] Error connecting:Error: connect ECONNREFUSED 127.0.0.1:36600
May 03, 2018 13:10:01 DEBUG - DEVICE: 6 libraries at TurnerVision: Family Movies,Holiday Movies,Movies,Scary Movies,Star Wars,TV Shows
May 03, 2018 13:10:01 INFO - [MPD] Connecting…
May 03, 2018 13:10:02 ERROR - [MPD] Error connecting:Error: connect ECONNREFUSED 127.0.0.1:36600
May 03, 2018 13:10:03 INFO - [MPD] Connecting…
May 03, 2018 13:10:04 ERROR - [MPD] Error connecting:Error: connect ECONNREFUSED 127.0.0.1:36600
May 03, 2018 13:10:04 INFO - [MPD] Connecting…
May 03, 2018 13:10:05 ERROR - [MPD] Error connecting:Error: connect ECONNREFUSED 127.0.0.1:36600
May 03, 2018 13:10:05 INFO - [MPD] Connecting…
May 03, 2018 13:10:06 ERROR - [MPD] Error connecting:Error: connect ECONNREFUSED 127.0.0.1:36600
May 03, 2018 13:10:06 INFO - [MPD] Connecting…
May 03, 2018 13:10:07 ERROR - [MPD] Error connecting:Error: connect ECONNREFUSED 127.0.0.1:36600
May 03, 2018 13:10:07 DEBUG - METRICS: Initializing.
May 03, 2018 13:10:07 INFO - [EXPRESS] Listening on port 36000
May 03, 2018 13:10:08 DEBUG - METRICS: Saving latest cloud settings for metrics.
May 03, 2018 13:10:10 DEBUG - DEVICE: Persisting devices because DVR was dirty.
May 03, 2018 13:10:10 DEBUG - DEVICE: Persisting devices.

Even when I start it manually it can take upwards of 1 fill min to start and indicate that it is ready.
These indication to me allow me to say, if the MPD is started and indicating it is responding before Plexamp is started then it will start function at least on some level. After the server is started for plexamp if it was never able to talk to the port 36600 for the mpd application then it never try again. If I have it started and pull it out from underneath it, it will continue to expect the port to be there and continue communicating with it even if the first mpd instance it was talking to is gone the second one (internal) as had a chance to get going and will pick up from there.

I hope this warrants the chance to say, I can make it work. but can you fix it? if you can, please also add repeat. single and all for the queue. :smiley:

I have also not been able to find anything in the logs to identify what is causing the delay in the internally call mpd startup.

Thank you,
Dale.

Hey @Dale-Flix, that is very curious. I’m not sure why MPD is taking so long to start, but that makes sense that it would cause the sort of issues you’re seeing.

Any chance you can get an MPD log from the internal one so we might have some notion of why it’s taking so long? You can add log_level "verbose" to get even more output.

Done, after 2 min of it by it’s self there has been no log items added the file is a 0 byte size. 8:05 am

This first one I did doing the MPD without the manual start first. after 30 min it did nothing. So I killed it.
started MPD manually.
took more than a min for MPD to start manually



still nothing in the log file.

mp3 issue due to Environment variable.
flac play,

9:04 am
one Flac song later kill manual mpd and internal one picks up and works.