Skip to content

playlist: fail export if item count is 0

Fatih Uzunoğlu requested to merge fuzun/vlc:playlist/dontexportifempty into master

It does not make sense to export the playlist if it does not contain any item.

This is useful for the interface where it tries to recover the playlist if it was closed abruptly. If export fails when the playlist is empty, it means that there is nothing to recover so that the user is not prompted with a "Do you want to recover playlist?" for an empty playlist.

Merge request reports

Loading