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

Local 'ogg flac' stream no longer plays after update to latest 7.9.2 nightly.

$
0
0
Could you please edit types.conf, modifying the line for "ops opus" to
look like this instead:

ops opus audio/opus,audio/ogg;codecs=opus audio

Then restart LMS. Would that help?

--

Michael

Shortcut to Spotty album within main LMS library

$
0
0
I've a feeling I know the answer to this but I'm going to ask anyway because I'm not a "power user".
Current streaming software (e.g. Roon etc.) is very good at integrating local (hard disk) libraries and streaming services, so you can search for an album seamlessly across every source available to a user. I wondered if it is possible to so anything like that within LMS.
For example, I have Gerry Rafferty's "The Very Best Of" album on local disk but I listen to his "Essential" album via Spotify using the Spotty plugin.
Is there anyway to have a "shortcut" (Windows 10 speak) to the Spotify album in my main LMS library, so I could find it under e.g. Artist = Gerry Rafferty and just click on it and fire up Spotty etc.?
Does this even make sense?
Thanks.

Prevent System Standby not working

$
0
0
My Mac mini died, so replaced with another Mac mini. Same year, same OS, but now the Prevent System Standby is no longer working (After SB Radio wakes the Mac mini and starts to Play, it immediately goes back to sleep).

What OS to host LMS on a HP N40? (it would replace Ubuntu 14.04)

$
0
0
My LMS has been running on a trusty HP N40 under the stairs for nearly half a decade on Ubuntu 14.04.

I now have a spare SSD for it so was thinking about a total reinstall
What OS would people recommend?

About the only thing I've never had working properly is the BBC iPlayer Plugin and suspect I need to clean this thing out to do that.

Tidal stream issues with some tracks on some devices

$
0
0
Hi,

Long term Squeezebox user and Tidal subscriber. Recently, on new albums I am having stuttering problems when playing FLAC streams from Tidal. Now, the issue I have is that it only occurs on my Duet and Boom devices and doesn’t seem to affect my Radio. For example for Jess Glynne’s “I’ll be there” track it is a major problem but for Coldplay’s Adventure of a Lifetime (which is on an old paylist) it is perfect.

I have tried the Tidal 1.2 plugin and also ickStream. I have configured proxy streaming, rebooted my router (35mbps connection and my pc (running LMS 7.9.1) with no joy.

It seems like the players are choking on the size of the stream but that only makes sense if it affected all Tidal tracks but it doesn’t as some work (and according to the web display and iPeng they are still FLAC streams). Maybe Tidal have changed something about their encoding.

Is it time to give up the Duet and Boom and replace with something else?

Thanks

Adam

SB Radio/Touch WOL Magic Packet

$
0
0
What packet does the SB Radio/Touch send to wake up a sleeping server?
(whatever it does, it works great, and I'd like to use it for another purpose)

Logitech Media Server died. Restarting. Mint 18.3

$
0
0
Hi,

I am having problem with my LMS. Every time I start `fresh` playback (e.g. open new window in my web browser and start new album to play) it plays for 30-40 seconds and them it dies (log: Logitech Media Server died. Restarting.). After restarting it usually plays the whole album without interuption. My 7.9.2 LMS runs on Linux Mint 18.3 (all updates installed). Any suggestions?

Latest LMS nightly (10-19-18) not working - port 9000 error

$
0
0
After upgrading to latest LMS using the LMS control panel I am receiving a "cannot connect to server on port 9000" error on the "diagnostics" tab of LMS control panel.

The upgrade causing problem: LogitechMediaServer-7.9.2-1539967036.exe (also the previous nightly from 10-9-18 caused the same issue)

I reverted back to an earlier version of LMS, system information below:

Logitech Media Server Version: 7.9.2 - 1533033975 @ Tue Jul 31 14:08:13 WEDT 2018
Hostname: LMServer
Server IP Address: 192.168.1.122
Server HTTP Port Number: 9000
Operating system: Windows 10 - EN - cp1252
Platform Architecture: 8664
Perl Version: 5.14.1 - MSWin32-x86-multi-thread
Audio::Scan: 0.95
IO::Socket::SSL: 2.024
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Total Players Recognized: 8


I also double checked all the anti-virus and firewall setting and they are all set to allow LMS full access to port 9000, etc.

Thanks in advance for looking into this issue.

LMS fails when trying to rescan the media library for new files

$
0
0
I'm using CentOS 6.10 (Final), and after a recent system update I'm unable to rescan the media library (Settings --> Rescan in the web interface). The resulting error message is "Media scan terminated unexpectedly (Scanning Progress)".

I tried restarting the machine and updating to the latest nightly build of LMS with no success.

I'd appreciate any suggestions.

Mike



Kernel version: 2.6.32-754.6.3.el6.x86_64

Cat /var/log/messages:

Code:

Oct 22 04:05:18 ares kernel: perl[3552]: segfault at 7797000 ip 000000380be89d8d sp 00007ffc78a6ab68 error 4 in libc-2.12.so[380be00000+18b000]
Oct 22 04:05:32 ares abrt[4497]: Saved core dump of pid 3552 (/usr/bin/perl) to /var/spool/abrt/ccpp-2018-10-22-04:05:19-3552 (1048576000 bytes)
Oct 22 04:05:32 ares abrtd: Directory 'ccpp-2018-10-22-04:05:19-3552' creation detected
Oct 22 04:05:39 ares abrtd: Package 'logitechmediaserver' isn't signed with proper key
Oct 22 04:05:39 ares abrtd: 'post-create' on '/var/spool/abrt/ccpp-2018-10-22-04:05:19-3552' exited with 1
Oct 22 04:05:39 ares abrtd: Deleting problem directory '/var/spool/abrt/ccpp-2018-10-22-04:05:19-3552'

cat /var/log/squeezeboxserver/server.log-20181022:

Code:

[18-10-22 04:05:34.4604] Slim::Utils::Misc::msg (1252) Warning: [04:05:34.4600] 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/share/perl5/vendor_perl/Slim/Schema.pm line 1875
[18-10-22 04:05:34.6504] Slim::Plugin::FullTextSearch::Plugin::_initPopularTerms (525) Fulltext index missing or outdated - re-building
[18-10-22 04:05:34.6507] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::db selectcol_arrayref failed: no such table: fulltext_terms [for Statement "
                SELECT term, d FROM (
                        SELECT term, SUM(documents) d
                        FROM fulltext_terms
                        WHERE NOT col IN ('*', 1, 0) AND LENGTH(term) > 1
                        GROUP BY term
                        ORDER BY d DESC
                )
                WHERE d > 500
        "]
[18-10-22 04:05:34.6508] Slim::Schema::Storage::throw_exception (122) Backtrace:

  frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/vendor_perl/Slim/Schema/Storage.pm line 122)
  frame 1: Slim::Schema::Storage::throw_exception (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1006)
  frame 2: DBIx::Class::Storage::DBI::__ANON__ (/usr/share/perl5/vendor_perl/Slim/Plugin/FullTextSearch/Plugin.pm line 532)
  frame 3: Slim::Plugin::FullTextSearch::Plugin::_initPopularTerms (/usr/share/perl5/vendor_perl/Slim/Plugin/FullTextSearch/Plugin.pm line 118)
  frame 4: Slim::Plugin::FullTextSearch::Plugin::__ANON__ (/usr/share/perl5/vendor_perl/Slim/Control/Request.pm line 2058)
  frame 5: (eval) (/usr/share/perl5/vendor_perl/Slim/Control/Request.pm line 2058)
  frame 6: Slim::Control::Request::notify (/usr/share/perl5/vendor_perl/Slim/Control/Request.pm line 859)
  frame 7: Slim::Control::Request::checkNotifications (/usr/libexec/squeezeboxserver line 708)
  frame 8: main::idle (/usr/libexec/squeezeboxserver line 677)
  frame 9: main::main (/usr/libexec/squeezeboxserver line 1213)

[18-10-22 04:05:34.6510] Slim::Control::Request::notify (2060) Error: Failed notify: Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db selectcol_arrayref failed: no such table: fulltext_terms [for Statement "
                SELECT term, d FROM (
                        SELECT term, SUM(documents) d
                        FROM fulltext_terms
                        WHERE NOT col IN ('*', 1, 0) AND LENGTH(term) > 1
                        GROUP BY term
                        ORDER BY d DESC
                )
                WHERE d > 500
        "] at /usr/share/perl5/vendor_perl/Slim/Schema/Storage.pm line 126

LMS startup goes from seconds to minutes under macOS Mojave

$
0
0
> Where can I look to see why it's crashing and taking so long to
> re-start?


~/Library/Logs/Squeezebox/server.log (or check in Settings/Information
as long as it's running).

--

Michael

LMS on AWS?

$
0
0
> That made me wonder about setting up a streaming server on AWS to stream
> to the Transporter. This means I wouldn't need the Pi based server or
> the external USB drive. AWS has media streaming built in, but I'm fuzzy
> on how to set it up so the Transporter can access it.


You certainly could set up LMS in AWS. But S3 wouldn't be the best
choice, as it's block storage, and isn't mounted like a "normal" drive.
It might be possible somehow, but I'm not aware of a simple solution.

And then you'll have to pay for the bandwidth. Uploading to S3 is cheap
- downloading not that much.

And you'll have to come up with some VPN connection or similar to
protect your LMS.

Overall I guess it's more work and complexity than you want to take on
for LMS only.

--

Michael

Is there a FreeNAS plug-in?

$
0
0
Hi,

I'm thinking of moving from WHS 2011 to FreeNAS but I can't find an official plug-in. Is there one available? If not, can someone suggest the best way to run LMS?

DLD

Transporter display help

$
0
0
Hi,

Just changed my classic for a transporter, very happy with it but trying to get a few things how I want and need some help please.

So when playing I want to have the analog vu meter on the 2nd display (I have blank saver set for screensaver) however on power off I want to use the music information screen that I've set to display time on one screen and date on the other, except this only seems to work when the visualiser screen is set to extended display for when playing. It seems odd that they both are linked.

I can only presume something can be changed in the server pref file to remedy this but I don't know what.

Thanks in advance

Customize Web Remote Control

$
0
0
> From the Control Panel, Web Remote Control "opens" in Internet Explorer.
> What I am wondering is if there is a way to have it open in Firefox or
> Chrome etc. Is there a setting for this ?


Wouldn't it use the default browser configured on your system?

--

Michael

LMS non responsive after clocks go back

$
0
0
This is a strange one I haven't seen before. This morning my players could not contact LMS and the web GUI would not open. i could still open the Max2Play web page on my Pi so I restarted LMS and all is back to normal.
Is it just a coincidence that the clocks went back at 2 AM? I cannot remember ever seeing this happen where LMS crashed but the Pi was still working.

Sent from my SM-G900F using Tapatalk

LMS rescan problems

$
0
0
Since using Xubuntu 18.04 I am having problems with rescanning my local music collection.
Scanning via the gui using the 'Looking for new and changed media files' works fine.
The option 'Clear library and rescan everything' however results in a hanging scan process or an incomplete scan result (sometimes the former, sometime the latter).
When hanging I need to manually kill all LMS processes via the Linux command line, a proper restart of LMS doesn't solve the hanging scan process.

When hanging scanner.log says:
[18-10-27 00:14:10.9152] main::main (205) Starting Logitech Media Server scanner (v7.9.1, 1522157629, Fri Mar 30 12:25:29 CEST 2018) perl 5.026001
[18-10-27 00:14:11.1807] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!

Can't figure out what's the cause of this issue myself. Anyone else experiencing the same behavior?

LMS scans twice

$
0
0
> Then Custom Scan is running and done at some point.

Disable Custom Scan and any other 3rd party plugin to see whether it
makes a difference. If it does, re-enable one after the other until
you've found the culprit.

--

Michael

Skip songs on tidal

$
0
0
Hey you. I'm struggling to squeezebox skip songs (usually in the middle of) when I play via Tidal. On hard drive, it never happens, so I think the problem is Tidal on LMS. Can you help me?

Menu Bar Controller for Mac?

Force squeezeboxserver to bind to specific interface using Linux named netns

$
0
0
Hi,
I recently had a great deal of problems getting connectivity working as required with squeezeboxserver on my Ubuntu 18.04 LTS installation. The problem being that although the server was responding to internal HTTP requests on my private LAN, it refused to respond as when it configures itself at install. It picked the first network interface it found (My public Internet link) and wrote this address into its config files. Trying to change this was not successful. It refused to make any such change and essentially due to the lack of documentation around such configuration I went ahead and built a more appropriate environment for the server daemon.

What this does is to force the daemon to run within a named network namespace, which are supported by the Linux kernel. This means that when the server starts it can only see 1 interface. The one defined in this network namespace. It can not see the public internet interface. It binds to this interface and so long as this interface is bridged into the root network namespace, and an appropriate default route is made available also in the named network namespace, then it can see the internal and public internet as required.

This is not a particularly simple thing to do. But I am happy that the server now runs where I want it with the connectivity I want it to have. See https://github.com/systemd/systemd/issues/2741

I am posting a solution below. It uses systemd to start the squeezebox server in a stack of netns and bridge services. If anyone else would like they can pick it apart and take the same approach. Good luck. Enjoy.
Aidan

I took the approach of using the following three service definitions:
netns@.service
netns-bridge@.service
squeezeboxserver_in_netns.service


And to initiate the service stack first run systemctl daemon-reload and then:

service squeezeboxserver_in_netns start

This is responsible for nameing the netns instance. Care needs to be taken here as interface names are limited in length (16 chars I think) and they will be generated by appending this name to the interface name suffix as defined in the .conf file in ./network/netns/netns-[service-name]-bridge.conf. It works nicely and if the daemon dies it removes all the config.

See here is the code:
A netns creation file: /etc/systemd/system/netns@.service


[Unit]
Description=Named network namespace %I
Documentation=https://github.com/systemd/systemd/issues/2741#issuecomment-336736214
StopWhenUnneeded=true

[Service]
Type=oneshot
RemainAfterExit=yes

# Ask systemd to create a network namespace
PrivateNetwork=yes


# Ask ip netns to create a named network namespace
# (This ensures that things like /var/run/netns are properly setup)
ExecStart=/sbin/ip netns add %I

# Drop the network namespace that ip netns just created
ExecStart=/bin/umount /var/run/netns/%I

# Re-use the same name for the network namespace that systemd put us in
ExecStart=/bin/mount --bind /proc/self/ns/net /var/run/netns/%I

# Clean up the name when we are done with the network namespace
ExecStop=/sbin/ip netns delete %I






A netns bridge configuration service file: /etc/systemd/system/netns-bridge@.service

[Unit]
Description=Named network namespace "%i" network config
BindsTo=netns@%i.service
After=netns@%i.service
StopWhenUnneeded=true

[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=/etc/systemd/network/netns/netns-%i-bridge.conf

# Configure network
ExecStart=/sbin/ip link add ${ROOT_NS_INTF_NAME}-%i type veth peer name ${IN_NS_INTF_NAME}-%i
ExecStart=/sbin/ip link set ${IN_NS_INTF_NAME}-%i netns %i
ExecStart=/sbin/ip link set ${ROOT_NS_INTF_NAME}-%i up
ExecStart=/sbin/brctl addif ${ROOT_NS_BRIDGE} ${ROOT_NS_INTF_NAME}-%i
ExecStart=/sbin/ip netns exec %i ip addr add ${IN_NS_INTF_IP} dev ${IN_NS_INTF_NAME}-%i
ExecStart=/sbin/ip netns exec %i ip link set ${IN_NS_INTF_NAME}-%i up
ExecStart=/sbin/ip netns exec %i ip link set lo up
ExecStart=/sbin/ip netns exec %i ip route add default via ${IN_NS_DEFAULT_GW}

# Clean up when we are done with the network namespace
ExecStop=/sbin/ip link del veth0-%i





A squeezeboxserver daemon service file: /etc/systemd/system/squeezeboxserver_in_netns.service

[Unit]
# Ensure network is configured
BindsTo=netns-bridge@squeeze.service
After=netns-bridge@squeeze.service

# Join the "squeeze" named network namespace that netns@ created
JoinsNamespaceOf=netns@squeeze.service

[Service]
PrivateNetwork=yes
# Your service is now running inside the "squeeze" named network namespace!

ExecStart=/bin/bash /usr/sbin/squeezeboxserver_safe /usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs






A network configuration file: /etc/systemd/network/netns/netns-squeeze-bridge.conf

#Bridge configuration for test netns

IN_NS_INTF_NAME=veth1
IN_NS_INTF_IP=10.0.0.11/24
IN_NS_DEFAULT_GW=10.0.0.10
ROOT_NS_INTF_NAME=veth0
ROOT_NS_BRIDGE=int_br0
Viewing all 5293 articles
Browse latest View live


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