mbc0 63 Posted November 14, 2014 Share Posted November 14, 2014 Hi, Due to a PC crash I had to re-install mediabrowser server from scratch. I am importing the watched status from Trakt for all 4 users but not everything is syncing although the task finishes without errors. Some TV & most if not all movies are now synced but there are a lot of shows that are saying unwatched but if I go to the Trakt website it shows them as watched? is it something that is gradual or do I have a problem? *Note, I know that 2 of the users have not watched anything, Trakt is only important for the 2 that show watched status. Many Thanks 2014-11-14 17:34:01.2787 Debug - HttpServer: HTTP POST http://192.168.0.27:8096/mediabrowser/ScheduledTasks/Running/5e47e7d3542ace9c367691a65cb31e86 Ip: 192.168.0.40:62131. Headers: Host=192.168.0.27:8096,Connection=keep-alive,Content-Length=0,Accept=*/*,X-MediaBrowser-Token=ce2484db263d40acaa70abec70143ccf,User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36,Authorization=MediaBrowser Client="Dashboard", Device="Chrome 38.0.2125.111", DeviceId="f54953ee3263a9c685363d26fe60b2f857cb1f19", Version="3.0.5424.1", UserId="adafd08ee0ca4144b14709cf00bd2e8f",Origin=http://192.168.0.27:8096,Accept-Encoding=gzip,deflate,Accept-Language=en-US,en;q=0.8,ru;q=0.6 2014-11-14 17:34:01.2787 Info - App: Executing Import playstates from Trakt.tv 2014-11-14 17:34:01.2787 Debug - HttpServer: HTTP Response 204 to 192.168.0.40. Response time: 4.0002 ms. Url: http://192.168.0.27:8096/mediabrowser/ScheduledTasks/Running/5e47e7d3542ace9c367691a65cb31e86 2014-11-14 17:34:01.2787 Debug - HttpServer: HTTP GET http://192.168.0.27:8096/mediabrowser/ScheduledTasks?isHidden=false Ip: 192.168.0.40:62131. Headers: Host=192.168.0.27:8096,Connection=keep-alive,Accept=application/json, text/javascript, */*; q=0.01,X-MediaBrowser-Token=ce2484db263d40acaa70abec70143ccf,User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36,Authorization=MediaBrowser Client="Dashboard", Device="Chrome 38.0.2125.111", DeviceId="f54953ee3263a9c685363d26fe60b2f857cb1f19", Version="3.0.5424.1", UserId="adafd08ee0ca4144b14709cf00bd2e8f",Accept-Encoding=gzip,deflate,sdch,Accept-Language=en-US,en;q=0.8,ru;q=0.6 2014-11-14 17:34:01.2787 Debug - HttpServer: HTTP Response 200 to 192.168.0.40. Response time: 2.0001 ms. Url: http://192.168.0.27:8096/mediabrowser/ScheduledTasks?isHidden=false 2014-11-14 17:34:01.3187 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/movies/all.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/*Username hidden on purpose 2014-11-14 17:34:02.8648 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/shows/collection.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/*Username hidden on purpose 2014-11-14 17:34:03.8939 Debug - HttpServer: Exiting HttpConnection.OnReadInternal because nread=0. ConnectionId: 0543e199daf043e68255d3693a7b57d4 2014-11-14 17:34:03.8939 Debug - HttpServer: Exiting HttpConnection.OnReadInternal because nread=0. ConnectionId: de1642a45d5d4e25a71c9a66a77e8fa8 2014-11-14 17:34:06.7810 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/shows/watched.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/*Username hidden on purpose 2014-11-14 17:34:09.5102 Info - Trakt: tMovies count = 0 2014-11-14 17:34:09.5102 Info - Trakt: tShowsCollection count = 0 2014-11-14 17:34:09.5102 Info - Trakt: tShowsWatched count = 0 2014-11-14 17:34:09.5952 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/movies/all.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/*Username hidden on purpose 2014-11-14 17:34:13.8944 Debug - HttpServer: Exiting HttpConnection.OnReadInternal because nread=0. ConnectionId: dfc2bc9b2b9a40b5878d698ce18e6617 2014-11-14 17:34:13.8944 Debug - HttpServer: Exiting HttpConnection.OnReadInternal because nread=0. ConnectionId: c4ae3913df3e447e885169395bcd7b8c 2014-11-14 17:34:17.5126 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/shows/collection.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/*Username hidden on purpose 2014-11-14 17:34:20.3438 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/shows/watched.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/*Username hidden on purpose 2014-11-14 17:34:22.6679 Info - Trakt: tMovies count = 2696 2014-11-14 17:34:22.6679 Info - Trakt: tShowsCollection count = 433 2014-11-14 17:34:22.6679 Info - Trakt: tShowsWatched count = 57 2014-11-14 17:34:45.2062 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/movies/all.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/*Username hidden on purpose 2014-11-14 17:34:47.7544 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/shows/collection.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/*Username hidden on purpose 2014-11-14 17:34:50.6345 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/shows/watched.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/*Username hidden on purpose 2014-11-14 17:34:53.4127 Info - Trakt: tMovies count = 0 2014-11-14 17:34:53.4127 Info - Trakt: tShowsCollection count = 0 2014-11-14 17:34:53.4127 Info - Trakt: tShowsWatched count = 0 2014-11-14 17:34:53.4997 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/movies/all.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/*Username hidden on purpose 2014-11-14 17:34:58.4960 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/shows/collection.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/*Username hidden on purpose 2014-11-14 17:35:01.2881 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/shows/watched.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/*Username hidden on purpose 2014-11-14 17:35:03.5783 Info - Trakt: tMovies count = 2697 2014-11-14 17:35:03.5783 Info - Trakt: tShowsCollection count = 435 2014-11-14 17:35:03.5783 Info - Trakt: tShowsWatched count = 118 Link to comment Share on other sites More sharing options...
mbc0 63 Posted November 15, 2014 Author Share Posted November 15, 2014 I am guessing this isn't a patience thing as nothing has changed :-( although Trakt is working according to the log above and is certainly syncing some items it is just not syncing everything and not giving an error? Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted November 15, 2014 Share Posted November 15, 2014 What happens if you go to the Trakt api via your browser? What response do you get? Link to comment Share on other sites More sharing options...
mbc0 63 Posted November 15, 2014 Author Share Posted November 15, 2014 I am sorry I do not know what you mean? I am guessing you don't mean the trakt website? Link to comment Share on other sites More sharing options...
Redshirt 1487 Posted November 15, 2014 Share Posted November 15, 2014 You'll always get an "unauthorized" response if you paste the url in the browser. Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted November 15, 2014 Share Posted November 15, 2014 (edited) Oh really? That's good to know @@Redshirt . Is there a way to troubleshoot this problem otherwise? I've been also having issues as you know Half the content does not get reported to Trakt and there is no errors in the log. I really want to help and I have time on my hands Edited November 14, 2014 by Angelblue05 Link to comment Share on other sites More sharing options...
mbc0 63 Posted November 15, 2014 Author Share Posted November 15, 2014 in my instance it is the reverse... I want the trakt information reported to mb3 :-P Link to comment Share on other sites More sharing options...
mbc0 63 Posted November 15, 2014 Author Share Posted November 15, 2014 I copied all of the userdata folder before I uninstalled, is the watched information in there somewhere? I have a very "Annoyed" daughter giving me a lot of grief over this :-( Link to comment Share on other sites More sharing options...
mbc0 63 Posted November 15, 2014 Author Share Posted November 15, 2014 Also, just to check I am only running Import playstates from Trakt.tv, I haven't selected Sync library to trakt.tv Just want to check that is correct :-) Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted November 15, 2014 Share Posted November 15, 2014 (edited) @@mbc0, this is correct. Is there a Trakt account linked to your daughter's MediaBrowser account? Or are you using the same Trakt account for all 4 (well, 2) users? Edited November 15, 2014 by Angelblue05 Link to comment Share on other sites More sharing options...
mbc0 63 Posted November 15, 2014 Author Share Posted November 15, 2014 (edited) Hi mate, I have configured trakt with 4 different users but only 2 are in use. each account has its own individual username but The problem exists for both users. So 4 different accounts on trakt Edited November 15, 2014 by mbc0 Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted November 15, 2014 Share Posted November 15, 2014 (edited) Right now, I don't think I've experienced this issue, but I'm going to test to make sure and let you know. I think Trakt syncs using the TVDB ID....Is there a TVDB ID attached (via the metadata manager) to the content that's not syncing, like so? Edit: I removed the TVDB ID from my Game of Thrones (I left the ones at season and episode level) and it lost its watched status instantly. I then tried to import the playstate from Trakt, where Game of Thrones was marked as watched, but it didn't sync with MediaBrowser Server. After I refreshed Game of Thrones via the metadata manager, it re-added the TVDB ID. When I tried to import the playstate again and it synced properly. I guess, make sure the problematic content is identified properly. Hopefully, if the problem persists, someone will be able to figure it out for you. Edited November 15, 2014 by Angelblue05 1 Link to comment Share on other sites More sharing options...
mbc0 63 Posted November 16, 2014 Author Share Posted November 16, 2014 (edited) Hi, Thanks so much for your time and going to the hassle of testing that for me, I really appreciate it! Unfortunately that does not seem to be my problem though... For this example I am using Angry boys... As you can see Trakt knows I have watched them all but media browser thinks I have not even though I have a TVDB ID. But for the series "The 100" both Trackt & Media Browser have synced.. even though they have the same information... all pictures are below and if you can think of anything else I would really really appreciate it! thank you This is the detail page for Angry Boys This is the detail page for the 100 Edited November 16, 2014 by mbc0 Link to comment Share on other sites More sharing options...
mbc0 63 Posted November 16, 2014 Author Share Posted November 16, 2014 Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted November 16, 2014 Share Posted November 16, 2014 I'm just thinking since it didn't give any errors, it must skip them somehow....Are all the correct directories monitored by the Trakt plugin? Link to comment Share on other sites More sharing options...
mbc0 63 Posted November 16, 2014 Author Share Posted November 16, 2014 Hi, I must have it configured correctly as I only have my TV & Movie Pools monitored and some TV and some Movies are syncing with Trakt and they are all in the same file location... I am sure this is going to be something daft! :-( Thanks again for the brainstorm! Link to comment Share on other sites More sharing options...
Luke 37094 Posted November 17, 2014 Share Posted November 17, 2014 If there is an issue, the best way to fix it is to capture it when it happens, and if it's repeatable, that's even better. is there someone here who can do some coding with the trakt plugin? you might be onto something about it skipping the files for some reason. so what we need to do now is improve the logging in the plugin to capture that information. 1 Link to comment Share on other sites More sharing options...
saitoh183 137 Posted November 17, 2014 Share Posted November 17, 2014 @@mbc0 do you save your metadata to the tv show folders? Link to comment Share on other sites More sharing options...
saitoh183 137 Posted November 17, 2014 Share Posted November 17, 2014 If there is an issue, the best way to fix it is to capture it when it happens, and if it's repeatable, that's even better. is there someone here who can do some coding with the trakt plugin? you might be onto something about it skipping the files for some reason. so what we need to do now is improve the logging in the plugin to capture that information. here is hoping. Kind of sucks that this is a problem and i can get back my watched status from the backup plugin either... Link to comment Share on other sites More sharing options...
mbc0 63 Posted November 17, 2014 Author Share Posted November 17, 2014 Ok, an update guys...Firstly, yes I do have all the metadata stored in the media folders, and I changed yesterday the option in metadata from the default xbmc to mediabrowser.xml I am not sure if this is the reason but Angry boys has changed to watched for both users in question! As far as I can tell this is the only series that has now updated since I first reported this error. The other thing I have noticed is that the .nfo file has a date stamp of 16/11/2014 instead of 14/11/2014 which all the other episodes have because that is when I re-installed the server from a complete uninstall removing all trace. BUT for example I have "The Life Of Rock With Brian Pern" which has .nfo files of 14/11/2014 but mb is reporting that as watched. Where is mb getting the watched status from? if I look at the .nfo files they report the same information on the playcount? Both "Angry Boys" and "Bad Education" show the same data in their episode .nfo files even though "Angry Boys" is now showing as watched and "Bad Education" is still showing as unwatched? \Season 01\Angry Boys - S01E01 - Episode 1-thumb.jpg</poster> </art> <isuserfavorite>false</isuserfavorite> <playcount>0</playcount> <watched>false</watched> <resume> <position>0</position> <total>1696.008</total> </resume> <episode>1</episode> <season>1</season> \Season 01\Bad Education - S01E01 - Parents' Evening-thumb.jpg</poster> </art> <isuserfavorite>false</isuserfavorite> <playcount>0</playcount> <watched>false</watched> <resume> <position>0</position> <total>1740</total> </resume> Link to comment Share on other sites More sharing options...
Redshirt 1487 Posted November 17, 2014 Share Posted November 17, 2014 I've posted a new trakt build that has additional logging. Please run the task with the new build and post the log. Link to comment Share on other sites More sharing options...
saitoh183 137 Posted November 17, 2014 Share Posted November 17, 2014 I wonder if the problem is because we have metadata saved to media folders? Im testing the new build now. Link to comment Share on other sites More sharing options...
saitoh183 137 Posted November 17, 2014 Share Posted November 17, 2014 series seems to return null 2014-11-17 08:23:26.5479 Info - Trakt: Failed to match Episode: 2x11 'Just Like the Pilgrims Intended' Series: null SeriesName: Shameless (US) https://www.dropbox.com/s/rnh6qa7r1j3963d/server-63551808506.txt?dl=0 Link to comment Share on other sites More sharing options...
mbc0 63 Posted November 17, 2014 Author Share Posted November 17, 2014 This has worked before! I rebuilt my server a few months back from WHS2011 & Installed Windows 7 and then the trackt app restored all my watched status for both users... something must have changed? I am running the trakt update now and will post the log :-) Link to comment Share on other sites More sharing options...
mbc0 63 Posted November 17, 2014 Author Share Posted November 17, 2014 Log attached, it appears that trakt can not identify any of my episodes!! :-S https://dl.dropboxusercontent.com/u/38473789/server-63551824414%20-%20Copy.rar 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