@@ -122,6 +122,7 @@ MainView {
122 property bool firstRun: true
122 property bool firstRun: true
123 property int maxEpisodeDownload: -1
123 property int maxEpisodeDownload: -1
124 property bool hideListened: false
124 property bool hideListened: false
125+ property bool deleteListened: false
125 property bool showListView: true
126 property bool showListView: true
126 property int skipForward: 30
127 property int skipForward: 30
127 property int skipBack: 10
128 property int skipBack: 10
@@ -387,6 +388,12 @@ MainView {
387 console.log("[LOG]: End of Media. Stopping.")
388 console.log("[LOG]: End of Media. Stopping.")
388 endOfMedia = true
389 endOfMedia = true
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)");