Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add option to use asset directory with collection name as filename for posters #168

Closed
meisnate12 opened this issue Apr 5, 2021 · 10 comments · Fixed by #211 or #240
Closed

add option to use asset directory with collection name as filename for posters #168

meisnate12 opened this issue Apr 5, 2021 · 10 comments · Fixed by #211 or #240
Assignees
Labels
enhancement New feature or request

Comments

@meisnate12
Copy link
Member

add option to use asset directory with collection name as filename for posters

@meisnate12 meisnate12 added the enhancement New feature or request label Apr 5, 2021
@meisnate12 meisnate12 self-assigned this Apr 5, 2021
@meisnate12
Copy link
Member Author

added to develop use asset_folders in the settings attribute and set it to False to look for file names inside your assets directory vs folder names

@ngInit
Copy link

ngInit commented Apr 30, 2021

@meisnate12

I'm having issues getting this to work in develop.

config.yml

settings:
  asset_folders: false

The only difference I see is you typed False with a capital F... but that shouldn't really matter with booleans, right?

@meisnate12
Copy link
Member Author

meisnate12 commented Apr 30, 2021

it should be lowercase whats your out put look like? what part isnt working?

@ngInit
Copy link

ngInit commented Apr 30, 2021

My output doesn't have any errors, and says "No poster to update".

All of the poster names are the same as the folders they used to be in when they were working.

@meisnate12
Copy link
Member Author

can you send me your meta.log file

@ngInit
Copy link

ngInit commented Apr 30, 2021

