#Using "sort_title_marvel" in universe default doesn't seem to work

1 messages · Page 1 of 1 (latest)

grave heart
#

Using sort_title_marvel: <<sort_prefix>><<collection_section>><<pre>><<order_<<key>>>>Marvel on the universe default doesn't seem to set the sort title for that collection. I read in a help thread that this was the way to do it but is there something I am doing wrong? I've tried setting it other ways and it seems PMM doesn't even pick up the variable.

I saw this mentioned in another help thread and there wasn't much further after the above usage so I assumed it works.

On Docker using the nightly branch.

solemn mauveBOT
#

📝 If you want to review this again, shatteredarmor:
: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 @grave heart!

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

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

#

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

grave heart
solemn mauveBOT
#

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

rancid cedar
#

The universe default [at least] doesn't support changing the sort title for individual collections. You can change the pattern used, but you can't change them individually like that.

rain hearth
#

this is another undocumented thing

#

this at least works on universe. I imagine it would on franchise as well

rancid cedar
#

OK, well, I'll bow out then.

grave heart
grave heart
rain hearth
#

no

#

what you have should work. let me look at log and run some tests

grave heart
rain hearth
#

it is seeing the variables

#
Library Variables: {'trakt_list_mcu': 'https://trakt.tv/users/oldmankestis/lists/marvel-cinematic-universe', 'trakt_list_dcu': 'https://trakt.tv/users/lampshadetricky/lists/dc-extended-universe', 'trakt_list_trek': 'https://trakt.tv/users/oldmankestis/lists/star-trek', 'trakt_list_avp': 'https://trakt.tv/users/oldmankestis/lists/alien-predator', 'trakt_list_xmen': 'https://trakt.tv/users/oldmankestis/lists/x-men-collection', 'summary_xmen': 'The X-Men Collection. Sorted in chronological order.', 'summary_mcu': 'The Marvel Cinematic Universe (MCU) is an American media franchise and shared universe centered on a series of superhero films produced by Marvel Studios. Sorted in chronological order.', 'sort_title_marvel': '<<sort_prefix>><<collection_section>><<pre>><<order_<<key>>>>Marvel', 'sort_title_mummy': '<<sort_prefix>><<collection_section>><<pre>><<order_<<key>>>>Mummy', 'minimum_items': 3, 'append_data': {'star': 'Star Wars Saga', 'trek': 'Star Trek Universe', 'xmen': 'X-Men Collection'}, 'exclude': ['rocky'], 'collection_section': '106', 'use_separator': False} |
#

sort_title_marvel': '<<sort_prefix>><<collection_section>><<pre>><<order_<<key>>>>Marvel

grave heart
#

Yeah but I guess it doesn't know what to do with it?

Validating Method: sort_title
Value: !106_<<title>>
rain hearth
#

yea ill run some tests on my test library. just give me a few minutes

grave heart
#

I appreciate it

#

It's a minor thing, just wanted the collections organized differently.

rain hearth
#

so for universe it actually does look like sort_title_<<key>> wont work. It does for Franchise though

#

what you want is name_mapping_<<key>>

#

name_mapping_marvel: Marvel

#

actually that'll just change title

#

hmmmm

grave heart
#

I just ran it and nothing changed, name or sort.

#

Oh it did change the asset directory lol

#

I guess the path of least resistance is to just rename the collections under append_data

rain hearth
#

so that guy in that other help thread, i dont he got it working. I just added support for sort_title_<<key>> into the yml and pmm is complaining sort_title_<<key>> isnt supported with universe

#

So yea you'll want to override the data and change the titles in order to change sort title or copy and paste the universe yml and manually edit

grave heart
#

That's what I ended up doing

    - pmm: universe
      asset_directory: config/assets/plex/Collections
      template_variables:
        trakt_list_mcu: https://trakt.tv/users/oldmankestis/lists/marvel-cinematic-universe
        trakt_list_dcu: https://trakt.tv/users/lampshadetricky/lists/dc-extended-universe
        trakt_list_trek: https://trakt.tv/users/oldmankestis/lists/star-trek
        trakt_list_avp: https://trakt.tv/users/oldmankestis/lists/alien-predator
        trakt_list_xmen: https://trakt.tv/users/oldmankestis/lists/x-men-collection
        summary_marvel: Marvel Studios is an American film and television production company. Films in this collection do not fall within the separate Marvel Cinematic Universe.
        summary_mcu: The Marvel Cinematic Universe (MCU) is an American media franchise and shared universe centered on a series of superhero films produced by Marvel Studios. Sorted in chronological order.
        summary_xmen: The X-Men Collection. Sorted in chronological order.
        collection_order_marvel: title.asc
        minimum_items: 3
        append_data:
          star: Star Wars Saga
          trek: Star Trek Universe
          xmen: X-Men Collection
          marvel: Marvel Studios
          mummy: Mummy Collection
        exclude:
        - rocky
        collection_section: '106'
#

Thanks for looking into it. Maybe it will be supported in later releases. When I have more time, I may just make a separate config for universes and add Marvel and Mummy to it separately so I have more control over it.