Closed Bougakov closed 4 years ago
Sounds reasonable, can you point me to any examples where this is the case?
About half of the podcasts I've tried to move to Mopidy were like that. For example, https://feeds.megaphone.fm/WWO6655869236 I don't know what "megaphone.fm" is, but RSS links on podcasts' pages mostly seem to point there.
@Bougakov: You're right that Mopidy-Podcast ignores the <itunes:episode>
tags, but at least the podcast you linked to seems to provide proper <pubDate>
tags. So these should be displayed "newest first", and not in "random order".
I only checked with Mopidy-Mobile as a client, though.
Hmm, strange. Here is a piece of my conf file:
[podcast]
enabled = true
browse_root = Podcasts.opml
browse_order = desc
lookup_order = asc
cache_size = 64
cache_ttl = 86400
timeout = 10
Here is my /etc/mopidy/podcast/Podcasts.opml
<?xml version="1.0" encoding="UTF-8"?>
<opml>
<body>
<outline text="Pivot" type="rss" xmlUrl='https://feeds.megaphone.fm/pivot' />
<outline text="Prof G Show" type="rss" xmlUrl='https://feeds.megaphone.fm/WWO6655869236' />
<outline text="WSJ What's new" type="rss" xmlUrl='https://video-api.wsj.com/podcast/rss/wsj/whats-news' />
</body>
</opml>
mopidy-podcast
is the newest version (3.0.0-1).
Let's check the https://feeds.megaphone.fm/WWO6655869236 The latest episode is: Benchmarking, Brand Strategy, and Starting Fresh, <pubDate>Thu, 23 Jul 2020 08:00:00 -0000
. Strangely, it is displayed in the middle of the list:
The top entry is Get to a Platform with <pubDate>Thu, 28 May 2020 07:01:00 -0000</pubDate>
P.S. <channel>
-> <title>
doesn't appear to be parsed correctly as well...
I don't know about the Iris client, but when using the MPD frontend I get this:
$ mpc -f '%track%\t%date% %title%' ls Podcasts/Test
20/20 2020-07-23 Benchmarking, Brand Strategy, and Starting Fresh
19/20 2020-07-16 Predictions, COVID-19, and Loving Others
18/20 2020-07-09 Disruption is Due
17/20 2020-07-02 Getting Unstuck
16/20 2020-06-25 Exploitation Economy
15/20 2020-06-18 Bring Forgiveness
14/20 2020-06-11 Be Quiet and Listen
13/20 2020-06-04 Slow Thinking
12/20 2020-05-28 Get to a Platform
11/20 2020-05-21 Moral Illusions
10/20 2020-05-14 A Position of Strength
9/20 2020-05-07 Examine Your Burn
8/20 2020-04-30 Stop Keeping Score
7/20 2020-04-23 Post Corona: The Four
6/20 2020-04-16 The Essential Is Invisible
5/20 2020-04-09 Long on Humanity
4/20 2020-04-02 Mind the Gap
3/20 2020-03-26 A Post-Corona World
2/20 2020-03-19 Love in the Time of Corona
1/20 2020-02-12 Official Trailer: The Prof G Show With Scott Galloway
I get the same result with Mopidy Mobile, so I suspect Iris is using its own sorting scheme:
Filed this bug to https://github.com/jaedb/Iris/issues/576
Thanks for helping to investigate this.
Hi. Some podcasts turn out to have only a
<itunes:episode>n</itunes:episode>
and<itunes:type>episodic</itunes:type>
, but not the date in their RSS feeds. Mopidy displays those in a random order.Suggestion - if no date attribute is set, fall back to sorting by episode number.