[2021-04-30 15:23:36,109] [util.py:356]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:36,110] [util.py:350]               [INFO]     |                                                                                                    |
[2021-04-30 15:23:36,110] [util.py:350]               [INFO]     |        ____  _             __  __      _          __  __                                           |
[2021-04-30 15:23:36,110] [util.py:350]               [INFO]     |       |  _ \| | _____  __ |  \/  | ___| |_ __ _  |  \/  | __ _ _ __   __ _  __ _  ___ _ __         |
[2021-04-30 15:23:36,110] [util.py:350]               [INFO]     |       | |_) | |/ _ \ \/ / | |\/| |/ _ \ __/ _` | | |\/| |/ _` | '_ \ / _` |/ _` |/ _ \ '__|        |
[2021-04-30 15:23:36,110] [util.py:350]               [INFO]     |       |  __/| |  __/>  <  | |  | |  __/ || (_| | | |  | | (_| | | | | (_| | (_| |  __/ |           |
[2021-04-30 15:23:36,110] [util.py:350]               [INFO]     |       |_|   |_|\___/_/\_\ |_|  |_|\___|\__\__,_| |_|  |_|\__,_|_| |_|\__,_|\__, |\___|_|           |
[2021-04-30 15:23:36,110] [util.py:350]               [INFO]     |                                                                            |___/                   |
[2021-04-30 15:23:36,110] [util.py:350]               [INFO]     |           Version: 1.8.0                                                                           |
[2021-04-30 15:23:36,110] [util.py:356]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:36,111] [util.py:356]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:36,111] [util.py:360]               [INFO]     |                                            Starting Run                                            |
[2021-04-30 15:23:36,111] [util.py:361]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:36,111] [config.py:55]              [INFO]     | Locating config...                                                                                 |
[2021-04-30 15:23:36,111] [config.py:60]              [INFO]     | Using //config/config.yml as config                                                                |
[2021-04-30 15:23:36,127] [util.py:356]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:36,135] [cache.py:18]               [INFO]     | Using cache database at //config/config.cache                                                      |
[2021-04-30 15:23:36,136] [util.py:356]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:36,136] [config.py:204]             [INFO]     | Connecting to TMDb...                                                                              |
[2021-04-30 15:23:36,948] [config.py:210]             [INFO]     | TMDb Connection Successful                                                                         |
[2021-04-30 15:23:36,948] [util.py:356]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:36,949] [config.py:227]             [WARNING]  | omdb attribute not found                                                                           |
[2021-04-30 15:23:36,949] [util.py:356]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:36,949] [config.py:245]             [WARNING]  | trakt attribute not found                                                                          |
[2021-04-30 15:23:36,949] [util.py:356]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:36,949] [config.py:263]             [WARNING]  | mal attribute not found                                                                            |
[2021-04-30 15:23:41,336] [util.py:356]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:41,337] [config.py:275]             [INFO]     | Connecting to Plex Libraries...                                                                    |
[2021-04-30 15:23:41,337] [util.py:356]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:41,337] [config.py:322]             [INFO]     |                                                                                                    |
[2021-04-30 15:23:41,337] [config.py:328]             [INFO]     | Connecting to Shows Library...                                                                     |
[2021-04-30 15:23:41,397] [plex.py:152]               [INFO]     | Using Metadata File: //config/Shows.yml                                                            |
[2021-04-30 15:23:41,402] [plex.py:181]               [INFO]     | Using Asset Directory: config/assets                                                               |
[2021-04-30 15:23:41,402] [config.py:385]             [INFO]     | Shows Library Connection Successful                                                                |
[2021-04-30 15:23:41,402] [config.py:449]             [INFO]     |                                                                                                    |
[2021-04-30 15:23:41,402] [util.py:356]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:41,402] [config.py:455]             [INFO]     | 1 Plex Library Connection Successful                                                               |
[2021-04-30 15:23:41,403] [util.py:356]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:41,403] [config.py:464]             [INFO]     |                                                                                                    |
[2021-04-30 15:23:41,403] [util.py:356]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:41,403] [util.py:360]               [INFO]     |                                           Shows Library                                            |
[2021-04-30 15:23:41,404] [util.py:361]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:41,404] [config.py:466]             [INFO]     |                                                                                                    |
[2021-04-30 15:23:41,404] [util.py:356]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:41,404] [util.py:360]               [INFO]     |                                       Mapping Shows Library                                        |
[2021-04-30 15:23:41,404] [util.py:361]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:41,404] [config.py:468]             [INFO]     |                                                                                                    |
[2021-04-30 15:23:41,404] [config.py:710]             [INFO]     | Mapping Show Library: Shows                                                                        |
[2021-04-30 15:23:46,436] [util.py:370]               [INFO]     | Processed 905 Shows                                                                                |
[2021-04-30 15:23:46,442] [plex.py:529]               [INFO]     |                                                                                                    |
[2021-04-30 15:23:46,443] [util.py:356]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:46,443] [util.py:360]               [INFO]     |                                       Shows Library Metadata                                       |
[2021-04-30 15:23:46,443] [util.py:361]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:46,443] [plex.py:531]               [INFO]     |                                                                                                    |
[2021-04-30 15:23:46,443] [config.py:474]             [ERROR]    | No metadata to edit                                                                                |
[2021-04-30 15:23:46,443] [config.py:475]             [INFO]     |                                                                                                    |
[2021-04-30 15:23:46,443] [util.py:356]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:46,443] [util.py:360]               [INFO]     |                                     Shows Library Collections                                      |
[2021-04-30 15:23:46,444] [util.py:361]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:46,444] [config.py:505]             [INFO]     |                                                                                                    |
[2021-04-30 15:23:46,444] [util.py:356]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:46,444] [util.py:360]               [INFO]     |                                       Scooby-Doo! Collection                                       |
[2021-04-30 15:23:46,444] [util.py:361]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:46,444] [config.py:507]             [INFO]     |                                                                                                    |
[2021-04-30 15:23:46,444] [builder.py:343]            [INFO]     | Scanning Scooby-Doo! Collection                                                                    |
[2021-04-30 15:23:46,445] [builder.py:371]            [DEBUG]    |                                                                                                    |
[2021-04-30 15:23:46,445] [builder.py:372]            [DEBUG]    | Validating Method: collection_mode                                                                 |
[2021-04-30 15:23:46,445] [builder.py:373]            [DEBUG]    | Value: hide_items                                                                                  |
[2021-04-30 15:23:46,445] [builder.py:371]            [DEBUG]    |                                                                                                    |
[2021-04-30 15:23:46,445] [builder.py:372]            [DEBUG]    | Validating Method: plex_search                                                                     |
[2021-04-30 15:23:46,445] [builder.py:373]            [DEBUG]    | Value: ordereddict([('title', 'Scooby-Doo'), ('genre', 'Animation')])                              |
[2021-04-30 15:23:46,593] [config.py:530]             [INFO]     |                                                                                                    |
[2021-04-30 15:23:46,593] [config.py:532]             [INFO]     | Sync Mode: sync                                                                                    |
[2021-04-30 15:23:46,593] [builder.py:1000]           [DEBUG]    |                                                                                                    |
[2021-04-30 15:23:46,593] [builder.py:1001]           [DEBUG]    | Method: plex_search                                                                                |
[2021-04-30 15:23:46,593] [builder.py:1002]           [DEBUG]    | Values: [{'title': ['Scooby-Doo'], 'genre': ['Animation']}]                                        |
[2021-04-30 15:23:46,593] [builder.py:1025]           [INFO]     |                                                                                                    |
[2021-04-30 15:23:46,593] [builder.py:1026]           [DEBUG]    | Value: {'title': ['Scooby-Doo'], 'genre': ['Animation']}                                           |
[2021-04-30 15:23:46,594] [plex.py:272]               [DEBUG]    | Data: {'title': ['Scooby-Doo'], 'genre': ['Animation']}                                            |
[2021-04-30 15:23:46,594] [plex.py:328]               [INFO]     | Processing Plex Search: title(Scooby-Doo)                                                          |
[2021-04-30 15:23:46,594] [plex.py:326]               [INFO]     | 		      AND genre(Animation)                                                                       |
[2021-04-30 15:23:46,594] [plex.py:335]               [DEBUG]    | Search: {'title': ['Scooby-Doo'], 'genre': ['Animation']}                                          |
[2021-04-30 15:23:46,744] [util.py:370]               [INFO]     | Scooby-Doo! Collection | + | Be Cool, Scooby-Doo!                                                  |
[2021-04-30 15:23:47,668] [util.py:370]               [INFO]     | Scooby-Doo! Collection | + | A Pup Named Scooby-Doo                                                |
[2021-04-30 15:23:48,409] [util.py:370]               [INFO]     | Scooby-Doo! Collection | + | Scooby-Doo and Scrappy-Doo                                            |
[2021-04-30 15:23:49,027] [util.py:370]               [INFO]     | Scooby-Doo! Collection | + | The Scooby-Doo Show                                                   |
[2021-04-30 15:23:49,452] [util.py:370]               [INFO]     | Scooby-Doo! Collection | + | Scooby-Doo! Mystery Incorporated                                      |
[2021-04-30 15:23:50,012] [util.py:370]               [INFO]     | Scooby-Doo! Collection | + | What's New Scooby-Doo?                                                |
[2021-04-30 15:23:50,164] [util.py:370]               [INFO]     | 6 Shows Processed                                                                                  |
[2021-04-30 15:23:50,164] [builder.py:1118]           [INFO]     |                                                                                                    |
[2021-04-30 15:23:50,164] [builder.py:1125]           [INFO]     | 0 Show Removed                                                                                     |
[2021-04-30 15:23:50,164] [builder.py:1126]           [INFO]     |                                                                                                    |
[2021-04-30 15:23:50,215] [builder.py:1169]           [INFO]     | Detail: collection_mode updated Collection Mode to hideItems                                       |
[2021-04-30 15:23:50,677] [builder.py:1307]           [INFO]     | No poster to update                                                                                |
[2021-04-30 15:23:50,677] [builder.py:1327]           [INFO]     | No background to update                                                                            |
[2021-04-30 15:23:50,788] [plex_meta_manager.py:115]  [INFO]     |                                                                                                    |
[2021-04-30 15:23:50,789] [util.py:356]               [INFO]     |====================================================================================================|
[2021-04-30 15:23:50,789] [util.py:360]               [INFO]     |                                            Finished Run                                            |
[2021-04-30 15:23:50,789] [util.py:360]               [INFO]     |                                         Run Time: 0:00:14                                          |
[2021-04-30 15:23:50,789] [util.py:361]               [INFO]     |====================================================================================================|

@meisnate12
Copy link
Member Author

and you have config/assets/Scooby-Doo!.ext in that location?

@ngInit
Copy link

ngInit commented Apr 30, 2021

Yup - went through yesterday and renamed/moved all the old posters with the old folder names. They should all be correct, and I just double checked that particular file.

@meisnate12
Copy link
Member Author

well good news is that the same thing is happening to me I'll let you know when i figure out whats happening

meisnate12 added a commit that referenced this issue Apr 30, 2021
@meisnate12
Copy link
Member Author

fix is in develop

@meisnate12 meisnate12 reopened this Apr 30, 2021
@meisnate12 meisnate12 mentioned this issue May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants