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

Song endings are being truncated #38

Closed
jshep321 opened this issue Jun 30, 2021 · 4 comments
Closed

Song endings are being truncated #38

jshep321 opened this issue Jun 30, 2021 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@jshep321
Copy link

jshep321 commented Jun 30, 2021

Describe the bug
Song endings are being truncated

To Reproduce
I'm simply playing playlists and the tracks are ending prematurely Unclear of exact timing, but seems to be ~4-6s. I'm piping to forked-daapd (via a mkfifo pipe).

I can see the metadata track time/total time in forked-daapd webpage. When this occurs, there is time remaining and it transitions to the next track. I can also see the log file excerpt below while still playing.

The DEBUG logfiles show a Changed fade out reason why: TRACK_DONE

Expected behavior
Tracks should play to completion when being piped, else handle output delays correctly.

Screenshots
N/A

Logs

Desktop (please complete the following information):
RPI4, 4GB

Additional context
I tried disabling preload and it didn't help.

Perhaps adjusting the crossFadeDuration to 4-5s would correct this?

I suspect disabling the fade out "TRACK_DONE" when sending to a pipe (or creating a new config option for this) would correct.

Another info piece: there is a Player time offset of <1000. It seems this doesn't take into account the forked-daapd synchronization delays. Maybe it is only looking at the spocon -> forked-daapd delay?

@jshep321 jshep321 added the bug Something isn't working label Jun 30, 2021
@devgianlu
Copy link
Contributor

Already fixed upstream: librespot-org/librespot-java#361

@jshep321
Copy link
Author

jshep321 commented Jul 2, 2021

Hi @devgianlu
I've never played with Ansible and lack the time to setup the build env now. Is there a prebuilt armhf (RPI4) .jar anywhere until this trickles upstream into the repo?

I tried building with jar cf jar-file input-files and it lacks manifest, etc.

Thanks!

@devgianlu
Copy link
Contributor

@jshep321
Copy link
Author

jshep321 commented Jul 2, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants