IgnisDa / ryot

Roll your own tracker!
https://ryot.io
GNU General Public License v3.0
1.78k stars 46 forks source link

[FEATURE REQUEST & ISSUE] Notifications/Calendar - Wrong aired date - Aired time implementation #840

Open rampionx opened 3 months ago

rampionx commented 3 months ago

Hi ! First of all, thank you again for this beautiful software that I use daily from now on.

I would like to provide two points that are linked.

First the issue:

Impact: I receive notifications one day after the real release day on TV/streaming platforms. It's quite a loss.

Reason: I watch a lot more anime than TV shows. So I can't say if the problem is only on anime. However, in Sonarr and Trackt the dates are correct. After a quick search, it appears that TVDB, ANIDB, MAL and TMDB are all impacted.

Second point the feature request:

In any case, thank you in advance for your interest.

IgnisDa commented 2 months ago

I'm a bit tied up at the moment. If you're up for it, feel free to jump in and submit a PR – I'd really appreciate the help. If you're not sure where to start, I can give you some pointers.

Alternatively, if coding isn't your thing but you still want to support the project, a donation would be super helpful.

IgnisDa commented 4 weeks ago

@rampionx I think the problem here is that your database is in the wrong timezone. Can you try this? NOTE: You will have to dump your db, reset it and then restore it back again. Timezone changes are not applied to an already initialized database.

rampionx commented 4 weeks ago

Hi IgnisDa. I have tryed to change timezone. RYOT and PostgresSQL15 are both on my correct timezone (Europe/Paris). (I made a fresh install) image

It's steal wrong aired date. In the example below, I get notified by RYOT, 27 hours before the episode is released (at midnight, the day before, so 27 hours before). The aired date still good on Trakt and Sonarr contrary to, RYOT, TVDB and TMDB. image

Thank you for your help.

IgnisDa commented 4 weeks ago

@rampionx Is this a data discrepancy? As far as I can see, the release dates of shows seem to be different on TMDB than trakt. Can you check? https://www.themoviedb.org/tv/94997-house-of-the-dragon/season/2

rampionx commented 3 weeks ago

Hi IgnisDa, Yes. That's what I said before. As far as I can see TVDB, TMDB, AniDB and MAL use the same aired time. In my case, only Trackt and Sonarr have the good date/hours. It's probably a timezone problem but I don't know how to change it. As you can see in the example below, Sonarr and Trackt look like to use my TZ. TVDB and TMDB looks in a bad timezone. (IDK for TMDB and RYOT. IDK how to see the Aired hour)

TVDB: image

TMDB: image

RYOT: image

Trackt: image

Sonarr: image

Estearn US vs Europe/Paris TZ: image

IgnisDa commented 2 weeks ago

Ryot does not pull release dates from Trakt. As far as I know, Trakt uses TMDB API, so I wonder if they are maintaining release dates separately? Do you have any idea about this?