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

My Alpine Linux Repo for LMS and Squeezelite

$
0
0
In case anyone wants to try LMS or Squeezelite on Alpine Linux, here are some directions for adding my repo and installing the packages. Right now, only x86_64 has both LMS and Squeezelite. Armel only has Squeezelite and it's an older version. I'm leaving the armel repo online but I'm not really updating it anymore since my experience with the circa 2011 Dell M300 wasn't that great. I had fun working on it with Ralphy's help but ultimately I decided to move on and picked up an x86_64 Dell/Wyse 5070 which has been awesome so far as my new home server (with LMS). I hope to add some arm packages also, for rpi4 and pi zero w, not sure when I'll get to it though.

Add the repo to the repositories file:
Code:

$ cat /etc/apk/repositories
http://www.sodface.com/repo

My public key is available here:
http://www.sodface.com/repo/sodface-pub-key.tar.gz

Extract to /etc/apk/keys/
Code:

$ sudo tar xzvf sodface-pub-key.tar.gz -C /etc/apk/keys/
sod@sodface.com-5e51d361.rsa.pub

Run apk update:
Code:

$ sudo apk update
Install squeezelite:
Code:

$ sudo apk add squeezelite
Install LMS:
Code:

$ sudo apk add lms
LMS consists of 5 packages, my plan is to only update the lms-nocpan package and leave the other four relatively static:

Code:

lms-8.0-r2.apk
lms-modules-8.0-r0.apk
lms-nocpan-8.0.0.1590233071-r0.apk
lms-openrc-8.0-r2.apk
lms-utils-8.0-r0.apk
squeezelite-1.9.7.1246-r0.apk
squeezelite-doc-1.9.7.1246-r0.apk
squeezelite-openrc-1.9.7.1246-r0.apk

Let me know if you try it out or have any suggestions, thanks!

Nice cases for official Raspberry Pi 7" lcd

$
0
0
I have several PiCorePlayer setups using pi's and the official 7" display in this bamboo case: https://www.amazon.com/Eleduino-Rasp.../dp/B01FZ2RJN8

It seems to have disappeared from stock everywhere. I've seen it on aliexpress if I order a 1000 or so, but that's not realistic....

I have one encased in this acrylic case: https://www.adafruit.com/product/2033

It's ok for the office but doesn't look as nice in the living.

Anyone know of any other elegant cases for the 7" lcd?

Thanks,

g.

AUDIOPHONICS RASPDAC MINI Kit

$
0
0
Hi, any one managed to get the remote control and OLED screen working with Picoreplayer/LMS? Thanks

pi4 with 8Gb RAM now available

$
0
0
On 5/28/20 5:54 AM, paul- wrote:

> Sure is getting to be an interesting product.  But a $75 price tag
> is getting a bit steep.


I absolutely get your point. At the same time, I remember that around
1991 I packed my 386SX/16 with a whopping 8 *megs* of RAM and it cost
me close to $1000 just for the memory upgrade! The computer itself was
probably around that much money as well, though I no longer remember.

To get 1000 times the RAM *and* the entire computer for $75 is
mind-blowing.

Logitech Media Server Not Showing on Network

$
0
0
Hello,

I have installed Logitech Media Server on my NAS running OpenMediaVault (Debian 9). I installed it from the command line with apt-get, the installation was successful and the service is running. I can confirm this:

Code:


user@mynas:/$ sudo service logitechmediaserver status
[sudo] password for user:
● logitechmediaserver.service - LSB: Startup script for the Logitech Media Serve
  Loaded: loaded (/etc/init.d/logitechmediaserver; generated; vendor preset: en
  Active: active (exited) since Mon 2020-05-14 10:57:23 BST; 2 weeks 0 days ago
    Docs: man:systemd-sysv-generator(8)
  Process: 676 ExecStart=/etc/init.d/logitechmediaserver start (code=exited, sta
    Tasks: 0 (limit: 4915)
  CGroup: /system.slice/logitechmediaserver.service

As I understand it, I should be able to access LMS through my browser using port 9000 but I cannot connect this way. I have checked the open ports on my NAS using nmap and port 9000 is not showing as an open port:

Code:


user@mypc ~ $ nmap 192.168.0.10

Starting Nmap 7.01 ( https://nmap.org ) at 2020-05-28 11:34 BST
Nmap scan report for 192.168.0.10
Host is up (0.00039s latency).
Not shown: 995 closed ports
PORT    STATE SERVICE
21/tcp  open  ftp
22/tcp  open  ssh
80/tcp  open  http
111/tcp  open  rpcbind
2049/tcp open  nfs

Nmap done: 1 IP address (1 host up) scanned in 0.04 seconds

Any ideas on what I need to do please?

Case for piCorePlayer on Raspberry Pi 4 with official 7" touch screen?

$
0
0
Hello,

For those of you running piCorePlayer on Raspberry Pi 4 with official 7" touch screen, what case do you use?

Thanks!

PCP: Parametric EQ using ladspa_dsp

$
0
0
Hi all,

I'm running PCP for some self-build speakers which sound better with a custom parametric equalization, http://www.uibel.net/bauvor/bv_box/o...chreibung.html
But I have started tweaking the sound of all my 4 PCP based players with this approach.
For the parametric eq I'm using ladspa_dsp, https://github.com/bmc0/dsp for which I managed to build a tcz package and hack asound.conf to include my settings.
Currently this is quite raw, as you will need to edit /etc/asound.conf and the dsp config files. Now that I understand how all this works, I don't mind editing these config files directly. And as these files change only when I measure and calibrate new speakers, I usually do this only once per player.

I'm posting this to help others who want more than the 10 band EQ included in PCP. I build a ladspa_dsp.tcz that runs on PCP 6.0. I'm not sure how this should be distributed, currently I have just attached it to this post... Ideally I would like to add it to the PCP repository somehow.

A step by step guide for setting up parametric EQ:

1. copy ladspa_dsp.tcz and ladspa_dsp.tcz.dep to /mnt/mmcblk0p2/tce/optional/
Optional: If you like to use the dsp command line tool to quickly test settings, you need to install pcp-libffmpeg using tce-load -wi pcp-libffmpeg

2. add ladspa_dsp.tcz to /mnt/mmcblk0p2/tce/onboot.lst
echo ladspa_dsp.tcz >> /mnt/mmcblk0p2/tce/onboot.lst


3. backup ladspa_dsp config: Add "etc/ladspa_dsp" to edit /opt/.filetool.ls>>
echo etc/ladspa_dsp >> /opt/.filetool.lst


4. configure /etc/asound.conf by adding:

#--- ladspa_dsp below ---
pcm.dsp {
type plug
slave {
format FLOAT
rate unchanged
channels unchanged
pcm {
type ladspa
path "/usr/local/lib/ladspa"
playback_plugins [{
label "ladspa_dsp"
}]
slave.pcm {
type plug
slave {
pcm "sound_device"
rate unchanged
channels unchanged
}
}
}
}
}


5. create dsp config files
sudo mkdir /etc/ladspa_dsp
sudo chown tc /etc/ladspa_dsp

# dsp config file, see https://github.com/bmc0/dsp
echo "effects_chain=noise -200 @cms50-v3-37Hz.txt" > /etc/ladspa_dsp/config

# effects file containing the parametric eq settings
# this example for the Focal CMS 50 monitors trades volume against bass.
# now the bass starts at 37 Hz instead of 48 Hz. It additionally removes a minor
# non-linearity in the high frequency.
# You can generate eq parameters by measuring speakers with REW and tweaking suitable settings.
echo "gain -9.0 highpass 38.0 6.30 eq 38.0 1.948 -7.2 eq 64.0 2.000 -1.6 eq 4194 5.000 -2.7 eq 7447 5.000 -2.8" > cms50-v3-37Hz.txt

6. Disable built-in audio (if you use a sound card, which you probably do). I'd like to simplify things by just having the real audio device available.

7. configure squeezelite to use the dsp output (Squeezelite Settings -> Output Setting).

8. Optional: Configure mixer, my Justboom DAC has a hardware volume control. On the squeezelite tab set "Alsa volume control" = Digital and add "Various options" = -O hw:CARD=sndrpijustboomd,DEV=0



How to build the package:


Log into pcp

# create and cd into directory for compilation
cd /mnt/mnt/mmcblk0p2/source

# get needed software
tce-load -wi compiletc
tce-load -wi git
tce-load -wi squashfs-tools
tce-load -wi libasound-dev
tce-load -wi pcp-libffmpeg-dev
tce-load -wi gmp-dev

# get source
git clone https://github.com/bmc0/dsp.git
cd dsp
# get ladspa.h header, its not packaged.
sudo wget -O /usr/include/ladspa.h https://www.ladspa.org/ladspa_sdk/ladspa.h.txt

# configure and build
./configure --prefix=/usr/local
mkdir install
make
make install_dsp install_ladspa_dsp DESTDIR=install

# create tcz package
mksquashfs install ladspa_dsp.tcz
echo "libasound.tcz pcp-libffmpeg.tcz" > ladspa_dsp.tcz.dep
Attached Files

Thank You for helping me

$
0
0
To paul and Paul Webster -- thanks for helping me over a few humps.

I have a pCP Server and a player - "BerryBoom" (with a HiFi Hat).

Everything seems to be working fine and I really appreciate your help.

phil

piCorePlayer/Jivelite - increased onscreen button highlight contrast

$
0
0
Is it possible to increase the on-screen button highlight contrast?

I find on my 7in screen I can barely distinguish the highlit buttons from the unhighlit ones.

Is there a web-interface setting (that I haven't found yet) or a CLI command or config.txt setting I can use to improve the visibility of the highlit buttons?

It is difficult to see which button is highlit and navigate around the screen, at present.

Thanks in advance of any help or suggestions!

pCP/Jivelite: original SB remote has no OK or Select?

$
0
0
I am using a real Slim SqBox infra-red remote, but when trying to select some options, the remote has (bizarrely) no OK -or select- button in the centre of the up/down/left/right arrow keys.

The “play” or “right arrow” buttons work for some, but not all, operations. An attached USB keyboard or mouse work, using Enter or Space or left-click to select. However, without them, some major functions (like Settings) are impossible with just the SB remote.

How can I nominate/re-program another button on the SB ir remote as OK/select? (rather like “size” has been usefully re-purposed as “stop”?)

Bridging over wireless / enabling wireless on an ethernet only device

$
0
0
FYI, I've been playing with ethernet bridging behind a wifi client with vxlan. With a relatively recent kernel you can make that work using vxlan and nothing else.
The repo here has files for raspbian, but nothing is raspbian/pi specific, really: https://github.com/epoch1970/a-bridge-too-far

I tested audio sync between a few SBs segregrated behind wireless clients, including one SB3, and it works fine as long as wifi signal strength is correct.
Also the LMS server needs its own network interface MTU set to 1450 or an SB3 will not work. (Post)

I don't think using wifi as a backhaul link is a good idea, but if that's the only practical possibility or if you want to put over wifi a player that is ethernet only, this is a practical solution that won't break the bank.

HTH

piCorePlayer 6 - configuring NTP server ?

$
0
0
I am experimenting with piCorePlayer on a raspberry Pi3B. Date wise it would appear that I am stuck in the 1970's !

Is it possible to configure a local (internal) NTP server from within piCorePlayer such that on an (infrequent) reboot it will automatically update?

Cheers

Software versions thus

piCorePlayer 6.0.0 (build 0008)
piCore Version 10.3pCP
Squeezelite 1.9.6-1206-pCP

PiCore On- and Off Button

$
0
0
Hi folks, just a simple question. I already looked through a lot of threads but can’t find an answer.

I want to add a simple push-button with the following function.

1. No power, piCore down —> connect power —> piCore boots
2. power connected, piCore up —> press push button once —> piCore shutdown
3. power connected, piCore down —> press push button again —> piCore boots up

So if I press the button the piCore should shutdown and if I press it again it will boot.

How can I solve this with piCorePlayer 6.0? Didn’t find an answer until now

Best

Correctly handle USB Speakers with piCorePlayer (6.0.0)?

$
0
0
Hello!

I have a piCorePlayer 6 installation with LMS and to use it also as a headless player I attached USB Harmon Kardon Soundsticks to it.
To get good results for volume I had to use alsamixer:
Name:  Bildschirmfoto 2020-06-04 um 17.06.26.png
Views: 62
Size:  36.8 KB

I saved it using the website:
Name:  Bildschirmfoto 2020-06-04 um 17.10.17.png
Views: 58
Size:  44.6 KB

If I am not using alsamixer the music is nearly off at 50% volume setting, it is at normal hearing volume when I use 85% volume setting. At 100% is is a little bit louder. This is a very strange setting, so I used alsamixer to use the whole volume control and not only a part of it.

Because I not always use the Soundsticks, I am switching them off. But after switching them back on the values for alsamixer are switched to this:
Name:  Bildschirmfoto 2020-06-04 um 17.13.09.png
Views: 58
Size:  34.8 KB

If I am doing a restart of squeezelite then, nothing changes. The value for alsamixer is not restored.
Also if I am doing a reboot of the whole Pi nothing is restored.

What do I have to do to get the alsamixer value back after switching on the speakers and after a reboot?

This are the values I used on the squeezelite page:
Audio output device settings: USB audio
Output settings: hw:CARD=SoundSticks,DEV=0
These are the possible values there:
Name:  Bildschirmfoto 2020-06-04 um 17.21.02.png
Views: 58
Size:  28.1 KB

ALSA setting: 80-4--1-

What do I have to do to handle this correctly? What I am doing wrong?
Attached Images
    

PiCorePlayer/Server & Pandora Won't Work

$
0
0
I've had the pCP player/server for a short while and added a pCp player only with a hifi hat. This player CAN NOT access Pandora, getting the dreaded, "You must be a subsciber.....". All of the Logi/Slim players CAN access Pandora using the new server, the pCp server. pCp is v6.0.0; Slacker and TuneIn work fine with the player.

I may have missed something along the line, as I can't seem to find anything about this problem on the forum or on line, except info that implies that Pandor should work with pCP.

Would appreciate any help or guidance on this.

thanks, Phil

piCoreGamePlayer PoC

$
0
0
Hello together,

the last some days I started a PoC for an idea I had since I setup my first piCorePlayer. I like to play some retro games on the same nice box

To document what I did I setup a GitHub project[1] and put all information there.

Now I would need some feedback about the idea to play retro games in piCorePlayer installation and maybe also some hints about the current architectural design before I continue to work.

regards
Andreas

LMS very unresponsive after upgrade from 7.9.1 to 7.9.2

$
0
0
Been running a rock stable setup on Debian for more than 12 years now.
I almost never "fiddle" with it, so I'm more than a little rusty with my own system. That's the price you pay when it just works. :-)

But the other day I got tired of it bugging me with a message about an upgrade being available.
So I upgraded from 7.9.1 to 7.9.2. (dpkg -i logitechmediaserver_7.9.2_all.deb).
I'm running it on 4.9.0-12-686-pae (perl is v5.24.1).

After the upgrade it became almost completely unresponsive.
I cannot access it from a browser or any of the players.

Top shows:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
424 squeeze+ 20 0 186788 178296 12868 R 100,0 4,3 1300:10 squeezebox+

I have these processes:
squeeze+ 405 0.0 0.0 5508 3228 ? S jun09 0:00 /bin/bash /usr/sbin/squeezeboxserver_safe /usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir /var/log/squeezeboxserver/ --cachedir /var/lib/squeezeboxserver/cache --charset=utf8
squeeze+ 424 63.9 4.3 186788 178296 ? R jun09 1300:59 /usr/bin/perl /usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir /var/log/squeezeboxserver/ --cachedir /var/lib/squeezeboxserver/cache --charset=utf8
squeeze+ 556 0.1 0.0 163280 3696 ? Sl jun09 2:05 /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/CastBridge/Bin/squeeze2cast-x86-static -Z -I -b 192.168.86.221 -x /var/lib/squeezeboxserver/prefs/castbridge.xml

It stays this way for around 9 hours.... And then it suddenly comes alive again and I can access it via a browser and the different players.

I then rebooted my box, and LMS goes crazy again for the next 9 hours!?:

2020-06-09 10:42:03 squeezeboxserver_safe stopped.
2020-06-09 10:44:00 squeezeboxserver_safe started.
[20-06-09 10:44:05.7496] main::init (387) Starting Logitech Media Server (v7.9.3, 1591161343, Thu Jun 4 04:16:22 CEST 2020) perl 5.024001 - i686-linux-gnu-thread-multi-64int
[20-06-09 19:25:59.9784] Plugins::LazySearch2::Plugin::scanDoneCallback (2332) Lazifying database items not already done
[20-06-09 19:26:00.8171] Plugins::LazySearch2::Plugin::lazifyDatabase (2389) No database items require lazification
[20-06-09 19:26:01.4761] Slim::Networking::SqueezeNetwork::_error (500) Unable to login to SN: Ugyldigt brugernavn eller adgangskode til mysqueezebox.com.
[20-06-09 19:26:01.4770] Slim::Networking::SqueezeNetwork::_init_error (180) Unable to login to mysqueezebox.com, sync is disabled: Ugyldigt brugernavn eller adgangskode til mysqueezebox.com. (https://www.mysqueezebox.com)
[20-06-09 19:26:01.4782] Slim::Networking::SqueezeNetwork::_init_error (196) mysqueezebox.com sync init failed: Ugyldigt brugernavn eller adgangskode til mysqueezebox.com., will retry in 185100 (https://www.mysqueezebox.com)
[20-06-09 19:26:29.5620] Slim::Networking::Async::connect (114) Failed to connect to ayera.dl.sourceforge.net:443, because
Net::HTTP: connect: Connection refused
[20-06-09 19:26:29.5630] Slim::Utils::PluginDownloader::_downloadError (260) unable to download CastBridge from http://downloads.sourceforge.net/pro...dge-1.40.3.zip - Connect timed out: Connection refused


This morning i added a new album and then started a scan:
[20-06-10 07:41:30.5650] Plugins::TrackStat::Storage::refreshTracks (1242) TrackStat: Synchronizing TrackStat data, please wait...
[20-06-10 16:25:56.3386] Plugins::TrackStat::Storage::refreshTracks (1891) TrackStat: Synchronizing TrackStat data finished
[20-06-10 16:25:56.3406] Plugins::LazySearch2::Plugin::scanDoneCallback (2332) Lazifying database items not already done
[20-06-10 16:26:02.4100] Plugins::TrackStat::Storage::refreshTracks (1242) TrackStat: Synchronizing TrackStat data, please wait...

It's been unresponsive since and top show 100% cpu usage by squeezeboxserver.

Yesterday I upgraded to the latest nightly in the hope that it would help. It didn't.

I haven't changed any settings at all.
I have just upgraded the server-package.

I have no idea what the server is working so hard on? :-)

Any kind of help will be much appreciated.
Regards.

upgrading raspberry pi from v3 to v4

$
0
0
Hi,

I'll get my rb pi 4 4gb in a few days and wonder what files I should transfer to the new pi when setting up LMS? I guess I can't just plug in the old memorycard and it will work?

piCorePlayer own menus

$
0
0
Hello,

I´m using piCorePlayer since version 4. Yesterday I installed version 6. All the time time I used the custom browse plugin from Erland Isaksson. Now it cannot installed anymore, because it is not available.

As the "custom browse" plugin did not show the perfect menu structure (not everything possible) for me I would like to create my own menues.

Does anyone know where it is documented or how I can create my own structure.

Thank you

PiCoreplayer USB finicky

$
0
0
I decided to try the Picoreplayer 6 with the USB out. The DAC is in a Bel Canto C5i. LMS runs on a Linux PC and has been very stable for many years.

It took a little work on the settings to get it running, but it does sound good. I have a SB Radio and two RPis with HiFiBerry hats. One of the RPI with a digital out had been used with the Bel Canto without problems.

The issue is the PCP doesn't stay consistently available. The next day, the PCP will be missing from the LMS list of players even though one can still access the PCP on its web page at the RPi's IP address. To fix this, I have to restart the RPi. Just restarting Squeezelite doesn't do it.

The Bel Canto C5i remains on and power to the PCP and other equipment also remains on all the time.

Any suggestions as to why the PCP "disappears" and has to be restarted before I can start playing music? I'd like to switch from the RPi/Hifiberry player to the PCP but its inability to reliably start up after sitting for a while makes an issue for this plan.
Viewing all 1521 articles
Browse latest View live