-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support serial chrono order. #39
Support serial chrono order. #39
Conversation
Wouldn't it make more sense to just allow the display of the episodes to be ordered one way or the other then to add a whole new way of importing a podcast? |
Not really. The first episode of Serial (a chronological podcast) is
S01E01. The first episode of an episodic podcast such as a news podcast is
the latest episode.
Without this option you present the order of podcasts wrong on these
podcasts the first time.
…On Sun, Jun 21, 2020, 4:04 PM Keeper-of-the-Keys ***@***.***> wrote:
Wouldn't it make more sense to just allow the display of the episodes to
be ordered one way or the other then to add a whole new way of importing a
podcast?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#39 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAWBSHZILHGXUGF6KBJRT3RXZRT3ANCNFSM4N5PJ34A>
.
|
I'm not sure I follow, if I look at the database entries for episodes each has a publish date so it should be trivial to order the episodes that way, the only place where that would mess up is when a podcaster decides to add a episode 0 before another eposide (which in the podcasts I use seems to be very rare). |
It's all about the podcast type. For example :
https://support.whooshkaa.com/support/solutions/articles/9000150969-itunes-apple-podcasts-is-showing-my-episodes-in-the-wrong-order
I'm working on a headless podcast client, and the episode order is important
…On Sun, Jun 21, 2020, 5:18 PM Keeper-of-the-Keys ***@***.***> wrote:
I'm not sure I follow, if I look at the database entries for episodes each
has a publish date so it should be trivial to order the episodes that way,
the only place where that would mess up is when a podcaster decides to add
a episode 0 before another eposide (which in the podcasts I use seems to be
very rare).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#39 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAWBSFW4OO4YOI75BPBA5TRXZ2JBANCNFSM4N5PJ34A>
.
|
But if your client is reading your local db doesn't it make more sense to just order according to the publish date field in asc/desc order as you prefer then to be? |
Currently, I'm reading the DB using If you look at the key changes in model.py, you'll see the this is really a download-strategy change, with an additional sort happening in the Finally, I have limited my |
But in that mode you will also never move beyond the first 50 episodes. You would need to raise the download limit in all cases eventually whether from the get go to back all the way to the first episode or as you listen to more of the episodes when they are ordered in reverse. Which is why I tend to say that this is an adding a level of complication that should be handled on the displaying end (view) and not during download. |
My point was that the limits value starts at the wrong end of the episode
of Interest.
In the case of podcast in this mode with limit of 50, you would like the
model to retrieve and present the 50 models that are appropriate.
Designating S1 E1 as the first episode to listen to, you can use the model
interface to properly retrieve the episodes in the right order.
Don't get me wrong, I'm perfectly fine if this doesn't seem to fit.
However, I think what I'm seeing is a need for me for gpodder-core to
really be a headless capable core Library. Headless because the application
on targeting doesn't have any kind of display, and just some buttons in
face with it.
…On Mon, Jun 22, 2020, 7:03 AM Keeper-of-the-Keys ***@***.***> wrote:
But in that mode you will also never move beyond the first 50 episodes.
You would need to raise the download limit in all cases eventually whether
from the get go to back all the way to the first episode or as you listen
to more of the episodes when they are ordered in reverse.
Which is why I tend to say that this is an adding a level of complication
that should be handled on the displaying end (view) and not during download.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#39 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAWBSBDMJ3ZL5G4HEBX65DRX43A3ANCNFSM4N5PJ34A>
.
|
Sorry about the delayed reply, I thought I had already replied. I see this as a display issue and not an issue that belongs in the logic for downloading episodes for 2 reasons:
@elelay @thp your inputs on the subject are very welcome as you have been doing this much longer then me. |
(While if the download order is "newest first" and the user realizes the limit is too low what they need to do is 100% clear, the scenario you propose to create creates a potential for silent and unnoticed failure) |
@Keeper-of-the-Keys, thanks for pushing back and forcing me to defend this. Actually, this PR should be changed. Here's why:
By supporting this, removes the need for my
I'm happy to update this PR here and submit a new one in As to why this is important, consider Up and Vanished (and pretend they have 301 episodes instead of 101):
|
Hey just a minor heads up, I'm in exam period right now so won't have time to deal with this until the end of the month. |
Closing PR (but submitting /pull/40) |
@elelay -- Have a look at this. I think this is what I want, but wanted it reviewed. Naturally, you can ignore if you're not interested...
It seems that the podcast settings are cached (i.e.
download_strategy
), and the only way I could get the following to work was to add the sorting topodcast.update()
:NOTE: If you close/reopen
gpo
between the 2nd and third step, theepisodes
command works fine. Once I added the sorting to theupdate
method, the episode order properly changes with theepisodic
orserial
command.Fixes #35