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

Offline mode #20

Open
AzzieDev opened this issue Feb 28, 2017 · 8 comments
Open

Offline mode #20

AzzieDev opened this issue Feb 28, 2017 · 8 comments
Assignees

Comments

@AzzieDev
Copy link

The scrobbler gives an error message when it fails because of a lack of internet connection.

It would be great if it could say that it failed and is also added to a queue of items that need to be scrobbled when the internet is reconnected. When it later tries and succeeds to scrobble or check in, it should send queue of other things to be scrobbled too.

@daviddavo
Copy link
Collaborator

I fixed the error message. But the queue function is going to be implemented as 'syncing library'.

@AzzieDev
Copy link
Author

AzzieDev commented Mar 5, 2017

Thats great! Though I hope the 'Syncing Library' keeps the queue if Kodi is closed and reopened.

@daviddavo
Copy link
Collaborator

You can test it on e4c4cf5
But I won't close this issue because it doesn't detect differences in time. I mean, If you mark as watched something in Kodi it will be marked as watched on Simkl. But if you then "unwatch" it on Simkl, it won't be unwatched on Kodi, so when you sync it will be marked as watched again on Simkl.

@AzzieDev
Copy link
Author

That sounds okay for now, but not for the long run.

Can I have a link to a zip to install?

@AzzieDev
Copy link
Author

One issue I realized... I delete watched episodes as soon as they are watched. Wouldn't these be removed from Kodi library, and therefore non synced?

@daviddavo
Copy link
Collaborator

daviddavo commented Mar 17, 2017 via email

@AzzieDev
Copy link
Author

Update to this: It should ping simkl or google to check online status.
Currently, if Kodi is loaded when no internet connection is available, and the internet is restored, no scrobbling will occur unless Kodi is restarted again.

@ekleop
Copy link
Collaborator

ekleop commented Jul 22, 2017

yes, because it tries to sign in on kodi`s start. We should add connection state checking and try to log in once more when connection will be available

@ekleop ekleop closed this as completed Nov 17, 2021
@ekleop ekleop reopened this Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants