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

Raspberry Pi PICOREPLAYER

$
0
0
> I come from volumio, I would like to know if I need a screen if or if
> for the raspberry pi and if this platform has to pay or something, it is
> compatible with tidal so I see something that interests me very much I
> would like to know if it is compatible with qobuzz too, ¿ Can this be
> handled on mobile?


No display required. There's a plugin for Qobuz, and mobile control is
possible using one of several mobile apps, or eg. the Material skin
(plugin).

--

Michael

PiCorePlayer as wireless bridge

$
0
0
Hi

I understand PiCorePlayer can work as a Wifi access point but I'd like to use it as a wireless bridge (like the old SB3 once did).

Specifically I'd like to connect the Pi to a PVR by ethernet cable so the PVR can update the EPG over the Pi's wifi.
If I can't do this, I can always get a USB wifi adapter to plug into the PVR, but I thought this might be a more interesting approach.


So, can I include user commands at the startup that would bridge the ethernet port to the wireless port?
But I presume I'd want to do this after the Wifi has been configured rather than before?

I did find that this https://sourceforge.net/projects/bridger/
But wouldn't know where to start....

Thanks

What's a good remote for pCP plus touchscreen plus Flirc?

$
0
0
Hi,
after years of squeezebox I finally built my first picoreplayer with touchscreen. I went with a Flirc v2 usb remote receiver with the idea to use the existing SB remotes.

Overall, it's fantastic, really really pleased.

The remote works but that lack of a Select button is a killing me.
It means the only usable skin is the Joggler skin because you can't use an SB remote to 'click' on a button. In fact I can't actually play a track from a list!

So I'm curious, what media remotes are out there that people use?
(I have none lying around so I need to go shopping)

The second limitation is the Flirc software and it's small list of profiles.

Sonos + piCorePlayer v6 + SMB1

$
0
0
Hi there,

I am new here, and am using piCorePlayer on a Raspberry Pi 2 since a few weeks. I added some USB-Drives, and can access LMS with some Raspi Zeros and iPeng on my phone.
Works great so far. Nice work, it's a great piece of software. Thanks for that!

I configured Samba with some shares, which are visible and accessible on my Mac. So far, so good.
However, I have an original Sonos, which seem to only support SMB1. If I try to add the share to my library in the Sonos-Software, it doesn't work.

My question: Do I need to activate SMB1, and HOW can I activate SMB1?

Thanks in advance!
Cheers
Jamirokwai

piCorePlayer - LMS is not running

$
0
0
I have piCorePlayer loaded on to pi3B+. The LMS is detected in the Squeezelite Settings - IP setting and LMS detects the player. However under the LMS tab, I get the message LMS is not running.

Can someone point me in the right direction?

Thanks for you help.

Allan

Buffer underrun in Squeezelite with LMS in Docker container

$
0
0
I've been experimenting with running LMS in the Doliana Docker container. Everything appears to be working, except for a problem with Squeezelite.

After playing a track for around 8 minutes (the exact time may be random or dependent on the LMS version, not sure), the audio cuts out and the progress in the LMS web interface hovers at the point at which the audio stopped playing. About 20 secs later, it resumes and plays normally until the end of the track.

Running SqueezeLite and LMS with debugging reveals that about 10 secs prior to the cutout, audio stops being decoded on the client, the output buffer runs down and then the client sends Slimproto STMo and is apparently told to pause by the server. At the end of the break in music, strm-q (stop) is received from the server and then playback is started afresh. There is no spike in network or disc activity in the server (a Pi4) and the heartbeat STMt and strm-t are transmitted and received as normal between the client and server while the buffer is running down and during the pause.

Curiously, this doesn't seem to occur when I use a natively installed LMS on a Pi3 with the same Squeezelite player or when the Dockerised LMS is driving a hardware player (a Squeezebox Controller).

This occurs on LMS 7.92 and 8.0 (latest nightlies as of about 8th May 2020) with Squeezelite 1.9.6-1210 ("win" and "ffmpeg" builds) on Win 10. It is common to at least flac and aac (in an m4a container) locally stored audio.


