#Help with collections based on my Trakt Watchlist please!

1 messages · Page 1 of 1 (latest)

celest plinth
#

Hi guys

I'm trying to set up a couple of collections based on my Trakt watchlist, one sorted alphabetically and the other sorted by latest released. Is this the correct code for both?

    trakt_list_details: https://trakt.tv/lists/165897
    sort_title: "!005_Matt's Trakt Watchlist A-Z"
    file_poster: config/MyPosterImages/MovieCollectionPosters/IMDBMattsMovieWatchlistfAlt.jpg
    collection_order: title.asc
    sync_mode: sync
  Matt's Trakt Watchlist (Release Order):
    trakt_list_details: https://trakt.tv/lists/165897
    sort_title: "!005_Matt's Trakt Watchlist Release Order"
    file_poster: config/MyPosterImages/MovieCollectionPosters/IMDBMattsMovieWatchlistfAlt.jpg
    collection_order: release.desc
    sync_mode: sync```

Also, is there any way to create a collection based on the Trakt Watchlist but where I can limit it by years? Ie so I could have one for movies released in/after 2025, another for 2000s movies, one for pre 2000, using year filters? 

Thanks!
rain coralBOT
#

Welcome @celest plinth!

Someone from <@&938443185347244033> will assist when they're available.

Including meta.log from the beginning is a huge help. Type !logs for more information.

After attaching your log, do not forget to hit the green check boxes when prompted by our bot.

#

You can press the "Close Post" button above or type /close at any time to close this post.

sly flicker
neat adder
#

Also, is there any way to create a collection based on the Trakt Watchlist but where I can limit it by years? Ie so I could have one for movies released in/after 2025, another for 2000s movies, one for pre 2000, using year filters?

What have you tried for htis, and in what way is it not meeting your expectations? It seems like you are describing exactly what needs to go in the collection defnintion.

celest plinth
#

I've run it again and looked at the logs and it says the trakt list doesn't exist (lines 12961 onwards) so doesn't create the collections. I can't work out why. Any idea? Thanks

rain coralBOT
#

📝 If you want to review this again, emanef.:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> 📝

neat adder
#

Nothing related to trakt around that line. Is this the log you intended to send?

#

here it is at line 13961

#

Kometa is requesting the list and Trakt is responding with a 404 not found.

| Validating Method: trakt_list_details
| Value: https://trakt.tv/lists/165897
| Trakt response issue: (404) Not Found
| Trakt Error: List https://trakt.tv/lists/165897 not found

The list exists; I am able to load it in a browser, but Trakt is returning this error to you in that context.

There isn't anything Kometa can really do about that.

celest plinth
#

No, these errors

#

Wonder why Trakt is giving a 404. I can access the list in a different browser (ie not logged into my Trakt account) and I can't see any other settings in that list in Trakt that might be preventing it from being accessed. Strange

real vapor
#

Don't Trakt lists normally start with ls

#

ls165897 for example

#

I'm on my phone so can't offer much help 🙃

#

Oh I should've read the conversation history 🤣

#

Sorry Carrot!

celest plinth
neat adder
# celest plinth No, these errors

I'm not sure what you mean. The list is not found in lines 13958-13961. then that traceback block from 13962-13974 is the internal Python error that is caused by the list not being found.

Those aren't separate errors.

real vapor
#

Why aren't you using a watchlist builder?

#
collections:
  f1nchy's Watchlist:
    trakt_userlist: 
      userlist: watchlist
      user: f1nchy
      sort_by: released
    collection_order: custom
    sync_mode: sync
#

Taken from the wiki's example and put that list owner's name in

celest plinth
#

Ah, ok, so I am using the wrong type, thanks, will try that. Am I able to use filter in one of those, to limit between certain years for example?

neat adder
#

You can apply filters to any builder.

celest plinth
#

Ah, great, thanks, so how would I add a filter to include only movies from the watchlist that were, say, from 2020 to 2024? The above builder you gave me has worked, I've been able to create the two (a-z and latest order), thanks. I'd like a create a couple of additional ones for just 2025 onwards and the 2020 to 2024. Can you include part dates or periods of time? ie so the one for latest added to the watchlist includes only movies released after 1 July 2025, or released in the last six months (so it keeps updating the limited date)? Thanks!

neat adder
celest plinth
#

OK, thanks. So I've tried this;

    file_poster: config/MyPosterImages/MovieCollectionPosters/TraktWatchlist-Latest-A-Z.jpg
    sort_title: "!005_Matt's Trakt Watchlist A-Z"
    trakt_userlist: 
      userlist: watchlist
      user: f1nchy
    plex_all: true
    filters:
      release.after: 2025-07-01
    collection_order: title.asc
    sync_mode: sync```
This creates a collection, but it pulls in all movies recently added to my Plex collection, not just those on the Trakt Watchlist. It does seem to limit to the release date, but what part is wrong that it's pulling in everything and not just the watchlist ones? Thanks
neat adder
#

Yes, because you are explicitly telling it to include everything in your plex library.

    plex_all: true
celest plinth
#

Ah, so just remove that line?

neat adder
#

If you don't want to include everything in your plex library, yes.

celest plinth
#

Thanks, that makes sense, I'll run it again!

celest plinth
#

That's better, thanks.
So I'm trying one for 2020 to 2024. Should I setting the release date to after 2019-12-31 or 2020-01-01? And likewise for before; 2024-12-31 or 2025-01-01?

    file_poster: config/MyPosterImages/MovieCollectionPosters/TraktWatchlist-2020-2024-A-Z.jpg
    sort_title: "!005_Matt's Trakt Watchlist (2020-2024)"
    trakt_userlist: 
      userlist: watchlist
      user: f1nchy
    filters:
      release.after: 2020-01-01
      release.before: 2025-01-01
    collection_order: title.asc
    sync_mode: sync```
celest plinth
#

If a movie was released on 2020-01-01 whould it be included if the filter is for after? Or would it be all relerases from 2020-01-02 onwards? I'm just trying to understand how those dates work. Thanks

neat adder
#

If an event happens on a date, then asking for things before or after that date will not capture that event.

celest plinth
#

Cool, thanks

celest plinth
#

Yes, I think that's got it, thanks again for the help guys!

#

🙂

rain oasisBOT
#

antwanchild used !aenh

@celest plinth, anything else needed here? If not, please type /close and hit enter. Please respond within 24 hours of this message or it will be archived.