imadunatic 28 Posted October 24, 2015 Share Posted October 24, 2015 (edited) So, I've played with incremental sync in the past and my experience has always been that it is much slower than a full sync. I finally decided to take pictures of it tonight and post logs here in hopes that I just have something off. These are the pics of the items syncing: These are the logs: http://pastebin.com/kjme6Pdc With all the praise this receives, I have to believe something is wrong with my setup. I'm running server version 3.0.5768.4 and Kodi Plugin Version is 1.1.52, incremental sync queue version is 1.0.5734.31705. I think I have about 450 tv episodes and 289 movies. What am I doing wrong? If I restart kodi, incremental sync is fairly quick; the next day when I fire up Kodi again, I get this 5 minute incremental sync. Edited October 24, 2015 by imadunatic Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted October 24, 2015 Share Posted October 24, 2015 Do you sync trakt playstate to Emby with the schedule task? Link to comment Share on other sites More sharing options...
imadunatic 28 Posted October 24, 2015 Author Share Posted October 24, 2015 (edited) Do you sync trakt playstate to Emby with the schedule task? I do not (at least I don't believe so), I disabled this a few weeks ago the last time I was playing with this (after reading through the incremental sync thread). This is my scheduled task: Is it possible to search through the server logs to see if this is still occurring? I used to have playstates imported, is it possible this is residual damage from that? EDIT: Is that what these are in the logs: "u'LastPlayedDate': u'2015-09-07T23:55:49.0000000Z', u'PlaybackPositionTicks': 0, u'PlayCount': 4}, {u'ItemId': " Edited October 24, 2015 by imadunatic Link to comment Share on other sites More sharing options...
imadunatic 28 Posted October 24, 2015 Author Share Posted October 24, 2015 (edited) Is it possible this is causing an issue (from the server logs): 2015-10-23 20:23:15.3953 Info - App: Emby.Kodi.SyncQueue: Server Time Requested... 2015-10-23 20:23:15.3953 Info - App: Emby.Kodi.SyncQueue: Returned Value: 2015-10-24T00:23:15Z Obviously, at 8:23 last night, it was not 12:03 today... My system clock is right on the server, how do I insure Emby is getting the right time? Or is the server returned value GMT? Are the server logs sterile? Would it do any good to upload those? They're fairly large for log files... seem to be around 6mb/day some days, other days they are 150kb.... Edited October 24, 2015 by imadunatic Link to comment Share on other sites More sharing options...
xnappo 1592 Posted October 24, 2015 Share Posted October 24, 2015 I am having a problem where any items that fails lookup at themoviedb.org is getting marked as updated on every server scan. I am not sure it this is related, but check to see if the items it is updating are also failing themoviedb lookup. Link to comment Share on other sites More sharing options...
imadunatic 28 Posted October 24, 2015 Author Share Posted October 24, 2015 I am having a problem where any items that fails lookup at themoviedb.org is getting marked as updated on every server scan. I am not sure it this is related, but check to see if the items it is updating are also failing themoviedb lookup. Is there an easy way to search for items failing themoviedb lookup? I don't recall anything off the top of my head that I struggle with to get it to show up, but I might be missing something. Link to comment Share on other sites More sharing options...
xnappo 1592 Posted October 24, 2015 Share Posted October 24, 2015 You will see them in the server log pretty easily.. Link to comment Share on other sites More sharing options...
imadunatic 28 Posted October 24, 2015 Author Share Posted October 24, 2015 You will see them in the server log pretty easily.. Thanks xnappo, I don't see anything in the logs about themoviedb lookup failures. Link to comment Share on other sites More sharing options...
xnappo 1592 Posted October 25, 2015 Share Posted October 25, 2015 (edited) So almost certainly your problem is similar to mine, where for some reason particular items are being updated every time the server scans. I had all sort of things causing this (but it is weird, because I didn't have the problem till recently): 1. .nfo files that confuse the scanner 2. TV shows not identified correctly all the way down to the episode level 3. Movies that cannot be identified To fix this, you need to go to the web interface and go down to a movie level, then replace the id with the id from the log. The id is in bold below: http://192.168.1.2:8096/web/itemdetails.html?id=39a270264b1bdcdadfa6fe48c6d51a98 Try to figure out what that item would have updated. If it is an item that you have configured manually, you can hit the 'Lock this item to prevent future changes' checkbox if all else fails. xnappo [EDIT] You did have to reset your DB somewhere around 1.1.50 right? Edited October 25, 2015 by xnappo Link to comment Share on other sites More sharing options...
imadunatic 28 Posted October 25, 2015 Author Share Posted October 25, 2015 (edited) It appears that every time Emby refreshes people, it updates the NFO's of multiple (sometimes 100's) of NFO files. Every morning at 3 a.m. when it runs, this would fall right in line with what I'm seeing (once you let the incremental sync run, it's good for the rest of the day, the next day, you get a 1000 item incremental sync). What do I gain by letting it refresh people? Edit: Just checked, it updated 155 NFO's last night. Edit Edit: Yes, reset DB multiple times, I think it just reset at 1.1.53 also if I'm not mistaken. I've just switched everything back to full sync as they happen to be faster. I assume once I figure out why my NFO's are getting updated every morning, incremental sync will probably work. Edited October 25, 2015 by imadunatic Link to comment Share on other sites More sharing options...
dazed 27 Posted October 25, 2015 Share Posted October 25, 2015 Edit Edit: Yes, reset DB multiple times, I think it just reset at 1.1.53 also if I'm not mistaken. I've just switched everything back to full sync as they happen to be faster. I assume once I figure out why my NFO's are getting updated every morning, incremental sync will probably work. If you use Sonarr make sure you turn its metadata off as this rewrites nfo files Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted October 25, 2015 Share Posted October 25, 2015 I'm plagued with the refresh people nfo issue as well. Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
imadunatic 28 Posted October 26, 2015 Author Share Posted October 26, 2015 If you use Sonarr make sure you turn its metadata off as this rewrites nfo files I cannot confirm or deny the use of Sonarr on my computer... but I did just check and I have disabled Sonarr metadata. Only as of a couple weeks ago though, I've finally shaved my head and fully drank the kool aid and Emby is taking care of everything now. To note, I did have several movies with no themoviedb id, I've went through and corrected those. Link to comment Share on other sites More sharing options...
imadunatic 28 Posted October 27, 2015 Author Share Posted October 27, 2015 Well, I did disable the refresh people and as expected, no modified NFO's last night. Too soon to tell if it has fixed the incremental sync problem (I won't be home until tomorrow and I currently have it disabled); however, I personally don't care about refreshing people so I'm hoping this is the fix for incremental sync on my setups. Thanks to everyone for chiming in; I'm really looking forward to getting this working. 2 Link to comment Share on other sites More sharing options...
imadunatic 28 Posted November 4, 2015 Author Share Posted November 4, 2015 Just an update: with the refresh people disabled, my incremental syncs generally take mere seconds to complete. I don't generally use the actors info for anything, so this was a net gain for me. Maybe this will help someone else out in the future. As an aside, thanks to the devs for the incremental sync! Now that I've got it working correctly, I can see what the hubbub was all about. Link to comment Share on other sites More sharing options...
xnappo 1592 Posted November 4, 2015 Share Posted November 4, 2015 Yep - agreed. @@Luke - does this post indicate the people updates are going to change, or are you just referring to the popups here: http://emby.media/community/index.php?/topic/26967-any-way-to-suppress-people-from-new-content-notification/ xnappo Link to comment Share on other sites More sharing options...
xnappo 1592 Posted November 4, 2015 Share Posted November 4, 2015 Luke confirmed the above in that thread. Link to comment Share on other sites More sharing options...
imadunatic 28 Posted November 4, 2015 Author Share Posted November 4, 2015 I thought we fixed the people thing with a change the the server plugin to ignore people updates. Are you running the latest server plugin? When I posted this, I was running sync queue version 1.0.5734.31705. I see now it has updated to v1.0.5782.13378; however, I've disabled people updates on the server side, so I'm not sure if it's still an issue for me or not. Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted November 4, 2015 Share Posted November 4, 2015 @ it's not part of the server plugin, however if you do have kodi running at the same time the scheduled task runs, it still sends all of them via websocket. Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
Recommended Posts