adamjakab / BeetsPluginAutofix

A beets plugin for obsessive-compulsive music geeks to run repetitive tasks all in one go.
MIT License
9 stars 2 forks source link

cant seem to be able to use your plugin at all whatsoever. #10

Open fabiendostie opened 1 year ago

fabiendostie commented 1 year ago

Hi I hope you can help me a little. (FIY: I am using a bunch of plug-ins for years now using this very method)

I am using external .yaml files for plugins, secrets and such. Here is the beginning of the "plugins.yaml" file:

plugins:
  [
  absubmit,       # Lets you submit acoustic analysis results to the AcousticBrainz server.
                   # ToDo: install the extractor binary from https://acousticbrainz.org/download
  acousticbrainz,  # Gets acoustic-analysis information from the AcousticBrainz project.
  badfiles,
  beets-autofix,        # ToDo. Adds a beet bad command to check for missing and corrupt files.
  #bandcamp,        # Beetcamp. Use bandcamp as an autotagger source for eg. artwork and lyrics.
  bucket,          # Groups your files into buckets folders representing ranges.
... etc... etc... etc...

This is the section in my config.yaml related to your plugin:

beets-autofix:
  max_exec_time: 0
  tasks:
  missing_file_checker:
    enabled: yes
  year_fixer:
    enabled: yes
  audio_conversion:
    enabled: no
  tag_cleaner:
    enabled: yes
  ab_data_fetcher:
    enabled: yes
  xtractor:
    enabled: yes
  genre_finder:
    enabled: yes

this is what I get when I try to "re-install" and get version after.

➜  ~ pip install beets-autofix
Requirement already satisfied: beets-autofix in ./Library/Python/3.10/lib/python/site-packages (0.1.3)
Requirement already satisfied: beets>=1.4.9 in /usr/local/lib/python3.10/site-packages (from beets-autofix) (1.6.0)
Requirement already satisfied: alive-progress in ./Library/Python/3.10/lib/python/site-packages (from beets-autofix) (2.4.1)
Requirement already satisfied: munkres>=1.0.0 in /usr/local/lib/python3.10/site-packages (from beets>=1.4.9->beets-autofix) (1.1.4)
Requirement already satisfied: mediafile>=0.2.0 in /usr/local/lib/python3.10/site-packages (from beets>=1.4.9->beets-autofix) (0.9.0)
Requirement already satisfied: pyyaml in /usr/local/lib/python3.10/site-packages (from beets>=1.4.9->beets-autofix) (6.0)
Requirement already satisfied: jellyfish in /usr/local/lib/python3.10/site-packages (from beets>=1.4.9->beets-autofix) (0.9.0)
Requirement already satisfied: musicbrainzngs>=0.4 in /usr/local/lib/python3.10/site-packages (from beets>=1.4.9->beets-autofix) (0.7.1)
Requirement already satisfied: unidecode in /usr/local/lib/python3.10/site-packages (from beets>=1.4.9->beets-autofix) (1.3.4)
Requirement already satisfied: confuse>=1.0.0 in /usr/local/lib/python3.10/site-packages (from beets>=1.4.9->beets-autofix) (2.0.0)
Requirement already satisfied: about-time==3.1.1 in /usr/local/lib/python3.10/site-packages (from alive-progress->beets-autofix) (3.1.1)
Requirement already satisfied: grapheme==0.6.0 in /usr/local/lib/python3.10/site-packages (from alive-progress->beets-autofix) (0.6.0)
Requirement already satisfied: six>=1.9 in /usr/local/lib/python3.10/site-packages (from mediafile>=0.2.0->beets>=1.4.9->beets-autofix) (1.16.0)
Requirement already satisfied: mutagen>=1.45 in /usr/local/lib/python3.10/site-packages (from mediafile>=0.2.0->beets>=1.4.9->beets-autofix) (1.45.1)
➜  ~ beet autofix --version
** error loading plugin beets-autofix:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/beets/plugins.py", line 268, in load_plugins
    namespace = __import__(modname, None, None)
ModuleNotFoundError: No module named 'beetsplug.beets-autofix'

/usr/local/lib/python3.10/site-packages/beets/mediafile.py:19: UserWarning: beets.mediafile is deprecated; use mediafile instead
  warnings.warn("beets.mediafile is deprecated; use mediafile instead")
error: unknown command 'autofix'
adamjakab commented 1 month ago

Hi @fabiendostie - can you confirm that this issue is long gone on your side. The deprecated beets.mediafile should not be causing any issues anymore. Apologies for having missed this for so long.

fabiendostie commented 1 month ago

It's still causing the exact same issue.

adamjakab commented 1 month ago

can you pls confirm your versions of: Python, Beets and beets-autofix? If you are still using beets-autofix 0.1.3 - pls upgrade to the latest release (v0.1.6).

fabiendostie commented 1 month ago

Latest beets and beets-autofix, python 12.2. On Mac OSX Ventura (19) with the latest developper tools installed

-- . | Fabien Dostie | .///Coloriste Resolve | Montage Online VR-HD .//Compositing | VR Stitching + editing ./DIT | DMT | V/A AQTIS 514 IATSE 667 .Tech. Scène IATSE 56 C: 438.357.3462 W: fabiendostie.com

On Sun, May 26, 2024, 16:50 Adam Jakab @.***> wrote:

can you pls confirm your versions of: Python, Beets and beets-autofix?

— Reply to this email directly, view it on GitHub https://github.com/adamjakab/BeetsPluginAutofix/issues/10#issuecomment-2132391841, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM22A2OJDRMVX6CKHPKX6FTZEJDJJAVCNFSM6AAAAAAQDXKEQCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZSGM4TCOBUGE . You are receiving this because you were mentioned.Message ID: @.***>