App version: 1.7.1 (from F-Droid)
Android version: 8.1.0 (LineageOS)
Device model: Samsung Galaxy S5 (SM-G900F)
Expected behaviour:
Episodes marked as played manually should increase the play time in the statistics of it's podcast.
The statistics should show (for example):
„1 from 75 episodes started“
„0.5 from 0.5 hours played“
Current behaviour:
The episode is added to the „started episodes“ but does not increase the played time.
The statistics only show (for example):
„1 from 75 episodes started“
„0.0 from 0.0 hours played.“
First occured: Version 1.7.1, but I cannot say if it also occurs in older versions.
Steps to reproduce:
I have noticed that this does not occur with all podcast URLs – some podcasts which “work” as expected:
https://chaosradio.de/feed/opus
https://www.deutschlandfunk.de/podcast-deutschlandfunk-der-tag.3417.de.podcast.xml
https://rechtsbelehrung.com/feed/podcast
https://www.kuechenstud.io/lagedernation/feed/mp3/
And here are some examples where the statistics do not work as expected:
https://schlusskonferenz.podigee.io/feed/mp3
https://podcast-news.podigee.io/feed/aac
(basically all Podcasts hosted on podigee.io)
http://www.ard.de/static/radio/radiofeature/rss/podcast.xml
https://audiothek.ardmediathek.de/programsets/21676038/synd_rss?offset=0&limit=12
https://audiothek.ardmediathek.de/programsets/46142064/synd_rss?offset=0&limit=12
(basically all podcasts from audiothek.ardmediathek.de)
@benediktg It might have to be due to whether the podcast feeds supply the duration of the episodes.
I checked a few of the supplied feeds.
Those from chaosradio.de supply proper duration, e.g., <itunes:duration>02:02:53</itunes:duration>
The one from podigee.io supply duration in the form of <itunes:duration>11485</itunes:duration> . It's possible that AntennaPod does not recognize the format, or maybe it is not even a proper duration to begin with. I don't know off hand.
@benediktg Can we consider this issue to be resolved?
https://help.apple.com/itc/podcasts_connect/#/itcb54353390 says about the <itunes:duration> tag:
If you specify a single number as a value (without colons), Apple Podcasts displays the value as seconds.
Should Antennapod also recognize this seconds-only format?
I can submit a PR later today to fix this.
Most helpful comment
I can submit a PR later today to fix this.