Skip to content

Can't use the decade filter #148

Closed
@omerher

Description

Movies.yml:

templates:
  Year:
    decade: <<decade>>
    summary: A collection of movies released in the <<collection_name>>
    sort_title: '*<<num>>'
    collection_mode: default

collections:
  1970s:
    template: {name: Year, decade: 1970, num: '000'}

Logs:

|====================================================================================================|
|                                          1970s Collection                                          |
|====================================================================================================|
|                                                                                                    |
| Scanning 1970s Collection                                                                          |
|                                                                                                    |
| Method: template                                                                                   |
| Value: ordereddict([('name', 'Year'), ('decade', 1970), ('num', '000')])                           |
|                                                                                                    |
| Method: decade                                                                                     |
| Value: 1970                                                                                        |
|                                                                                                    |
| Method: summary                                                                                    |
| Value: A collection of movies released in the 1970s                                                |
|                                                                                                    |
| Method: sort_title                                                                                 |
| Value: *000                                                                                        |
|                                                                                                    |
| Method: collection_mode                                                                            |
| Value: default                                                                                     |
|                                                                                                    |
| Sync Mode: append                                                                                  |
|                                                                                                    |
| Method: plex_search                                                                                |
| Values: [{'decade': 1970}]                                                                         |
|                                                                                                    |
| Value: {'decade': 1970}                                                                            |
| Traceback (most recent call last):                                                                 |
|   File "D:\Documents\Plex Meta Manager\modules\config.py", line 462, in update_libraries           |
|     builder.run_methods(collection_obj, collection_name, rating_key_map, movie_map, show_map)      |
|   File "D:\Documents\Plex Meta Manager\modules\builder.py", line 824, in run_methods               |
|     for o, param in enumerate(search_data):                                                        |
| TypeError: 'int' object is not iterable                                                            |
|                                                                                                    |
| Unknown Error: 'int' object is not iterable                                                        |
|                                                                                                    |
|====================================================================================================|

Metadata

Assignees

Labels

bugBug is with Plex Meta Manager

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions