-
Notifications
You must be signed in to change notification settings - Fork 106
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
Refactor: Get rid of LazyUserList (port functionality to pytrakt) #1826
Comments
@simonc56 as I understand the lazy userlist exists for two purposes:
I think the first point was the original purpose (is that reason still valid?), but second difference came from evolution. should pytrakt be changed to use "lists/{trakt}/items" as well? it seems have changed in 7bde749 or add new entity there just for operating "lists", and operations would be only read methods |
LazyUserlist is a kind of hack inspired by LazyEpisode, created to fetch trakt lists faster and avoid hiting rate limit :
About items path, I don't remember anything. Maybe it's changed and needs to be updated. |
As explained here, fetching a list with its trakt id is "better" because allows to get user lists AND official lists. Maybe you could create a |
|
I'll use
|
Started something: how to find other list types than |
A trakt list can contain But Plex playlist cannot contain such various content. And Plex collections can contain |
Feature description
Use case
There's still some code left that's hacking pytrakt internals:
PlexTraktSync/plextraktsync/trakt_list_util.py
Lines 7 to 25 in acd6b43
Plan is to get rid of it, add missing functionality to pytrakt if needed.
The text was updated successfully, but these errors were encountered: