MOC crashes on playlist loading with Shift+A
if the same track is included twice
version 2.6.0 svn revison 2935 on Debian/Ubuntu
Sun, 2017-01-22 14:13
Forgot to mention that server doesn't crash in that case, client only.
Sun, 2017-01-22 16:23
Seems to be the problem with plist_remove_common_items() checking for duplicates also removed files which might not have filename value set (see plist_load_m3u() ). I think that the following patch resolves the issue:
I'm not sure however if checking for duplicates in plist_load_m3u() or add_dir_plist() makes much sense. The is a check later on audio_plist_add() (albeit it results in warning logged).
Thu, 2017-02-09 01:56
Fix committed as r2944 (MOC 2.5) and r2945.