chapmanjacobd / library

80+ CLI tools to build, browse, and blend your media library: an index for your archive.
BSD 3-Clause "New" or "Revised" License
355 stars 9 forks source link

error: invalid choice: 'media-check' #42

Closed manderso7 closed 1 month ago

manderso7 commented 1 month ago

Describe the bug when running /home/manderso/.local/bin/library media-check --full-scan unraid-media/movies/american\ psycho/American\ Psycho\ \(2000\).mkv I receive lb: error: invalid choice: 'media-check' (choose from...

Expected behavior the media-check plugin to be found and get started on it's task

To Reproduce library media-check --full-scan <filename>

chapmanjacobd commented 1 month ago

I'm pretty sure the media-check option wasn't added until 2.8 or so.

You'll need to update xklb:

pip install --upgrade xklb

If you recently installed xklb or it isn't letting you upgrade it is probably because you have an older python version so you will first need to upgrade python to 3.10, 3.11, or 3.12. This is very likely the case because 2.2.135 was the last version that supported python 3.9.