-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some Series show all episodes watched, but actually are not #631
Comments
Do you actually have files for this series? I believe you're using the beta Web UI, check on there and let us know what it says. |
yes, i have files for the given series. How do i access the beta web ui? |
Manually download it and replace the contents of the Web UI folder with it. |
|
I'm having a similar issue with server 4.2.2 and Desktop 4.2.1, in my case I noticed the problem the other way, series I KNOW are completed (even with the vote) with un-watched episodes. On "Series Info" I get "all episodes have watched" but on the episodes tab I get the un-watched episodes (so I do on the search) I would not take much issue, but the "mark all as watched" button does not work. While I see this happening mostly with recent series, it also happens with older series. I'm my case with over 3k series, is a bit hard to really find the errors on the desktop client, but I'll check the DB later. Edit: Ok, on desktop I created a filter with "Has un-watched episodes: include" and "user voted: include". Definitively is mostly with recent added, watched and voted series. I also tested the other way with "has unwatched episodes: exclude" and "user voted (any): exclude", and I got a few series. |
i did some messing around in the db and did notice the entries for crossref_file_episode did not match the videolocal entries. I did update them with correct hash, filename and size, then the problem was fixed. I have no clue tho, under which circumstances old invalid crossref entries remain or are not updated.... |
And for the particular case above, the issue was in videolocal_user, there the resume position would be present, which seems to break the continue watching tile. EDIT: did some more digging, and this seems to be the root cause, for breaking continue watching. I found several more instances, and every time the resume position was set (> 0). So to conclude, the query to fetch next episode will return null when the resume position is set. This gets set, if you play an episode via internal MP (I believe) / use play controls in UI. This also explains the issue #627 |
Is this still an issue? I know you're on daily, or at least were. It's a server issue, and we've messed with that logic quite a bit |
im not on daily anymore, since quite a while tbh. Could check tho... |
We're about to hit the next stable, so daily is very... Stable right now |
🤣 okee, ill try... |
meh, got error during DB migration, latest daily. I think there is a typo in the query, but not sure.
|
MySQL or Maria? |
mysql. The |
Looking at it |
New version is building |
next sql error:
|
Ok, thanks. We don't have anyone that uses MySQL on the dev team anymore, so that helps |
New one is building |
in shoko-desktop the issue is still present, but in Web-UI its fixed |
.... Ok. Not sure how or why |
if i remember, the query for next episodes took the value for played seconds into account. Not sure, if web-api uses same query (obviously not i guess). |
VERSION INFORMATION
Server Version: 4.2.1
Desktop Version: 4.2.1
LOG FILE
n/a
DESCRIPTION
Related to #627 propably.
I noticed that some series show, there are no episodes remaining to watch after update,
but all episides are actually unwatched. Did not start playing them with new version either.
STEPS TO REPRODUCE
The text was updated successfully, but these errors were encountered: