Problem playing back certain AAC files on Plexamp on Linux

Hi,

I cannot play the below file or some other files of the same codec/container on Plexamp for Linux [Flatpack]. However, all other tested Plex clients and platforms work ok.

When pressing play on the album. That player skips through each track immediately.

I am trying to direct steam locally with Quality set to max.

I have included the service logs below and an example of a file that does not work. I cannot seem to find any logs on the problem Plexamp Linux client.

Server logs show “Could not convert “state” (“error”) to the correct type.”

Server Version#: 4.137.1
Player Version#: 4.11.1

Problem File Details


    /mnt/nas1/data/Media/Music/!!!/As If (2015)/!!! - As If - 01 - All U Writers.m4a

Media

    Duration 4:53
    Bitrate 320 kbps
    Container MP4
    Web Optimized Yes
    Audio Profile lc

Part

    Duration 4:53
    File !!! - As If - 01 - All U Writers.m4a
    Size 11.31 MB
    Audio Profile lc
    Container MP4
    Has Thumbnail 1
    Web Optimized Yes

    Codec AAC
    Channels 2
    Bitrate 320 kbps
    Album Gain -12.06
    Album Peak 1.173775
    Album Range 6.298833
    Audio Channel Layout stereo
    Gain -12.06
    Loudness -9.45
    Lra 6.33
    Peak 1.059238
    Profile lc
    Sampling Rate 44100 Hz
    Stream Identifier 1
    Display Title AAC (Stereo)
    Extended Display Title AAC (Stereo

This File works ok


    /mnt/nas1/data/Media/Music/Bear’s Den/Without_Within - EP/01 Sahara, Pt. I.m4a

Media

    Duration 1:53
    Bitrate 261 kbps
    Container MP4
    Web Optimized Yes
    Audio Profile lc

Part

    Duration 1:53
    File 01 Sahara, Pt. I.m4a
    Size 4.09 MB
    Audio Profile lc
    Container MP4
    Web Optimized Yes

    Codec AAC
    Channels 2
    Bitrate 261 kbps
    Language English
    Language Tag en
    Album Gain -8.78
    Album Peak 1.089678
    Album Range 9.685541
    Audio Channel Layout stereo
    Gain -8.78
    Loudness -17.44
    Lra 10.17
    Peak 0.708530
    Profile lc
    Sampling Rate 44100 Hz
    Stream Identifier 1
    Display Title AAC (English Stereo)
    Extended Display Title AAC (English Stereo)


Server Debug Logs


<g 30, 2024 12:10:32.160 [137277395184440] Debug — Completed: [10.10.0.21:51150] 200 GET /playQueues/1662?window=30&includeFields=thumbBlurHash (10 live) #7a781 TLS GZIP 11ms 2989 bytes (pipelined: 24)
Aug 30, 2024 12:10:32.166 [137277399378744] Debug — Completed: [10.10.0.21:51146] 200 GET /:/timeline?state=playing&duration=293477&time=0&playQueueItemID=58587&key=%2Flibrary%2Fmetadata%2F40294&ratingKey=40294&playQueueID=1662&playQueueVersion=1&containerKey=%2FplayQueues%2F1662&hasMDE=1&includeFields=thumbBlurHash (10 live) #7a77e TLS GZIP 18ms 406 bytes (pipelined: 25)
Aug 30, 2024 12:10:32.167 [137277399378744] Debug — Completed: [10.10.0.21:51154] 200 GET /playQueues/1662?window=30&center=58587&includeFields=thumbBlurHash (10 live) #7a6af TLS GZIP 18ms 2989 bytes (pipelined: 5)
Aug 30, 2024 12:10:32.359 [137277206440760] Debug — Request: [10.10.0.21:51146 (Subnet)] GET /:/timeline?state=error&duration=293477&time=0&playQueueItemID=58587&key=%2Flibrary%2Fmetadata%2F40294&ratingKey=40294&playQueueID=1662&playQueueVersion=1&containerKey=%2FplayQueues%2F1662&hasMDE=1&includeFields=thumbBlurHash (10 live) #7a7a5 TLS GZIP Signed-in Token (zaphod0) (Plexamp)
Aug 30, 2024 12:10:32.359 [137277206440760] Warning — [Req#7a7a5] Could not convert "state" ("error") to the correct type
Aug 30, 2024 12:10:32.360 [137277395184440] Debug — Completed: [10.10.0.21:51146] 400 GET /:/timeline?state=error&duration=293477&time=0&playQueueItemID=58587&key=%2Flibrary%2Fmetadata%2F40294&ratingKey=40294&playQueueID=1662&playQueueVersion=1&containerKey=%2FplayQueues%2F1662&hasMDE=1&includeFields=thumbBlurHash (10 live) #7a7a5 TLS GZIP 0ms 384 bytes (pipelined: 26)
Aug 30, 2024 12:10:32.421 [137277302909752] Debug — Request: [10.10.0.21:51146 (Subnet)] GET /playQueues/1662?includeLoudnessRamps=1&center=58588&window=30&includeFields=thumbBlurHash (10 live) #7a7ae TLS GZIP Signed-in Token (zaphod0) (Plexamp)
Aug 30, 2024 12:10:32.422 [137277302909752] Debug — [Req#7a7ae] PlayQueue: total generated: 11, before cursor: 1, after cursor: 9
Aug 30, 2024 12:10:32.422 [137277302909752] Debug — [Req#7a7ae] PlayQueue: No need to refresh, active window is operational.
Aug 30, 2024 12:10:32.422 [137277265161016] Debug — Request: [10.10.0.21:51150 (Subnet)] GET /:/timeline?state=error&duration=261642&time=0&playQueueItemID=58588&key=%2Flibrary%2Fmetadata%2F40295&ratingKey=40295&playQueueID=1662&playQueueVersion=1&containerKey=%2FplayQueues%2F1662&hasMDE=1&includeFields=thumbBlurHash (10 live) #7a7a2 TLS GZIP Signed-in Token (zaphod0) (Plexamp)
Aug 30, 2024 12:10:32.422 [137277265161016] Warning — [Req#7a7a2] Could not convert "state" ("error") to the correct type
Aug 30, 2024 12:10:32.423 [137277399378744] Debug — Completed: [10.10.0.21:51150] 400 GET /:/timeline?state=error&duration=261642&time=0&playQueueItemID=58588&key=%2Flibrary%2Fmetadata%2F40295&ratingKey=40295&playQueueID=1662&playQueueVersion=1&containerKey=%2FplayQueues%2F1662&hasMDE=1&includeFields=thumbBlurHash (10 live) #7a7a2 TLS GZIP 0ms 384 bytes (pipelined: 25)
Aug 30, 2024 12:10:32.424 [137277210635064] Debug — Request: [10.10.0.21:51150 (Subnet)] GET /playQueues/1662?window=30&center=58588&includeFields=thumbBlurHash (10 live) #7a7bc TLS GZIP Signed-in Token (zaphod0) (Plexamp)
Aug 30, 2024 12:10:32.430 [137277210635064] Debug — [Req#7a7bc] PlayQueue: total generated: 11, before cursor: 1, after cursor: 9
Aug 30, 2024 12:10:32.430 [137277210635064] Debug — [Req#7a7bc] PlayQueue: No need to refresh, active window is operational.
Aug 30, 2024 12:10:32.434 [137277395184440] Debug — Completed: [10.10.0.21:51146] 200 GET /playQueues/1662?includeLoudnessRamps=1&center=58588&window=30&includeFields=thumbBlurHash (10 live) #7a7ae TLS GZIP 12ms 4125 bytes (pipelined: 27)
Aug 30, 2024 12:10:32.440 [137277395184440] Debug — Completed: [10.10.0.21:51150] 200 GET /playQueues/1662?window=30&center=58588&includeFields=thumbBlurHash (10 live) #7a7bc TLS GZIP 16ms 2989 bytes (pipelined: 26)
Aug 30, 2024 12:10:32.517 [137277269355320] Debug — Request: [10.10.0.21:51146 (Subnet)] GET /playQueues/1662?includeLoudnessRamps=1&center=58589&window=30&includeFields=thumbBlurHash (10 live) #7a7c5 TLS GZIP Signed-in Token (zaphod0) (Plexamp)
Aug 30, 2024 12:10:32.517 [137277206440760] Debug — Request: [10.10.0.21:51150 (Subnet)] GET /:/timeline?state=error&duration=194118&time=0&playQueueItemID=58589&key=%2Flibrary%2Fmetadata%2F40296&ratingKey=40296&playQueueID=1662&playQueueVersion=1&containerKey=%2FplayQueues%2F1662&hasMDE=1&includeFields=thumbBlurHash (10 live) #7a7c8 TLS GZIP Signed-in Token (zaphod0) (Plexamp)
Aug 30, 2024 12:10:32.517 [137277206440760] Warning — [Req#7a7c8] Could not convert "state" ("error") to the correct type
Aug 30, 2024 12:10:32.517 [137277269355320] Debug — [Req#7a7c5] PlayQueue: total generated: 11, before cursor: 2, after cursor: 8
Aug 30, 2024 12:10:32.517 [137277269355320] Debug — [Req#7a7c5] PlayQueue: No need to refresh, active window is operational.
Aug 30, 2024 12:10:32.517 [137277395184440] Debug — Completed: [10.10.0.21:51150] 400 GET /:/timeline?>

Try a version of the album where you have replaced every occurence of an ! in the file name and folder path by something else.

If it works then, you can blame it on the artist. :wink:

I did pick a pretty bad example with that file name. However, it’s happening for other artists with more conventional, alphabet only names.

Then we need to look at plexamp logs, fetched immediately after a failed playback attempt.

Any idea where the logs are stored on the Linux client.

I’ve had a look in ~/.var/app/com.plexamp.Plexamp/

But can’t seem to find anything.

Ok, I managed to get logs from an old Mac OS (Mac OS 10.15) client that is having the same issue.

Issue tracks are by “Walking on Cars”.

plexamp-logs.zip (153.8 KB)

#define BASS_ERROR_FILEFORM	41	// unsupported file format

For some reason the client is unable to decode, unclear why. Probably something about the way the file was encoded.