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

uninitialized value $ENV{"XDG_MUSIC_DIR"} #1

Open
wazabees opened this issue Aug 31, 2021 · 2 comments
Open

uninitialized value $ENV{"XDG_MUSIC_DIR"} #1

wazabees opened this issue Aug 31, 2021 · 2 comments

Comments

@wazabees
Copy link

I pinged you on IRC about this one, but I figure the best place to ask is here! This utility looks great to create on-the-fly playlists for mpd, so thanks for creating it. I have followed your installation instructions, and when I test with for instance beet2mpd albumartist:Queen I get the following error message:

Use of uninitialized value $ENV{"XDG_MUSIC_DIR"} in quotemeta at /home/wazabees/perl5/bin/beet2mpd line 36.

I have xdg-user-dirs installed and I get the correct path when typing xdg-user-dir MUSIC. Any clues?

@trapd00r
Copy link
Owner

Hm. What's the value of the environment variable itself?

$ echo $XDG_MUSIC_DIR

@MadeOfMagicAndWires

This comment was marked as resolved.

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

3 participants