elgatito / plugin.video.elementum

Elementum add-on for Kodi. Development of this addon has been stopped!
http://elementum.surge.sh
MIT License
484 stars 159 forks source link

[Bug] Episodes are added before Aired time #98

Closed jorgecardoso220 closed 6 years ago

jorgecardoso220 commented 6 years ago

Hi,

Normaly the addon adds, to the kodi library, the tv shows episodes on the day they are released, but we can only get torrents to see them the day after. There is any way to only add the episodes to the kodi library the day after they have been released?

thanks in advance,

burrodesancho commented 6 years ago

It also happens to me. But only with tv shows that are not in my timezone (e.g. shows from US).

I have tried adding tmdb API to elementum. And I tried changing time zone in settings at tmdb website but the problem remains.

elgatito commented 6 years ago

@jorgecardoso220 people fill aired date on TMDB, we check that field when getting episodes list. If you don't check "show unaired episodes" in plugin settings - you should not see that episode in the list. But you don't know if the date is right, or is it filled in at all.

There are some changes to minimize this issue in the last version, so you can try it.

jorgecardoso220 commented 6 years ago

I think the addon is doing what it's suppose to do. But, since i only can see the episodes the day after their release, because it's when the torrents appear, there is any way to implement a feature to only add the episodes the day after the aired date?

elgatito commented 6 years ago

@jorgecardoso220 Example of such show/episode?

jorgecardoso220 commented 6 years ago

For example, American Crime Story S02E05, the air date is14-02-2018 but i only can get torrents today, so 15-02-2018, but the episode was added to my kodi library 14-02-2018. I would like the episode only been added 15-02-2018.

elgatito commented 6 years ago

I have found the cause of this issue. It was because tmdb date, like "2018-14-02" was translated to "2018-14-02 00:00:00" was compared to current time, which, for example is "2018-14-02 00:00:01" and so it's always after current date.

The fix will be added to the next version of plugin.

jorgecardoso220 commented 6 years ago

Thank you

elgatito commented 6 years ago

Can you try with the 0.0.44 ? There is a change regarding the described bug.

jorgecardoso220 commented 6 years ago

Yes of course. soon i try it i will report

jorgecardoso220 commented 6 years ago

It’s still adds the episodes 1 day early, like before

jorgecardoso220 commented 6 years ago

Any news on this issue?

elgatito commented 6 years ago

@jorgecardoso220 I will pick it up for the next version.

elgatito commented 6 years ago

I guess I have found the problem. We were letting episode which are aired "today". Will be fixed in the next version.

elgatito commented 6 years ago

Should be better with v0.0.50.

jorgecardoso220 commented 6 years ago

It seems ok now.

Thanks