Skip to content

Commit 006947b

Browse files
Merge pull request #11 from Keeper-of-the-Keys/duration
Makes episode duration accessible to EpisodeListModel
2 parents ae6489f + 119521a commit 006947b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Diff for: main.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# of gpodder-core, but we might have a different release schedule later on. If
2020
# we decide to have parallel releases, we can at least start using this version
2121
# to check if the core version is compatible with the QML UI version.
22-
__version__ = '4.8.0'
22+
__version__ = '4.9.0'
2323

2424
import sys
2525
import os
@@ -174,6 +174,7 @@ def convert_episode(self, episode):
174174
'section': self._format_published_section(now, tnow, episode.published),
175175
'hasShownotes': episode.description != '',
176176
'mime_type': episode.mime_type,
177+
'total_time': episode.total_time
177178
}
178179

179180
def _format_published_section(self, now, tnow, published):
@@ -245,7 +246,7 @@ def export_opml(self, uri):
245246
URI can be either just a name or a full path as long as writing to said path is possible.
246247
"""
247248
opml.Exporter(uri).write(self.core.model.get_podcasts())
248-
249+
249250
@run_in_background_thread
250251
def subscribe(self, url):
251252
url = self.core.model.normalize_feed_url(url)

Diff for: makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PROJECT := gpodder-ui-qml
2-
VERSION := 4.8.0
2+
VERSION := 4.9.0
33

44
all:
55
@echo ""

0 commit comments

Comments
 (0)