-
Notifications
You must be signed in to change notification settings - Fork 211
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
Mpd widget not showing cover art (symlink needed) #393
Comments
The widget has changed since then. There is no more external script to fetch the cover and put it into |
Oh, I'm not longer using the version that required the external script, I think it was mpdcover, I'm using a commit that's from june 2017, and it didn't used that anymore, anyway I updated the mpd widget to the latest commit, and still no cover art displaying despite the updates. So for some reason the issue is still ongoing... |
Assuming that you've correctly set the input table and that you have an image file in the album folder which is in the format Also, check if this happens because of special characters or not. |
Hummm, how am I spawning this in console ? (Sorry for Noobishness) |
Let's try in a different way. Put the following code in naughty.notify { text = cover, timeout = 0 } Start mpd, play a song, and give me:
|
Here |
As supposed, the Try this command in shell, see how you can make it work to get such file. find '/ntfs/Users/Incognito/Music/Fatboy Slim - Better Living Through Chemestry' -maxdepth 1 -type f | egrep -i -m1 '*.(jpg|jpeg|png|gif)$' |
Here's the output /ntfs/Users/Incognito/Music/Fatboy Slim - Better Living Through Chemestry/cover.jpg Which really gets me lost now... It seems to get the file.... |
Obviously something is lost on Lua side when parsing wildcards. Try setting |
Heck, even tried to link it to a single file and it didn't worked... And yea, I have imagemagick installed... I really don't get it, it works out of the box on Debian... |
Imagemagick is not required anymore. The widget just need to grab the correct path. I don't know what to think. Try to figure out what is missing on your Slack distro. |
@Incognito4nonymous Any updates on this? |
Still stuck mang... |
Could it be possible that the full path is right, but it needs to be escaped? Try with directories and files that don't have whitespaces or special characters. |
Still doesn't work, I already tried that a while ago and just also re-tried, again I tried on my Debian system and it works flawlessly, and I got the same Awesome configuration on both of em. |
Pardon me, my mouse slipped and I pressed "Close and Comment" Rather than "Comment" |
You might try to find on reddit other Slackware users and see if they can replicate the issue. Other than that, I don't know what to do here. |
Back, but with Debian 9.6 making my machine run this time, running Awesome 4.2 compiled against Lua 5.3.3, and hum, seemingly it ain't Slackware specific, maybe has it something to do with the fact my music is stored in a ntfs partition ? |
An idea just striked me like a nuclear bomb. If it works on my raspberry pi that has the music folder in the user directory, what prevents it from working here must be the fact the music files are stored on another partition (NTFS one) the partition's format shouldn't be what causes a problem in my opinion, and I may have found a quick and dirty fix, I'm gonna see what happens if I replace my user music folder with a symlink pointing towards the desired repertory |
It just worked ! I can't believe I resolved this issue by myself ! |
You have edit rights for the wiki, can you please update it yourself, reporting the example of how you created the symlink in your specific case? |
I updated the wiki by myself. |
Daym, I just received the mail now, you outran me. |
There we go, just added a bit of detail about that case. |
awesome v4.2 (Human after all)
• Compiled against Lua 5.3.4 (running with Lua 5.3)
• D-Bus support: ✔
• execinfo support: ✔
• xcb-randr version: 1.4
• LGI version: 0.9.2
Lua 5.3.4 Copyright (C) 1994-2017 Lua.org, PUC-Rio
So I'm back after... This :
#227
And I finally managed to make my way out of the version problems I faced back then, and I'm now back with all things patched up, but surprisingly enough, I still got the issue on my Slackware...
When I play music from an album, it will just display the track informations, but no cover art despite having created mpdcover.png/jpg in /tmp.
The text was updated successfully, but these errors were encountered: