So I'm having an issue where the sort title function doesn't seem to execute upon first run of the script. Settings seem to be correct and the logs don't report any errors. It even shows the step for Setting the sort titles but does so in nano seconds and moves on without completing. If I run the recipe again immediately after, it seems to work on 2nd run.
Any suggestions on how to resolve?
Recipe:
new_library:
name: 'Trending Movies'
folder: '/mnt/dynamic/trending/'
sort: true
sort_title:
format: '{number}. {title}'
visible: true
absolute: false # Skips numbers for missing items
# Limit the age (in years) of items to be considered
# * 0 for no limit
max_age: 0
# Maximum number of items to keep in the library
max_count: 30
# Remove items that no longer exist in the source lists
remove_from_library: true
Log:
2022-08-01 05:00:22,125 INFO:Creating the 'Trending Movies' library in Plex...
2022-08-01 05:00:22,125 INFO:Library already exists in Plex. Scanning the library...
2022-08-01 05:00:22,127 INFO:Waiting for metadata to finish downloading...
2022-08-01 05:00:22,127 INFO:Retrieving a list of items from the 'Trending Movies' library in Plex...
2022-08-01 05:00:22,478 INFO:Setting the sort titles for the 'Trending Movies' library
2022-08-01 05:00:22,584 INFO:Removing symlinks for items which no longer qualify
2022-08-01 05:00:22,585 INFO:Removed symlinks for 11 items.
So I'm having an issue where the sort title function doesn't seem to execute upon first run of the script. Settings seem to be correct and the logs don't report any errors. It even shows the step for
Setting the sort titles
but does so in nano seconds and moves on without completing. If I run the recipe again immediately after, it seems to work on 2nd run.Any suggestions on how to resolve?
Recipe:
Log: