#Blank Collection not Showing

1 messages · Page 1 of 1 (latest)

twilit terrace
#

Why won't this blank collection show? What am I missing? Would it be easier to just use the default separator and if so can I use my own poster for it? ```yaml
TV Shows:
collection_files:
- file: config/collections/watchlist/watchlist_collection_tv.yml
- file: config/collections/tv/chart/chart_collection_tv.yml
- file: config/collections/collection_separators.yml

- default: genre
  template_variables:
    collection_mode: hide
    use_separator: false
    sort_title: "!!05 Genre"      
    visible_library: false
    visible_home: true
    visible_shared: true  

config/collections/collection_separators.yml:yaml
Collections:
Genres:
sort_title: "!!05 !Genre"
file_poster: config/assets/genre_collection_separator.jpg
blank_collection: true
collection_mode: hide_items
ignore_blank_results: false

fickle craneBOT
#

📝 If you want to review this again, sheck_182:
: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> 📝

#

Welcome @twilit terrace!

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.

fossil charm
#

What's the goal?

#

Just using a different image?

twilit terrace
#

yes, but also i wasn't able to figure out how to hide the separator from the library

#

so if i can do both with the default separator i'm 100% fine with that

fossil charm
#

Probably simplest would be to disable collections in the library entirely in the Plex UI and then override that for the ones you want there.

#

You can change the separator image with a template variable.

#

What you have isn't working because that file is not valid.

twilit terrace
#

does the url_poster_separator have to be an actual url or can it be a file location config/assets/etc

fossil charm
#

url_poster has to be an URL but there are other options if you want to use a file, or you can use an asset.

twilit terrace
#

what would the variable be for poster with a file location

fossil charm
#

Your file isn't loading because it's broken.

| File Loaded From: /config/collections/collection_separators.yml                                    |
| YAML Error: collections or dynamic_collections attribute is required                               |
| Collection File Failed To Load                                                                     |

Your file starts with Collections:, it needs to be collections:

#

Oh, no file_poster_separator; I guess you'd have to use the asset dir for a file source.

twilit terrace
#

derp... changing it to collections instead of Collections worked.. i guess i'll just got that route with all the custom separators in a single yaml

twilit terrace
#

even with that working now, i can't get it to stop showing in my library.. ```yaml
collections:
Genres:
sort_title: "!!05 !Genre"
file_poster: config/assets/genre_separator.jpg
blank_collection: true
visible_library: false
visible_home: false
visible_shared: false

#

am i missing something?

fossil charm
#

Blank collections aren't natively supported in Plex, so they may behave badly.

I would suggest going the route of disabling collections in the library entirely at the Plex library level, then enabling those collections which you do want in the library view.

#

That should allow you to abandon this route of creating your own separators.

twilit terrace
#

how would i accomplish that? i want to make sure i'm changing the correct plex settings

#

are you saying change this to the setting highlighted in blue, and then any collection i set to visible_library: true will override that?

fossil charm
#

Yes.

twilit terrace
#

got it, i'll give that a try now

#

doesn't appear that visible_library overrides the native setting once i changed it and re-ran

#

if there's no way around that, i'll just keep collections off entirely in the library and have them only in the collections tab

fossil charm
#

I don't think that's expected behavior.

twilit terrace
#

possible bug?

shy scaffold
shy scaffold
#

These are the same choices as the screenshot you shared above, but you can set it by collections too

twilit terrace
#

got it, thank you. i'll give that a try!

twilit terrace
fickle craneBOT
#

📝 If you want to review this again, sheck_182:
: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> 📝

twilit terrace
#

i also tried re-enabling collections for my library in plex and tried the collection_mode: hide for the custom separators/empty libraries and that didn't hide them either.

#

so it looks like i'm either stuck with this. or nothing at all in the library. or am i missing another template variable?

shy scaffold
#

You have them hidden and then you’re using collection_mode: hide
This is what they already are

#

What exactly are you trying to do? If I understand what might be the goal, you might want show_items

twilit terrace
#

i'm trying to hide the separators in library view and only be visible in collections. it's working for the actual collections, but not the separators

shy scaffold
#

I’m on my phone, are you using the defaults?

twilit terrace
#

i'm not using the default separators because i'm using custom posters. couldn't figure out how to change that

#

so i have a "separators" yaml of empty libraries

shy scaffold
#

Can you share your yml for the separators?

#

Preferably here using code block, easier to see it on my phone then if you were to upload a file

twilit terrace
#
collections:
  Genres:
    sort_title: "!!05 !Genre"
    file_poster: config/assets/genre_separator.jpg
    blank_collection: true  
    visible_library: false
    visible_home: false
    visible_shared: false 
    collection_mode: hide
  Awards:
    sort_title: "!!02 !Awards"
    file_poster: config/assets/awards_separator.jpg
    blank_collection: true  
    visible_library: false
    visible_home: false
    visible_shared: false
    collection_mode: hide    
  Streaming:
    sort_title: "!!03 !Streaming" 
    file_poster: config/assets/streaming_separator.jpg
    blank_collection: true  
    visible_library: false
    visible_home: false
    visible_shared: false
    collection_mode: hide
  Networks:
    sort_title: "!!04 !Network"
    file_poster: config/assets/network_separator.jpg
    blank_collection: true  
    visible_library: false
    visible_home: false
    visible_shared: false
    collection_mode: hide    
  Charts:
    sort_title: "!!01 !Charts"
    file_poster: config/assets/chart_separator.jpg
    blank_collection: true  
    visible_library: false
    visible_home: false
    visible_shared: false
    collection_mode: hide    
shy scaffold
#

So your library is set to hide and your separators are set to hide. And that’s what you want. Unfortunately plex behaves inconsistently with blank collections.

#

You could assign a single movie to each separator, and then it wouldn’t be blank and would behave better

twilit terrace
#

would it work any better using the default separators and changing the poster (if that's an option)? if not I'll just add a single movie/show to each one which was going to be my fallback if i couldn't get it to work right

shy scaffold
twilit terrace
#

true. i guess if all my template variables are correct it is what it is. thanks

twilit terrace
#

even with a movie/tv show in each they're still showing in Library... did i miss something? ```yaml
collections:
Genres:
sort_title: "!!05 !Genre"
file_poster: config/assets/genre_separator.jpg
#blank_collection: true
visible_library: false
visible_home: false
visible_shared: false
collection_mode: hide
imdb_id: tt3526286
Awards:
sort_title: "!!02 !Awards"
file_poster: config/assets/awards_separator.jpg
#blank_collection: true
visible_library: false
visible_home: false
visible_shared: false
collection_mode: hide
imdb_id: tt0470765
Streaming:
sort_title: "!!03 !Streaming"
file_poster: config/assets/streaming_separator.jpg
#blank_collection: true
visible_library: false
visible_home: false
visible_shared: false
collection_mode: hide
imdb_id: tt27127187
Charts:
sort_title: "!!01 !Charts"
file_poster: config/assets/chart_separator.jpg
#blank_collection: true
visible_library: false
visible_home: false
visible_shared: false
collection_mode: hide
imdb_id: tt9850050

#

actually, the collection_mode: hide made them disappear from Library and Collections.

shy scaffold
#

Which tab are you talking about? They’ll ALWAYS be in collections tab

twilit terrace
#

let me check the log... they're gone from both Library AND Collections tabs

#

[2025-03-28 22:29:07,591] [meta.py:779] [INFO] |====================================================================================================|
[2025-03-28 22:29:07,591] [meta.py:779] [INFO] | Loading Collection File File: config/collections/separators/collection_separators_tv.yml |
[2025-03-28 22:29:07,591] [meta.py:779] [INFO] |====================================================================================================|
[2025-03-28 22:29:07,591] [meta.py:780] [INFO] | |
[2025-03-28 22:29:07,595] [library.py:159] [ERROR] | YAML Error: while parsing a block mapping |
| in "/config/collections/separators/collection_separators_tv.yml", line 2, column 3 |
| expected <block end>, but found '<block mapping start>' |
| in "/config/collections/separators/collection_separators_tv.yml", line 45, column 4 |
[2025-03-28 22:29:07,595] [library.py:160] [INFO] | Collection File Failed To Load

shy scaffold
#

Then they’re deleted not hidden

#

But that error is somewhere you have a spacing error between line 2 and line 44 of your separators tv file

twilit terrace
#

i think i found it... rerunning

shy scaffold
#

Collections will always be present in collections tab

twilit terrace
#

yup i want them in there. i don't want the separators in the Library

shy scaffold
#

Then post logs after this run is finished

twilit terrace
#

i think i got it.. i think they were still in the Library because i didn't manually delete them out. the error caused them to delete, then re-ran without the error and they weren't added back. so i had it right, i just needed to actually delete them from the Library

shy scaffold
#

But are they still in the collections tab?

twilit terrace
#

at least i think that's what happened... either way i got it working! separators are NOT showing in the Library now and they are in the Collections.

shy scaffold
#

Nice. If you are satisfied the. You can type /close

twilit terrace
#

one more question... just making sure i understand this correctly.. collection_mode: hide hides the collection from the Library view, but will not hide the movies/shows in that collection from the Library right?

shy scaffold
#

Right just like it says “hide collection”

twilit terrace
#

perfect, thanks