# Plexamp headless skipping track

**URL:** <https://forums.plex.tv/t/plexamp-headless-skipping-track/902936>\
**Category:** Plex Labs\
**Tags:** plexamp\
**Created:** [January 21, 2025, 12:52am UTC](https://forums.plex.tv/t/plexamp-headless-skipping-track/902936 "2025-01-21T00:52:38Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![itsamezachary](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/itsamezachary/32/122376_2.png) [@itsamezachary](https://forums.plex.tv/u/itsamezachary)\
**Post date:** [January 21, 2025, 12:52am UTC](https://forums.plex.tv/t/plexamp-headless-skipping-track/902936/1 "2025-01-21T00:52:38Z")

</div>

Having a weird issue with a specific file when trying to play on my pi 3 running the headless plexamp app. It’s strange. The song plays perfectly on all my other devices with plexamp, and I can’t tell anything strange about the file when inspecting it in other apps. The song plays on the pi for 13ish seconds, and then skips without fail. The file in question is a 48/24 FLAC, so maybe it’s just running out of memory or something?

Happy to share the logs, but I need help finding them. Thanks for the help.

---

<div class="post-metadata">

**Author:** ![elan](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elan/32/5_2.png) [@elan](https://forums.plex.tv/u/elan)\
**Post date:** [January 21, 2025, 1:28am UTC](https://forums.plex.tv/t/plexamp-headless-skipping-track/902936/2 "2025-01-21T01:28:53Z")

</div>

Usually in `/home/pi/.cache/Plexamp/log/Plexamp.log`

---

<div class="post-metadata">

**Author:** ![itsamezachary](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/itsamezachary/32/122376_2.png) [@itsamezachary](https://forums.plex.tv/u/itsamezachary)\
**Post date:** [January 21, 2025, 8:04pm UTC](https://forums.plex.tv/t/plexamp-headless-skipping-track/902936/3 "2025-01-21T20:04:43Z")

</div>

[Plexamp.log](https://forums.plex.tv/uploads/short-url/4qqgP73C1eOZhFvmUPjgfYFyDic.log) (764.1 KB)  
[Plexamp.1.log](https://forums.plex.tv/uploads/short-url/w0rFxF2F6pbyjBWRRKpLfq9XLmC.log) (1.1 MB)  
[Plexamp.2.log](https://forums.plex.tv/uploads/short-url/lTOGqRd5YJUQMA8cN9w199aeFi5.log) (943.0 KB)

These are the logs from yesterday. It happened in the evening. I forget the time exactly. Maybe like 6pm or so.

---

<div class="post-metadata">

**Author:** ![elan](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elan/32/5_2.png) [@elan](https://forums.plex.tv/u/elan)\
**Post date:** [January 21, 2025, 8:26pm UTC](https://forums.plex.tv/t/plexamp-headless-skipping-track/902936/4 "2025-01-21T20:26:00Z")

</div>

There’s an error in there where it’s finding the audio device busy. If you have sample rate matching enabled, it reopens the device, so if there’s something else competing with it, that can cause issues.

That’s the only thing which stands out on cursory inspection.

---

<div class="post-metadata">

**Author:** ![itsamezachary](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/itsamezachary/32/122376_2.png) [@itsamezachary](https://forums.plex.tv/u/itsamezachary)\
**Post date:** [January 21, 2025, 10:12pm UTC](https://forums.plex.tv/t/plexamp-headless-skipping-track/902936/5 "2025-01-21T22:12:08Z")

</div>

Is there a way to give plexamp exclusive access to the hifiberry sound device, and if so would that solve it?

---

<div class="post-metadata">

**Author:** ![elan](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elan/32/5_2.png) [@elan](https://forums.plex.tv/u/elan)\
**Post date:** [January 21, 2025, 11:05pm UTC](https://forums.plex.tv/t/plexamp-headless-skipping-track/902936/6 "2025-01-21T23:05:27Z")

</div>

Probably, I’m not an expert in Linux sound or HiFiBerry devices. What do you have sample rate matching set to? And what other things on the Pi do you have?

---

<div class="post-metadata">

**Author:** ![itsamezachary](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/itsamezachary/32/122376_2.png) [@itsamezachary](https://forums.plex.tv/u/itsamezachary)\
**Post date:** [January 21, 2025, 11:35pm UTC](https://forums.plex.tv/t/plexamp-headless-skipping-track/902936/7 "2025-01-21T23:35:26Z")

</div>

I had sample rate set to strict. I tried the other two option, but it didn’t alleviate the issue. I’m pretty sure the pi is just a stock raspberry pi OS install with plexamp on it. I don’t know what else could be trying to use the sound device. I’m going to reflash the SD card with the latest headless OS, and reinstall plexamp to see if that changes anything. I don’t actually need the desktop environment. Maybe that will change something.

---

<div class="post-metadata">

**Author:** ![tgp-2](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tgp-2/32/276306_2.png) [@tgp-2](https://forums.plex.tv/u/tgp-2)\
**Post date:** [January 21, 2025, 11:54pm UTC](https://forums.plex.tv/t/plexamp-headless-skipping-track/902936/8 "2025-01-21T23:54:25Z")

</div>

i have some headless setup tips written down [here](https://gist.github.com/tgp-2/fc34c5389bc3e4ef332e28d9430b0ebf) … agree skipping the desktop environment is generally a good idea, tho in this case it might also be an issue with that specific file

---

<div class="post-metadata">

**Author:** ![elan](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elan/32/5_2.png) [@elan](https://forums.plex.tv/u/elan)\
**Post date:** [January 22, 2025, 12:00am UTC](https://forums.plex.tv/t/plexamp-headless-skipping-track/902936/9 "2025-01-22T00:00:38Z")

</div>

Ah yeah, I missed that it was a specific file. If so, almost certainly something specific to that file and not anything Plexamp specific…it is possible the decoders are slightly different per platform.

---

<div class="post-metadata">

**Author:** ![itsamezachary](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/itsamezachary/32/122376_2.png) [@itsamezachary](https://forums.plex.tv/u/itsamezachary)\
**Post date:** [January 22, 2025, 1:41am UTC](https://forums.plex.tv/t/plexamp-headless-skipping-track/902936/10 "2025-01-22T01:41:06Z")

</div>

I just finished reinstalling plexamp onto my new headless OS installation. The file plays fine now. Not sure what the deal was, but seems resolved. Maybe the file is a bit weird, or maybe my old pi install was. 🤷‍♂️

Thanks for the help. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [April 22, 2025, 1:41am UTC](https://forums.plex.tv/t/plexamp-headless-skipping-track/902936/11 "2025-04-22T01:41:30Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
