Software:
Volumio 1.55
pmb-pitft modified version - original here github.com/ISO-B/pmb-pitft
atx-raspi scripts - for shutdown/restart
The RPi is running Volumio 1.55, and a modified version of pmb-pitft to control MPD and show track information on the 3.5" TFT.
pmb-pitft has been modified to have these additional features:
480x320 resolution for Adafruit 3.5" TFT
simplified UI
album artwork read from local folder on USB drive
touch “timeline” to jump to that time in the track
sample rate / filetype displayed
additional “current playlist” screen - touch track name on main screen to access. individual tracks can be deleted or playlist cleared
file library browse - touch artwork on main screen to browse library in file mode - folders and individual tracks can be added to current playlist, touchscreen page scrolling through library
settings screen - accessed from playlist screen, set repeat, consume etc settings, refresh library
IRKey remote - playback control and playlist/library browse functions accessed from IRKey remote
In the next week I will likely add a new “fork” to the pmb-pitft Github project for my modified version of pmb-pitft depending on interest. The python scripts for controlling MPD will likely work on any platform (Volumio / RuneAudio/ Raspbian etc).
Hi britvic42 and congratulations that seems a really good work, the case and the power button give it a gorgeous look.
All the info and process for achieve the SW part of this will be appreciated and i’m sure that more people like me would be also glad to read what you want to share with us, if you search for PIFT in the forum you will find several post about the project you have successfully achieved.
I have tried to follow the pmb-pitft instructions on Volumio2 without success (i’m not good on linux and bash stuff) i found some problems:
no file /etc/modprobe.d/raspi-blacklist.conf
no pip, i had to install it and all began to went bad
instead of 95-stmpe.rules there were a 75-smtpe.rules file
as finally it doesn’t work i tried to begin again and then i broke the system.
Today trying to following the pmb-pitft instructions but with Volume 1.5 i’m facing some errors:
after doing the first rbi-update i get some conflict on PHP i’ve resolved using the packagers maintainer versions
again no pip so “apt-get install python-setuptools && easy_install pip”
execution “pmb-pitft/ui.py start” it fails due to no module “pylast” so i installed using pip
finally executing again i get a blank screen
There are few changes you will have to make to the pmb-pitft php code to get it working. Note: Line indetation is important in Python, so after editing make sure the lines are indented correctly using tabs(not spaces). Use “nano filename.py” to edit the python files.
Set the 480x320 resolution for the 3.5" PiTFT screen
“nano ui.py”
change
size = width, height = 320, 240
self.screen = pygame.display.set_mode(size)
to #size = width, height = 320, 240
self.screen = pygame.display.set_mode((480,320),FULLSCREEN)
Download the “helvetica-neue-bold.ttf” font and place it in the same folder as all of the other pmb-pitft files.
Fix the path to the image files
“nano pmb-pitft_ui.py”
change
self.path = os.path.dirname(sys.argv[0]) + “/”
to
self.path = os.path.dirname(sys.argv[0]) + “/root/pmb-pitft/pmb-pitft/”
To check for errors when starting pmb-pitft, try “cat pmb-pitft.log” to show problems.
I think this should work with any screen as long as you can get the “console” to display on the attached screen. Then it would be a case of making adjustments for the increased resolution of the 7" screen.
Note that this Adafruit install will only work on Raspbian derived distributions (like Volumio 1.55). This will not work on the latest Volumio 2 as it is not based on Raspbian.
If anyone knows how to install the Adafruit Pitft on Volumio 2 I would be interested in the install instructions.
I also would be interested in a how to install Adafruit PiTFT on Volumio 2.
I got me the 2.8" version https://www.adafruit.com/product/2423
and want to use it like britvic42
I am planning to buy an 3,5 or 5 Inch Touchscreen (with HDMI and USB for touch) for using with Volumio! Is it possbile to get the exactly screen output as seen on the sceenshots above? Is there an example how to do this ?