Solved Mark as watched/Mark as unwatched issue outside of library
#31
(2017-09-11, 17:28)Razze Wrote:
(2017-09-11, 13:19)ksooo Wrote:
(2017-09-11, 13:12)Razze Wrote: I think we can fix this via the same thing I we now do for reseting resume points. We need to do the call to update the gui probably best done near the database change request.


No, this is completely different. It's not at all about notifying changes. We have no clue how to identify the right folders as obviously not all folders should get the context menu items in question. That's the actual problem.

Okay, but not so sure about that. That would mean that the availability of resume points is also not correct and should not be handled by estuary like that?
I somehow still think, it might be two bugs crossing each others path. But that's just a feeling, can't say anything concrete and you seem to have looked at it, so you're probably right Smile


No, these are two completely unrelated stories. The problem discussed here is solely about the visibility condition for mark watched / unwatched.

And I do absolutely not get what Estuary should have to do with that. Core context menu items are 100% coded in c++, no skin xml involved.
Reply
#32
(2017-09-11, 17:33)ksooo Wrote:
(2017-09-11, 17:28)Razze Wrote:
(2017-09-11, 13:19)ksooo Wrote: No, this is completely different. It's not at all about notifying changes. We have no clue how to identify the right folders as obviously not all folders should get the context menu items in question. That's the actual problem.

Okay, but not so sure about that. That would mean that the availability of resume points is also not correct and should not be handled by estuary like that?
I somehow still think, it might be two bugs crossing each others path. But that's just a feeling, can't say anything concrete and you seem to have looked at it, so you're probably right Smile


No, these are two completely unrelated stories. The problem discussed here is solely about the visibility condition for mark watched / unwatched.

And I do absolutely not get what Estuary should have to do with that. Core context menu items are 100% coded in c++, no skin xml involved.

Correct, but I would think that the visible conditions in the c++ context menu are off for this case and that we don't refresh the ui correctly.
See:

(2017-06-18, 23:53)Gracus Wrote: I then try to use the context menu and select "mark as watched" but the file still appear as "in progress":
Image
Reply
#33
(2017-09-12, 00:40)Razze Wrote:
(2017-09-11, 17:33)ksooo Wrote:
(2017-09-11, 17:28)Razze Wrote: Okay, but not so sure about that. That would mean that the availability of resume points is also not correct and should not be handled by estuary like that?
I somehow still think, it might be two bugs crossing each others path. But that's just a feeling, can't say anything concrete and you seem to have looked at it, so you're probably right Smile


No, these are two completely unrelated stories. The problem discussed here is solely about the visibility condition for mark watched / unwatched.

And I do absolutely not get what Estuary should have to do with that. Core context menu items are 100% coded in c++, no skin xml involved.

Correct, but I would think that the visible conditions in the c++ context menu are off for this case and that we don't refresh the ui correctly.
See:

(2017-06-18, 23:53)Gracus Wrote: I then try to use the context menu and select "mark as watched" but the file still appear as "in progress":
Image


@Razze may I suggest to concentrate on fixing the "visibility" bug first. Mixing unrelated problems together only increases complexity and makes people not talking straight to the point and increases chances for not understanding each other. ;-)
Reply
#34
So "Mark as watched" does not work because "ClearBookmark" get's called with an empty path variable here https://github.com/xbmc/xbmc/blob/8ddffa...ob.cpp#L99

Because we think we have a VideoInfoTag here: https://github.com/xbmc/xbmc/blob/8ddffa...ob.cpp#L96 and overwrite the valid path with an empty one. VideoInfoTag is not nullptr like it should be and seems to only have resume populated.

I don't think there is a visibility bug as far as I can tell now. It's just that played count get's changed but the bookmarks not.
Reply
#35
(2017-09-13, 01:17)Razze Wrote: So "Mark as watched" does not work because "ClearBookmark" get's called with an empty path variable here https://github.com/xbmc/xbmc/blob/8ddffa...ob.cpp#L99

Because we think we have a VideoInfoTag here: https://github.com/xbmc/xbmc/blob/8ddffa...ob.cpp#L96 and overwrite the valid path with an empty one. VideoInfoTag is not nullptr like it should be and seems to only have resume populated.

I don't think there is a visibility bug as far as I can tell now. It's just that played count get's changed but the bookmarks not.


Sorry, we're talking about different things. Don't know how to explain it with better words. I'm out.
Reply
#36
By reading the OP I just realized that I mixed up threads here and I was talking all the time about an issue reported in another thread.

I do very sorry for the confusion I might have caused.

So yeah @Razze your are probably completely right with what you're writing here.
Reply
#37
Big Thanks to Razze!

His fix has finally been merged and all works perfectly now
Moanbag is in da place!
Reply
#38
I'm seeing this precise issue. Is there anything I can do to help fixing the problem? It's really annoying..
Reply
#39
Hi,
it seems that the problem with watched mark persists even in Kodi 18 RC3.
When I open series list there is no watched mark, but episodes are watched already.
There is a trick to show those marks. When I go to the left menu and select "Go to the track list" and then back, marks appear.

https://youtu.be/ZrGGN1BIli8

Regards
Waclaw
Reply
#40
(2018-12-13, 00:22)waclaw66 Wrote: Hi,
it seems that the problem with watched mark persists even in Kodi 18 RC3.
When I open series list there is no watched mark, but episodes are watched already.
There is a trick to show those marks. When I go to the left menu and select "Go to the track list" and then back, marks appear.

https://youtu.be/ZrGGN1BIli8

Regards
Waclaw
Did you report this on the bug tracker?
Reply
#41
https://github.com/xbmc/xbmc/pull/14992
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply

Logout Mark Read Team Forum Stats Members Help
Mark as watched/Mark as unwatched issue outside of library0