Quantcast
Channel: Squeezebox : Community : Forums
Viewing all 10779 articles
Browse latest View live

Phish.in plugin stopped working

$
0
0
> the link appears to think there's an invalid API key, but that's the
> extent of my knowledge in this area.


Thanks for the heads-up. I'll take care of it.

--

Michael

TLS for squeezelite?

$
0
0
During my recent attempt to find the problem with RP and HTTPS, I explored the possibility to add TLS to squeezelite. It's not super easy but I now have a good opinion on how to do it. But ... is this really useful? As of today, LMS proxies TLS connections, is this a real problem?

[edit]: I decided to give it a try and that's done, but I'm now a bit confused by how/when LMS will send an HTTPS link directly to my squeezelite instance (I've set player capabilities to add "CanHTTPS=1"). At least it works for podcasts...

in SqueezePlayDirect.pm
Code:

sub contentType { 'spdr' }

sub formatOverride { 'spdr' }

sub slimprotoFlags { 0x10 }

sub canDirectStream {
        my ($class, $client, $url) = @_;

        my ($handler) = $url =~ /spdr:\/\/(.+?)\?/;

        if ($handler && $client->can('spDirectHandlers') && $client->spDirectHandlers =~ /$handler/) {
                return $url;
        }
}

and in HTTPS.pm
Code:

# Check whether the current player can stream HTTPS or not
sub canDirectStream {
        my $self = shift;
        my ($client) = @_;
       
        if ( $client->canHTTPS ) {
                return $self->SUPER::canDirectStream(@_);
        }

        return 0;
}

:confused:

Audirvana and piCorePlayer...issue

$
0
0
Good morning guys
I'm trying to mach piCorePlayer with LMS and Audirvana software to streaming via DLNA/up&p.
I can see the PCP in the "network" list in Audirvana but it's impossible to select it.
I activated dlna plugin in LMS.
I can stream with Jriver Media center and other software but not with Audirvana....:mad:

Name:  Schermata 2019-04-26 alle 12.34.31.png
Views: 65
Size:  92.1 KBName:  Schermata 2019-04-11 alle 22.14.14.jpg
Views: 58
Size:  93.5 KB

This is from Audirvana Debug info...

ACTIVE STREAMING SERVICES

=================== AUDIO DEVICE ========================


CoreAudio audio path, buffer I/O frame size: 512
Local Audio Engine:
Preferred device: piCorePlayer Model UID:Logitech piCorePlayer UID:uuid:1C2FBCEB-D791-C15B-1C4B-0B33E472C7AE

Active Sample Rate: 96kHz
Hog Mode is off

Selected device:
Local audio device
ID 0x32 Sortie intégrée Manufacturer:Apple Inc.
Model UID:AppleHDA:28 UID:AppleHDAEngineOutput:1B,0,1,1:0

4 available sample rates up to 96000Hz
44100
48000
88200
96000

Audio buffer frame size : 29 to 4096 frames
Current I/O buffer frame size : 512
Physical (analog) volume control: No
Virtual (digital) volume control: Yes
Auto-detect MQA devices: No
Not a MQA device, user set to not MQA
DSD capability: Unhandled
Preferred stereo channels L:1 R:2
Channel bitmap: Ox3, layout:
Channel 0 mapped to 0
Channel 1 mapped to 1
Number of channels: 2
Use as stereo device only: No
Simple stereo device: Yes

1 output streams:
Number of active channels: 2, in 1 stream(s)
Channel #0 :Stream 0 channel 0
Channel #1 :Stream 0 channel 1

Stream ID 0x33 2 channels starting at 1
4 virtual formats:
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 96kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 88.2kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 48kHz
2 ch Mixable linear PCM Interleaved 32 little endian Signed Float 44.1kHz

12 physical formats
2 ch Mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 96kHz
2 ch Mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 88.2kHz
2 ch Mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 48kHz
2 ch Mixable linear PCM Interleaved 24 little endian Signed Integer aligned low in 32bit 44.1kHz
2 ch Mixable linear PCM Interleaved 20 little endian Signed Integer aligned low in 32bit 96kHz
2 ch Mixable linear PCM Interleaved 20 little endian Signed Integer aligned low in 32bit 88.2kHz
2 ch Mixable linear PCM Interleaved 20 little endian Signed Integer aligned low in 32bit 48kHz
2 ch Mixable linear PCM Interleaved 20 little endian Signed Integer aligned low in 32bit 44.1kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 96kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 88.2kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 48kHz
2 ch Mixable linear PCM Interleaved 16 little endian Signed Integer 44.1kHz

Local devices found : 2
Device #0: ID 0x26 AirPlay Manufacturer: Apple Inc. Model UID: AirPlay UID: AirPlay
Device #1: ID 0x32 Sortie intégrée Manufacturer: Apple Inc. Model UID: AppleHDA:28 UID: AppleHDAEngineOutput:1B,0,1,1:0

UPnP devices found : 1
Device #0: ID 0x0 piCorePlayer UID: uuid:1C2FBCEB-D791-C15B-1C4B-0B33E472C7AE Location: http://192.168.178.25:9000/plugins/U...3Aa0%3A98%3Aec


Mr Plisson (Audirvana CEO) answered me:
Thank you for your interest in Audirvana

This unfortunately means this picoreplayer does not accept any non-compressed audio format like WAV or just raw PCM as required by the DLNA standard.
You may want to check if there is a firmware available for it fixing this issue.

Best regards


Anyone know this issue?
Any idea to fix this problem?

Thanks for your time and help.
Gpellicci
Attached Images
  

Streaming WAV files to LMS over http question

$
0
0
Hi All,

I'm not sure this question is in the right place, but as best as I can tell, this is a general question.

I recently set up a LMS server, and I love it. I use OpenHAB for home automation, and have run into a curious situation that I'm hoping someone here can help with.

OpenHAB as a binding for supporting squeezelite players. It works well for controlling the system and playing anything that's on LMS. However, it also has the option to set a squeezlite player as an audio sink. This is very useful in my situation as I can have LMS stream audio over my entire home and OpenHAB can interrupt the audio and broadcast a message as needed (ie, "someone is at the door") and then resume the stream. Great system. However, when the broadcast is in WAV format, LMS just pauses the stream with no audio output. No problem with MP3, FLAC, or other formats. Since I'd like to have the automation system utilize text-to-speech, and that forces WAV files to be produced, it renders the system unusable. If these files are already in LMS as WAV files, there's no problem. It has something to do with sending the WAV files over http for transcoding.

I have had a Home Assistant automation system user confirms this happens with Home Assistant as well, so it's not just an OpenHAB problem.

In a perfect world, I'd have a text-to-speech system (in this case, Pico TTS) read a file and output the stream in WAV to the appropriate squeezelite player. However, I'm not sure what's happening in the stream that's causing this. I'm hoping someone here can point me in the right direction to find a reasonable solution to this situation. Any help is appreciated.

Cases for 7" screen plus HAT?

$
0
0
Hi

I know there are some old threads on cases but I thought there might be some updated recommendations on a case with space for a HAT that has a stand and allows phono/LAN/DAC cables not to protrude from the side of the screen or else be so close to the table so that one has to employ rather shaky right-angled adapters! (I tried out a SmartiPi Touch frame which is troublesome in the above regards when used with a JustBoom DAC HAT)
The Max2Play looks promising but doesn't seem to have a stand - plus it appears to be only a limited supply as a marked second, which doesn't fill me with confidence.

Is there a design that has all the kinks ironed out?

LMS on Raspbery Pi 3 B running raspibian

$
0
0
I am a noob to raspberry and Linux. I have managed to install LMS but it's not picking up my external drive. I can browse the drive from file explorer on Pi(/media/pi/bin1) but LMS shows the folder(/media) as empty.
I tried to mount the HDD but it comes up as 'Mount is denied because the NTFS volume is already exclusively opened.'
What am I doing wrong?

ioBroker.squeezeboxrpc Adapter

$
0
0
To whom it may concern:
If somebody have installed the ioBroker smart home
i have implemented a new adapter that based on the JSON/RPC-protocol.
the adapter creates some datapoints for server/player/favorites/playlist in iobroker
which you can use to show it in a visualization (also provided with iobroker), to track or control the LMS
actually i use the adapter to control 3 squeezeboxes in different rooms

this is an example of my created view:
Name:  squeezeboxrpc.png
Views: 78
Size:  53.5 KB

not all control functions of LMS are implemented at the moment.
documentation is available in github
feature requests are welcome

https://github.com/oweitman/ioBroker.squeezeboxrpc
https://forum.iobroker.net/topic/218...-squeezeboxrpc
Attached Images
 

Aborts with squeezelite(-x) and Windows 10

$
0
0
I have the problem that with squeezelite, respectively squeezelite-x the songs are simply stopped in the middle and the next track starts.

I have to go a bit further.

A few years ago I had set up a multiroom system in our apartment with several players (Rasperry Pi), also on a PC, at that time still with Windows 7 and squeezelite as a service.

Everything worked without any problems. Then I had made an update to Windows 10 about 3 years ago. So far everything was fine.

Sometime at the end of last year a larger update came with Windows 10. And afterwards the problem began. Every now and then a song was broken off at some point and the next piece started. That happened about every dozen songs.

Now Windows 10 made meanwhile still other problems. Therefore I had completely reinstalled the computer a few days ago, again with Windows 7. But this time I had used squeezelite-x and simply started it in the background by autostart. This ran again without problems.

Unfortunately I had to update to Windows 10 again because of another software. And now the problem is there again.

Only this time much worse, because actually every song is aborted. In the logfile there is always the entry: Decoder does not support file format, code 0

This message comes with every song. Only sometimes just before the end that there is enough buffer left in the player and the song is played to the end. But this happens very rarely. Most of the time the abort takes place approximately in the middle of the song.

It is an iTunes database, all available in M4A format. They are not lossless files, but all encoded in AAC.

I have installed the Squeezelite-x in a Windows 7 virtual machine on the Windows 10 computer for testing purposes, and there it also works without problems. So it's somehow Windows 10.

It doesn't matter if I take the version from the store or install it manually.

The other players with squeezelite on Raspian also work perfectly. Only on Windows 10 I can't get it to work properly.

Maybe someone still has an idea what that could be.

LMS/slimproto and squeezelite volume control issues

$
0
0
Hi.

I ran into several volume control issues on the squeezelite side.

I'm now working on a patch for squeezelite. I do have almost no knowledge about LMS and slimproto. I'd need a little help here.

First the potential LMS issues I ran into:

LMS/slimproto delivers ambiguous and even wrong-order data while going down the 100->0 scale.

ambiguous values: 47/48=3328 44/45=2816 42/41=2304

wrong order: 40/39=2048/2050 ( yep it goes up on 39!)

This behavior should be easy to trace.

This pretty much makes it impossible to provide a consistent and linear volume control.

#####################

Where are these VC scale and mappings/conversions generated?
Any ideas what's going wrong here?

#####################

I do have some more questions.

Would it be possible to fetch the actual volume scale values (range 100-0) over slimproto?
Would it be possible to apply a linear scale to the LMS volume control?


Thx.

LMS library shows duplicate albume - file paths for tracks different

$
0
0
All,

A real puzzle (Michael??) ...

Hate to start a new thread given there are 101 pages of posts, but "duplicat" finds no matches.

What I see: in my library, there are duplicates of albums. It seems random. Not all albums are duplicated, just some. This screen shots shows two of them, "The Art of the Prima Donna" and "Battle and Domingo ..."

Attachment 27254

Today I found a pattern. For all duplicates, one of the file paths for tracks in the two albums includes a second / in the file path shown when I use More information that shows Location (copy/paste from the LMS Web app):

Location: /mnt/nas326/music/Opera/The Art of the Prima Donna/01 - Gounod_ Romeo et Juliette_ Ah! Je veux vivre.flac

versus (copy/paste from the LMS web app):

Location: /mnt/nas326/music//Opera/The Art of the Prima Donna/01 - Gounod_ Romeo et Juliette_ Ah! Je veux vivre.flac

I have not done an exhaustive search, but every duplicate I've checked shows this:

/mnt/nas326/music/

versus

/mnt/nas326/music//

Note that duplicate (?) / on the second path.

As you can see, these files are on a NAS. I confirm that there are NOT two folders on the NAS. Two screen shots show the FileManger from the NAS itself and what Windows Explorer shows for mounted NAS (see uploaded screen shots below -- they are, unfortunately mixed up as the slimdevices forum software today is being a right PITA!).

No duplicate folders.

Now, it gets even more strange. If, using the primary LMS Genres library listing, I add a track from these two different album listings as shown in the library to a playlist, then use the M icon on the track in the playlist to see More Information the Location for NEITHER of them show the path with the two // in it (both show the single / path). Method to add:

My Music > Genres > Opera > All Albums > click on album title to display tracks > + icon from track listing

BUT, if I use Erland Erickson's Custom Browse > Genre Album > Opera > click on album title > + icon from track listing, then the click the M on the track listing in the playlist for More informaiton, the Location: for the two tracks DO SHOW the different paths, one with the normal /mnt/nas326/music/ and one with /mnt/nas326/music//

NOTE: both play without issue. So, LMS is finding and playing the actual audio files correctly. It's the LMS Library display that is faulty, and by extension the LMS libary scanning code that is creating these duplicate albums. At the least I can see a common issue with all the duplicates I've checked as I explain above.

So the big question is, where is that second / character coming from? Also, why does the LMS library scanner add it? Also, why does the LMS library scanner even care if there are two // ?

I have cleared the library and rescanned yet these odd duplicate albums come back so the LMS library scanning code is finding something, but what I can't begin to guess as neither the NAS FileManager nor Windows File Explorer "find" it, whatever it is.

System:

NAS NAS326
Firmware version:V5.21(AAZF.3)

LMS

Logitech Media Server Status
Logitech Media Server Version: 7.9.2 - 1543258616 @ Mon Nov 26 20:30:03 CET 2018
Hostname: piCorePlayer
Server IP Address: 192.168.1.67
Server HTTP Port Number: 9000
Operating system: piCore - EN - utf8
Platform Architecture: armv7l-linux
Perl Version: 5.24.0 - arm-linux-gnueabihf-thread-multi-64int
Audio::Scan: 1.02
IO::Socket::SSL: 2.056
Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
Total Players Recognized: 3

Library Statistics
Total Images: 0
Total Videos: 0
Total Tracks: 54,646
Total Albums: 3,687
Total Artists: 8,666
Total Genres: 63
Total Playing Time: 5482:55:05

I've three different players but that's not relevant as this is a server not player issue.
Attached Images
   

iPhone/iPad Lightning Adapter SQ

$
0
0
Does anyone know for certain what the DAC in the official Apple Lightning Headphone adapter is capable of?
I’ve read 24/96 somewhere but cannot find a definitive answer.
Reason for asking is that I have just upgraded to an iPhone 8 so have lost the 3.5 jack socket.
I’ve used a HiFiMeDIY USB DAC with the camera kit converter on occasions but it is a little on the quiet side (I do have a mini headphone amp as well but carrying all this is a bit cumbersome)
Main use is iPeng in playback mode with 16/44.1 Flacs but some 24/96 stuff as well.
Edit. Headphones are B&W P7s which do take a bit of driving.

Unable to upgrade with Vortexbox images

$
0
0
I have a genuine 2012 Vortexbox appliance with 1.66 Mhz intel atom and now 4GB memory.
I installed a new hard drive, keeping original as a safety 2nd backup.
I tried Vortexbox's 2.4 and 2.3 iso images, carefully checking the MD5's, etc.
Neither DVD would get beyond the initial selection screen ('will wipe your disk!') Screen goes blank, DVD runs for a minute, then goes to idle.

Can I install Fedora separately, then get LMS here and install on the running Fedora? Or What?
I run linux mint on my other machines.
Thanks for your help.

Squeezbox Duet Receiver incompatible with 802.11r

$
0
0
I understand there's no hope of this ever being fixed, just posting here to save some future person (maybe me again!) the hours it took to figure this out (https://xkcd.com/979/)...

The Squeezebox Duet receiver cannot join a WiFi network with 802.11r enabled. Your WiFi router firmware may call it by other names like "fast BSS transition" or "fast roaming".

The incompatibility is surprising, because the Duet controller _does_ support 802.11r, and will happily control other Squeezeboxes devices on the network with this WiFi feature enabled. The duet receiver, however, presumably uses a different WiFi chip and driver stack, and will get stuck on the yellow light indicating no network connection. The receiver in this state has no way to be probed for logs or other error indicators. Eventually debugging the problem will show that DHCP requests are not being made, and in fact the device cannot even join the WiFi network.

Hopefully this post will save someone some time. The only solution is to disable 802.11r on the network you wish to use with the Squeezebox receiver, or set up a separate WiFi SSID just for its use without 802.11r.

What is correct settings for fstab for ntfs usb drive?

$
0
0
I have set the /etc/fstab for the usb external ntfs drive:

Code:

UUID=xxxxxx /mnt/usbntfs ntfs defaults,exec,fmask=011,utf8 0 0

It doesn't work which lms can't scan the /mnt/usbntfs. So I have to run:
Code:

chmod -R 777 usbntfs
Then only I am able to scan the directories which looks like this:
Code:

root@Dietpi:/mnt/usbntfs/Music1/Adele/21# ls -altr
total 643332
-rwxrw-rw- 2 root root    32642 Aug  1  2015 Adele - 21.jpg
-rwxrw-rw- 2 root root 55857834 May  8  2018 14 Someone Like You (Live Acoustic).wav
-rwxrw-rw- 2 root root 45765404 May  8  2018 13 Don't You Remember (Live Acoustic.wav
-rwxrw-rw- 2 root root 46017060 May  8  2018 12 Turning Tables (Live Acoustic).wav
-rwxrw-rw- 2 root root 52118106 May  8  2018 11 Someone Like You.wav
-rwxrw-rw- 2 root root 55824836 May  8  2018 10 Love Song.wav
-rwxrw-rw- 2 root root 61448478 May  8  2018 09 One And Only.wav
-rwxrw-rw- 2 root root 42660710 May  8  2018 08 I'll Be Waiting.wav
-rwxrw-rw- 2 root root 40289882 May  8  2018 07 Take It All.wav
-rwxrw-rw- 2 root root 49062842 May  8  2018 06 He Won't Go.wav
-rwxrw-rw- 2 root root 42667782 May  8  2018 05 Set Fire To The Rain.wav
-rwxrw-rw- 2 root root 42933552 May  8  2018 04 Don't You Remember.wav
-rwxrw-rw- 2 root root 44156638 May  8  2018 03 Turning Tables.wav
-rwxrw-rw- 2 root root 39417296 May  8  2018 02 Rumour Has It.wav
-rwxrw-rw- 2 root root 40480418 May  8  2018 01 Rolling In The Deep.wav
drwxrwxrwx 1 root root    4096 Apr 28  2019 .
drwxrwxrwx 1 root root        0 Apr 28  2019 ..

May I ask what is the correct settings for fstab file in order for lms to scan the music library?

Multiple Tidal Login / ickstream alternatives

$
0
0
> First guess was using the offical tidal 1.2 plugin on mysqueezebox.com
> to bind my login and use ickstream to bind my wifes. But, besides
> ickstream didn't work at the first shot, I now took notice ickstream
> gets shut down in a few weeks. So this idea is born dead.


Hmm... no idea why we never added support for multiple accounts. I'll
see what I can do.

--

Michael

Is there a PuTTy verssion for linux?

$
0
0
I've used PuTTy on windows for years to access LMS on a pi. For example, paste (right mouse click) to run the 'sudo dpkg -i ... ' updates.

I'm now using linux mint and installed the equivalent rewrite of putty (looks identical!) BUT this doesn't have any way to paste (no keys or mouse clicks).

Any ideas (including a putty alternative which allows paste)?

Transporter doesn't play anymore

$
0
0
My transporter stopped playing:
  • When I start a track from the server web interface, the track appears to be playing normally (the progress bar is moving, etc).
  • The transporter send no output to my amp. On its display, the track is shown in the "now playing" but the progress bar stays at zero, the vu indicators are fixed, and the display eventually switches to a lower brightness, as if the player were paused.
  • Back on the server web interface, when the end of the track is reached, the progress bar returns to zero as if the track was repeating.

I hope this is a firmware or software problem because I'd hate to have to track down another transformer. Any hints to troubleshoot this?

Thanks.

Background:
  • The transporter is in a vacation home. It was working fine in January.
  • When I arrived a few days ago, I did not use it until after I upgraded my server to Ubuntu Mate 18.04 and LMS 7.9.2 (from 16.04 & 7.9.0).
  • My other squeezeboxes all work (3 Radios, one Touch, and one old SB2)
  • When the transporter failed to work, thinking the upgrade was responsible, I connected the transporter to a separate server & network (which is located in a remote building without internet) running LMS 7.9.0 under Ubuntu Mate 16.04. Same problem.
  • At my city residence, I have an identical server that I updated to 7.9.2 with the same procedures, and my other transporter works fine there.

What I tried:
  • Looked at the LMS server logs - Nothing unusual.
  • Set most of the player logs to "Info". Nothing unusual was added to the log.
  • When I first started up LMS 7.9.2 with the transporter, a log entry said "Reading firmware version file...", and then "transporter firmware is up-to-date, v. 87"
  • I reset the transporter to factory settings (connect to ac power while pressing + on remote), and connected it to the LMS 7.9.0 server. Same problem. Nothing unusual in the log (same entry as above about the firmware)

Hardware & Firmware summary:
  • Server 1 - OS: Ubuntu Mate 18.04. LMS: 7.9.2 - 1550612824
  • Server 2 - OS: Ubuntu Mate 16.04. LMS: 7.9.0 - 1466761329
  • Transporter Firmware 87

squeezelite shows up in lms settings but not in players

$
0
0
Hi,
i'm trying to setup a rpi 3 with squeezelite. My lms is on another pi and works with my other devices (sb boom, squeezeplay, ...). But i can't get squeezelite to play anything.
Squeezelite shows up in the settings of my lms (under players (I guess, it's in French)) but not in the control part of the lms, nor in my squeezer app on my phone.

Am I missing something really obvious or is something wrong?

thanks!

LMS 7.9.2 does not recognize player

$
0
0
> I have a Squeezebox Touch and see it on my router.

Did you power-cycle the Touch?

What happens when you try to go to My Music on the player?

Can you access your LMS web UI from another machine?

--

Michael

Receiver setup without controller from Windows 10

$
0
0
I am trying to setup a Duet receiver without a controller. I have read the old thread about how to do this but either the source is no longer available (http://projects.robinbowes.com/Net-UDAP) or I did find a runnable version but I cannot get it working in Windows 10. Does anyone know how to setup a receiver when my PC is running Windows 10?
Viewing all 10779 articles
Browse latest View live