terrelsa13 / MUMC

Multi-User Media Cleaner aka MUMC (pronounced Mew-Mick) will go through movies, tv episodes, audio tracks, and audiobooks in your Emby/Jellyfin libraries deleting media items you no longer want.
GNU General Public License v3.0
93 stars 6 forks source link

Error in advanced favorite config #63

Closed keppo070 closed 1 year ago

keppo070 commented 1 year ago
favorited_behavior_movie=['keep', 'any', 'ignore', 3]

What I am trying to accomplish is that any user who has a favorite movie is not deleted. No matter the played state.

But I get the following error message. (maybe I'm mis interpreting the config option)

-----------------------------------------------------------
MUMC Version: 4.0.6-beta
Emby Version: 4.7.11.0
Python Version: 3.9.2
Time Stamp: 20230109100852
-----------------------------------------------------------

Traceback (most recent call last):
  File "/home/patrick/programmeren/python/MUMC-MUMC_v4-BETA/mumc.py", line 9693, in <module>
    cfgCheck()
  File "/home/patrick/programmeren/python/MUMC-MUMC_v4-BETA/mumc.py", line 9527, in cfgCheck
    raise RuntimeError('\n' + error_found_in_mumc_config_py)
RuntimeError: 
ConfigValueError: favorited_behavior_movie must be a list with four entries
        Valid values for first entry 'delete' and 'keep'
        Valid values for second and third entry 'all', 'any', and 'ignore'
        Valid range for fourth entry 0 thru 8
terrelsa13 commented 1 year ago

@keppo070 Typo in config checker. Should be fixed now on v4 branch with v4.0.7-beta.