Comments (8)
Hi, that seems odd. I just tested here and it showed correctly how many episodes were added.
One thing that is happening - and I will fix it - is that right after you sync, the items don't update in the view. So it still shows no date in Trakt but it is already synced. If you reload the page it should appear synced. Does it still look like it is not synced after you reload?
For problem number 1, I display how many episodes and movies were added based on the response from Trakt's API. You can open your console on the network tab and look for this request (after hitting sync now):
On number two: Traktflix considers an item as synced if it has a play on Trakt.tv on the same day as Netflix. Here is a sample request:
Then we check Trakt's history:
And I compare they like this: https://jsbin.com/juhitogaho/edit?js,console
Anyway, this is a very long comment 😅 . If you can check these requests and put the results here, it will help to find the cause of this problem.
Thanks.
from traktflix.
Hi @tegon,
thanks for the lengthy explanation. Here is some more information ...
I tested it at home yesterday and there i had no problem but will make sure tonight again as i hadn't looked in depth.
But at work it gives me problems. I do know we have a checkpoint (hardware / firewall) in place so it could be the firewall is blocking things although the trakt.tv site works perfectly when browsing it from work and traktflix does seem to be able to get some dates of other episodes i synced in the past.
These errors i noticed initially at work .. It's probably some errors trying to get the images of the shows ...
and might be unrelated they also don't happen every time when i refresh the page
Then i looked at the trakt api calls... There is one problem i have no way to know what episode id corresponds to which episode / series.. So I'm unable to find the specific call for it in the network list.. Is there a way to find out the episode id of a certain episode while browsing the trackt.tv website ? so i can more specifically find out the requests being made for that specific episode ? i do see some 304's, 204's and 200's as you can see in the screenshot below.
in the screenshot below those episodes are synced (for the ones there is a trakt.tv url found) but traktflix doesn't seem to display it
but if i look further down it does show some synced from a previous sync although i can't remember if i synced them from home ore work .. so maybe our firewall is not blocking things or is the browser reading cached results somehow
Does traktflix make an api call for every item listed in history ? or does it keep some data about syncs somwhere as well ?
If i could figure out a way to find out which episode id is which episode on trakt.tv i could find out the specific entry in the network settings of chrome as now i have no clue which one to look for.
here is a screenshot of trakt.tv showing a few episode plays from the first screenshot traktflix did not detect and tries to sync again
from traktflix.
okay if figured out a way to know the episode id based on the episode page i'm viewing in trakt.tv if you do view source while being on the episode page you see a meta tag with screenshot url..
for example for hemlock grove seasons 1 epsidoe 13 it shows
<meta property="og:image" content="https://walter.trakt.tv/images/episodes/000/886/087/screenshots/thumb/42b1172c7d.jpg"/>
the id is then 886087
if i look this call up it seems trakt api itselve returns empty values
while if i look on trakt.tv itselve it does show one play for this episode
so traktflix is not to blame, i will check this tonight at home at see what i get there
from traktflix.
Yeah, that is really odd. The only thing that I imagine may be causing this is if you were logged in different Trakt.tv accounts - or Netflix profiles - at your home and work. But I assume that's not the case right?
from traktflix.
I have only one trakt.tv account using facebook login. I have one netflix account but it does have multiple profiles but i'm always making sure that when i log in to netflix and use traktflix for syncing that the same profile is chosen before i go to account settings and select history so as far as i'm aware i'm using the same ones at work and home for bith netflix and trakt. My other profiles dont show, as far as i'm aware the viewing history of other profiles so i'm pretty sure i'm using same ones at work and home.
One thing i did not try at work yet is clearing chrome's cache and reinstalling traktflix. I did try logging out and logging in again at work. I'll reply when i get home, am on my way now
from traktflix.
this is the result from home where it works, same id (episode) does get at a result from trakt api but does not at work. i'm using same netflix account and profile as i did on work..
I'll clear cache etc and try a few things at work tommorow. But now that i know the issue happens at work i'll make sure to synchronize at home in the future. But still might be good that i check a few things at work to see what might causing it / fixes it in case others ever have the issue
from traktflix.
@tegon i fixed it at work by clearing the cache / cookies / tempory internet files etc of chrome and logging in / out of trakt.tv in the plugin
So it seems there might be issues with requests that are cached somehow .. now it displays the dates and same data at work also.
As far i'm concerned my problem is solved but still it's weird it was showing cached data somehow (don't know why else clearing cache would have solved it)
from traktflix.
Thanks for checking this out. I'm going to close this since it was not a bug in the codebase.
from traktflix.
Related Issues (20)
- History sync shows various errors in JS console
- Options nav link opens a blank page on Firefox
- 1
- Safari 14 support? HOT 2
- Scope to support Trakt.tv scrobbling from DisneyPlus (+Others) ? HOT 2
- Trakt
- Why don't you just pull data from Viewing History? HOT 1
- An error has occured :( We couldn't talk to Trakt.tv servers. HOT 1
- Unable to connect to Trakt (but can connect to Netflix fine)
- Question about history sync. HOT 1
- all shows in history give correct link, but after scrobbling different shows come up in trakt HOT 1
- Synched episodes are not recognized, if a newer history entry exists on Trakt
- traktflix not detecting all episodes in Netflex
- Erase from sync page
- Crash when syncing history HOT 3
- Sync Successful - Show as watched on Trakt, not showing up in history
- [Feature Request] Syncing My List to Watchlist
- Running into `AUTHED_API_GET_LIMIT rate limit exceeded. Please wait 12 seconds then retry your request.` at `https://api.trakt.tv/search/show`
- Separate containers for Trakt and Netflix breaks History (using Containerise)
- Traktflix not showing latest shows watched HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from traktflix.