[Telly Skout] [Bug 497738] Incorrect time markers
Plata
bugzilla_noreply at kde.org
Sat Dec 21 12:55:14 GMT 2024
https://bugs.kde.org/show_bug.cgi?id=497738
Plata <plata.hill at kdemail.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version Fixed In| |24.12.1
Status|ASSIGNED |RESOLVED
Latest Commit| |https://invent.kde.org/util
| |ities/telly-skout/-/commit/
| |2cb62c72b9975d85c86e303ff6d
| |5df8e6e5957c5
Resolution|--- |FIXED
--- Comment #7 from Plata <plata.hill at kdemail.net> ---
Git commit 2cb62c72b9975d85c86e303ff6d5df8e6e5957c5 by Plata Hill.
Committed on 21/12/2024 at 12:55.
Pushed by plata into branch 'master'.
TV Spielfilm fetcher: fix program stop time before start time
It can happen that the stop time of a program is incorrect (i.e. after the next
program has already started).
In this case, TV Spielfilm fetcher overwrites the stop time with the start time
of the next program.
As days are fetched from future to past to be able to stop early,
the last program of the next day is the "previous" program of the first program
of the current day.
When the stop time was "fixed" in this case, it led to empty entries and
misaligned times on the "Favorites" page.
Fix the stop time only if the "previous" program is really previous.
Note: To avoid problems like this, it would generally be better to parse in
chronological order.
However, this would be at the cost of performance (stopping early no longer
possible).
Additionally, the cases where fixing the stop time is necessary are only rare
exceptions.
FIXED-IN: 24.12.1
M +4 -1 src/tvspielfilmfetcher.cpp
https://invent.kde.org/utilities/telly-skout/-/commit/2cb62c72b9975d85c86e303ff6d5df8e6e5957c5
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list