drgerg / mmc4w

Minimal MPD Client for Windows - No-Cloud, Local Music Library
GNU General Public License v3.0
8 stars 2 forks source link

The program doesn't start #16

Closed LuSP19 closed 8 months ago

LuSP19 commented 8 months ago
Traceback (most recent call last):
  File "mmc4w.py", line 1777, in <module>
  File "mmc4w.py", line 930, in plupdate
IndexError: list index out of range

The cpl is empty and cpl[0] gives an error.

drgerg commented 8 months ago

OK. I'm wrapping up another release, and I'll see if I can solve this one before I put it up here. If mmc4w is connecting to a server, and that server has saved playlists, then there should be something in cpl[]. So either you are not connected (unlikely at this point in the running) or there are no saved playlists on the server. I never considered that possibility until now, so let me see if I can can compensate for it. Thanks.

drgerg commented 8 months ago

I was able to replicate the error by deleting all the saved playlists from one of my MPD servers. So that was the cause. Now I can make a fix. Thanks!