jcorporation / myMPD

myMPD is a standalone and mobile friendly web mpd client with a tiny footprint and advanced features.
https://jcorporation.github.io/myMPD/
GNU General Public License v3.0
418 stars 65 forks source link

Connection Refused after multiple browser launch #84

Closed koflesinge closed 5 years ago

koflesinge commented 5 years ago

Connection Refused After mutliples mympd launch, the connection to mpd is refused. I use mympd as a "web app" with a dedicated browser/launcher. It seems that when closing a browser, mympd doesn't close the connection to mpd. The log of mpd show the number of clients increasing, and refuse to connect when it reaches the limit of mpd.conf

To Reproduce Steps to reproduce the behavior:

  1. Usesurf to connect to mympd
  2. Close surf
  3. repeat a few times
  4. Connection to mpd refused
jcorporation commented 5 years ago

myMPD opens the mpd connection on startup and keeps only one connection open till shutdown of myMPD. There should be no browser dependencies.

Please increase the log level of myMPD and start myMPD manually and post the output here.

koflesinge commented 5 years ago

Thanks for yor tips

I mix my commands between mympd and ncmpcpp, and it seems that only ncmpcpp starts a new client every time I launch it. I guess at some point ncmpcpp kicks mympd out of the client list.

Seems closed to me

Le samedi 05 janvier 2019 à 09:53 -0800, Jürgen Mang a écrit :

myMPD opens the mpd connection on startup and keeps only one connection open till shutdown of myMPD. There should be no browser dependencies. Please increase the log level of myMPD and start myMPD manually and post the output here. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.