Can anybody help me diagnose this problem? I'm not sure whether it's likely to be a problem with the client or server or why Docker should make a difference (or why, if it is Docker and therefor a server issue, it wouldn't affect hardware playback). I've turned up debugging on the client and server, but may have missed something, particularly on the server side as I haven't known what logging categories I should be concentrating on and have masses of logging data coming out. A suggestion for the relevant logging categories might be a good start.

Thanks for any help.

PiCorePlayer & iTunes

$
0
0
I have ordered the parts and pieces to build my first Raspberry Pi 4 PiCorePlayer and LMS Server. My objective is to turn off my Win 10 PC from 24/7 LMS service.

Can I still use iTunes?

Since Win XP through Win 10 I have used iTunes in LMS to organize music and playlists. I use iTunes as a backup/backup for the ipads and phone and sometimes as a player. I buy music periodically for my library, using the Amazon Music app feature to “automatically add new music to iTunes” feature, sometimes adjust my several playlists and then rescan LMS. Works perfectly.

For my RCP Pi I would like to use a USB stick to hold the Music and Playlist library. I can’t seem to find any info on how to copy the appropriate iTunes files from my PC to the Pi USB drive to make this work.

Or, do I have to use the ‘export library’ and ‘export playlist’ feature of iTunes to periodically update my library on the USB drive by hand?

Thanks in advance for any advice or guidance.

phil

Thank you and help diagnosing stuttering

$
0
0
Hi there - first off I want to thank everyone for making piCoreplayer. My old chrome castaudio died and I replaced it with a raspberry pi running piCore and the outcome is so much better! I use stream airplay audio and spotify audio to it - and it works well. I really appreciate the work everyone has gone to making this product. So much went right for me - I was able to install two plugins (shairtunes2 and spotty) and both worked immediately.

I have a problem with stuttering - some times playback stops for a few seconds before continuing. I have been reading the forums and I've made some progress.

I am using a wifi only connection. The audio output is to the raspberry pi headphone jack.

1. I have installed iw and used the command iw dev wlan0 get power_save to verify that power save is off (and this setting is now fixed).

2. My iwconfig results are:

wlan0 IEEE 802.11 ESSID:"...."
Mode:Managed Frequency:5.18 GHz Access Point:
Bit Rate=195 Mb/s Tx-Power=31 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=41/70 Signal level=-69 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:20 Invalid misc:0 Missed beacon:0

Is this a fast enough connection?

3. If I ping the raspberry pi from another computer I get:
PING 192.168.1.27 (192.168.1.27): 56 data bytes
64 bytes from 192.168.1.27: icmp_seq=0 ttl=64 time=6.209 ms
64 bytes from 192.168.1.27: icmp_seq=1 ttl=64 time=14.335 ms
64 bytes from 192.168.1.27: icmp_seq=2 ttl=64 time=8.158 ms
64 bytes from 192.168.1.27: icmp_seq=3 ttl=64 time=14.111 ms
64 bytes from 192.168.1.27: icmp_seq=4 ttl=64 time=14.710 ms
64 bytes from 192.168.1.27: icmp_seq=5 ttl=64 time=11.235 ms
64 bytes from 192.168.1.27: icmp_seq=6 ttl=64 time=13.464 ms
64 bytes from 192.168.1.27: icmp_seq=7 ttl=64 time=13.987 ms
64 bytes from 192.168.1.27: icmp_seq=8 ttl=64 time=6.061 ms
64 bytes from 192.168.1.27: icmp_seq=9 ttl=64 time=11.959 ms
64 bytes from 192.168.1.27: icmp_seq=10 ttl=64 time=5.404 ms
64 bytes from 192.168.1.27: icmp_seq=11 ttl=64 time=11.764 ms
64 bytes from 192.168.1.27: icmp_seq=12 ttl=64 time=6.307 ms
64 bytes from 192.168.1.27: icmp_seq=13 ttl=64 time=11.527 ms
64 bytes from 192.168.1.27: icmp_seq=14 ttl=64 time=6.514 ms
64 bytes from 192.168.1.27: icmp_seq=15 ttl=64 time=11.941 ms
64 bytes from 192.168.1.27: icmp_seq=16 ttl=64 time=12.174 ms

4. The raspberry pi internal ping test gives:
PING 192.168.1.27 (192.168.1.27): 56 data bytes
64 bytes from 192.168.1.27: seq=0 ttl=64 time=0.129 ms
64 bytes from 192.168.1.27: seq=1 ttl=64 time=0.177 ms
64 bytes from 192.168.1.27: seq=2 ttl=64 time=0.176 ms
64 bytes from 192.168.1.27: seq=3 ttl=64 time=0.175 ms
64 bytes from 192.168.1.27: seq=4 ttl=64 time=0.175 ms
64 bytes from 192.168.1.27: seq=5 ttl=64 time=0.179 ms
64 bytes from 192.168.1.27: seq=6 ttl=64 time=0.203 ms
64 bytes from 192.168.1.27: seq=7 ttl=64 time=0.178 ms

Are there any other diagnostic settings I should look at?

Thanks again everyone.

piCorePlayer - VPN Client

$
0
0
I have seen a decent howto on setting up an OpenVPN client on piCorePlayer - https://forums.slimdevices.com/showt...yer-over-a-VPN - but has anyone successfully set up an L2TP VPN client on one?

I see that there are tinycore specific L2TP extensions but I can't find any documentation on how they can be used / configured?

PCP 6.0 - Can't play DSD

$
0
0
My apologies if this has been asked, but I tried to follow every guideline I found and I may be missing something.

My setup:

Raspberry 3 + justboom digi hat -> TOSLINK -> RME ADI-2 DAC

Settings:

Picoreplayer 6.0 with pcp-dsdplay extension.
Squeezeboxlite without any -D settings so it should DoP
LMS with DSDPlayer plugin.
-
Now the part that confuses me a little:
In squeezelite settings -D option it says: "Note: LMS requires the DoP patch applied." Is this the DSDPlayer plugin or where is this DoP patch I need to apply exactly? Is not not part of picoreplayer? If not, where I can get it? how to install it?


forgot to mention in LMS, the filetypes dsd and dsf are set to "native" and with their "flac" option they are set to dsdplay.

EDIT:
NEVERMIND, as I typed the latest , I realized I haven't tried to disable "Native" option for DSD formats in LMS File Types, I set it to disable and now it plays.

As I recall reading somewhere squeezelite does not support Native DSD so.. DoP seems to fit.

Optimal settings for Amanero USB

$
0
0
I use a RPi4 4gb and PCp6.00 and use USB to connect to a DAC w Amanero Combo 384 USB input.
When I use the USBAudio setting in the drop down menu it plays well, but the start of the song (1/10th of a second maybe) is cut off.
For example on New Orders - Blue Monday, the first drum beat is missing.

So what are the optimal settings for Amanero Combo 384 in PCp????

No audio - PiCorePlanyer

$
0
0
Need some help please!

Just 'built' a R pi -4 and installed pCP. My objective is to have it become my server, but I am checking it with pCP only, first, to see how it is as a player. I am using the 3.5mm jack and tried both a small portable speaker and my ear phones, but can get no sound.

I have no red flags on the on the terminal view of pCP or the pCP main page, have bumped up the vol, player is seen in current LMS server, LMS screen shows progress on the song playing, Squeezelite says Analog Audio.

I'm stumped. First experience with Pi, as is obvious!! Help!!
thanks,
phil

Picoreplayer can not recognize my External hdd ?

$
0
0
I see the external hard disk that I installed 10 minutes ago, but I can't see the hard disk right now, no place to choose? I messed up somewhere and I can't choose external hdd anymore . The disk is NTFS file system

Name:  Annotation 2020-05-16 165304.jpg
Views: 64
Size:  101.4 KB
Attached Images
 

PCP: -- Does Anybody Really Know What Time it is ? **

$
0
0
I have been setting up and learning stuff for a day or so, and didn't notice that the Time of Day on the Booms and Classic was 7 hours off. Neat, I say, it's Tea Time!

Unexpectedly, the Radios, Controllers and the Touches had the correct time.

I used the Tweaks page and deleted out the Time Zone info and rebooted PCP and all of the players have the correct time now. In setting up, learning, making mistakes, I had previously rebooted and even turned off and restarted a number of times, not noticing this.

Just in case anyone else runs into this problem with Time of Day.....

Thanks for all the guidance so far,

phil



** one of my favorites....

LMS Setup Network Disk Mount to NAS

$
0
0
Hi All,

A little puzzle that might be more to do with my ignorance than anything else. My background is mostly Wintel although I have wrestled with Linux, BSD, Solaris, etc. My topology is:-

NAS (Qnap TS-251)
Shares____Music (all music ;-) )
¦__ slimserver (to hold LMS data and cache)
¦__ {various others...}
¦
¦
¦
RPi3/pCP/LMS
¦
¦
¦
{several RPi3/pCP players}


So I set the following:-

Name:  Net mount settings 200519.JPG
Views: 10
Size:  46.4 KB

(FYI - to make this work I found the NAS by default only accepted SMB 1 to 2.1. To change it:-

NAS Control Panel
-Network & File Services
--Win/Mac/NFS
---Microsoft Networking
----Advanced Options button

Change "Highest SMB version:" to SMB3

Apply, Apply)

But what I get is this:-

Name:  Net mount console 200519.JPG
Views: 9
Size:  55.6 KB

And when I go to move the data and cache to the dedicated share:-

Name:  Cache and prefs settings 200519.JPG
Views: 9
Size:  45.3 KB

Your guidance would be appreciated.

P
Attached Images
   

Memory card for raspberry pi lms

$
0
0
Any recommendations on what memory card to use for lms on a pi?

At work we use pi for displaying information with rise vision. Here we use cheap industrial SD cards. But these seems to fail within a year. We also use pi for temperature surveillance of freezers and refrigerators. Here we use expensive industrial SD card.

So this make me wonder what card to use for lms at home

Sent from my BLA-L29 using Tapatalk

PiCore 6.0.0 - LMS Fails to Start after Plugin Install

$
0
0
Hi all,

I am running PiCore 6.0.0 on a Raspberry Pi 2B+ for my LMS server. This runs 7 zones perfectly and is very reliable.

