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

Large playlists crash the playlist tab #9

Closed
eratosthene opened this issue Jan 21, 2018 · 3 comments
Closed

Large playlists crash the playlist tab #9

eratosthene opened this issue Jan 21, 2018 · 3 comments
Labels
Milestone

Comments

@eratosthene
Copy link
Owner

No description provided.

@eratosthene
Copy link
Owner Author

Probably has something to do with exhausting available memory, as 'large' seems to be much smaller on pi than on desktop.

@eratosthene
Copy link
Owner Author

It's actually causing mpd to disconnect when asked for long playlists. The same thing happens if you try to use 'mpc playlist' when a long playlist is loaded. Maybe some mpd tweaking?

@eratosthene
Copy link
Owner Author

Increasing the max_output_buffer_size to "32768" allows at least 10000 item long playlists to not crash now. Somewhere between 10000 and 15000 I'm seeing a new error, after all the playlist items are pulled in from mpd:

[DEBUG ] [NowPlaying ] update_mpd_status()
[DEBUG ] [Playlist ] update_mpd_status()
[DEBUG ] [ImageSDL2 ] Load </home/sysop/kmpc/kmpc/resources/list-backdrop.png>
[WARNING] [Application ] Connection lost: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.]
[INFO ] [Base ] Leaving application in progress...
[INFO ] [Support ] Shutting down twisted reactor
[ERROR ] [Connection lost - goodbye!] [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.]

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

No branches or pull requests

1 participant