Quantcast
Channel: Squeezebox : Community : Forums - Linux / Unix
Viewing all 1518 articles
Browse latest View live

LMS pcp recurring display problem


piCorePlayer on a Pi Zero W with a WM8960 amplifier HAT

$
0
0
Hi

Does anyone know if it's possible to get a WM8960 amplifier HAT (such as this or this) to work with a Pi Zero W running pCP 4.1.0?

I've spent the evening trying all the available built-in sound cards/amplifiers, but the best I've achieved is the occasional pop from the attached speakers. So assuming it's not directly compatible with anything in the list of already supported devices, how do I go about setting it up manually?

Can not get Wi-Fi working with Pi 3A+

$
0
0
I have just bought one of the new Pi 3A+. Apart from the fact that it needs a good 3amp power supply before it will even boot (?) it seems to work.

I have downloaded and installed the latest Raspbian and set up Wi-Fi successfully.

However when I try piCorePlayer 4.1, I am unable to set up Wi-Fi. I first tried the wpa_supplicant.conf method - this seemed to work in that on booting it accepted the file - did its thing and rebooted. But no network found. On examining the SD card, wpa_supplicant.conf had been renamed to used.wpa_supplicant.conf and contained the correct information.

So I tried the 'setup' route. On selecting Wi-Fi, it showed me Wi-Fi on, but SSID, Password and Security were all blank. So I went through the process as described in the How To, saved the changes and had the correct values echoed back to me. I then exited and did pcp br.

On next boot I got Network not found, and on entering setup, it showed me Wi-Fi on, but SSID, Password and Security were all still blank.

I have been through this process at least 10 times, but whatever I do I can not get the entered values for SSID, Password and Security to stick.

I must be doing something wrong, but what ?

Any help would be gratefully received.

NWJ

Pasword resets at every Power ON

$
0
0
Hi,

how do I make password changes to the tc user permanent? Also, disabling the WebGUI is something I would like to make permanent. It seems to reset itself every time I power down/up, which defeats the purpose?

Cheers

piCorePlayer power saving functionality ... getting it working

$
0
0
Hi,

I power off my piCorePlayer devices as night (I actually keep them on only during the weekend as not at home during most of the week) as having quite a few of these devices ends up adding the annual electricity bill ...

The advanced users section of the WebGUI, there seems to be a sort of sleep mode. I haven't worked it out yet ... but does piCorePlayer have a power management functionality, for example cutting off the power to the HiFi Berry miniAMP?

Cheers

Parametric EQ options?

$
0
0
Are there any options for a parametric EQ on Picoreplayer?

Even if command-line?

Or does anyone know a path to a Parametric EQ running on a RPi that is also running Squeezelite?

It would help with some system issues I have. The graphical EQ is nice but a parametric EQ would be more helpful for my purpose.

I posted this in another forum, I'll go try to hunt it down and kill it. Sorry, I didn't intend to cross-post this.

Void Linux, Anyone?

$
0
0
Has anyone else here tried installing on Void Linux (https://voidlinux.org/)?

(I decided to try out Void because (masochist that I am) I like trying new things once in a while.)

I have tried grabbing slimserver-vendor and running the buildme.sh script, eliminating missing dependencies one by one until I am left with:

Code:

t/80threadbomb.t ..............
Failed 16/16 subtests

Test Summary Report
-------------------
t/80threadbomb.t            (Wstat: 11 Tests: 0 Failed: 0)
  Non-zero wait status: 11
  Parse errors: Bad plan.  You planned 16 tests but ran 0.
Files=24, Tests=469, 15 wallclock secs ( 0.71 usr  0.13 sys + 13.51 cusr  0.89 csys = 15.24 CPU)
Result: FAIL
make test failed, aborting

The only messages I see that might indicate something is amiss are:
Code:

t/02pod.t .......... skipped: set TEST_POD to enable this test
t/03podcoverage.t .. skipped: set TEST_POD to enable this test

Any suggestions with how to proceed would be greatly appreciated.

(This build is on a RPi3, if that makes a difference).

Picoreplayer 4.1 2 instance of shairport-sync

$
0
0
Hi, i have a picoreplayer 4.1 with an hiffiberry i use 2 mono chanel zone1 and zone 2 its work like a charm with squeezelite with user command :
squeezelite -n Salle_de_bain -m 00:00:00:00:00:01 -o zone1 -z
squeezelite -n Toilettes -m 00:00:00:00:00:02 -o zone2 -z

I tried to make the same with shaireport-sync but i can have only 1 instance working :
Shairport is using these settings:

/usr/local/sbin/shairport-sync -a piCorePlayer -o alsa -S soxr -d -D -R --metadata-pipename=/tmp/shairport-sync-metadata --get-coverart -- -d zone1

i have try to put a user command like :

/usr/local/sbin/shairport-sync -a Toilettes -o alsa -S soxr -d -D -R --metadata-pipename=/tmp/shairport-sync-metadata --get-coverart -- -d zone2

Its not working...

Someone have a solution please?

Thx a lot

Squezzelite settings are lost after reboot.

$
0
0
When I use the feature for 100% power saving :cool: and power afterwards RPi again, the squeezelite settings are kind of lost.

The entries "Max sample rate" and "Upsample setting" are still filled as expected, but there is no music playing.
I need to press the SAVE button. Only then music is playing.
I already tried to "backup" the changes under Advanced Mode Operations, but in vain.

Is this a bug or feature?
What do I need to get the settings properly saved?

PcP powerscript is running when skipping to next song

$
0
0
Hi,

I have a Raspberry with Pcp, Jivelite, TFT touch screen and Allo DAC and IR remote. The LMS run on my Synology NAS. All is working fine ..... well almost.
I like to switch my amplifiers when I switch on/off the above setup. I use the "Power On/Off script -S"option of squeezelite to run "powerscript.sh"
So my Squeezelite setting look like "/usr/local/bin/squeezelite -n "Woonkamer" -o hw:CARD=BossDAC -a 80:4::1: -v -C 15 -S /home/tc/powerscript.sh"

So far so good, the script runs and via an JSON call to Domoticz (I installed cURL) I can switch some powerplugs which in turn switches my amps.
The problem is that this power script is also running when I change from one song to an other (it switches off and immediately on again) it also does this when I pauze a song.
It doesn't show this behaviour when it just plays the next song on the same "CD".

Can anyone explain this behaviour? Is their a setting I can change so it only triggers the script whem I use the "power" button? (either fron my IR remote or from the touch display)

Regards Erik

issues with reading rfid (missing digits)

$
0
0
I´m trying to build a player for my 2 years old son. I found some ideas like "jukebox 4 kids" on the web, but I´d like to integrate it in my Squeezebox setup.
I bought a pi zero w and a hiffiberry for pi zero, i used picoreplayer (version 4.1.0) and used a python script that should read the rfid tags and just send them thought the network to a my server where i can then add action to the tags.
I have bought a neuftech RFID reader, which was recomended to use for the jukebox 4 kids project. The reader behaves as a keybord, it puts the 10 degitis of the tag + enter. I have the problem now that with the picoreplayer image there are often missing digits, even if I just do it with
Code:

sudu cat /dev/tty0
I´d say this is the case in 80%
It is working in the same setup with other images, anyway I prefer using picoreplayer. So I wonder wheather I can add any extension that will improve the reading from tty. By the way, I tried the same with a keyboard and no input was ever missing, so it might be a power issue as well but caused by picoreplayer image.
My pythoncode is:
Code:

import time
import sys
from socket import socket

def main():
        while True:
                sys.stdin = open('/dev/tty0', 'r')
                RFID_input = raw_input()
                sock = socket()
                sock.connect(('xxxx', xxx))
                #sock.send(str(RFID_input)+'\n')
                sock.send('item|rfid.received_id|'+str(RFID_input)+'\n')
                sock.close()

                print "Send RFID: " + RFID_input
main()

Help with Jivelite and DietPi

$
0
0
Hey all,

I've just gotten a Squeezelite/Jivelite setup up and running on DietPi (needed the sabre driver), but am having some issues with Jivelite, and was hoping someone could help out:

  1. Touching the display while it's showing the clock screensaver does not "wake up" the device (as in, the usual SBT behaviour when you turn it off)
  2. Not having much luck hiding the mouse cursor either ...


I used this page as a guide for getting up and running: http://www.hagensieker.com/jivelite/index.php, just made sure I used the more up to date version of the jivelite repo (but still did the whole modifying of the

My H/W setup is an RPI3, official 7" touch screen, and an Audiophics Sabre DAC.

For reference, I've had zero issues using this setup with piCorePlayer, but not having the saber driver meant I was limited in DSD playback (and compiling modules under TCE linux seems a right pain in the butt ...).

Boot stops at crond syncing time lin

$
0
0
Hello all. I am new to this forum, having just received a Rasberry Pi 3 B+ kit for Christmas, which was on my wish list after my last SqueezeBox2 quit working this fall. I did the assembly per the instructions, hooked up KB and mouse and plugged in ethernet. The little guy worked great and booted up just fine, including a nice GUI and very good internet browsing. Following the instructions on the piCorePlayer site, I downloaded the PCP 4.1 .img file to my PC and burned it to the Micro SD from the Rasberry. When I rebooted, after moving the newly burned SD back to the Rasberry Pi, the boot sequence looked very different and then it started the piCore Player app. It seemed to be fine for awhile, but then it just stopped after hitting the "crond syncing time" line. I waited several minutes but it never progressed, so I powered it down and then back up, but the same thing occurred.

After trying multiple more times, I removed the SD and reburned it with an earlier version, 4.0. and tried it again. Same story, but there was an added response line, noting that there was a very large time disparity. See attached image.Name:  PCP boot image.jpg
Views: 62
Size:  260.2 KB

So then I tried PCP 3.5 but with the same issue (different time disparity noted). I was about ready to throw up my hands and quit when I thought to try looking for a new player from SqueezeCenter, and lo and behold, there it was! So even though the boot sequence stopped, PCP was showing up as a working player. So I tried streaming an album and voila, it was actually playing the correct music I selected through the headphone jack. I was shocked that it worked when the boot sequence seemed locked up.

Is this supposed to happen? I am really confused as to why it works, but the boot sequence doesn't seem to complete.

Following the instructions found on the easysqueezebox site (http://www.easysqueezebox.com/index....i-squeezelite/), I learned how to log into the PCP and change settings so I could use the HDMI audio output which I then did and hooked up to my AV receiver. It really worked great, even though the same boot stoppage showed up on our TV monitor.

Thanks
Jim Carter
Attached Images
 

DSD Player in LMS shows Hifiberry DAC+ as DSD capable

$
0
0
Since Roon still does hasn't integrated Qobuz, I am back to piCoreplayer on my RP3 / Hifiberry DAC+. I am a bit rusty on the settings, so I have a few questions:
- Is it correct to chose the non DSD capable version on the Beta Squeezelite page at the bottom?
- No parameter for "no DSD capability" needed in "Various options"
- No parameter needed in max sample rate

Strangely in LMS settings / player / dsd player I do not get the message "DSDPlayer will transcode DSD to PCM for this player" (like I do for the Squeezebox Touch), but a checkbox to enable DoP. I seem to recall that previously DSD Player would detect whether the endpoint was DSD capable or not.
DSD files seem to play ok on the Hifiberry DAC+.

Am I missing something here?

Asset UPnP on QNAP - Audio format streaming - FLAC to WAV

$
0
0
Hi

I've got Asset R6.1 running on my QNAP NAS.

I've got my CD's ripped and saved as FLAC files.

I wanted to test whether playback sounded better letting Asset send FLAC files as they are stored or whether converting them to WAV first before serving them up to my UPnP renderer was best, or if it made no difference.

So to start with I went to the Asset Configure page and down to "Audio format streaming", and changed FLAC from "as is" to "as WAV".

Using foobar2000 with a UPnP browser plugin on my PC I can play the files from Asset fine - and in the File Properties I can see File names like "d-8065562640914796164-co0B0B406D4D608D17.forced.wav" with the PCM codec etc. And they play fine.

However on my Logitech Media Server running on a Raspberry Pi (running piCorePlayer) - I can see the Asset files in my Remote Music Library (UPnP renderer) and add them to the playlist of a Squeezelite player (another Raspberry Pi running piCorePlayer), but they won't play at all.

Has anyone ever tried to do the same, and either had the same issue or found a way around it?
Any suggestions for fixing this issue please?


Regards,
David

UE Wonderboom pairing problem

$
0
0
Hi All,

I'm trying to set up my UE Wonderboom as a BT speaker for a Pi3a+ board running picoreplayer 4.1.0. Wifi working, and BT extensions installed, but the Wonderboom just will not pair. Any pointers for me?

Edit - perseverance was the key - after an hour or so they paired!

piCorePlayer Autostart not working

$
0
0
I have created a kitchen radio based on penguinlovesmusic.de/the-tivoli-squeezebox-radio and mainly everything works fine - currently it only has a power switch which cuts the power to the power supply.

I set up pCP autostart to play radio and it used to work, but lately most of the times it does not. When I look, the webradio (from TuneIn) is loaded, but it is not playing - I just have to hit play (I am using Squeezer on Android) and it starts. Where could I look for what is going wrong?

Environment:
  • LMS 7.9.2 in a docker container on a Raspberry (hub.docker.com/r/doliana/logitech-media-server).
  • piCorePlayer v4.1.0
  • Squeezelite v1.9.0-1121-pCP
  • A second pCP-player connected to my Hifi (when both players are running, they run synchronized)

Accessing PCP/Squeezelite Client log?

$
0
0
I've got a playerOutputUnderrun error for some ALAC files in my LMS log, but I can't figure out how to access the squeezelite log on the PCP client tio continue the RCA.

Couldn't find the log in the device UI so figured itv was via SSH.

Got as far as logging in via SSH, but no further. I'm not majorly familiar with Linux command line, so guidance would be appreciated.

Thanks

Squeezlite on Alpine Linux

$
0
0
I tested squeezelite on Alpine Linux tonight on my Pi3 B+. Working good via HDMI audio to my Denon A/V receiver.

I've only got a few hours of experience with Alpine Linux but so far I'm really impressed. It has similarities with piCore Linux in that it runs entirely in RAM by default (though you can change that) and it uses a utility called "lbu" to store user changes in a tar.gz file that gets overlayed into ram on each reboot, similar to piCore's filetool.sh script. One major difference is that Alpine actually seems to be maintained :/

Code:

4.14.89-0-rpi2 #1-Alpine SMP Tue Dec 18 17:49:49 UTC 2018 armv7l Linux
The only thing not in the Alpine Linux repos was squeezelite itself. I built it on the Pi using Alpine's "alpine-sdk" package. I did have to make one modification to the output_alsa.c file in the squeezelite source code in order to get the build to complete successfully, I found the solution here:

http://lists.busybox.net/pipermail/b...ry/152227.html

Basically, use mallopt only with GLIBC (Alpine uses musl libc):

Code:

#ifdef __GLIBC__
  mallopt(M_TRIM_THRESHOLD, -1);
  mallopt(M_MMAP_MAX, 0);
#endif

I didn't really need to take a lot of notes, but here's a list of the packages I installed to build squeezelite:

Code:

alpine-sdk
flac-dev
alsa-lib-dev
faad2-dev
mpg123-dev
libvorbis-dev
libmad-dev

"screen" terminal multiplexer on boot

$
0
0
Name:  screen.PNG
Views: 157
Size:  4.5 KB

Error is "Must be connected to a terminal." Right now, the output gets to "Finished piCorePlayer setup, crond syncing time" and then just halts. SSH works fine and gives me a bash terminal, which runs screen.

I think the goal is self explanatory. I have a custom cli-gui that lives in .screenrc that I want to load on boot.
Attached Images
 
Viewing all 1518 articles
Browse latest View live