Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
brambil wrote: > I looked to your python code, I will merge some of yours mods in mine > and share. In particular your conversion to Python 3 is better than mine > and also the revisiting of LMS info extraction. > > On my side I removed everything about volume control and fixed the > volume control inside LMS (I leave the Volume Control to the DAC), so I > removed everything from the display. > Idem in the code there are parts about SPDIF (maybe from Audiophonics > Rasptouch). > > I'm working on change the screensaver from a clock to a Vu-Meter ( like: > https://github.com/shunte88/LMSMonitor but I think is abandoned) when a > song is playing. > > In this moment I'm on DietPi but the approach is similar. > Also I made some change to LIRC: > - manage the poweroff input > - ignore any other remote command except play/pause and Poweroff. > - I'm looking to integrate the support to another remote, maybe by > Rpi-bluetooth > > If you make a Github I will contribute. I don't like volumio at all. > > I attach my version, as wrote before, you managed better than me the > Python 3 conversion and the info extraction from LMS. I will merge your > mods in mine and share again. > 37114 > > In this days I am in war with LMS, sometimes it decide to not start or > take minutes to start... I don't know why. Nothing in log, nothing > anywhere. Hi Yes, I'll post something to github when I'm back - I'm away at the moment. I have done some recent updates - not sure if you have them. The main change was to auto-detect the LMS IP address by broadcasting the discovery packet, which is quite nice. It'll also happily retry until it finds the server - for example if you're rebooting the server after updating a plugin etc.. On the volume front, I just have mine set to 100% in LMS and then the code just doesn't display the volume - I also don't use the volume here. My own IR file is also more limited, but I thought I'd post something with all the same options as the original for people. psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
I looked to your python code, I will merge some of yours mods in mine and share. In particular your conversion to Python 3 is better than mine and also the revisiting of LMS info extraction. On my side I removed everything about volume control and fixed the volume control inside LMS (I leave the Volume Control to the DAC), so I removed everything from the display. Idem in the code there are parts about SPDIF (maybe from Audiophonics Rasptouch). I'm working on change the screensaver from a clock to a Vu-Meter ( like: https://github.com/shunte88/LMSMonitor but I think is abandoned) when a song is playing. In this moment I'm on DietPi but the approach is similar. Also I made some change to LIRC: - manage the poweroff input - ignore any other remote command except play/pause and Poweroff. - I'm looking to integrate the support to another remote, maybe by Rpi-bluetooth If you make a Github I will contribute. I don't like volumio at all. I attach my version, as wrote before, you managed better than me the Python 3 conversion and the info extraction from LMS. I will merge your mods in mine and share again. 37114 +---+ |Filename: lms_oled_3.12_NG.py.txt | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=37114| +---+ brambil's Profile: http://forums.slimdevices.com/member.php?userid=72544 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
brambil wrote: > Dear! > I was trying to do something like what you did using dietpi. > > Do you plan to put your script on Github or to share in any other way? Yep - happy to share it however you like. It started off as a deitpi download from Audiophonics, but that was a) not on PCP which is what I wanted b) really outdated (old versions of python etc.), and c) used lots of generic approaches to things rather than trying to be efficient with LMS etc.. psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
Dear! I was trying to do something like what you did using dietpi. Do you plan to put your script on Github or to share in any other way? brambil's Profile: http://forums.slimdevices.com/member.php?userid=72544 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
If anyone wants it, I've built a fresh PCP 8.1.0 image and just installed the updates for the second screen, infra red etc.. So, it's just a stock image with the changes to make it work with the EvoSabre. I've also updated the script so that it'll discover the LMS server so you don't have to change the user commands. So, it should basically just work as soon as you start up the dac. You'd just need to change the name etc.. psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
pmendiuk wrote: > The rotary knob just cycles through the various inputs on my units, I > don't see anything about display. Maybe different firmware. Sorry - my fault. I was going from memory and thought it was on the rotary knob. Doh. It's on the remote instead. It's the blank button on the remote - will pull up the filter options. Then up and down arrow on the remote to select different items - one of which is display. psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
The rotary knob just cycles through the various inputs on my units, I don't see anything about display. Maybe different firmware. pmendiuk's Profile: http://forums.slimdevices.com/member.php?userid=62342 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
pmendiuk wrote: > Have you done anything with the Nuvoton processor on the Evo-Sabre > board? I would like to be able to put the left display into an "off" or > screen saver state without powering down the board. I would also like > to be able to select a specific input rather than cycle through with the > rotary encoder. No, I haven't looked at this - not sure how accessible any of that it. BTW, you can enable an auto off for the left screen. Use the rotary button to seelect Display - it defaults to Always On. psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
Have you done anything with the Nuvoton processor on the Evo-Sabre board? I would like to be able to put the left display into an "off" or screen saver state without powering down the board. I would also like to be able to select a specific input rather than cycle through with the rotary encoder. pmendiuk's Profile: http://forums.slimdevices.com/member.php?userid=62342 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
Now you've got it working, please let me know if you have any questions. comments or suggestions. psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
pmendiuk wrote: > Thanks the image worked great. I still would like to understand why my > manual installation couldn't find that module. Yes, likewise would be good to know, but pleased it worked - you'll just have to change the IP address on the user command and that should be it I think. psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
Thanks the image worked great. I still would like to understand why my manual installation couldn't find that module. pmendiuk's Profile: http://forums.slimdevices.com/member.php?userid=62342 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
Please pmendiuk's Profile: http://forums.slimdevices.com/member.php?userid=62342 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
pmendiuk wrote: > I don't think I purchased the RPIs from Audiophonics. > > Raspberry Pi 4 Model B Rev 1.2 4GB If you still struggle, I've created a backup of a clean pcp 8 image with the extensions and config already done which works on my Pi4B. Happy to share it. psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
I don't think I purchased the RPIs from Audiophonics. PcP 8 says RPI 4B Revision c03112 PCB Rev 1.2 Memory: 4096 pmendiuk's Profile: http://forums.slimdevices.com/member.php?userid=62342 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
pmendiuk wrote: > It's installed: > > > Code: > > tc@pCP:~$ tce-load -i /etc/sysconfig/tcedir/optional/evosabre-py38-deps.tcz > evosabre-py38-deps is already installed! > > > > I started with a fresh PcP 8 install and then installed the extensions > and python script. The RPI was rebooted several times since setting > up PcP and the extensions. Yes, if it says it's installed, then it's rebooted. OK, so 2 plans. Firstly, maybe something's up with the .tcz I sent you. Maybe it's loading but it's not right. So, I'll email you just the .tcz. If that doesn't work, I'll build a new pcp8 again, and just post an image of the SD for you to download. That will only work on the same generation of Pi though - what model are you using - I assume you're just using the supplied Pi4? I don't really understand why it's not working - as I said, I just did a new PCP 8.0.0 yesterday, installed the .tcz and the .py, and it just worked first time. psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
It's installed: Code: tc@pCP:~$ tce-load -i /etc/sysconfig/tcedir/optional/evosabre-py38-deps.tcz evosabre-py38-deps is already installed! I started with a fresh PcP 8 install and then installed the extensions and python script. pmendiuk's Profile: http://forums.slimdevices.com/member.php?userid=62342 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
pmendiuk wrote: > Hi Pete, > It looks like it's all there. > > > Code: > > tc@pCP:~$ ls /etc/sysconfig/tcedir/optional/evo* > > /etc/sysconfig/tcedir/optional/evosabre-py38-deps.tcz > > tc@pCP:~$ more /etc/sysconfig/tcedir/onboot.lst > > pcp.tcz > pcp-8.0.0-www.tcz > freetype.tcz > python3.8.tcz > pcp-lirc.tcz > evosabre-py38-deps.tcz > python3.8-pip.tcz > tc@pCP:~$ > > Hmm - what if you do Code: tce-load -ic /etc/sysconfig/tcedir/optional/evosabre-py38-deps.tcz psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
Hi Pete, It looks like it's all there. Code: tc@pCP:~$ ls /etc/sysconfig/tcedir/optional/evo* /etc/sysconfig/tcedir/optional/evosabre-py38-deps.tcz tc@pCP:~$ more /etc/sysconfig/tcedir/onboot.lst pcp.tcz pcp-8.0.0-www.tcz freetype.tcz python3.8.tcz pcp-lirc.tcz evosabre-py38-deps.tcz python3.8-pip.tcz tc@pCP:~$ pmendiuk's Profile: http://forums.slimdevices.com/member.php?userid=62342 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
Hi That's saying that the module evosabre-py38-deps.tcz either didn't load properly, or I've sent you the wrong one. This loads the dependencies for the script, and includes netifaces. If you do ls /etc/sysconfig/tcedir/optional/evo* do you see evosabre-py38-deps.tcz Then, if you do more /etc/sysconfig/tcedir/onboot.lst is evosabre-py38-deps.tcz included? pete S psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
I did a fresh install of PcP 8 and installed freetype.tcz, python3.8.tcz and manually installed evosabre-py38-deps.tcz. I'm getting an error running lms_oled_3.12_py3.py Code: tc@pCP:~$ python3 /home/tc/lms_oled_3.12_py3.py 192.168.1.170 Traceback (most recent call last): File "/home/tc/lms_oled_3.12_py3.py", line 33, in import netifaces ModuleNotFoundError: No module named 'netifaces' I installed python3.8-pip.tcz and then tried to install netifaces with pip: Code: tc@pCP:~$ pip install netifaces Requirement already satisfied: netifaces in /usr/local/lib/python3.8/site-packages (0.11.0) WARNING: You are using pip version 20.1.1; however, version 21.3.1 is available. You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command. tc@pCP:~$ I checked the path: Code: tc@pCP:~$ python3 -c "import sys; print(':'.join(x for x in sys.path if x))" /usr/local/lib/python38.zip:/usr/local/lib/python3.8:/usr/local/lib/python3.8/lib-dynload:/usr/local/lib/python3.8/site-packages I'm running out of ideas pmendiuk's Profile: http://forums.slimdevices.com/member.php?userid=62342 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
Hmm- I'll have a look at that later. For now, I've emailed them to you. psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
I am experiencing an error trying to download the files. pmendiuk's Profile: http://forums.slimdevices.com/member.php?userid=62342 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
Hi pmendiuk There's a readme.md and zip file with everything in it 'here' (https://www.mediafire.com/folder/98508yi108e4g/EvoSabre). Let me know how you get on. pete S psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
I am very interested on getting the second display running on PcP. Please post the files. pmendiuk's Profile: http://forums.slimdevices.com/member.php?userid=62342 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
I've been continuing to fiddle around with this, and have it pretty much finished now. I've updated the script quite a bit to make it more native to LMS (e.g. reading the track info from LMS vs. from ALSA as it was before), reading all the info from LMS in one go rather than loads of separate calls, pick up if volume is 100% and if so, don't show it, made some of the other calls more native etc. I'd like to thank @Steve Agnew for his help testing things and tidying up the readme I created. If be happy to share the files with anyone that wants them. All in all, I'm really happy with the DAC now and I think it's a good high-er end addition to the family. pete S psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
Firstly, as with all these things, I always start - erm - blatantly copying and learning from others. On that note, I'd like to call out the great work done by gregex 'here ' (https://forums.slimdevices.com/showthread.php?112288-AUDIOPHONICS-RASPDAC-MINI-Kit=979971=1#post979971), who got a lot of this going to the raspdac mini. Then, you know the way of it - once I start on something, I find it hard to put down until it's done. So, kept chipping away at it until it was working well... psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
That sounds like a lot of work! Thanks. Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
[SlimDevices: Unix] piCorePlayer 7 on Audiophonics EVO-SABRE Balanced DAC 2xES9038Q2M
I've been looking for a more upto date replacement for my Transformer, and settled on 'Evo-Sabre DAC' (https://www.audiophonics.fr/en/network-audio-players-raspdac/audiophonics-evo-sabre-pack-diy-balanced-dac-2xes9038q2m-streamer-for-raspberry-pi-4-p-14639.html) from Audiophonics. It's a really nice device, and with a second OLED for displaying track etc. information. Audiophonics provide a dietPi image with a custom Python script for this second screen and lirc settings for the remote. However, I run PCP everywhere else, so wanted to get PCP running. It took a little work and involved Building a custom tcz for all of the Python 3 modules Updating the scripts to Python 3 Updating the lirc settings to use the native Squeezelite lirc support (vs an old expect script) Update the script to pick up the MAC address automatically, and take the LMS IP as a parameter The steps (ignoring the backups and reboots) are something like Install standard extensions freetype.tcz python3.8.tcz iproute2.tcz Install custom extension evosabre-py38-deps.tcz Copy the custom .py and fonts sub directory to /home/tc Configure squeezelite in pcp Set Card to Audiophonics ISabre Q2M Disable onboard audio Set ALSA Volume Control to Digital User Command to python3 /home/tc/lms_oled_3.12_py3.py LMSIPAddress gpio-shutdown : Yes, GPIO-17, Active Low, Pull Up Install LIRC GPIO : 4 Upload custom lircd.conf and .lircrc If anyone's interested, let me know and I'll post all the files. By default, the Audiophonics setup uses a full Simplified Chinese font for album titles - i.e. it's a font with all languages in there, including simplified chinese - so it's large and take a while to load when you start the script. I can understand why they did this - some people will obviously want track titles in chinese, but I created a everything except chinese version, which is about 1% of the size, so unless you want the large one, I'll likely post the short one. pete S psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555 View this thread: http://forums.slimdevices.com/showthread.php?t=114706 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix