Quantcast
Channel: Squeezebox : Community : Forums - Logitech Media Server
Viewing all 5293 articles
Browse latest View live

Raspberry PI for LMS with network storage for PC and Mac?

$
0
0
> I do however have some concern about network storage. Will it be very
> much slower than USB3?


There's no USB3 on the Pi. And then it depends on your collection
whether transfer performance is even important. I have 20k tracks, the
Pi connected to an oldish NAS: scanning this way is actually faster than
when running LMS on the NAS itself. It really depends on a lot of factors.

> I have a Netgear 5G wi-fi router.


You should not scan over WLAN, though. The server should always be
connected over Ethernet. But then again: for a few hundred CDs that
might still be good enough.

--

Michael

Sox 14.4.3 in LMS 7.9.2 doesn't seem to support Windows file paths ?

$
0
0
I seem to have a problem in how the version of Sox (14.4.3) installed with LMS 7.9.2 treats Windows filepaths - in that it doesn't seem to support them.

Can someone please check whether that is the case?

The Inguz DRC plugin uses the Sox installed with LMS to resample filter impulse files to match the sampling rate of the audio data when they differ.

It is quite possible that I am doing something stupid but after doing tests with the sox command line in the Windows Command window, it looks as though this version (14.4.3) of Sox no longer supports Windows file paths, i.e. the backslash and the ":" as in, say, C:\folder1\folder2\filename and exits with Exit Code 2 (file not found) if the inputfilename contains a Windows path.

(The LMS 7.9.2 Sox on my Ubuntu system appears to work fine.)

