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

Entering no fuzzy search ratio for Plex crashes the applet #47

Open
SolveSoul opened this issue Apr 14, 2022 · 1 comment
Open

Entering no fuzzy search ratio for Plex crashes the applet #47

SolveSoul opened this issue Apr 14, 2022 · 1 comment

Comments

@SolveSoul
Copy link

When trying to sync from Spotify to Plex the applet crashes when no fuzzy search ratio is set. Of course one should set-up a fuzzy search ratio but it shouldn't be possible to not enter a value or should default to another value when none is set by the user.

See details below:

Image of exception:
Screenshot 2022-04-14 at 14 03 38

Raw text:

2022-04-13 13:42:43,447 - plugins - ERROR - could not convert string to float: '' (plugins.py:291)
Traceback (most recent call last):
  File "/ultrasonics/plugins.py", line 285, in applet_run
    plugin_run(*get_info(plugin), component="outputs",
  File "/ultrasonics/plugins.py", line 162, in plugin_run
    response = found_plugins[name].run(
  File "/ultrasonics/official_plugins/up_plex.py", line 203, in run
    if max(scores) >= float(settings_dict["fuzzy_ratio"]):
ValueError: could not convert string to float: ''
2022-04-13 13:42:43,481 - plugins - WARNING - Applet 85d4ee3a-b0f6-11ec-8802-0242ac120006 failed in 0:01:11.935786 (plugins.py:299)
@paytah232
Copy link

@XDGFX +1 to this. I have the same issue on a docker install.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants