Prevents segfault if no file are in the playlist (thanks j-b)