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

Access series via favourites without refreshing the cache #501

Open
Air-w0lf opened this issue Sep 12, 2020 · 4 comments
Open

Access series via favourites without refreshing the cache #501

Air-w0lf opened this issue Sep 12, 2020 · 4 comments

Comments

@Air-w0lf
Copy link

Hi,

I have been pinning a number of series to my Favourites from the plug-in. When I access some series from Favourites, the plug-in seems to get stuck in an infinite loop - Page 1, 2, 3, 4 ... 7 and I am forced to hit the back button and cancel out. An error pops up saying "connection error" when I do that.

When I quit Kodi and come back in then everything works fine. But then the next time I try, the above problem reappears.

Is this some kind of cache corruption problem?

I can supply logs if necessary.

@Air-w0lf
Copy link
Author

Here is a log file of me accessing the "Superstore" favourite first, with no issues. Then I try to access "The Expanse" and get stuck in the loop I described.

kodi.log

@Air-w0lf
Copy link
Author

And here's another log of me getting stuck in a loop accessing "The Expanse" via Favourites. I cancelled out of it and quit Kodi ("Connection Error" also popped up.)

Restarted Kodi, tried again and it worked fine. Attached are both logs - first one gets stuck in the loop, second one works fine.

kodi-0.log
kodi-1.log

@Varstahl
Copy link
Collaborator

The favourites store a link to the season with a full path, for example Home > PrimeVideo TV Series > The Expanse > Season 1. When the cache expires, before accessing the season, it needs the rest of the catalog path to reach to it, which is why it starts scraping. At the moment there is no way to go cacheless.

What you can do, though, if caching is lengthy for you, is change the default time after which the cache expires. It's going to be in the next release pretty soon, a few days I would guess.

I'll keep this open as an enhancement. This problem shouldn't appear for movies, so I think we can work around it, although there's no code in place for it at the moment.

@Varstahl Varstahl changed the title Errors Accessing Series via Favourites Accessing series via favourites without refreshing the cache Sep 12, 2020
@Varstahl Varstahl changed the title Accessing series via favourites without refreshing the cache Access series via favourites without refreshing the cache Sep 12, 2020
@Air-w0lf
Copy link
Author

Understood - thanks for the explanation.

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

2 participants