Yesterday I added a plugin for HomeSeer HS3, upon restarting LMS, it failed to come back up. It fails with this message in the server log.

[20-05-20 08:27:33.0881] main::init (387) Starting Logitech Media Server (v7.9.2, 1578996832, Tue Jan 14 12:21:10 CET 2020) perl 5.028002 - arm-linux-gnueabihf-thread-multi-64int
[20-05-20 08:27:34.5886] Slim::Utils::Misc::msg (1255) Warning: [08:27:34.5868] DBIx::Class::ResultSet::update_or_create(): Query returned more than one row. SQL that returns multiple rows is DEPRECATED for ->find and ->single at /usr/local/slimserver/Slim/Schema.pm line 1871
[20-05-20 08:27:36.0949] Slim::Utils::Misc::msg (1255) Warning: [08:27:36.0937] private subdirectory /tmp/par-7463 is unsafe (please remove it and retry your operation) at /usr/local/slimserver/CPAN/PAR/SetupTemp.pm line 120.
[20-05-20 08:27:36.0962] PAR::SetupTemp::set_par_temp_env (52) Warning: unable to create cache directory at /usr/local/slimserver/CPAN/PAR/SetupTemp.pm line 52.

I think the plugin installer is failing due to PiCore's Read Only FS.

I am able to create and remove files and folders in location above, so it is writable.

I don't really want to lose all of the settings in LMS by using the remove cache and preferences from pCP.

Does anyone know how I can either undo the plugin install with only console access?

Many thanks,

Name:  20200430_125609.jpg
Views: 32
Size:  289.3 KBName:  20200430_125059.jpg
Views: 31
Size:  268.4 KB
Attached Images
  

Linux user squeezeboxserver password

$
0
0
Hello all,

On my Linux LMS installation I wish to move the playlists folder to a NAS. My NAS does not allow setting a share to be full access to all users so I need to know the password of the Linux user squeezeboxserver, that gets setup on install and is the owner of the current playlists folder; /var/lib/squeezeboxserver/Plugins. Does anyone know if this is the same password for all installations?

My thinking is I can then add this user to my NAS and so move the playlists folder.


Thanks in advance,
Paul.

From Vortexbox to Snake-oil

$
0
0
Hi all,

I just migrated from a Vortexbox to a Snake-oil server and thought that I would share my experiences. Seeing that they are both Linux based system this would be the best place.

A bit of background, I've been using a Squeezebox system for just over 10 years now. On my main system a Squeezebox 3 which was replaced by a Squeezebox Touch when these were released. For my bedroom / alarm clock I use a Squeezebox Radio. While getting used to the system I just used my iMac with some local storage. But as I wanted to run a server independently from my main computer I quickly buit a little M-ITX Atom330 based server with a 1,5 Tb hard drive. I used Vortexbox as OS to run this server.