(I originally mistakenly posted this in the Developer's Section - now deleted.)

LMS Volume control

$
0
0
Hi there

I've purchased a RaspberryPi with the 7 inch Touch Display and am planning to install a DAC board, etc. to end up with a Squeezebox Touch replacement.

When I installed piCorePlayer on the RPi I was asked about output and I could see that ALSA defaults to + 3-4 dB (or something like that) and that I'd have to choose 96% to get 0 dB out, which I did.

Suddenly I realize there's at least 4 different ways to control the volume, and I'm wondering - in which way does the LMS control it? Is it a "bit-perfect" reduction, or is it scaling in percent (not digital-friendly) ... and is dithering used, or not? Does LMS also "boost" output 3-4 dB at 100% ??

Thanks for any response that can make me a bit wiser as to what's going on. Pointers to previous discussions is definitely OK (I did a search both here and with Google, without finding answers).

P.S. I purchased the ApplePi DAC + Volume-Clocker, and the volume part controls the volume in a "bit-perfect" way, which presumably means it of course reduces output bits when you turn down the volume, but there's no quantization noise, etc. I find that I can control volume in LMS, as well as in piCorePlayer with the ALSA mixer, and now with the digital Volume-Clocker + finally I can also use the (analog) volume control on my integrated amplifier.

Best regards,
Claus

Imported iTunes playlists coming up empty/not working using LMS CLI?

$
0
0
Hi All,

I've come across this problem a few times and it's driven me bonkers trying to figure out the problem and solution, so I thought I'd share this here.

If you are using iTunes playlists imported into LMS, the CLI commands for "playlist" using the name of the playlist or URL don't work! Instead of importing iTunes playlists like normal LMS playlists using .m3u files, it appears iTunes playlists are stored in a separate format and querying them via the "playlists" cmd (see below) reveals that there is no URL associated with them, but just "itunesplaylist:"+[name of playlist]. I came across this when trying to create some bash scripts which called the CLI to play specific playlists in home automation scenes and also in the squeeze-alexa project on github.

playlists 0 255 tags:u
playlists 0 255 tags:u id:240194 playlist:90’s Music url:itunesplaylist:90's Music id:240174 playlist:All (Charles) url:itunesplaylist:All (Charles) id:240190 playlist:Alternative url:itunesplaylist:Alternative id:240172 playlist:Audiobooks url:itunesplaylist:Audiobooks id:240175 playlist:Classical url:itunesplaylist:Classical id:240170 playlist:Downloaded url:itunesplaylist:Downloaded id:240176 playlist:Easy url:itunesplaylist:Easy id:240182 playlist:Everyday url:itunesplaylist:Everyday id:240177 playlist:Favorites url:itunesplaylist:Favorites id:240191 playlist:Folk url:itunesplaylist:Folk id:240183 playlist:Hegedu/Klasszikus url:itunesplaylist:Hegedu/Klasszikus id:240186 playlist:Instrumental url:itunesplaylist:Instrumental id:240192 playlist:Jazz url:itunesplaylist:Jazz id:240173 playlist:Charles url:itunesplaylist:Charles id:240178 playlist:Charles Classical Short url:itunesplaylist:Charles Classical Short id:240184 playlist:Mindig Mindehol url:itunesplaylist:Mindig Mindehol id:240181 playlist:Sabrina url:itunesplaylist:Sabrina id:240195 playlist:My Top Rated url:itunesplaylist:My Top Rated id:240187 playlist:Kent url:itunesplaylist:Kent id:240188 playlist:Kent 1 url:itunesplaylist:Kent 1 id:240189 playlist:Playlists for Squeezebox url:itunesplaylist:Playlists for Squeezebox id:240171 playlist:Podcasts url:itunesplaylist:Podcasts id:240179 playlist:Popper Etudes url:itunesplaylist:Popper Etudes id:240185 playlist:Relax url:itunesplaylist:Relax id:240193 playlist:Rock url:itunesplaylist:Rock id:240180 playlist:Sleep url:itunesplaylist:Sleep id:225220 playlist:SyncOptions-Dining Room-00 04 20 22 cc a8 url:file:///volume2/music/LMS Playlists/SyncOptions-Dining Room-00_04_20_22_cc_a8.m3u id:225236 playlist:SyncOptions-Kitchen-00 04 20 1e ec 9f url:file:///volume2/music/LMS Playlists/SyncOptions-Kitchen-00_04_20_1e_ec_9f.m3u id:225237 playlist:SyncOptions-Kents Radio-00 04 20 28 2c 62 url:file:///volume2/music/LMS Playlists/SyncOptions-Kents Radio-00_04_20_28_2c_62.m3u id:225238 playlist:SyncOptions-Kents Stereo-80 1f 02 da 61 cb url:file:///volume2/music/LMS Playlists/SyncOptions-Kents Stereo-80_1f_02_da_61_cb.m3u id:225239 playlist:SyncOptions-Kents Stereo-b8 27 eb fc e6 d2 url:file:///volume2/music/LMS Playlists/SyncOptions-Kents Stereo-b8_27_eb_fc_e6_d2.m3u id:225240 playlist:SyncOptions-Upstairs MBR-Bath-02 00 12 19 57 04 url:file:///volume2/music/LMS Playlists/SyncOptions-Upstairs MBR-Bath-02_00_12_19_57_04.m3u id:240197 playlist:Szerelmes körtefa url:itunesplaylist:Szerelmes k%C3%B6rtefa id:240199 playlist:Test url:file:///volume2/music/LMS Playlists/Test.m3u id:240196 playlist:Top 25 Most Played url:itunesplaylist:Top 25 Most Played count:35
playlist load Test
00:04:20:26:2a:19 playlist load/volume2/music/LMS Playlists/Test.m3u # WORKS!
playlist clear
00:04:20:26:2a:19 playlist clear
playlistcontrol cmd:load playlist_name:Test
00:04:20:26:2a:19 playlistcontrol cmd:load playlist_name:Test count:4 # WORKS!
playlist load Charles
00:04:20:26:2a:19 playlist load Charles # DOES NOT WORK! NOTICE LACK OF PATH/URL ON RESPONSE OR COUNT

Using the LMS web UI which did play imported iTunes playlists, I noticed that instead of using the "playlist" CLI command, it used the "playlistcontrol cmd:load playlist_name" CLI command, so once I substituted this command in my bash scripts everything started working!

playlistcontrol cmd:load playlist_name:Charles
00:04:20:26:2a:19 playlistcontrol cmd:load playlist_name:Charles count:573 # WORKS! NOTICE # TRACKS IN RESPONSE

So, for those of you experiencing the same problem where iTunes imported playlists work fine in the web UI, but don't load via the CLI, the above is your solution...

Hope this saves someone time and headache...

Wrong radio artwork being shown

$
0
0
As I've already posted in the other (wrong...) thread: please update to
the latest and greatest LMS. Next time this happens, double-check
whether it's only the UI you're usually using, or other web UI, mobile
apps, etc., too.

If that's the case, then please provide information about what station
to reproduce this with etc.

--

Michael

Grouping players (virtual groups)

$
0
0
Hi,

I'm trying to work out in LMS how to create "upstairs" group and "Downstairs" group for my wifi speakers (a bunch of Rpis with Hifi Berries all with picoreplayer 4.1). What I would like to do is be able to select "upstairs" and have all 3 upstairs speakers working in sync. But, if I want the bathroom to be independent while the kids have rock n roll in their rooms, I want that to be possible. Are these mutually exclusive?

Thanks

Regular freezes and other bugs

$
0
0
The LMS really drives me mad with its bugs and regular freezes.

Although the LMS (7.9.2) is installed on my desktop i5/8 GB/SSD/LAN 1000 MB (Windows 10), it works slowly, and very often stops responding even on simple actions as to open music folder, or add tracks to playlist, and so on.
Another bug - very often it shows in the tracks list wrong track is playing. The offset is usually 2-3 tracks: for example, LMS shows in the list that now is playing track #10, while actually the playing track is #7, and when I click the track #11 in the list - the track #8 is starting to play.
Almost every day my LMS stops playing tracks in both connected PiCorePlayers with no reason - usually in the morning I found out the music is paused.

Does anybody know how to get rid of that annoying bugs/freezes?

Thanks in advance!

Stream LMS music to Ipeng mobile phone when outside wifi coverage?

$
0
0
Is it possible to stream music to Ipeng on an iPhone when I'm outside the house?
If yes - does it exist some kind of noob setup explanation somewhere?

Help! LMS keeps asking for a restart

$
0
0
> No, thats not it either. But I unticked the plugin autoupdate switch and
> now I see that Spotti is the culprit.


Please check the server.log file. Where in this world are you living?
I've had another user report issues with this Spotty update. I might
need to flush the CDN's caches, as it seems to be serving a broken file
for some of you :-(

--

Michael

Buffering File

$
0
0
Is it possible to load a file fully into memory before LMS starts to stream it?

If so, how?

Thanks,

M

LMS on pCP nightly updates failing

$
0
0
For all of this week the nightly update 7.9.2 - 53860 is available but when I try the 'nightly update' in pCP first message is

LMS Update Found:
http://downloads.slimdevices.com/nig...860-noCPAN.tgz
Download and update LMS


When I use 'update' the message below appears

/usr/local/bin/lms-update.sh: line 36: /usr/bin/getopt: not found

Any thoughts?

Cheers, David

DareToShare: My custom-convert.conf for WMA WMAL WMAP, DSF, DFF on-the-fly

$
0
0
Hi

I figured this works well in my case:
- ubuntu 18
- ffmpeg 4, sox, lame

There may be some glitches/redundancy, feel free to correct.
Some stuff (wmap,mpc) I couldn't test meself.

Cheers
Manu



CONTENT OF custom-convert.conf:
Code:

# you need ffmpeg, lame and sox

# wma
# I commented ou all the other wma [wmadec] decoders in custom.conf
wma mp3 * *
        # F:{PATH=%f}T:{START=-ss %s}B:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D}
        [ffmpeg] -v 0 $START$ -i $PATH$ -c:a pcm_s16le -ar 48000 -f wav - | [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ - -

wma flc * *
        # F:{PATH=%f}T:{START=-ss %s}
        [ffmpeg] -v 0 $START$ -i $PATH$ -f wav - | [sox] -q -t wav - -t flac -C 0  -

wma pcm * *
        # FT:{START=-j %s}U:{END=-e %u}
        [ffmpeg] -v 0 -i $FILE$ -f wav - | [faad] -q -w -f 2 $START$ $END$
 
   
   
# wma lossless
wmal mp3 * *
        # F:{PATH=%f}T:{START=-ss %s}B:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D}
        [ffmpeg] -v 0 $START$ -i $PATH$ -c:a pcm_s16le -ar 48000 -f wav - | [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ - -

wmal flc * *
        # F:{PATH=%f}T:{START=-ss %s}
        [ffmpeg] -v 0 $START$ -i $PATH$ -f wav - | [sox] -q -t wav - -t flac -C 0  -

wmal pcm * *
        # F:{PATH=%f}T:{START=-ss %s}
        [ffmpeg] -v 0 $START$ -i $PATH$ -f wav - | [sox] -q -t wav - -t wav -C 0  -



# wma pro
wmap mp3 * *
        # F:{PATH=%f}T:{START=-ss %s}B:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D}
        [ffmpeg] -v 0 $START$ -i $PATH$ -c:a pcm_s16le -ar 48000 -f wav - | [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ - -

wmap flc * *
        # F:{PATH=%f}T:{START=-ss %s}D:{RESAMPLE=-r %d -b 24}
        [ffmpeg] -v 0 $START$ -i $PATH$ -c:a pcm_s24le -ar 96000  -f wav - | [sox] -q -t wav -r 96000 -b 24 - -t flac -C 0 $RESAMPLE$ -

wmap pcm * *
        # F:{PATH=%f}T:{START=-ss %s}D:{RESAMPLE=-r %d -b 24}
        [ffmpeg] -v 0 $START$ -i $PATH$ -c:a pcm_s24le -ar 96000  -f wav - | [sox] -q -t wav -r 96000 -b 24 - -t wav -C 0 $RESAMPLE$ -
   
   


mp4 flc * *
        # F:{PATH=%f}T:{START=-ss %s}D:{RESAMPLE=-r %d -b 24}
        [ffmpeg] -v 0 $START$ -i $PATH$ -c:a pcm_s24le -ar 96000 -f wav - | [sox] -q -t wav -r 96000 -b 24 - -t flac -C 0 $RESAMPLE$ -

mpc flc * *
        # F:{PATH=%f}D:{RESAMPLE=--resample %D}
        [ffmpeg] -v 0 -i $PATH$ -f wav - | [sox] -q -t wav - -t flac -C 0 $RESAMPLE$ -




# DSD
# On the fly 24bit pcm conversion
# +3db is probably safe...?

# long delay to start
# dsf flc * *
#        # F:{PATH=%f}T:{START=-ss %s}D:{RESAMPLE=-af 'volume=+3dB,aresample=osf=2:osr=%d' -compression_level 0}
#        [ffmpeg] -v 0 $START$ -i $PATH$ $RESAMPLE$ -c:a flac -f flac -

dsf flc * *
        # F:{PATH=%f}T:{START=-ss %s}D:{RESAMPLE=-r %d -b 24}
        [ffmpeg] -v 0 $START$ -i $PATH$ -c:a pcm_s24le -ar 96000 -af 'volume=+3dB' -f wav - | [sox] -q -t wav -r 96000 -b 24 - -t flac  -C 0 $RESAMPLE$ -

dsf mp3 * *
        # F:{PATH=%f}T:{START=-ss %s}B:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D}
        [ffmpeg] -v 0 $START$ -i $PATH$ -c:a pcm_s16le -ar 48000 -af 'volume=+3dB' -f wav - | [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ - -

dff flc * *
        # F:{PATH=%f}T:{START=-ss %s}D:{RESAMPLE=-r %d -b 24}
        [ffmpeg] -v 0 $START$ -i $PATH$ -c:a pcm_s24le -ar 96000 -af 'volume=+3dB' -f wav - | [sox] -q -t wav -r 96000 -b 24 - -t flac -C 0 $RESAMPLE$ -

dff mp3 * *
        # F:{PATH=%f}T:{START=-ss %s}B:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D}
        [ffmpeg] -v 0 $START$ -i $PATH$ -c:a pcm_s16le -ar 48000 -af 'volume=+3dB' -f wav - | [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ - -

LMS Google Music Plugin - not authenticating

$
0
0
Having trouble authenticating my Google Music account with LMS 7.9.2 and plugin vers 0.7.

Tried authenticating using:
1) Regular Google account/password, SSL enabled or disabled
2) One time Google app password (tried this 3 times)
3) Used different mobile devices id's from two phones that are already registered with G Music.

Log file says this:
[18-12-14 09:15:57.7053] Plugins::GoogleMusic::Settings::handler (76) Not able to login to Google Play Music: InvalidDeviceId: Invalid device_id 3C58C951BF256F63.Your valid device IDs are:
* 529de4121128c91327c33f786dc88189b44b70c841f4895ad5 8bc2f08b17005f
* 1ee096d02f02c5bb287cd47977e8a3fa6822fb2fe43211056a d22e865080eb82
* 3c58c951bf256f63
* 381a218910f32db5
* ios120F200E-5D76-46E5-9563-D747C845F728
* 17ab211e1813f070dc47c5b20348c359b899519087ff75ca70 7986cf53e148c7
* 3286d6fb4a0ac45f
* 3abd0d44aafc8278 at line 143

Notice that a valid device is used (3c58....), however the plugin reports it to be invalid.

UPDATE: ok, I resolved the problem and entered the device is in lower case letter (!). Duh.... But why is it case sensitive, and if so can this be fixed? Convert the string automatically, or at least advise people. Thx,

December 10 Windows build ok? Got some really strange things going on

$
0
0
hi,
I have some funky stuff going on which I really need some help with, because 2 days of googling and searching around here didn't resolve the issues.
I restarted the server on which LMS 7.92 is running on tuesday (windows patchday), and installed the latest win build from Dec 10th. This is a potent server xeon i3 skylake with 32gb ram, win server 2012r2.
After that the whole squeeze eco system messed with me:
1. the boom couldn't do anything, started but even turning the knob took ages to jump to another entry
2. the touch basically the same
3. the squeezecontrol app on my android phone couldn't reach the LMS at all
4. localhost website on the same maschine was able to reach normal website and settings but took ages loading the pages (around a minute)
5. everything else on the server is running fine as always. CPU is low, lots of memory free, network fine (all 1Gbit ethernet), 100mbit dsl
6. log file (after turning up log levels) showed strange errors like:
Code:

[18-12-13 02:40:00.4737] Slim::Networking::SimpleAsyncHTTP::onError (229) Failed to connect to https://www.mysqueezebox.com/api/v1/players (Connect timed out: Bad file descriptor)
[18-12-13 02:40:00.4742] Slim::Networking::SqueezeNetwork::Players::_players_error (374) Unable to get players from SN: Connect timed out: Bad file descriptor, retrying in 60 seconds
[18-12-13 02:41:36.0584] Slim::Networking::Async::HTTP::_http_read_timeout (543) Timed out waiting for more body data, returning what we have
[18-12-13 02:41:36.0596] Slim::Networking::SqueezeNetwork::_error (576) Unable to login to SN: unexpected end of string while parsing JSON string, at character offset 817 (before "(end of string)") at /<C:\PROGRA~2\SQUEEZ~1\server\SqueezeSvr.exe>Slim/Networking/SqueezeNetwork.pm line 545.
[18-12-13 02:41:36.0603] Slim::Networking::SqueezeNetwork::Players::_players_error (374) Unable to get players from SN: unexpected end of string while parsing JSON string, at character offset 817 (before "(end of string)") at /<C:\PROGRA~2\SQUEEZ~1\server\SqueezeSvr.exe>Slim/Networking/SqueezeNetwork.pm line 545.
, retrying in 120 seconds
[18-12-13 02:44:11.4191] Slim::Networking::SimpleAsyncHTTP::onError (229) Failed to connect to https://www.mysqueezebox.com/api/v1/login?u=xxxxxxxed out for security reasons &v=sc7.9.2&t=1544665416 (Timed out waiting for data)

mysqueezebox website was reachable, but login too like 2 minutes or so.
After having restarted the server with the net start squeezesvc --nomysqueezebox command, it's now running as fast as ever, BUT I now find this in the log file:
[18-12-14 09:00:58.4970] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: lame
which I never had before.
So my questions are now: what is going on here? Is it the windows update, the dec 10 build or did the mysb website had a hiccup? And if the latter, why would it mess up a mainly local installation that badly? (I use the server as image proxy, not mysb)

Any help or idea is highly appreciated! :-)
Markus

Audio Scan version 1.02

$
0
0
> Max2play. I'll wait until it's available.

Please post the information from Settings/Information...

--

Michael

pugin update notification gone?

$
0
0
Not a critical issue, but I thought I post it FYI:

The notification of updates beeing available for plugins seems to be gone since a recent update of LMS (At least for me).
I noticed that 1st when material skin stated all plugins are up2date, although I saw an update being available (for shairtunes at that time).
Today, the same thing for AirPlayBridge: Update available, material skin says all up2date.
Then I checked the default skin, where the notification is usually in the main screen at the bottom ("i: ...."):
No notification there.

P.S. I have autoupdate unchecked

My LMS Version:
Logitech Media Server Version: 7.9.2 - 1544453860 @ Mon Dec 10 16:22:20 CET 2018
Server-HTTP-Portnummer: 9000
Betriebssystem: Debian - DE - utf8
Plattformarchitektur: i686-linux
Perl-Version: 5.18.2 - i686-linux-gnu-thread-multi-64int
Audio::Scan: 0.95
IO::Socket::SSL: 1.965
Datenbankversion: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Anzahl erkannter Player: 5

Install: Fehler beim Ersetzen einer vorhandenen Datei

$
0
0
> C:\Programme\Squeezebox\server\SqueezeSvr.exe
> Fehler beim Ersetzen einer vorhandenen Datei:
> DeleteFile schlug fehl; Code 5.
> Zugriff verweigert.


Stelle sicher, dass LMS nicht mehr läuft, wenn du installieren willst.
Es kann die Datei vermutlich nicht überschreiben, da sie noch verwendet
wird.

--

Michael

Spotty activated -> LMS will not start

$
0
0
Hello there!

I've just installed the newest build of the LMS (7.9.2) and wanted to activate the "Spotty"-Plugin from Michael (Herger).
So I ticked the plugin, the LMS then tries to restart, but the status-line tells me, that this does not work.

I cannot find anything strange in the server.log. Does anyone know, where else I should search for the cause?

Thanks in advance!
Claas

Why are all files in the server deb dated 2009-08-03 11:14

$
0
0
In the debian packages, and thus the installed files, all files have the date 2009-08-03 11:14. Why?

PAUSE doesn't work correctly for DLNA sources when BrutefirDRC plugin is activated

$
0
0
Hello.

During playback from DLNA sources (e.g. Tidal) PAUSE is not working correctly in LMS. When PAUSE is pressed playback stops (it si OK) but after pressing PLAY (after Pause) playback skips to next track (fail). This problem exists only if BrutefirDRC plugin is activated. Similary inside track skiping (e.g. inside track from position 0:50 to position 3:10) is not working when BrutefirDRC plugin is activated.

Playback from local HDD or network shares are without these problems despite of BrutefirDRC plugin activation/deactivation.

Have you the same problem? Is there any solution?
Viewing all 5293 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>