#Creating a collection of unfinshed series help

1 messages ยท Page 1 of 1 (latest)

pine comet
#

I have the following

    collection_files:
      - file: config/Unfinished_Series.yml```

```collections:
  Unfinished Series:
    sort_title: "001"
    smart_filter:
      any:
        show.progress: in_progress
    sort_by:
      - field: releaseDate
        order: desc```

I get this error

 1 | YAML Error: while scanning for the next token
subtle warrenBOT
#

Welcome @pine comet!

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.

pine comet
native prism
#

your file has a tab character in it at line 5

quick halo
#
[ERROR]    | YAML Error: while scanning for the next token                                                      |
           |       found character '\t' that cannot start any token                                             |
           |         in "/opt/Kometa/config/Unfinished_Series.yml", line 5, column 11                           |
[INFO]     | Collection File Failed To Load                                                                     |

For reference, the second and third lines there show the specific error and it's location.

\t is a tab character.

pine comet
#

I fixed the tab error and changed it to what I think is correct and still not running

  Unfinished Series:
    smart_filter:
      any:
        - condition: metadata_value
          field: show.progress
          value: in_progress
      sort_by:
        - field: releaseDate
          order: desc```

There is an error in the log that I can't find any info on the wiki. 
https://pastebin.com/VpKCzfs4
feral fractal
#
        - condition: metadata_value
          field: show.progress
          value: in_progress

where did you get this from?

pine comet
#

I think it was from a page I found in search.
wrong code?

feral fractal
#

You definitely didn't get that from the wiki ๐Ÿ˜„

#

the sort_by is also incorrect

#

sort_by: release.desc

#

you probably want something like

collections:
  Unfinished Series:
    sort_title: "001 Unfinished Series"
    collection_filtering: user
    smart_filter:
      sort_by: release.desc
      any:
        unplayed_episodes: true
subtle warrenBOT
#

โœ… YAML validation passed!! That is valid YAML, but may not meet Kometa's requirements

pine comet
#

does this make the collection specific to the user?
collection_filtering: user

feral fractal
#

yes

pine comet
#

1 | Collection Error: sort_by attribute not supported

feral fractal
#

woops I put it in the wrong place

#

edited the above

pine comet
#

looks like it ran correctly

#

1 | Asset Warning: Asset Directory Not Found and Created: config/assets/Unfinished Series

#

This would be the relevant section from the run, correct?

feral fractal
#

Yes

#

You have it set to create asset folders if one doesn't exist, hence the warning

pine comet
#

it's showing unfinished series, just not the ones that I'm looking for in a collection. I'm trying to list all the series that I have started but not completed. This is showing all not completed.

#

If that's possible to sort for. I tried the options in Plex and it doesn't exist.

feral fractal
#

let's try

#
collections:
  Unfinished Series:
    sort_title: "001 Unfinished Series"
    collection_filtering: user
    smart_filter:
      sort_by: release.desc
      all:
        unplayed_episodes: true
        episode_plays.gt: 0
subtle warrenBOT
#

โœ… YAML validation passed!! That is valid YAML, but may not meet Kometa's requirements

feral fractal
#

oh wait

#

that doesn't work for shows

pine comet
#

this is for my wife who starts shows and never completes them and then forgets what she has started.

feral fractal
#

isn't that what the On Deck/Continue Watching feature is for?

#

๐Ÿ˜„

#

Edited the above code, give that a try

quick halo
# pine comet 1 | Asset Warning: Asset Directory Not Found and Created: config/assets/Unfinish...
settings:
  create_asset_folders: true
  show_missing_assets: true

The combination of these two settings is what is producing that message.

The second tells Kometa to display this part

1 | Asset Warning: Asset Directory Not Found and Created: config/assets/Unfinished Series
                   ^^^^^^^^^^^^^^^^^^^^^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

And the first adds this:

1 | Asset Warning: Asset Directory Not Found and Created: config/assets/Unfinished Series
                                             ^^^^^^^^^^^
pine comet
#

she lets them age off and then complains that she can't rememeber what she started in the first place

#

so yeah

#

some of them are years old

quick halo
#

Maybe dial the threshold for dropping things off Continue watching way up?

feral fractal
#

If we find that the collection isn't possible, tell her to add to the Watchlist or up the threshold as Carrot says

#

Try what I've said though ๐Ÿ™‚ hopefully that'll do the trick

pine comet
#

I thought about that but in plex it says not to go to long

feral fractal
#

The second one is just Plex saying that if it has to load in hundreds of items on the homescreen you might find that devices take a while to load them

#

Hopefully we can get the Collection working for you though

pine comet
#

lol you have no idea how many she has started and moved on for. It's like a kitten running down the hall "OH SHINY" and gone

feral fractal
#

before

#

seems to work for me

#

shows only items I've watched before rather than things I've never watched

pine comet
#

Just ran it and that looks perfect!

#

Thanks much, greatly appreciated

feral fractal
#

you could do this to pin it to the homescreen:

collections:
  Unfinished Series:
    sort_title: "001 Unfinished Series"
    collection_filtering: user
    smart_filter:
      sort_by: release.desc
      all:
        unplayed_episodes: true
        episode_plays.gt: 0
    visible_home: true

or change visible_home to visible_library to make it appear in the Recommended tab

pine comet
#

I saved the to filters you have shown to test with. Thanks for the suggestions

feral fractal
#

Happy for me to close this?

pine comet
#

yep, was just going to, go for it.

feral fractal
#

/cloes

#

lol