@@ -122,6 +122,7 @@ MainView {
122122 property bool firstRun: true
123123 property int maxEpisodeDownload: -1
124124 property bool hideListened: false
125+ property bool deleteListened: false
125126 property bool showListView: true
126127 property int skipForward: 30
127128 property int skipBack: 10
@@ -387,6 +388,12 @@ MainView {
387388 console.log("[LOG]: End of Media. Stopping.")
388389 endOfMedia = true
389390 stop()
391+
392+ Podcasts.init().transaction(function(tx) {
393+ // Playlist finished, mark all playlist as played.
394+ tx.executeSql("UPDATE Episode SET listened=1 WHERE guid in (SELECT guid FROM Queue)");
395+ refreshModels();
396+ })
390397 }
391398 }
392399