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

Bug: PMM_WIDTH is string, should be int #435

Closed
Data-Monkey opened this issue Nov 17, 2021 · 1 comment · Fixed by #431
Closed

Bug: PMM_WIDTH is string, should be int #435

Data-Monkey opened this issue Nov 17, 2021 · 1 comment · Fixed by #431
Assignees
Labels
bug Bug is with Plex Meta Manager status:added-to-develop Feature Request or Bug Fix is in Develop

Comments

@Data-Monkey
Copy link

Describe the Bug
When using PMM_WIDTH in my docker setup under unRAID I get this error:

File "//plex_meta_manager.py", line 72, in
if screen_width < 90 or screen_width > 300:
TypeError: '<' not supported between instances of 'str' and 'int'

Relevant Collection Config
n/a

Plex Meta Manager Info

  • Version Number (can be found at the beginning of your meta.log file.
    Version: 1.12.2-develop1115 (latest docker version)

Link to logs (required)
the docker does not start, therefore no meta log.
this is in the docker log
File "//plex_meta_manager.py", line 72, in
if screen_width < 90 or screen_width > 300:
TypeError: '<' not supported between instances of 'str' and 'int'

@Data-Monkey Data-Monkey added bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet labels Nov 17, 2021
@Data-Monkey
Copy link
Author

I believe this would be the fix:

line 66
screen_width = get_arg("PMM_WIDTH", args.width, arg_int=True)

Data-Monkey added a commit to Data-Monkey/Plex-Meta-Manager that referenced this issue Nov 17, 2021
set PMM_WIDTH to int to avoid TypeError: '<' not supported between instances of 'str' and 'int'
fixing bug Kometa-Team#435
@Data-Monkey Data-Monkey mentioned this issue Nov 17, 2021
4 tasks
meisnate12 added a commit that referenced this issue Nov 17, 2021
@meisnate12 meisnate12 mentioned this issue Nov 17, 2021
@meisnate12 meisnate12 added status:added-to-develop Feature Request or Bug Fix is in Develop and removed status:not-yet-viewed I haven't reviewed the Feature or Bug yet labels Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug is with Plex Meta Manager status:added-to-develop Feature Request or Bug Fix is in Develop
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants