SchizoDuckie / DuckieTV

A web application built with AngularJS to track your favorite tv-shows with semi-automagic torrent integration
http://schizoduckie.github.io/DuckieTV/
Other
1.12k stars 272 forks source link

[Feature Request] Sort by Last Aired/Next Air #1320

Open OfficialEsco opened 3 years ago

OfficialEsco commented 3 years ago

Feature The "Your Favorites" tab should include Last Aired and Next Airdate.

garfield69 commented 3 years ago

this is currently not possible, as the favourites page only has access to the series table, with does not contain fields for LastAired and NextAirdate Those fields are the broadcast date of the episode records, and are only available after traversing the associated episode records of a series to find the latest broadcast episode and the following episode if it exists. We would first have to add those fields to the series record, and regularly update those two fields whenever the episode data is updated during the daily trakt.tv fetch data routine. But since it is not guaranteed that trakt.tv has posted the next episode of a series following the last broadcasted date, (for example at the end of a season where the channel has yet to announce the next episode of a new season) the sort would crash due to missing data for the NextAirdate. I don't have the time to invest in developing this request. Maybe some volunteer can research and raise a PR.

OfficialEsco commented 3 years ago

Thank you for looking into it :) Hoped it was a easy thing to do.. I recently swapped from TV Show Tracker UWP (Which have been abandoned a long time ago) which have this, whenever a episode didn't have a date it would move to the bottom with next episode: Unknown.