Fast forward to now, after 6 years of nomadic life traveling the world I returned to my apartment in The Netherlands. I took my little server out of storage and it worked right away. However I wanted to try some of the new uncompressed streaming services and subscribed to the 120 day Tidal promotion (only 4 Euro!). Unfortunately the older version of LMS on my Vortexbox could not stream Tidal in flac, only mp3. That kind of defeated the purpose. And due to the old version of Vortexbox I could not upgrade LMS.
So i needed to upgrade Vortexbox by making a back-up of my music collection on an external drive, fully re-install a new version of Vortexbox, and restore the music collection. I had already been through this once on an earlier upgrade and thought that:
a) It was a bit of a hassle.
b) I didn't like the idea of working both disks hard at the same time when copying a lot data with my whole music collection between the two. Seems a unfortunate time if the disks die during this. This now more then ever with both my server disk and back-up disk being about 10 years old.

So I decided that I preferred to have my OS on a SSD disk (cheap as chips for a small one) and keep the existing Vortexbox drive with the music storage on there. This would also allow easier upgraded or changes of the OS without needing to touch the music strorage. After checking an good OS to run LMS (no need for a player) out I felt that:
> Vortexbox development, support, and community seemed less active than in the past. Also setting up a 2-disk install looked quite complicated.
> Daphile, but it seemed a rather closed system.
> The various raspberry Pi based solutions, but with an otherwise working Atom server I saw no need to change that, also understanding that the Atom330 is somewhat beefier regarding processing power.
> Snake-oil seemed to offer a good mix of active development, out-of-the-box functionality but tweakable, easily upgradable, and not too difficult to configure in a 2-disk setup.

So I have just migrated and all went pretty smoothly. Some of the hick-ups I encountered:

1) The Atom board I have in the server (Intel D945GCLF2) has issues with booting from USB. So needed to pull an old Windows XP (!) laptop from a box of old computer stuff to burn a snake-oil CD, only computer I had with an optical drive (except the Atom server itself).

2) Ensuring that the server boots up from the SSD not the harddrive with Vortexbox. That can be set quite easily in the BIOS but for my system required a monitor and keyboard to be connected.

2) Mounting the Vortexbox storage. This is an LVM partition so can't be mounted from the Snake-oil GUI. With these instructions it was quickly solved:https://www.cyberciti.biz/faq/linux-moun...n-command/

3) Sharing the mounted Vortexbox LVM partition on Samba. These instructions helped:
https://vitux.com/how-to-install-and-con...on-ubuntu/
I still have some issues with not being able to create or write on the mounted LVM partition over the network, so I probably need to work on the permissions.

4) Getting the 'Material' skin working on LMS. The solution was a newer version of LMS than the currently installed 7.9.0, so after activating Snake-oil I 'dropped' LMS 8.0 in the install interface (so cool!) and that upgraded LMS.

So, RESULT!

> I have an up to date LMS. With 8.0 the seamless integration between your Tidal collection and local music collection is really cool.
> I can stream Tidal in flac from my new Snake-oil server to my SB touch and my audio system. I love exploring music, and having a massive collection at your fingertips. Now if the Tidal plug-in would just support hi-res flac streaming in LMS.... After the Tidal trial I'm going to try Quboz and compare.
> An added benefit from using the SSD for the OS and LMS install is quicker boot times, but especially quicker searching and browsing in your music collection. Do a search in iPeng and the results including artwork pop up as you type. Didn't have that before on a spinning/platter disk.

Remaining issues:
As stated I need to sort the permissions so I can write/change in the Vortexbox storage over the network. The main issue I'm looking at is how to turn off my server. I used the 'Server Power Control' plug-in for that, but using that on Snake-oil seemed to break the system (syntax errors in sudoers) so I did a fresh Snake-oil re-install after that.

In terms of features Snake-oil seems to offer most that Vortexbox did, with the exception of the automated CD-ripper. I never used it but it makes it a great all-round music server. But I believe it is in the roadmap for Snake-oil.

piCorePlayer no HDMI audio

$
0
0
Hi,
I have a piCorePlayer and the HDMI often stops working. Sometimes changing the output to Analogue then back to HDMI fixes it, but not this time...
Any ideas please?

Name:  Screen Shot 2020-05-21 at 6.29.21 PM.png
Views: 77
Size:  159.5 KB
Attached Images
 
Viewing all 1530 articles
Browse latest View live