Conversation
|
Looks good. Maybe add a specific test for it? |
|
What fields were not getting populated by trakt list that requires a separate lookup? I'm not wild about hard coding lookups into other plugins. |
|
Trakt list will probably populate correctly, the thing is when trying to add to collection from non-trakt sources, like feed, filesystem etc. |
|
Episode ids are not populated from trakt list. |
|
You need to do this consistently in ALL lists, not just one. |
Is that because trakt doesn't return them when getting the list? If it does return them, lets make it so trakt_list populates them.
Isn't this the exact same situation as movie queue? I agree hard coding trakt lookup isn't as bad here as it would be for other plugins, since this is also a trakt plugin, but I'm still not wild about it. It would be perfectly valid to do an imdb_lookup rather than trakt lookup then add to a trakt list (in fact, that's what I do.) I also like that no lookups will be done (at the moment) when adding to a trakt list unless you specifically ask for them. If everyone else agrees this is much nicer for convenience though, I'm fine with it. |
|
@gazpachoking It only performs a lookup if no other ids are present. |
Yeah, I get that. I just like the lookups being explicit by user in config since we don't have any global system to configure them when they are hard coded into other plugins. As I said though, if everyone else agrees that adding this is a good compromise for convenience, I can be persuaded. |
Not exactly sure what you mean? You mean entry_list should also have a trakt_lookup hard coded in it? (I don't actually think you mean that, just looking for clarification.) |
|
The problem for me is that shows and movies can be submitted to trakt without any lookups, but episodes can't. That causes confusion for some. |
I assume he means imdb_list should do an imdb lookup etc. |
Oh? Trakt supports submitting season and episode numbers to add episodes to lists, if we don't fall back to that in trakt_list I think that should be added rather than forcing a lookup. |
|
@gazpachoking Where do you see that? |
|
I had a closer look and agree something needs to be fixed, but I don't think a lookup is the right fix. I think this is actually the change I don't agree with aaf1a69. An entry should be detected and submitted as an episode just based on series_name, season and episode if no further ids are readily available. |
9a3d015 to
38498ec
Compare
Motivation for changes:
Adding episodes to a trakt_list required a lookup which is unnecessary.
Detailed changes: