heula 189 Posted August 17, 2018 Author Share Posted August 17, 2018 For Windows I had this script running as a workaround for this issue and that worked because all premiered dates where correct again. tzutil /s "Eastern Standard Time" TASKKILL /F /PID EmbyServer.exe TASKKILL /F /PID EmbyTray.exe timeout 5 start C:\Users\username\AppData\Roaming\Emby-Server\System\EmbyServer.exe timeout 20 tzutil /s "W. Europe Standard Time" The same procedure works on my Synology NAS but I don't now how to get it working as the script does on Windows. If anyone can help me out with a new script that I can use as a workaround for the Synology NAS, would be appreciated. Thanks. Link to comment Share on other sites More sharing options...
chowbok 77 Posted November 7, 2018 Share Posted November 7, 2018 (edited) I just noticed this and it was annoying me, so I tried to find a workaround. First, I changed the time zone on the (Linux) Emby server from CST6CDT to UTC and rebooted. This didn't fix it, so I tried launching Chromium (also on a Linux box) with my TZ set to UTC. This made it so when I went to a season page, no episodes were displayed(!). So maybe I've uncovered another bug? Anyhow... has anyone figured a workaround to this on Linux (other than just entering the wrong dates on episodes to compensate)? Edited November 7, 2018 by chowbok Link to comment Share on other sites More sharing options...
Happy2Play 8270 Posted November 7, 2018 Share Posted November 7, 2018 (edited) The issue appears to be the datetime is written to the database in UTC but written to the nfo in utc +/- timezone. (At least from a edit point of view) Example Edit metadata changing dateadded a few minutes ago. I did this before 12:00am to this clearly isn't using a actual time. From beta database. Edited November 7, 2018 by Happy2Play Link to comment Share on other sites More sharing options...
Luke 37046 Posted November 10, 2018 Share Posted November 10, 2018 Thanks happy2play, there is an issue in the metadata editor that I will look at. Link to comment Share on other sites More sharing options...
Happy2Play 8270 Posted November 30, 2018 Share Posted November 30, 2018 The issue appears to be the datetime is written to the database in UTC but written to the nfo in utc +/- timezone. (At least from a edit point of view) Example Edit metadata changing dateadded a few minutes ago. I did this before 12:00am to this clearly isn't using a actual time. From beta database. This appears fixed in beta 3.6.x.x, not a issue to me but timestamp is set to 00:00:00 instead of actual time on manual edit in UI. <dateadded>2018-11-30 00:00:00</dateadded> Link to comment Share on other sites More sharing options...
heula 189 Posted December 23, 2018 Author Share Posted December 23, 2018 (edited) This is still an issue for me with emby server for synology 3.06.0.79. Edited December 23, 2018 by heula Link to comment Share on other sites More sharing options...
Luke 37046 Posted December 23, 2018 Share Posted December 23, 2018 This is still an issue for me with emby server for synology 3.06.0.79. Why do you feel you're still having an issue? Can you please describe the problem in more detail? Thanks. Link to comment Share on other sites More sharing options...
Happy2Play 8270 Posted December 23, 2018 Share Posted December 23, 2018 This is still an issue for me with emby server for synology 3.06.0.79. For new items or existing items? Link to comment Share on other sites More sharing options...
heula 189 Posted December 23, 2018 Author Share Posted December 23, 2018 (edited) I should be more clear. I still have this issue in Kodi. I have checked it in the Emby metadata manager and there it seems correct now. But when I open Kodi with the Emby addon activated and used to set up my Kodi library, I still see that the premiered date is one day earlier than it should be. How is that still possible when using Emby in Kodi? This is for old and new episodes Thanks. kodi.log Log.txt Edited December 23, 2018 by heula Link to comment Share on other sites More sharing options...
heula 189 Posted December 27, 2018 Author Share Posted December 27, 2018 Today I have reset my Kodi library once more to see what happens now with the premiered date in Kodi. Unfortunatly it is still the same so I don't know why this is? All good in the Emby metadata manager. This shows Kodi after setting up a new library with the Emby addon for Kodi. Kodi log Thanks. Link to comment Share on other sites More sharing options...
Happy2Play 8270 Posted December 27, 2018 Share Posted December 27, 2018 @@heula Have you verified the datetime written to the database? @@Angelblue05 If the web client is showing correct, would it not be a Kodi datetime offset issue? Link to comment Share on other sites More sharing options...
heula 189 Posted December 27, 2018 Author Share Posted December 27, 2018 (edited) I checked the Kodi myvideos.db and the date in there is wrong. No idea what is causing this. I do remember that I did setup the Kodi library once without the Emby addon some time ago to see what happened to the premiered date and back than the premiered date was good. So that makes me think it still is Emby related somewhere. Thanks Edited December 27, 2018 by heula Link to comment Share on other sites More sharing options...
Happy2Play 8270 Posted December 27, 2018 Share Posted December 27, 2018 (edited) I know the Reports plugin does this improper datetime offset also. So the plugins/addons themselves need looked at as the server (3.6) should be/is now reporting correct UTC. Edited December 27, 2018 by Happy2Play 1 Link to comment Share on other sites More sharing options...
Happy2Play 8270 Posted December 27, 2018 Share Posted December 27, 2018 I checked the Kodi myvideos.db and the date in there is wrong. No idea what is causing this. I do remember that I did setup the Kodi library once without the Emby addon some time ago to see what happened to the premiered date and back than the premiered date was good. So that makes me think it still is Emby related somewhere. Thanks Looking at this shows that Kodi is pulling correct time from Emby database UTC (as I would expect Emby database to show "1545606000") since you are UTC/GMT +1. But when Kodi displays it, it is not converted back to Local time (UTC/GMT +1). 1 Link to comment Share on other sites More sharing options...
Happy2Play 8270 Posted December 27, 2018 Share Posted December 27, 2018 @@Angelblue05, @@im85288, @, @@sualfred, @@xnappo Not sure who to tag but how does Kodi addon present the above datetime that appear in database? It would appear the addon is displaying this datetime unchanged from its database entry. 1 Link to comment Share on other sites More sharing options...
Luke 37046 Posted December 28, 2018 Share Posted December 28, 2018 Can you install the EmbyCon add-on and compare with that? Thanks. Link to comment Share on other sites More sharing options...
heula 189 Posted December 28, 2018 Author Share Posted December 28, 2018 With EmbyCon the same issue. Still one day off. Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted December 30, 2018 Share Posted December 30, 2018 (edited) @@heula Is the UTC time correct, it's just not converted to local time in Emby for Kodi? Edit: I went back a few posts and saw the webclient has the right time. Will correct this for the next version. Edited December 30, 2018 by Angelblue05 1 Link to comment Share on other sites More sharing options...
Solution Angelblue05 4130 Posted January 11, 2019 Solution Share Posted January 11, 2019 (edited) @@heula Try beta 3.1.39a You'll have to update or repair your libraries. I do hope I got it right and the datetime will now be reflected correctly, please keep me posted. Edited January 11, 2019 by Angelblue05 4 Link to comment Share on other sites More sharing options...
heula 189 Posted January 11, 2019 Author Share Posted January 11, 2019 @@heula Try beta 3.1.39a You'll have to update or repair your libraries. I do hope I got it right and the datetime will now be reflected correctly, please keep me posted. It’s all good now! Thank you all. 1 Link to comment Share on other sites More sharing options...
schumi2004 9 Posted January 11, 2019 Share Posted January 11, 2019 Wow, 3 years and 3 months that must be a record Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted January 11, 2019 Share Posted January 11, 2019 Glad it is finally resolved. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now