You can update your local copy of the repository by changing to the top directory and running
git pull
If there are errors (due to local changes), just start again with a fresh directory by running
git clone https://github.com/antiprism/mpd_oled
cd mpd_oled
When you have the latest code, you can skip to “Now build mpd_oled” in the install instructions.
The scroll option default is equivalent to ‘-s 8.0,5.0’, which is an initial pause of 5 seconds and then scrolling at 8 pixels per second. I haven’t added anything to the installation documentation yet, but you can see all the options by running
mpd_oled -h
.
Sorry, there were some files missing from the repository, and this was why you you had the message about the missing file. I have now added in these files, and if you try updating the repository again the build will now hopefully complete correctly.
Thank you very much - now the “make” is working. Wonderful.
For me it is working best with the following settings:
sudo ./mpd_oled -o 6 -a 3c -b 21 -g 1 -f 20 -s 9.0,6.0
I’m really very happy with this.
If you have a little time more in future I do have another improvement idea which is to make line 1 and line 2 scrollable independently.
This would be helpful because my favourite radio station “Swissgroove” has a very long description within the Sender name.
“SwissGroove - The world’s #1 for jazz, funk, soul, world, latin, lounge & nu grooves”
I would like to only see the beginning “Swissgroove - The bla bla” and then cut of because this is informative enough, i think.
Maybe this could be set automatically only for webradio stations - which is e.g. possible in the Nanosound plugin (with a little help from the nanosound devs).
I changed the I2C address of a second display now by resoldering the position of the 0 Ohm “resistor” on the backside of the display and will try to work around by connecting 2 displays and run a second instance of mpd_oled (renaming the service name to mpd_oled2.service) and do not let it scroll.
But it will look a bit silly i fear - a great thing would be to have the bar graphs separated for left and right channel and displaying the play time instead of the time to give this more sense.
If you think this is interesting i could send you an OLED with a modified I2C address, also to say a little thank you.
Thank you for your offer of an OLED. I don’t have any plans at the moment to support a second screen, but I recently ordered a second OLED and so if I do ever need to test with a second screen I will be able modify and use that.
I have added in independent scrolling values for the text fields, see ‘mpd_oled -h’. You can turn off scrolling for a field by setting a scroll rate of 0.
I listen to a variety of music, so I will check out Swiss Groove.
Adrian.
P.S. I noticed a 2.4" 320x240 TFT SPI screen on eBay yesterday for 5 Euros, which seems impossibly cheap
Regarding the second display - i would need this to use the whole display window of the “revamped” tuners that i use for most of my Volumio projects, that will hopefully go final one day. So - a bigger display doesn’t help me - but more of the OLED’s side by side would do.
I understand this is not on your list as you are building a tiny PI-Zero project…
I wonder why there appearently are not many more Volumio users that like to have a display like this, which is cheap and - thanks to your very good instructions on github - easy to install.
Hello Adrian, excellent work and documentation, I was able to install and config it successfully with my setup (raspi Zero W and Hifiberry Dac+ standard). Did wonder if there is an easy way to switch between 12 and 24hr format for the time displays?
Cava is need here only for visual analyzer part?
Not that i’m not like visual analyzers, but to download lots of libs and other packages only to compile cava is kinda like overkill. I will check if it possible to compile cava and mpd_oled once and then transfer only compiled binaries to working device. Hope it will work.
How about Japanese/Korean/Chinese/etc. characters displaying?
Right now screen (SSD1306 I2C 128x64) show some weird stuff instead of 'em for me. But may be it just me did something wrong in process of compiling.
Oh, i understand now.
Characters will need more space in pixels (both height and width) (especially on monochrome displays).
Ok, will wait for customize layout option then =)
This seems to be the most active place to ask about the problem I’m having. I’m new to this.
I’ve run through the Github install instructions and everything appears to have installed correctly. I’m using the SH1106 I2C OLED from Ebay. It defaults to the full screen clock when not in use and auto-starts as well. When I start the music (Volumio) it switches shows the artist, track name, clock BUT DOES NOT show the spectrum analyzer. There’s a solid line across the bottom but nothing else. It is refreshing since when I change tracks it updates immediately.
I’ve gone back and re-installed everything for CAVA successfully and nothing seems to make a difference.
run top and see whether mpd_oled and cava are running - I can see them both running.
run ls /tmp and see if you can see the FIFOs mpd_oled_fifo and cava_fifo - I can see both files (mpd_oled_fifo, cava_fifo_579)
What am I missing? where should I be looking to determine what’s failing?
I don’t see any errors in any of the steps, and I believe I’ve always had the screens wired in correctly (according to the instructions at least).
So far I’ve tried
I’ve tried three different screens (two cheap from china, and one from amazon uk), and all had the same results. All SH1106 I2C 128x64 I believe.
Two different raspberry pi zero ws.
Clean installation of the latest volumio.
The command I’m using is:
sudo ./mpd_oled -o 6 -b 10 -g 1 -f 20 -a 3c
I’ve never had anything displayed on any of the OLEDs and I’m a bit baffled. Any ideas where I might start to diagnose what I’ve done wrong?
I missed that there were posts here as I didn’t receive any notifications. If there are any outstanding questions then please let me know.
Similarly, if I seem to be ignoring a message then I probably haven’t received a notification, in which case please let me know at adrian@antiprism.com
Hi, I have installed, the following build, github.com/antiprism/mpd_oled/b … VOLUMIO.md,
the display turns on, marking time and IP address, but when the song starts, it does not show the name and the graphic equalizer is missing, how could I solve it, thanks
For the song name:
Go to Browse > Web Radio > Volumio Selection and click on Absolut Radio (the first station). When Absolute Radio is playing, what do you see in the bottom half of the OLED display?
If you see “Absolut Radio” on one line, and underneath it the name of the song that is playing, then mpd_oled is working correctly.
For the spectrum analyser:
Run the following command
tail /etc/mpd.conf
If you don’t see something like
audio_output {
type "fifo"
name "mpd_oled_FIFO"
path "/tmp/mpd_oled_fifo"
format "44100:16:2"
}
Then review this section of the installation instructions: github.com/antiprism/mpd_oled/b … y-of-audio
Especially the part that says: “After editing the file it is important to force Volumio to regenerate mpd.conf and restart MPD. Do this by going to the Web UI PLAYBACK OPTIONS and clicking on the Audio Outputs save button.”
I tried to make those changes but the result does not change it remains only the time IP address and date, I realized that at the beginning of the code it does not pull down the libraries for the raspi-config anyway I did it after the fact is that it makes mistakes in the installation I don’t know if they are influential and depend on the fact that at the beginning it does not download the library correctly, however tomorrow I try to redo the procedure by recalling the raspi-config libraries at the beginning and not only when you realize that they are not there, having said that if you have any suggestions or other guides I would be grateful to you having said that I wish you a good Sunday