Skip to content

[Feature Request] Improve Calendar Tracking for Ongoing (Jellyfin) Shows #390

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

Closed
joheiska opened this issue Mar 21, 2025 · 1 comment
Closed

Comments

@joheiska
Copy link

Is your feature request related to a problem?
Not sure, depends...? Currently, the calendar view in Yamtrack does not display upcoming episodes for ongoing Jellyfin TV shows unless the user has already watched an episode from the new/ongoing season. This results in limited visibility into new episodes of shows the user is following but hasn’t started the latest season yet.

Describe the solution you'd like
The calendar should automatically track ongoing Jellyfin shows with upcoming or recently released episodes, even if the user hasn't watched an episode from the new season yet. This would ensure users stay informed about their tracked shows.

A possible approach could be to poll Jellyfin and e.g. imdb API once per day to check which tracked TV series are ongoing and whether they have upcoming or already released new episodes. These episodes should then be added to the calendar automatically.

FuzzyGrim added a commit that referenced this issue Apr 19, 2025
- Refactor TV show processing to only handle seasons with no events or currently airing seasons
- Optimize Season queries to only fetch the latest season per TV show using Window functions
- Implement logic to show events for all seasons of a TV show when the user's latest tracked season is active
- Fix issue with combining unique and non-unique querysets in replace_seasons_with_tv_shows
- Improve performance by reducing unnecessary database queries and processing

This implementation enhances the calendar experience by showing relevant upcoming episodes for TV shows the user is actively following, even for seasons they haven't explicitly tracked yet.

#390
@FuzzyGrim
Copy link
Owner

Fixed in v0.22.0. The calendar now tracks upcoming seasons if you have previously tracked any of the earlier seasons.

dannyvfilms pushed a commit to dannyvfilms/Yamtrack that referenced this issue Jun 5, 2025
- Refactor TV show processing to only handle seasons with no events or currently airing seasons
- Optimize Season queries to only fetch the latest season per TV show using Window functions
- Implement logic to show events for all seasons of a TV show when the user's latest tracked season is active
- Fix issue with combining unique and non-unique querysets in replace_seasons_with_tv_shows
- Improve performance by reducing unnecessary database queries and processing

This implementation enhances the calendar experience by showing relevant upcoming episodes for TV shows the user is actively following, even for seasons they haven't explicitly tracked yet.

FuzzyGrim#390
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants