Hi, any one managed to get the remote control and OLED screen working with Picoreplayer/LMS? Thanks
Announcement
Collapse
No announcement yet.
AUDIOPHONICS RASPDAC MINI Kit
Collapse
X
-
Hi,
I don't have a Raspdac so I can't help with my own experience... audiophonics don't mention picoreplayer as an option to work with the raspdac. For OLED displays on PicorePlayer there is LMSMonitor. Not sure it is compatible with the Raspdac display though, you would have to double check:
https://forums.slimdevices.com/showt...S-Monitor-2020
https://github.com/shunte88/LMSMonitor
Remote control should be much easier to get to work. Plenty of forum threads.
-
In theory ...
Stop LMS on the DietPi installation (and set it to not restart on next boot).
Then on your player ... navigate through the menus to look for an option to connect to a different LMS.
There is a good chance that if you pick "My Music" and it cannot find the LMS that it was last connected to then it will offer you another one that it found.
If that does not work then they might have configured it to always go to a particular LMS and you might have to ask them how to change it if it is not obvious from their interfaces.Paul Webster
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin
Comment
-
Originally posted by kit1cat View PostThanks for info. I have just tried Audiophonics Dietpi image, which includes LMS and squeezelite. Display and remote working fine but I don't have a clue how to run squeezelite or to connect to LMS on my other pi. All a bit too much for my old brain.
I thought I saw on the MoOde forum you had it working.
Why not use Squeezelite via MoOde ?
ronnie
Comment
-
Originally posted by Man in a van View PostI thought I saw on the MoOde forum you had it working.
Why not use Squeezelite via MoOde ?
ronnie
I have been using Squeezelite via MoOde on pi 3b+ running with LMS on my pi 4 with no problems. It was just that I found picoreplayer more convenient to use, but missed the display and remote functions, plus it has a more up to date version of Squeezelite, not sure if that makes any difference?
Comment
-
Ask the people at Audiophonics about a pCP install.
I have a previous incarnation of this set up (just never bothered to install everything in the case).
It was a similar situation, but pCp was (partially) supported.
MoOde runs on Raspbian Lite, I would suggest getting a spare sd card, installing raspbian desktop (basic version) add squeeezelite, check if you can play via the dac, then configure the power switch and then the screen.
This will, obvs, involve a bit of searching around the Audiophonic / Moode forums and looking for the procedures on how to do each bit
It involves a lot of trial and error but might help you pass away the time
ronnie
Comment
-
Look through the procedures here
http://https://www.audiophonics.fr/e...red-image.html
and this seem to show that a pCP install will work in basic form
You will need to study the screen install scripts on the other players to see how they work.
That is why I suggested the Raspbian Desktop for a proof of concept
1) check the dac is recognised, it should play back a radio station from Chromium
2) just install Squeezelite via the package manager (don't worry about the version number)
3) check the power supply set-up, this might help (I don't know if it includes their board)
http://https://github.com/audiophoni...ster/README.md
do the same for the screen set up
It should be able to run it on the raspbian desktop , then transfer to raspbian lite / pcp
Audiophonics should offer better suppport
ronnie
Comment
-
Hi,
You need to edit the following files :- /etc/systemd/system/squeezelite.service : line 7, change squeezelite parameters, at least the mac address
- /home/dietpi/OLED/lms_oled_1.54_spi_audiophonics.py : line 71 with lms server details and line 75 with the mac address specified for squeezelite
- /etc/lirc/lmscli.exp : line 27 and following with lms server details
Comment
-
Originally posted by eristoff View PostHi,
You need to edit the following files :- /etc/systemd/system/squeezelite.service : line 7, change squeezelite parameters, at least the mac address
- /home/dietpi/OLED/lms_oled_1.54_spi_audiophonics.py : line 71 with lms server details and line 75 with the mac address specified for squeezelite
- /etc/lirc/lmscli.exp : line 27 and following with lms server details
Comment
-
I got the Audiophonics python OLED script working with on pCP 6.1 with python3.6
(A quick and dirty port of an old Audiophonics python script is attached.)
Increase your filesystem size (500 MB is more than enough)
Install the following extensions: compiletc.tcz, freetype-dev.tcz, python3.6-dev.tcz, squashfs-tools.tcz (I may have forgotten one or two)
Create a file called reqs.pip with the following contents:
Code:pillow --global-option="build_ext" --global-option="--disable-jpeg" --global-option="--disable-zlib" --global-option="--enable-freetype" luma.oled luma.core pyftdi smbus2 spidev RPI.GPIO pyusb pyserial pylms
Code:sudo python3 -m pip install --upgrade pip setuptools pip install -r reqs.pip --prefix=/tmp/raspdacmini-deps/usr/local --ignore-installed sed -i 's/\t/ /' /tmp/raspdacmini-deps/usr/local/lib/python3.6/site-packages/pylms/player.py mksquashfs /tmp/raspdacmini-deps /tmp/raspdacmini-py36-deps.tcz sudo cp -p /tmp/raspdacmini-py36-deps.tcz /etc/sysconfig/tcedir/optional echo raspdacmini-py36-deps.tcz | sudo tee -a /etc/sysconfig/tcedir/onboot.lst
Comment
-
Originally posted by gregex View PostI got the Audiophonics python OLED script working with on pCP 6.1 with python3.6
(A quick and dirty port of an old Audiophonics python script is attached.)
Increase your filesystem size (500 MB is more than enough)
Install the following extensions: compiletc.tcz, freetype-dev.tcz, python3.6-dev.tcz, squashfs-tools.tcz (I may have forgotten one or two)
Create a file called reqs.pip with the following contents:
Code:pillow --global-option="build_ext" --global-option="--disable-jpeg" --global-option="--disable-zlib" --global-option="--enable-freetype" luma.oled luma.core pyftdi smbus2 spidev RPI.GPIO pyusb pyserial pylms
Code:sudo python3 -m pip install --upgrade pip setuptools pip install -r reqs.pip --prefix=/tmp/raspdacmini-deps/usr/local --ignore-installed sed -i 's/\t/ /' /tmp/raspdacmini-deps/usr/local/lib/python3.6/site-packages/pylms/player.py mksquashfs /tmp/raspdacmini-deps /tmp/raspdacmini-py36-deps.tcz sudo cp -p /tmp/raspdacmini-py36-deps.tcz /etc/sysconfig/tcedir/optional echo raspdacmini-py36-deps.tcz | sudo tee -a /etc/sysconfig/tcedir/onboot.lst
Thanks for info, will give it ago when I have a minute.
Comment
Comment