A podcast told in seasons can be listed one season at a time (#482)
GET /api/feeds/{id}/seasons counts a podcast's episodes and unread by
season, from the same FROM as its list, so a count is what picking it
shows; season= on its entries narrows the list to one, or to the
episodes naming none. The page puts the seasons under the tabs, as the
tabs' own track, when a podcast is told in them: two or more, holding
most of its episodes. That leaves out Ken and Robin, whose "seasons" are
years on a quarter of 767 episodes, and The Vintage RPG Podcast's 2 of
366. Listed all together by date, a heading marks where each season
starts.
A fixture podcast in seasons is in the browser suite, which now
configures six feeds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RqkrVAJFkEgz9cXG3jG1Zy
This commit is contained in:
@@ -141,6 +141,9 @@ interface State {
|
||||
/// Whether the server has more after the last page it sent, by that answer's own numbers.
|
||||
more: boolean;
|
||||
filter: string;
|
||||
/// One season of the open podcast (#482): its number, `none` for the episodes naming none, or
|
||||
/// empty for every season.
|
||||
season: string;
|
||||
q: string;
|
||||
/// The selected item's guid.
|
||||
sel: string | null;
|
||||
@@ -148,6 +151,14 @@ interface State {
|
||||
sort: {col: string, dir: 'asc' | 'desc'};
|
||||
}
|
||||
|
||||
/// One season of a podcast, `/api/feeds/{id}/seasons` (db.rs SeasonCount, #482). No season is
|
||||
/// the episodes that name none.
|
||||
interface SeasonCount {
|
||||
season?: number | null;
|
||||
episodes: number;
|
||||
unread: number;
|
||||
}
|
||||
|
||||
/// A smart playlist, `/api/playlists` (db.rs PlaylistRow, #476).
|
||||
interface Playlist {
|
||||
id: number;
|
||||
|
||||
Reference in New Issue
Block a user