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

lack of IO::Socket::SSL

$
0
0
> I'm running LMS 7.9.2 on a Raspberry Pi3 (pCP 5.0.1). This evening I'm
> seeing an error when using Spotty:
>
> "Spotty requires the Perl module IO::Socket::SSL. You can NOT use Spotty
> without this module. Please use your operating system's package manager
> to install it."


Go to pCP's Main Page -> Extensions, then make sure you installed
perl_io_socket_ssl.tcz and all the perl_crypt_* modules.

EDIT: oh... never mind. I didn't see your edit :-)

--

Michael

Picoreplayer on Pi Zero performance

$
0
0
I've just installed picoreplayer on a pi zero w to work with my original squeezebox. I just threw a few albums onto an old 8gb usb stick to test it out and it connects up fine. I'd forgotten just how lovely the Squeezebox is actually!

I have a couple of questions though.

The performance is a little slow when accessing a new album, but there after the album is selected quite quickly. Does this indicate that a newer, bigger usb stick would be faster? Or is the relative performance of the Zero itself more likely to be to blame?

On that performance note, would a full fat pi like a 3 or 4 be a better way to go with using picoreplayer and avoid stutter? Perhaps paired with a SSD?

Lastly, I've looked up Spotify support, yet I'm not sure if it's still supported now? I don't have a paid Spotify sub so I'd just like to access their free service, with audio ads. Is this possible?

Any advice greatly appreciated.

LMS on Buster Lite

$
0
0
Evening All

I’ve been running my LMS server on a Pi4 using piCorePlayer for many months now and it’s absolutely brilliant.

However, I was recently intrigued by mention of Pi-hole on another thread and realised that I wanted to give it a try. This I did using a spare Pi3 and all is good. And then I wondered about combining LMS and Pi-hole on the same Pi. I read that this can’t be done using PiCorePlayer so I set about installing Buster Lite on a spare SD card. Many hours later and I have a working LMS installation and Pi-hole on the same machine but I must say that it was quite challenging as my Linux command line skills aren’t great.

What I miss however, is the fantastic control piCorePlayer gives over the LMS installation. Even basic things like starting and stopping LMS require me to use Putty, I have a few questions…

1. Using Putty to start and stop LMS I am using “Sudo service logitechmediaserver start” and “Sudo service logitechmediaserver stop” Is this correct?

2. Do I need to use these commands every time I close down the Pi? To shutdown I am using “Sudo halt”. Is this a violent way to shutdown which might potentially corrupt my LMS installation?

3. With piCorePlayer I am using the 64bit version but I wasn’t sure how to do that using Buster Lite. Not sure it really matters a great deal anyway?

4. I’m not clear on how to update the LMS installation, it’s currently running 7.9.3 which is fine for now.

5. What is the best way to clone a 32gb SD card?

6. Are there any other basic commands I should know about to keep things ticking along? Google has been very helpful with all of the various stages so I can keep plugging along.

Having said all of this I may just leave it as it is and continue running piCorePlayer and Pi-hole on two separate RPIs but that does seem a bit daft when the Pi4 is generally under utilised.

Any advice would be gratefully received.

Many thanks
Ashley

Yamaha musiccast

$
0
0
Hi
im using the Yamaha musiccast system and was wondering if it is possible to add a picore player.

I have 2 musiccast 20 speakers and would like to have music in the bathroom. Since my bathroom is small it isn't worth to invest the money for another musiccast 20. But i have a raspberry pi lying around I thought I could maybe add it to the system?

Is this even possible?
Thanks
Thomas

Wandboard Muffled S/PDIF Audio

$
0
0
This is a really odd one: A friend of mine is using a Wandboard Quad as his server and player, feeding his receiver via the Wandboard's built-in optical S/PDIF output.

It plays DTS material just fine, which would seem to suggest that the output is, as expected, bit-perfect.

But...standard PCM material has a very obvious muffling/rolloff of the highs. I don't mean some kind of we-had-to-strain-to-hear-the-difference self-proclaimed audiophile nonsense, but in fact a very obvious and non-subtle rolloff. We tried multiple tests to make sure we weren't nuts including syncing two players (the other a Pi via HDMI) and switching back and forth. The difference was blatant.

Thinking there may have been some odd setting going on in his receiver, we played a CD on a standard CD player and, via the Wandboard, a rip of the same CD with no alteration (i.e., ReplayGain turned off). We moved the same optical cable back and forth between the Wandboard and the CD player and again the difference was quite obvious.

How is this even *possible*? I can understand how maybe the optical output of the Wandboard could go bad, though in that case I'd expect the incredibly delicate DTS stream to just produce noise. Certainly neither LMS nor Squeezelite would even know the difference between PCM and DTS, so they wouldn't be doing something different with the output depending on what was getting played.

I've got multiple Wandboards myself and have never experienced anything like this. When he told me about it over the phone I smugly thought either he was crazy or his receiver was doing something, but after the CD player test I'm convinced that there really is a problem...I just can't figure out what it could possibly be!

Any ideas?

PiCorePlayer 5.0.1 and ATXRaspi

$
0
0
Hi Community,
I worked on a Projekt last month, building my own network streamer. It was very important to me to shut the Rasp down softly so I bought the ATXRaspi, a separate power control and management card. This card allows me to execute a shutdown script after pressing power button. I tried it the way described in this thread without success (/showthread.php?108852-Announce-piCorePlayer-3-5-0/page40).
Can somebody give me some advice?
Best Fabwins

PiCorePlayer DAC/amp basics question

$
0
0
Hi all - got a question that arose from a basic setup of PiCorePlayer.

My receiver is a basic 5.1 receiver that only has RCA inputs/outputs. My soundbar is a Yamaha one with coax audio and TOSlink inputs. I'm running a basic Analog-Digital Converter from my receiver's output to the soundbar. The soundbar controls the volume.

I've configured a Pi 3 with PiCorePlayer. It works fine and outputs audio over the headphone jack. Right now, it's outputting to RCA via a 3.5mm male to RCA male splitter. The volume is really low, even if I pump the soundbar volume to max. For whatever reason, the volume, bass, and treble controls on the receiver don't work - welcome to the wonderful world of thrift store audio.

If I get a HiFiBerry DAC+, will I also need an amp to boost the volume coming out of the RCA plugs on the HiFiBerry? If so, what's the lowest possible cost option that will do okay? I'm no audiophile, I just want a Sonos-like setup in my living room.

Picore and HifiBerry DAC+

$
0
0
Hi
I'm new with Linux and Alsa.
When I use a PI3b and Picore and I use an amplifier all works (with a little bit noise in the distance but that's normal).
So this is all working fine.

When I use the PI with the HifiBerry DAC+ (with RCA) I hear nothing.
On the monitor of the PI I see: Waiting for soundcard sndrpihifiberry to populate …..failed to find sndrpihifiberry (42).

In LMS on my NAS I see Picore but playing a song: it remains silent.

In Picore by Squeezelite: when I fill in hw:CARD=sndrpihifiberry Squeezelight will not run.
When I use hw:CARD=ALSA Squeezelight will run, but ...I hear nothing.

What is going wrong? Hope someone can help me.

Peter2

Alpine Linux on Dell M300

$
0
0
I first saw the Dell / Kace M300 appliance mentioned in this thread and thought it was a cool little device at a great price on ebay ($14 shipped!). They are older armel based SBC's inside, circa 2011 but they do have 1Gbps ethernet and a SATA port.

Alpine doesn't have an armel port but they do have the scripts and framework built into their aports system for porting Alpine to different architectures, so I've been messing around with that on and off for the last couple of months. I now have a working base load and enough extra packages built that I was able to run squeezelite on it last night. Next up is LMS. I already have Perl built, it only took about 4 hours to compile natively on the M300. (!)

Picked up an Apple USB-C DAC dongle for $8 on Amazon (because of this write-up and comments, and the price) and used that for the squeezelite testing, connected with a USB-C to USB-A adapter. Working and sounds pretty good though I can hear occasional pops and clicks which has me a little concerned. I don't hear them when using the dongle in my laptop.

You can fit a 2.5" drive straight into the onboard sata connector but I elected to buy an extension cable and configured a two m.2 ssd software raid 1.

It's been fun and a little bit challenging. I'll let you know when I've got LMS up and running.
Attached Images
 

HifiBerry Digi+ Pro not working on Picoreplayer

$
0
0
Edit: I'm a dumbass, the HifiBerry HAT wasn't pushed down hard enough. Disregard.

I've got PCP 5.0.0 running normally and got a HifiBerry Digi+ Pro (yay overnight shipping). I installed it on the Pi, connected a TOSlink cable to it and my soundbar, and powered on the Pi. I set the output device to HifiBerry Digi+ Pro, saved, and rebooted when prompted. At boot, it gets to "waiting for soundcard sndrphifiberry to populate," waits a few seconds, and ends up displaying "failed to find sndrphifiberry (42)."

In the web console, Squeezelite is not running. If I restart Squeezelite, it stops, attempts to starts, then displays ERROR: Squeezelite not running. If I reboot PiCorePlayer, it reboots and the errors/issues persist.

If I switch the output back to analog audio, save, and restart, it loads fine and outputs analog audio without incident.

Anyone know what I might not be doing correctly here?

RPi and Spotify momentarily stopping (3.22)

$
0
0
Having helped a few people with LMS and RPi with piCorePlayer, my BIL is the only one having issues.

He is 200 miles away and helping him over TeamViewer is not ideal. I am visiting this weekend, and would like to sort it out.

System
RPi 3b, running away LMS only, with local USB HDD for music. Picoreplayer v 3.22, Linux 4.9.50 pcpCore v7, piCore v 8.01,
Logitech Touch
iPad with IPeng

Issue
Spotify (only) is skipping. iPeng momentarily loses the song too, and the album art disappears, and Song Title. Then comes back.

https://www.dropbox.com/s/5n59eamutz...%2012.mp4?dl=0

I’m not very good at interrogating logs...

Actions
I tried dropping Spotify from 320 to next lower setting, and no difference.
I tried updating LMS and piCore version and got an error “downloading insitu.cfg”.

Shall I just plan to update to v5 or v6 beta PiCore player - where I am not getting this type of issue? And if so, which one? I guess there is no upgrade path other than full wipe of SD card and start again. Name:  36E850C0-100D-4C08-A5A8-89CF190065ED.jpg
Views: 84
Size:  162.9 KB

Any advice appreciated.
Attached Images
 

pCP - missing sqlite-bin.tcz

$
0
0
Paul,

in the past I've been using sqlite on pCP. I see that there is a sqlite
extension available - which I have installed. But it seems sqlite-bin is
missing. Therefore I can't use it interactively. Is this anything you
can fix, or something missing from upstream?

--

Michael

iPhone and piCore

$
0
0
Hi
I'm discovering piCore and till now it's very good.
I'm looking for a music player on my iPhone to play music via piCore or my NAS.
Does someone know if this exists and if 'Yes': what is/are good player(s)?
Thanks and greetings
Peter

pCP6 - can I bridge a USB GSM dongle to the wifi AP?

$
0
0
I'm installing pCP6 with a Jivelite touchscreen in my camper. I will run it in AP mode so that I can use wireless players and control it from my phone. But for various reasons I'd like it to also connect to the internet:
- so that when my phone is connected to it I can still reach the outside world
- so that I can use Spotty
- potentially so that I can put a GSM antenna on a mast and get better reception through the AP than I would on my phone (camping places always seem to have lousy reception!).

So I'm looking for advice on whether it's possible under pCP to bridge a USB GSM/3G/4G dongle to the wifi AP, such that a phone connected to the AP will be able to use the GSM internet? I can see that the AP mode settings in pCP6 allow me to bridge the AP to eth0 - can I do that manually with whatever device the GSM modem shows up as? Will extra packages be needed?

Is there a better approach? I think a standalone mobile hotspot (such as this one) is an alternative. The RPi wouldn't have to be in AP mode then - everything would connect to the hotspot - but the drawback is that nothing would work without that hotspot.

Pimoroni Hyperpixel4 - pCP integration

$
0
0
The hyperpixel-4 is a nice little display with good response and capacitive touch. It does have some pros/cons that I'll list.

Pros:
  • No wiring, all connections are made through the 40pin RPI header
  • Fast Display, with Goodix based capacitive touch.
  • All drivers are currently included in pCP
  • This is an 800x480 display, so all of the jivelite skins that work with the RPi 7" display work great.


Cons:
  • This literally uses most of the GPIO header for the graphic connection. The connection is direct to the rpi GPU. It runs the GPIO in dpi mode. The only Free GPIO are 18 and 26
  • This means you cannot use a i2S Hat board for sound, but Rpi Onboard sound or USB based sound works just fine.


I have forked pimoroni's github Here. Which I will be updating the sources to work properly with pCP and the libts that we use for jivelite.

Installation will involve
  • Commands added to the boot config.txt
  • Adding a custom dtoverlay for the display
  • Using a custom init program - based on the python script they supply. (I didn't want full python to be a dependancy)
  • Using ts-calibrate to calibrate the touchscreen
  • Using a custom jivelite startup script. Similar to what is done for the waveshare devices.
  • Using the new lcd-brightness.sh script interface for pwm based backlight control from within jivelite.



Well that's all the time I have for now, I'll be updating this post with Actual details when I get more time.

ANNOUNCE: piCorePlayer 6.0.0

$
0
0
After nearly 8 months in beta, the pCP team is happy to announce the official release of piCorePlayer 6.0.0

Significant changes

pCP 6.0.0
  • Kernel 4.19.105
  • RPi Firmware Feb 20, 2020
  • Includes support for RPi4B boards, including new v1.2 boards.
  • RPi4B Support runs a 64 bit kernel for full 4GB memory support.
  • Support for HifiBerry Dac+ ADC Pro
  • Support for HifiBerry Dac+HD
  • Support for IQaudIO Codec+
  • Support for LED control on Hifiberry DAC+ based boards.
  • Added driver for Google voiceBonnet v2 (sound driver only)
  • Support for rtl8188fu (Sometimes marketed as 8188eus)
  • Latest Allo USBridgeSig Support.


Interface Changes:
  • New pCP web interface themes(Light/Dark)
  • Added mirror repository support (Sourceforge)
  • Many changes to the Bluetooth support (Update bluetooth extension if doing insitu_updates)
  • Alsaequal now supports Bluetooth devices. Settings can be changed only when device is connected, but settings are retained.
  • Web pages are now in an extension (No longer in /home/tc/www) For faster boots,backups and easier www updates. NOTE: pcp_startup.sh is now in /usr/local/etc/init.d/


Notes

  • Adding a file named "netusb" to the boot partition will automatically load/configure net-usb kernel modules.
  • Adding wpa_supplicant.conf to the boot partition will automatically enable wifi.


Recommended Upgrade path.
  • Download new image and configure from scratch.
  • Insitu_update is availiable, and handles most installations. However, downgrading versions will not be possible.


Downloads Can be found: https://www.picoreplayer.org/main_downloads.shtml

ANNOUNCE: LMS Monitor 2020

$
0
0
With PiCore 6.0 being released I assume this post won't get too many eyeballs, no worries. :D

I've been a long time user of LMS Monitor even going to the expense of making enclosures incorporating custom CNC'd mounts for the OLED displays.

I'd modified the code some time ago but lost all my changes with a PC crash that fried my source drive.

Having built out several utilities to get my RGB display up and running I decided to revisit the monitor code.

The repo hasn't been updated in several years so I hope kabavol doesn't mind my hijack.

Many updates have been implemented, these are outlined in a little more detail in the repo itself

TL;DR - here are the highlights:

  • Scrolling text for long labels
  • "Retro" clock when not playing
  • VU Meters
  • Spectrum Analyzer
  • Visualizer data via shared memory or VisionOn server event




I've several more updates in the works.

If anyone is interested I'll upload pre-compiled binaries to the repo supporting Pi 3, 4 and zero

ANNOUNCE: LMS Monitor 2020

$
0
0
Likely with pCP 6.00 being released today this post won't get too many eyeballs; oh well :D

And, apologies if I've double posted - mods delete this post if I have

I've been a long time user of LMSMonitor, even going as far as to build enclosures with custom mill work to incorporate an OLED with LMSMonitor completing the setup.

I hope kabavol doesn't mind my retooling the solution given the repo has not had updates in several years now.

See the repo for details.

TL;DR - highlights are:
  • Built for pi4 and earlier models
  • Scrolling text for long labels
  • A "retro" clock when not playing
  • Stereo VU Meters visualizer
  • Spectrum Analysis visualizer


The visualizer uses shared memory if the monitor is installed on the same pi as pCP, if not it will use the VisionOn server event solution that is used by my RGB solution.

Here's a display dump showing the main features. The dump solution makes this look a little blocks but on the pi4 a healthy 17 FPS makes the scrolling action buttery smooth, and the visualization modes very kinetic



If folks are interested and don't wish to compile themselves, I'll submit build for pi3, pi4 an pi zero to the repo

USB Audio - Avantree Leaf in picoreplayer

$
0
0
I have an Avantree Leaf USB Audio Bluetooth adaptor I would like to use with PiCoreplayer. It behaves like an ordinary USB audio device and not a Bluetooth device. It pairs with my headphones but no sound. It work on Windows and Android by just plugging it in. I am using picoreplayer V6 on a PI 3.

dmesg gives the following:

[ 2.078199] usb 1-1.2: new full-speed USB device number 4 using dwc_otg
[ 2.224890] usb 1-1.2: New USB device found, idVendor=0a12, idProduct=1004, bcdDevice= 5.47
[ 2.224896] usb 1-1.2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 2.298550] hid-generic 0003:0A12:1004.0001: input,hiddev96,hidraw0: USB HID v1.11 Device [Avantree Leaf] on usb-3f980000.usb-1.2/input3

Could the space in the device name be causing a problem?

Picore and Alsa

$
0
0
Hi everybody
I use Picore and a Hifiberry DAC and it all works fine.
I don't know how ALSA works.
Is it possible to see the mixer on the monitor (webbrowser or Pi-monitor does not matter).
And if 'yes' how do I do this.
Thanks
Peter 2
Viewing all 1521 articles
Browse latest View live