-
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 doesn't show cover art. #227
Comments
|
Yup.
Yup, it just vanishes.
Runs, tried to run it as root, nothing, it runs correctly but displays no image. |
Why don't you try another path? Modify this line and the spawn |
Okay, giving it a try
Yup, but only when the music player is launched, it stays when not playing anything. |
Ok, gave it a try with a picture in my music directory, which I named mycover.jpg just to make myself sure, and it worked. |
Do this.
Choose a local user path. |
Done, nothing changed. |
So, you spawned But its main command works, and the problem seems unrelated to the output path. Somehow this script doesn't work with your system. Are you able to modify these lines in order to make it run the |
I'll try to see if there isn't some problem in the widget or in the script, it just ain't possible it doesn't work with my system. |
This is unlikely, but try the following and see if $ cd $HOME/.config/awesome/lain/scripts
$ lua
Lua 5.3.3 Copyright (C) 1994-2016 Lua.org, PUC-Rio
> os.execute("./mpdcover $HOME/Music album 100x100")
true exit 0
> replace second argument path with actual music directory, and |
|
The error is caused by the fact that you did not escape the whitespace in your album. Come on, I'd espect that from a Slack user. Try quoting the album path with single quotes: os.execute("./mpdcover /ntfs/Users/Incognito/Music 'Analog Dementia - Delusional Reruns' 100x100") PS: Also, It'd be a good thing inf you update Lua (5.1.5 older than this project) and other awesome dependecies. |
Heh heh, we all forget some stuff sometimes. 😄 |
You mean Lua doesn't output Please update Lua to v. 5.3.3 and retry. PS2: Thanks, you made me discover hardvapour. While I don't like its genesis, it's always interesting to discover new subgeneres. Sadly, these cultures rise and die very fast, just like the trends they reflect in the modern ages. |
Heh heh, Wolfenstein OS X made really awesome albums, such as Deep Web Rising or End of the world Rave, I really recommend them, as for hardvapour, it is a quite special subgenre I have to admit. |
true exit 0 ! 😃 |
If it now outputs that, then the widget should work correctly. I really can't see why it should be otherwise. PS: Listening to 2814. |
Aaaahh, 2 8 1 4 is one of my favorites in Vaporwave, I like the Cyberpunk Dystopic vibes coming out of it. |
Update each awesome dependency and let me know. |
It seems related lo LGI, I'm gonna try to build it from source. |
Oh blast, I recompiled everything, awesome to the dependencies, it does not longer work.
Uuuuuuuhggggggggghhhhhnnnnn.... |
The problem is indeed linked to my lgi package, it installs libraries for the 5.1.x version of Lua, heh, you're indeed an arch linux user... |
Even if it installs 5.1 branch libs, you should still be able to install a full Lua 5.3+ too. EDIT: Actually, you don't need to update awesome, you just need to install Lua 5.3+. |
Lua has been successfully installed already, it's just that awesome doesn't longer detect lgi, I just recompiled the package to see if if detected where the issue was coming from. |
It seems I'm stuck with Lua 5.1.5, the repos doesn't have the latest version of lgi, and all build attempts failed. |
Aren't you building from source? Or you meant slackbuilds? Because installing from (real) source should let you avoid stucking with 5.1.5.
This project started after 2012 and v.5.1.5, so unfortunately no. We've explored the problem enough. You know how to solve it, so when you'll be able to do it, reply back here if some other weird behaviour should appear. |
Uhm, there's a last, very simple check. Until now I assumed you set everything properly; as a last attempt I'll assume the contrary. Did you set mpdwidget = lain.widgets.mpd({
music_dir = "/path/to/music/dir",
-- [...]
}) |
Okay awesome, thanks for the help ! Whenever that lua problem is solved I'll come back to tell if it worked or not. |
Sooo, I came back to this, aand it is Indeed a lua version problem, everything works perfectly to bits on my Raspbian and the code doesn't even needs any modifications, even on a 3.5 inch screen. |
So, I recently restarted to work on my awesome configuration since I'm soon gonna work on a Raspberry Pi project on which I will be ultra lightweight software.
Personal projects aside, I finally got the Mpd widget to work after a year (and I don't even know how)
But almost, since this one won't show any cover, even though readers such as Audacious or XMMS can see them.
After some investigations, I saw that /tmp/mpdcover.png is missing.
I have Imagemagick installed on my computer.
My question is, how do I create that file ?
EDIT.
Mmmmh, Curiously it displays something when a assign a picture to the
local default_art = args.default_art or ""
Function.
I wonder where could be the problem.
The text was updated successfully, but these errors were encountered: