Skip to content
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

Implement tracking of watched items #4

Open
michaelarnauts opened this issue Jul 6, 2019 · 5 comments
Open

Implement tracking of watched items #4

michaelarnauts opened this issue Jul 6, 2019 · 5 comments
Labels
enhancement New feature or request

Comments

@michaelarnauts
Copy link
Collaborator

The VTM GO API has endpoints to say that you've watched something. We should integrate this with Kodi.

@michaelarnauts michaelarnauts added the enhancement New feature or request label Jul 6, 2019
@dagwieers
Copy link
Collaborator

When I played an episode, it was immediately flagged as watched, while I only watched the first few minutes. This is not the expected Kodi behaviour. (In fact, the addon should not indicate something was watched, Kodi handles this itself by URI).

@michaelarnauts
Copy link
Collaborator Author

I would like to sync this to the API of medialaan, so stuff you have seen on Kodi is also marked as seen in their mobile app.

You can even push the timestamp where you are to the API, so you can continue watching on the app when stopping in Kodi for example.

@dagwieers
Copy link
Collaborator

VRT also can track where you are when watching, but we did not implement it yet. Not sure if it is that useful. I have my Kodi boxes connected to a MySQL, so they do this already, and Kodi tracks this for local media, but usually the kids watch the same stuff on the same device, so not that useful.

The fact that all our devices in the house indicate what has been watched already is very useful.

@michaelarnauts
Copy link
Collaborator Author

I think the stream is immediately marked as watched since Kodi doesn't seem to know how long the stream lasts (it does in the metadata, but not in the stream). You can also notice this since you can't seek in the stream. If this is fixed, I assume Kodi will keep track of the played time correctly.

This issue is an enhancement to also send this information over to the API, so that the mobile app has the same state.

@dagwieers
Copy link
Collaborator

Correct, I noticed the same thing. When I stopped the stream, it assumed the media ended and that was its length.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants