Giter Site home page Giter Site logo

lms-community / slimserver Goto Github PK

View Code? Open in Web Editor NEW
1.1K 91.0 275.0 851.17 MB

Server for Squeezebox and compatible players. This server is also called Lyrion Music Server.

Home Page: https://lyrion.org

License: Other

AppleScript 0.03% Shell 0.01% Perl 89.35% HTML 3.69% CSS 1.15% JavaScript 4.96% Raku 0.11% AL 0.04% C 0.66%
music streaming perl squeezebox squeezebox-server logitech-media-server lyrion-music-server squeezelite lyrion

slimserver's People

Contributors

af-1 avatar blackfiction avatar bpa-code avatar cdrummond avatar chincheta0815 avatar clivem avatar darrell-k avatar dnanian avatar expectingtofly avatar franck-berry avatar hickinbottoms avatar itaintyellow avatar logitech-replication avatar maniac103 avatar markmiksis avatar mavit avatar maxspicer avatar mherger avatar michaelherger avatar michaldie avatar mipa87 avatar mw9 avatar nixusminimax avatar pascalberger avatar philchillbill avatar philippe44 avatar sciurius avatar strandolsen avatar terual avatar triode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

slimserver's Issues

Playlist doesn't show up in web interface if cookie Squeezebox-noPlaylistCover isn't set

If the cookie Squeezebox-noPlaylistCover is not set, requests to playlist.html will time out and the playlist won't show up in the web interface. If this happens, the dropdown that sets this cookie will not be displayed either.

[15-12-09 11:00:48.0607] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::processHTTP: Can't call method "value" on an undefined value at /usr/share/perl5/Slim/Web/Pages/Playlist.pm line 70.

The bug was introduced by commit 453eb2b

Load errors DBI

After an update of Arch, which did update Perl as well I can't start LMS 7.9 anymore. Not sure if LMS comes with it own Perl, but perl --version gives:

This is perl 5, version 22, subversion 0 (v5.22.0) built for x86_64-linux-thread-multi

slimserver --d_startup inlcudes this is the error
...
Loaded module: [version] ok!
Loaded module: [Time::HiRes] ok!
Module [DBI] failed to load:
DBI object version 1.633 does not match $DBI::VERSION 1.616 at /usr/lib/perl5/core_perl/DynaLoader.pm line 216.
BEGIN failed--compilation aborted at /opt/slimserver-public-7.9/CPAN/DBI.pm line 268.
Compilation failed in require at (eval 11) line 1.
BEGIN failed--compilation aborted at (eval 11) line 1.
...
Rename the Cache folder doesn't help.

Explicit port in stream URL not being handled properly

When attempting play a HTTP stream and the port has been explicitly set in the URL, the port part is not separated form the host part. Because of this, Slim will attempt use a host:port format to look up the host.

Form the log:

[15-12-13 23:28:14.4653] Slim::Utils::Scanner::Remote::__ANON__ (193) Error: Can't connect to remote server to retrieve playlist for, http://127.0.0.1%3A3000/data/raw%3Ftrack%3D548133509: Couldn't resolve IP address for: 127.0.0.1:3000.

Version: 7.9 (cc50c1b)

artwork not dispayed error in server.log

Some cover jpg are not displayed and issue an error in server.log.
The following steps were already done:

  1. Clear libary and rescan.
  2. artwork.* removed from Cache folder followed by a rescan.

[15-05-11 20:19:12.1177] Slim::Web::Graphics::ANON (393) Artwork resize for music/f99f1ab9/cover_50x50_o failed
[15-05-11 20:19:21.8160] Slim::Web::Graphics::ANON (393) Artwork resize for music/f99f1ab9/cover_50x50_o failed
[15-05-11 20:19:41.1729] Slim::Web::Graphics::ANON (393) Artwork resize for music/f99f1ab9/cover_150x150_o failed

the artwork file is the following
folder

Possible issue in Fonts.pm with perl 5.24

Hi,
I would like to let you know that there might be an issue (with perl 5.24) in Fonts.pm.
I'm not deep enough in perl but the ternary expression selecting old BidiL/R seems to cause a fail at compile time whenever a box with display connects.

Here's an excerpt of a log file: (https://ptpb.pw/MQmG)
As I say I dont want to tinker with your perl code, as support for 5.8 isn't neccesary in my case I've removed the expression from my fork and the problems are gone (stefansielaff@1011df8).

Podcast plugin: Problem adding podcast "Redirection limit exceeded"

Hi

I'm trying to add this podcast to LMS: https://talkpython.fm/episodes/rss
(Note the httpS, the page redirects to https)

Adding this url under settings and clicking "Apply" will run forever. The Server Log contains:

[16-11-23 16:12:31.9724] Slim::Formats::XML::gotErrorViaHTTP (310) Error: getting https://talkpython.fm/episodes/rss
Redirection limit exceeded
[16-11-23 16:12:31.9751] Slim::Plugin::Podcast::Settings::__ANON__ (119) Error validating feed https://talkpython.fm/episodes/rss: Redirection limit exceeded
[16-11-23 16:12:31.9786] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Networking::Async::_async_read: Undefined subroutine &Slim::Plugin::Podcast::Settings::string called at /media/disk/slimserver/Slim/Plugin/Podcast/Settings.pm line 121.
; fh=Slim::Networking::Async::Socket::HTTP=GLOB(0x4b2c8e0)

and it continues trying...

I'm running the latest public/7.9 branch (commit ff23c8d as of now)

disks with same albumartist and title grouped together

Hi,
I have two albums in my collection, both entitled Grands Motets, and both with album artist being Jean-Philippe Rameau. In the out-of-the-box configuration of slimserver 7.9, the two albums are grouped together as one.
However, the two albums have different musicbrainz_album_id tags, and under normal circumstances I'd hope that would be enough to distinguish them. I've read a bit of the schema code, and found

# Bug 10583 - Also check musicbrainz_id if defined.
# Can't be used in groupdiscs mode since id is unique per disc, not per set.

But I don't think that's right -- the musicbrainz_album_id is unique per musicbrainz release (i.e. it is the same across a multi-disc set); I have verified this by looking at other compilations in my collection. (It's possible that this was not the case, some time ago, before the musicbrainz โ€œNext Generation Schemaโ€ of 2011).
What's the best way to proceed? Is there a simple way to add the musicbrainz_id checking in groupdiscs mode (and is that likely to fix my problem?)

Thanks,
Christophe

Treat Disc Subtitles as a sub-collection of albums for collections

I have several boxed sets (Herbie Hancock: The Complete Columbia Album Collection 1972 - 1988) that have multiple discs representing multiple albums.

The tags for the album (from Musicbrainz) are as follows for an example track:

DISCID: 340abe05
DISCNUMBER: 10
DISCSUBTITLE: V.S.O.P. (disc 2)
DISCTOTAL: 34

I'd like to have the ability to get to a particular DISCSUBTITLE after clicking on the album without having to look at the tags to see which track is part of which album.

So in this case it'd be:

Artist: Herbie Hancock [click]
Album: The Complete Columbia Album Collection 1972 - 1988 [click]
Disc Subtitle: V.S.O.P. (disc 2) [click](and then a list of the tracks)

mysqueezebox.com 504 error

I've found out that mysqueezbox.com is down and the proxy reports a 504 error. Is this a problem for operating slimserver?

Cannot start slimserver.pl using existing MySQL server

Hi!

I am trying to run slimserver 7.9 from git (git cloned) using existing MySQL server.
I have also installed perl modules using FreeBSDs ports/package system. I have however hit a bumped on the road:
[media@baitai /applications/slimserver/app]$ ./slimserver.pl -prefsdir /applications/slimserver/data/ --dbtype MySQL [16-02-29 13:41:06.0226] main::init (384) Starting Logitech Media Server (v7.9.0, TRUNK, UNKNOWN) perl 5.020003 - amd64-freebsd-thread-multi [16-02-29 13:41:06.7333] Slim::Utils::Misc::msg (1233) Warning: [13:41:06.7327] DBIx::Class::Componentised::inject_base(): Use of DBIx::Class::UTF8Columns is strongly discouraged. See documentation of DBIx::Class::UTF8Columns for more info [16-02-29 13:41:07.1047] DBIx::Class::ResultSetColumn::new (95) Warning: Can't locate object method "_merge_joinpref_attr" via package "Slim::Schema::ResultSet::Track" at /usr/local/lib/perl5/site_perl/DBIx/Class/ResultSetColumn.pm line 95. [16-02-29 13:41:07.1062] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized! (in cleanup) Internal error: Root Logger not initialized. at /applications/slimserver/app/lib/Log/Log4perl/Logger.pm line 580. (in cleanup) Internal error: Root Logger not initialized. at /applications/slimserver/app/lib/Log/Log4perl/Logger.pm line 580. [media@baitai /applications/slimserver/app]$

Anybody have any clue/hints to how to solve this problem?

creating favorites from triodes spotify plugin not working fully

I am running logitech media server 7.7.2 on an asustor 302T NAS and it is working fine
The triode spotify plugin version 2.2.16 is also working fine.

However:

When favorite a spotify track from the "Home > Song info" page by clicking on the heart, the favorite gets added to the favorite list but with no cover art icon.
If favorite a track directly from spotify search results ("Home > Spotify > Search") then the favorite gets added with the icon
If I favorite a track from my music library for the "Home > Song info" page then the favorite gets added with the icon

So it seems like favoriting from the song info page is not playing nicely with the spotify plugin.

Any suggestions as to why or how to fix it?

many thanks

unstable debian repo: logitechmediaserver_7.8.1~1424277835_all.deb Size mismatch

Hi,
I'm trying to install logitechmediaserver on Ubuntu 14.04. I've ended up having to use the unstable debian repo as the version of Perl in Ubuntu 14.04 is incompatible with the version required by the logitechmediaserver debian package in the stable repository.

When installing from the unstable repository I'm experiencing 2 issues:

  1. The package is unsigned
  2. There's a checksum/ size mismatch between the repository index and the actual debian artefact

This is evidenced in the output below:

WARNING: The following packages cannot be authenticated!
  logitechmediaserver
Install these packages without verification? [y/N] y
Get:1 http://debian.slimdevices.com/ unstable/main logitechmediaserver all 7.8.1~1424277835 [123 MB]
Fetched 123 MB in 43s (2,841 kB/s)                                             
E: Failed to fetch http://debian.slimdevices.com/pool/main/l/logitechmediaserver/logitechmediaserver_7.8.1~1424277835_all.deb  Size mismatch

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

/logitechmediaserver_7.8.1~1424277835_all.deb Size mismatch

Are the developers of this gitrepo responsible for publishing to the debian repository? It would be great if artefact signing could be implemented and the size mismatch issue fixed (I'm guessing this is just an issue with the repo index being out of step?). Failing that are there any known workarounds to force apt to ignore the warnings?

Many thanks,

Edd

"Music Folder" Option in "My Music" is not visible if all folders have "Music" "Pictures" "Video" unchecked

If you leave all three "Music" "Pictures" and "Video" checkboxes unchecked in your media folders options, then the "Music Folder" option is not visible in "My Music". But it is still active (visible from a previous page refresh, or url http://a.b.c.d:9000/clixmlbrowser/clicmd=browselibrary+items&linktitle=BROWSE_MUSIC_FOLDER&mode=bmf/index.html ), with all folders being shown between brackets.

If you check only one of these options on any of the folders, then the option reappears in "My Music", the folders with no options being shown between brackets, the one(s) with checkboxes shown without brackets.

I for one do not want my music scanned, since I only use the music folder browsing. It would be great if "Music Folder" was always showing when at least a music folder is added, regardless of options (un)checked.

Thanks :)

DLNA not playing full albums

When I try to play an album (with Emby and BubbleUpnp) to the Squeezebox, it play the first song and then stop. I've seen many people with this bug but I still didn't found a fix or workaround fot this.

long pause, then play results in players completely out of sync

i have a setup with 6 synchronized (1 wifi, 5 wired) "SB play" running from an LMS, formerly on a QNAP NAS, now on a dedicated raspberry pi.
we're mostly streaming from the internet, so the LMS is in proxy mode in these cases.
while the LMS is playing, the players keep nicely in sync, hardly ever a problem.

but with the typical use case "pause" before going to bed in the evening and a "play" as next action in the morning, the music will continue playing, but completely out of sync between the various players. and they also won't resync while playing.
so i constantly have to press "previous track", for the internet stream to reload and more importantly trigger the players/server to resync.

it would be nice if in these cases, "play" would be sufficient to also resync the players and continue playing the stream correctly aligned.
the problem with the "previous track" workaround are obvious once there are multiple streams or offline music from the NAS in the playlist.

ARM perl module libraries not page aligned

I have been trying unsuccessfully to install the Logitech Media Player onto a WD My Cloud NAS device.
This device uses an ARM processor and runs Debian. After a lot of troubleshooting I isolated the problem to the LMS-included Perl module libraries: they are not page aligned.

Here are the details:

When I run /usr/sbin/squeezebox server I get the message:

The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser JSON::XS Digest::SHA1 YAML::XS Sub::Name


*******

NOTE:

If you're running some unsupported Linux/Unix platform, please use the buildme.sh 
script located here:

https://github.com/Logitech/slimserver-vendor/tree/public/7.9/CPAN

If 7.9 is outdated by the time you read this, Replace "7.9" with the major version
You should never need to do this if you're on Windows or Mac OSX. If the installers
don't work for you, ask for help and/or report a bug.

*******


Exiting..

I get more information by running the following perl script, which tries to use one of the modules:

#!/usr/bin/perl

BEGIN {
    push @INC, "/usr/share/squeezeboxserver/CPAN";
    push @INC, "/usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabihf-thread-multi-64int/auto/EV";
}

use EV;

printf ("Hello!\n");

It results in:

Can't load '/usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabihf-thread-multi-64int/auto/EV/EV.so' for module EV: /usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabihf-thread-multi-64int/auto/EV/EV.so: **ELF load command alignment not page-aligned** at /usr/lib/perl/5.14/DynaLoader.pm line 184.
 at /usr/share/squeezeboxserver/CPAN/EV.pm line 127
BEGIN failed--compilation aborted at /usr/share/squeezeboxserver/CPAN/EV.pm line 127.
Compilation failed in require at ./harold.pl line 8.
BEGIN failed--compilation aborted at ./harold.pl line 8.

The problem occurs with versions 7.6 through 7.9.

I would be happy to assist in fixing this problem. I am a competent programmer, but I do not have a development enviroment for the ARM.

Harry Dolan

Podcast atom feed player

Hi guys!

Do you have a plan for atom-feed podcast playing? Like this?
[https://tilos.hu/feed/show/hi-fi-budapest]
Or is this already possible?

LMS 7.9 randomly skips to the next song without finishing the one playing

Hi there,

out of nowhere since a couple of day I experience this same issue when using google music plug in. Random songs are not played until the end. LMS skips to the next track approx. 10 to 20 secs. before the end of the current song. I already tried a couple of things which did not help at all:

  • reinstall of LMS 7.9
  • reinstall of Google Music Plugin from github.com/squeezebox-googlemusic/squeezebox-googlemusic
  • Update of gmusicapi to 10.1.0

I'm using a Raspberry Pi 3 as a server and squeezelite clients on Raspberry Pi B.

Any ideas what could be the reason?

Playback issues for certain podcasts

Hello,

I'm trying to playback the "Talk Python to Me" podcast, but when I try to play it I don't hear anything. I'm not sure what's going on to prevent it (I have some suspicions):

[16-09-23 08:33:43.7692] Slim::Player::Squeezebox2::directHeaders (471) Processing headers for direct streaming:
HTTP/1.1 301 Moved Permanently
Server: nginx/1.10.0 (Ubuntu)
Date: Fri, 23 Sep 2016 12:33:48 GMT
Content-Type: text/html
Content-Length: 194
Connection: close
Location: https://downloads.talkpython.fm/static/episode_cache/076_renwable_python.mp3

[16-09-23 08:33:43.7694] Slim::Player::Squeezebox2::directHeaders (545) Processing 6 headers
[16-09-23 08:33:43.7695] Slim::Player::Squeezebox2::directHeaders (551) Calling Slim::Player::Protocols::HTTP ::parseDirectHeaders
[16-09-23 08:33:43.7697] Slim::Player::Protocols::HTTP::parseDirectHeaders (348) header-ds: Server: nginx/1.10.0 (Ubuntu)
[16-09-23 08:33:43.7698] Slim::Player::Protocols::HTTP::parseDirectHeaders (348) header-ds: Date: Fri, 23 Sep 2016 12:33:48 GMT
[16-09-23 08:33:43.7699] Slim::Player::Protocols::HTTP::parseDirectHeaders (348) header-ds: Content-Type: text/html
[16-09-23 08:33:43.7701] Slim::Player::Protocols::HTTP::parseDirectHeaders (348) header-ds: Content-Length: 194
[16-09-23 08:33:43.7702] Slim::Player::Protocols::HTTP::parseDirectHeaders (348) header-ds: Connection: close
[16-09-23 08:33:43.7703] Slim::Player::Protocols::HTTP::parseDirectHeaders (348) header-ds: Location: https://downloads.talkpython.fm/static/episode_cache/076_renwable_python.mp3
[16-09-23 08:33:43.7708] Slim::Player::Client::streamingProgressBar (1115) url=https://downloads.talkpython.fm/static/episode_cache/076_renwable_python.mp3, duration=3269.5908125, bitrate=undef, contentLength=undef
[16-09-23 08:33:43.7711] Slim::Player::Client::streamingProgressBar (1149) Duration of stream set to 3269.5908125 seconds
[16-09-23 08:33:43.7712] Slim::Player::Squeezebox2::directHeaders (613) Got a stream type: htm bitrate: 128000 title: undef
[16-09-23 08:33:43.7713] Slim::Player::Squeezebox2::directHeaders (621) Redirecting to: https://downloads.talkpython.fm/static/episode_cache/076_renwable_python.mp3
[16-09-23 08:33:43.7720] Slim::Player::Squeezebox::stream_s (787) This player supports direct streaming for https://downloads.talkpython.fm/static/episode_cache/076_renwable_python.mp3 as https://downloads.talkpython.fm/static/epis
ode_cache/076_renwable_python.mp3, let's do it.
[16-09-23 08:33:43.7726] Slim::Player::Squeezebox::stream_s (828) setting up direct stream (2680921952:80) autostart: 3 format: m.
[16-09-23 08:33:43.7727] Slim::Player::Squeezebox::stream_s (829) request string: GET /static/episode_cache/076_renwable_python.mp3 HTTP/1.0
Cache-Control: no-cache
Connection: close
Accept: /
Host: downloads.talkpython.fm
User-Agent: iTunes/4.7.1 (Linux; N; Debian; x86_64-linux; EN; utf8) SqueezeCenter, Squeezebox Server, Logitech Media Server/7.9.0/1474277583
Icy-Metadata: 1

Patches from 3rd party repos not loaded

Patches from 3rd party repositories are not loaded in 7.9. In 7.8.1 these patches are still loaded.

Steps to reproduce:

When connected to a 7.8.1 server, "Test patch" appears in the list. When connected to a 7.9.0, "Test patch" does not appear in the list.

I tested this with 7.8.1 & 7.9.0 nightlies from May 23, running on OSX. But the same happens with my main server, now running 7.9.0@April-10 on Debian armhf.

Some warnings

Using perl 5.16.3 on my archlinux arm, there are some warning:
defined(@array) is deprecated at /opt/logitechmediaserver/CPAN/Class/Inspector.pm line 124.
(Maybe you should just omit the defined()?)
defined(@array) is deprecated at /opt/logitechmediaserver/CPAN/Log/Log4perl/Config.pm line 840.
(Maybe you should just omit the defined()?)
defined(@array) is deprecated at /opt/logitechmediaserver/Slim/Player/SB1SliMP3Sync.pm line 146.
(Maybe you should just omit the defined()?)
overload arg '"' is invalid at /opt/logitechmediaserver/CPAN/DBIx/Class/Storage.pm line 26.

I don't know how to attach a patch here.

Crossfade with network streams

Hi Michael - so many thanks for your tireless work on LMS - you are a legend :)

Should crossfade work when using e.g. GoogleMusic plugin? (I'm using the recently-forked https://github.com/squeezebox-googlemusic)

Playing tracks from the local library with Crossfade enabled works fine - it smoothly mixes across over the last few / first few seconds of the two tracks.

When I play anything from Google Music, no crossfade occurs. One track finishes and then the next one starts.

I just upgraded this evening to the current snapshot of 7.9 (1467357800) in the hope it would be magically fixed.

Checkboxes to confirm overwrite and delete don't have labels

In the default skin, the checkboxes for confirming the overwriting or deletion of a playlist don't have labels. This means that, to select them, it's necessary to click the very small red area here:
Screenshot of the default skin, with the checkbox highlighted in red and the text highlighted in blue

Wrapping that text in a label element would make the blue area clickable area as well, making this much easier to use - for me at least! Is this a change you'd consider making?

Weird buffering problems

Hello,
I'm using Logitech Media Server Version: 7.9.0 - 1408690240 @ Sun Aug 24 04:03:08 UTC 2014 and since I've updated my NAS (Netgear RN102) to run kernel 3.16.1, I've run into weird problems with buffering : sometimes the player (either my squeezebox 3 or my Boom), usually at the beginning of a song, stalls while waiting for data.

Info log shows :

14-08-28 21:28:38.0203] Slim::Networking::Slimproto::_stat_handler (785) 00:04:20:12:43:a7: STAT-STMt: fullness=22619, output_fullness=781184, elapsed=23.840
[14-08-28 21:28:38.0337] Slim::Networking::Slimproto::_stat_handler (785) 00:04:20:12:43:a7: STAT-strm: fullness=22619, output_fullness=780928, elapsed=23.841
[14-08-28 21:28:38.2375] Slim::Networking::Slimproto::_stat_handler (785) 00:04:20:12:43:a7: STAT-STMt: fullness=22619, output_fullness=706048, elapsed=24.053
[14-08-28 21:28:39.1855] Slim::Control::Queries::_getTagDataForTracks (5393) _getTagDataForTracks query: SELECT tracks.id AS 'tracks.id', tracks.url AS 'tracks.url', tracks.title 
AS 'tracks.title' FROM tracks WHERE tracks.id IN (75807)  / []
[14-08-28 21:28:39.2299] Slim::Networking::Slimproto::_stat_handler (785) 00:04:20:12:43:a7: STAT-STMt: fullness=22619, output_fullness=353152, elapsed=25.053
[14-08-28 21:28:40.2273] Slim::Networking::Slimproto::_stat_handler (785) 00:04:20:12:43:a7: STAT-STMt: fullness=22619, output_fullness=384, elapsed=26.053
[14-08-28 21:28:40.2351] Slim::Networking::Slimproto::_stat_handler (785) 00:04:20:12:43:a7: STAT-STMo: fullness=22619, output_fullness=-1, elapsed=26.054
[14-08-28 21:28:40.2379] Slim::Player::Squeezebox::stream (1026) strm-p
[14-08-28 21:28:40.2461] Slim::Networking::Slimproto::_stat_handler (785) 00:04:20:12:43:a7: STAT-STMp: fullness=22619, output_fullness=-1, elapsed=26.054
[14-08-28 21:28:40.2492] Slim::Networking::Slimproto::_stat_handler (785) 00:04:20:12:43:a7: STAT-strm: fullness=22619, output_fullness=-1, elapsed=26.054
[14-08-28 21:28:40.3956] Slim::Networking::Slimproto::_stat_handler (785) 00:04:20:12:43:a7: STAT-STMt: fullness=22619, output_fullness=-1, elapsed=26.054
[14-08-28 21:28:40.3987] Slim::Networking::Slimproto::_stat_handler (785) 00:04:20:12:43:a7: STAT-strm: fullness=22619, output_fullness=-1, elapsed=26.054
[...]
14-08-28 21:29:11.0821] Slim::Schema::Debug::query_start (23) SELECT me.id, me.urlmd5, me.url, me.musicbrainz_id, me.added, me.playcount, me.lastplayed, me.rating FROM tracks_per
sistent me WHERE ( urlmd5 = ? ): '1dc050e6c8adbbcb5ab5eb4579955da4'
[14-08-28 21:29:11.0908] Slim::Schema::Debug::query_start (23) UPDATE tracks_persistent SET lastplayed = ?, playcount = ? WHERE ( id = ? ): '1409254151', '3', '825'
[14-08-28 21:29:11.1314] Slim::Player::Squeezebox::stream_s (542) stream_s called: format: flc url: file:///data/MP3/Blind_Guardian/2007-Another_Stranger_Me/01-Another_Stranger_Me
.flac
[14-08-28 21:29:11.1355] Slim::Player::Squeezebox::stream_s (964) Overriding transition due to differing sample rates
[14-08-28 21:29:11.1380] Slim::Player::Squeezebox::stream_s (974) Starting decoder with format: f flags: 0x0 autostart: 1 buffer threshold: 255 output threshold: 0 samplesize: ? s
amplerate: ? endian: ? channels: ?
[14-08-28 21:29:11.1445] Slim::Networking::Slimproto::_stat_handler (785) 00:04:20:12:43:a7: STAT-STMf: fullness=0, output_fullness=-1, elapsed=26.054
[14-08-28 21:29:11.1479] Slim::Networking::Slimproto::_stat_handler (785) 00:04:20:12:43:a7: STAT-strm: fullness=0, output_fullness=-1, elapsed=0.000

I've tried stracing and everything but couldn't find any bottleneck.

Installation.txt

The Installation.txt file says:"Version 5.10.0 or higher of Perl is required." but it would be helpful which Perl version is supported. 5.22 is not.

Please update the the Installation.txt file to include what the lowest and highest version of Perl is required to run slimserver.

DSTM from a playlist

Hey, DSTM looks great, but I don't tend to my from a genre.

How about having it select songs from a playlist. I have a bunch of playlists that I've created (i.e., kids, favourite songs per kid, general (no kids music!)). It'd be great to have DSTM just pull songs from the currently selected playlist.

[Firmware] ethernet cable plug/unplug should reconfigure interface

When the device is started and configured with DHCP, if the DHCP request timeouts out, the device doesn't get a valid one. But then, if the ethernet cable is unplugged and plugged in again, the DHCP is not reconfigured. IMO the interface should go down when the cable is unplugged, and reconfigured when it's active again to allow the DHCP to reconfigure the interface.

This happens at least with the transporter.

Skipping to next song

Running Logitech Media Server Version: 7.8.1 - 1408690219 on an ubuntu server box.

Player is iPeng on an iPad.

Server is hard wired ethernet, iPad is on wifi but with very strong good signal.

Getting skips where a song doesn't finish but the player jumps ahead.

Obviously lots of things to isolate here, but what should I enable in server logging that would most likely point to a culprit?

high cpu usage nightly

hello,

long time LMS user, 3-4 years i guess.
installed the nightly yesterday but have a high cpu usage since then. I install a nightly build every month - 2 months (when I think of it :) )
Running on a Debian stable x86_64

/var/log/squeezeboxserver/server.log gives me 5000 times:

[17-01-05 19:16:02.6671] Slim::Utils::Misc::msg (1244) Warning: [19:16:02.6668] EV: error in callback (ignoring): DBIx::Class::Storage::DBI::ANON($
INSERT INTO scanned_files
(url, timestamp, filesize)
VALUES
(?, ?, ?)
"] at /usr/share/perl5/Slim/Utils/Scanner/Local/AIO.pm line 132

or it says there is already an instance of LMS running (not true!) .
Never had this kind of CPU usage (150%). normally some 4% (dual core celeron)

Recent 7.8 builds break (or are broken by) Triode's Network Test v1.0 plugin

Michael: Thank you very much for all the excellent work you have done on slimserver. I believe that I have found a bug that was introduced into LMS 7.8 sometime between 14 July and 15 September:

Configuration

  • Server: LMS 7.8 running on a Netgear ReadyNAS Pro (x86, Debian Etch variant)
  • Server plugins: Many, including Network Test v1.0 by Triode
  • Player: Squeezebox3 with firmware 137

Issue

With LMS 7.8 builds 1373542147 (2013-07-14) and earlier:
No problem.

With LMS 7.8 builds 1378973751 (2013-09-15) and 1380101233 (2013-09-27) -- and presumably with builds between those dates:
Shortly after connecting to the server, the player suddenly starts to run Triode's Network Test plugin for no reason. This can happen while at the Now Playing screen or just while browsing the player menus with the remote control: The music stops (if it was playing) and the Network Test meter and percentages appear. The test display is erratic and inaccurate, and when the remote-control LEFT or HOME button is pressed to exit Network Test, the player almost immediately re-enters Network Test; it is impossible to keep the player out of the Network Test state for more than one or two seconds.

Things that do not fix the problem

  • Restart the player.
  • Restart the server.
  • Reinstall either of the problematic LMS 7.8 builds.
  • Reinstall player firmware.
  • Replace batteries in the IR remote control.
  • Control the player with a Squeezebox Touch instead of the IR remote control.

Things that do fix the problem

  • Downgrade to build 1373542147 (2013-07-14). Other builds between that one and 1378973751 (2013-09-15) might also work, but I do not have access to them.

    or

  • Deactivate the Network Test plugin.

If I can provide more information to help you identify or debug the issue, please ask.

Error with < in Album / Artist name in Default Skin

I've a mp3 file containing the following tags:

Artist Name : <kaeb
Album Artist : Beak>; <kaeb
Album Title : Beak> / <kaeb Split Ep

LMS scans the file and seems to read the tags correctly (they are shown correctly in SqueezeCommander on Android). But the default skin fails to show the info correctly:

ARTIST:
ALBUM ARTIST: Beak>;
ALBUM: Beak> /

It seems like the skin has a problem with the leading < in the artist name.

HTTPS URLs

"Tune in URL" and the podcast plugin silently fail when given HTTPS urls. I assume this is a simple library-level fix, but I'm not a Perl person.

Slimserver fails to play streams without .mp3/.mp2/etc. ending in the url

I'm currently trying to get my DVB-C radio channels running on my squeezeboxes.
For this i'm using tvheadend which provides those as "file format: MPEG-TS (MPEG-2 Transport Stream) (libavformat)" to quote mplayer.

Problem is:
The squeezebox server just fails to play it and displays "Fehler: Wiedergabeliste ist leer" on the connected squeezeboxes.

I've investigated the problem and found out that the stream doesn't need recoding and/or remuxing but just a "special" url format.

Here's a command for vlc to proxy the stream and make it work:

cvlc : -v http://tvheadendhost:9981/play/stream/channel/ad42deb29e4f478ab49199a4431f3ced --sout '#http{mux=raw,dst=:8080/bla.mp2}'

(Open http://machinewithvlc:8080/bla.mp2 in the squeezebox server)

And here's a command which just fails with the empty playlist message:

cvlc : -v http://tvheadendhost:9981/play/stream/channel/ad42deb29e4f478ab49199a4431f3ced --sout '#http{mux=raw,dst=:8080/}'

(Open http://machinewithvlc:8080/ in the squeezebox server)

For testing, you can just replace the tvheadend stream url with a normal internet radio station like for example http://main-high.rautemusik.fm (Just don't forget to change bla.mp2 to bla.mp3 in this case)
The behaviour is the same.

Squeezeboxserver does not play

Hi all together!

I've a problem getting an mp3 file streamed trough squeeboxserver/LMS/Slimserver. For a short background: Playing a playlist from a web radio works pretty fine, also playing an mp3 file from the server where LMS is running works fine, too. What I now try to achieve is, to play a file which is delivered by a local webserver (the file is generated by php -> pico2wave -> lame -> mp3 file) using php. However, this is not working.

What I would expect:
If I enter the URL in the "direct URL" input box of the LMS web interface and click play, the LMS starts playing the file (at least the progress bar indicates this).

What I currently have as a result:
I don't have any audio in the LMS player (it's a squeezelite service on the same server). Just to be clear: Playing other media files or streams works fine and I've audio. The LMS web interface indicates, that the file is played and has the title, which is set in the icy-name header.

The log output when the LMS server is started with the arguments --debug player.streaming.direct=debug player.streaming.remote=debug

Async::HTTP: Unable to load IO::Socket::SSL, will try connecting to SSL servers in non-SSL mode
[16-12-11 18:14:54.7842] main::init (384) Starting Logitech Media Server (v7.9.0, 1481125532, Fri Dec  9 04:19:54 UTC 2016) perl 5.022001 - x86_64-linux-gnu-thread-multi
[16-12-11 18:14:54.7864] main::changeEffectiveUserAndGroup (1001) Warning: Logitech Media Server must not be run as root!  Trying user squeezeboxserver instead.
[16-12-11 18:15:05.6842] Slim::Player::Squeezebox::stream_s (787) This player supports direct streaming for http://smarty/tts/service.php?lng=de-DE&msg=Hallo as http://smarty/tts/service.php?lng=de-DE&msg=Hallo, let's do it.
[16-12-11 18:15:05.6846] Slim::Player::Squeezebox::stream_s (807) Made synchronous DNS request for smarty (0.00 ms)
[16-12-11 18:15:05.6851] Slim::Player::Squeezebox::stream_s (828) setting up direct stream (2130706689:80) autostart: 3 format: m.
[16-12-11 18:15:05.6853] Slim::Player::Squeezebox::stream_s (829) request string: GET /tts/service.php?lng=de-DE&msg=Hallo HTTP/1.0
Cache-Control: no-cache
Connection: close
Accept: */*
Host: smarty
User-Agent: iTunes/4.7.1 (Linux; N; Debian; x86_64-linux; DE; utf8) SqueezeCenter, Squeezebox Server, Logitech Media Server/7.9.0/1481125532
Icy-Metadata: 1

[16-12-11 18:15:05.7953] Slim::Player::Squeezebox2::directHeaders (471) Processing headers for direct streaming:
HTTP/1.1 200 OK
Server: nginx/1.10.0 (Ubuntu)
Date: Sun, 11 Dec 2016 17:15:05 GMT
Content-Type: audio/mpeg
Content-Length: 4392
Connection: close
Content-Transfer-Encoding: binary
Content-Disposition: filename="tts.mp3"
Cache-Control: no-cache
icy-br: 48
icy-name: TTS Announcement

[16-12-11 18:15:05.7956] Slim::Player::Squeezebox2::directHeaders (545) Processing 10 headers
[16-12-11 18:15:05.7958] Slim::Player::Squeezebox2::directHeaders (551) Calling Slim::Player::Protocols::HTTP ::parseDirectHeaders
[16-12-11 18:15:05.7960] Slim::Player::Protocols::HTTP::parseDirectHeaders (348) header-ds: Server: nginx/1.10.0 (Ubuntu)
[16-12-11 18:15:05.7962] Slim::Player::Protocols::HTTP::parseDirectHeaders (348) header-ds: Date: Sun, 11 Dec 2016 17:15:05 GMT
[16-12-11 18:15:05.7963] Slim::Player::Protocols::HTTP::parseDirectHeaders (348) header-ds: Content-Type: audio/mpeg
[16-12-11 18:15:05.7964] Slim::Player::Protocols::HTTP::parseDirectHeaders (348) header-ds: Content-Length: 4392
[16-12-11 18:15:05.7965] Slim::Player::Protocols::HTTP::parseDirectHeaders (348) header-ds: Connection: close
[16-12-11 18:15:05.7966] Slim::Player::Protocols::HTTP::parseDirectHeaders (348) header-ds: Content-Transfer-Encoding: binary
[16-12-11 18:15:05.7967] Slim::Player::Protocols::HTTP::parseDirectHeaders (348) header-ds: Content-Disposition: filename="tts.mp3"
[16-12-11 18:15:05.7969] Slim::Player::Protocols::HTTP::parseDirectHeaders (348) header-ds: Cache-Control: no-cache
[16-12-11 18:15:05.7970] Slim::Player::Protocols::HTTP::parseDirectHeaders (348) header-ds: icy-br: 48
[16-12-11 18:15:05.7971] Slim::Player::Protocols::HTTP::parseDirectHeaders (348) header-ds: icy-name: TTS Announcement
[16-12-11 18:15:05.7974] Slim::Player::Squeezebox2::directHeaders (570) Setting new title for http://smarty/tts/service.php?lng=de-DE&msg=Hallo, TTS Announcement
[16-12-11 18:15:05.7983] Slim::Player::Squeezebox2::directHeaders (613) Got a stream type: mp3 bitrate: 48000 title: TTS Announcement
[16-12-11 18:15:05.7985] Slim::Player::Squeezebox2::directHeaders (664) Beginning direct stream!
[16-12-11 18:15:05.7986] Slim::Player::Squeezebox2::sendContCommand (700) Sending cont frame: metaint 0, loop 0

How the mp3 output is generated:
I followed a wiki page from openhab to create a php script (PHP 7 using nginx 1.10). The script generates an wav file and converts it to mp3. I can play the generated mp3 file from LMS (if I move it to the music bibliothek of the LMS server and can play it in my web browser (or if I save it locally)). The script works pretty fine and I also can play the file directly on my pc (if I open the url of the script: http://smarty/tts/service.php?lng=de-DE&msg=Hallo).

So, now I don't have any idea why the mp3 file isn't working with LMS. Does anyone has an idea?

If you need more information, feel free to ask.

Version of LMS:
Logitech Media Server Version: 7.9.0 - 1481125532 @ Fri Dec 9 04:19:54 UTC 2016

Thanks for any help!

Monkey's Audio won't play

I installed the latest nighty today hoping this issue is solved.
System: Ubuntu 15.04, x64.
Error: Couldn't create command line for ape playback for...

Files are scanned no problem, and I remember it sued to work long time ago.
Also in Andvanced > FileTypes I see Monkey's Audio options greyed out.

Advice or fix much, much appreciated.

Player list is stuck

I'm running the latest stable 7.9 Debian x86.
My list of available players is for some reason stuck. Removed players still appear in the list.
Is there a way to clear the player list?
(Restarting LMS does not help)

logitechmediaserver-7.9.0-1481874538-arm doesnt extract correctly

I recently installed logitechmediaserver-7.8.1-1479376030-arm-linux.tgz via SSOTS on my QNAP ARM system and it worked well. Due to Podcast-SSL-Redirect-Issues I need to upgrade to 7.9.

I downloaded logitechmediaserver-7.9.0-1481874538-arm-linux.tgz and use SSOTS to upgrade

This what I get:

Warning: stay tuned! This may take some time (less than a minute or two).
.....

Success: tar ball extracted.

Error: cannot determine what we just extracted.

Try again (possibly with another tar ball).

Any idea why this happens?

cheers
Stefan

Feature Request: Re-Add the startup option "-noupnp"

Is there the possibility to re-add the startup option --noupnp to LMS?
On low performant systems (e.g. RasPi) with a lot of UPNP devices in the network LMS is causing a lot of workload for the server hardware. Disabling upnp by the lic at startup would help a lot.

Discrepancy between CLI and JSON interfaces for XMLBrowser based queries

It seems that the JSON interface needs a player ID to execute the items query on any plugin, whilst the CLI does not.
CLI:

news items 0 5
ab%3Acd%3Aef%3A12%3A34%3A28 news items 0 5 title%3ANews id%3A55adb327.0 name%3AFeatured isaudio%3A0 hasitems%3A1 id%3A55adb327.1 name%3ALocal%20Stations%20(1) isaudio%3A0 hasitems%3A1 id%3A55adb327.2 name%3AShows%20(11%2B) isaudio%3A0 hasitems%3A1 id%3A55adb327.3 name%3AStations%20(25%2B) isaudio%3A0 hasitems%3A1 id%3A55adb327.4 name%3AExplore%20News isaudio%3A0 hasitems%3A1 count%3A5

works fine as shown.

JSON:

{"$id":"1","id":1,"method":"slim.request","params":[null,["news","items",  "0","5"]]}

does not work. Whilst:

{"$id":"1","id":1,"method":"slim.request","params":["ab:cd:ef:12:34:28",["news","items",  "0","5"]]}

works correctly.

Is this a bug?

Items in 'My apps' not sent to 3rd party remote applications when the device is not connected to right mysquezeebox.com account

Hello,

I've bought few Boom devices from Ebay and I found out that one device is yet registered to former owner's mysqueezebox.com account.
The device is actually connected to my local LMS Linux server to stream music from.
Also a few applications (BBC, Sounds&Effects) are installed on this device and both of them are visible in 'My apps' menu on Boom itself as well as on LMS web page.

I'm using Squeeze ctrl (https://play.google.com/store/apps/details?id=com.angrygoat.android.squeezectrl) Android application to control all my devices and I've found out that when I enter the 'My apps' menu from this Android application to control this particular Boom device the menu is completely empty (nor BBC, nor Sounds&Effects applications are listed). I've discussed this with Squeeze ctrl developers and I was told the problem is with LMS which actually sends the menu to client application which is just displaying it.

I'm not sure where the problem really comes from but I've found out this behaviour occurs only with this particular Boom device which is not connected to my mysqueezebox. com account. If this really is the source of the problem I think this it is a bug as I'd suppose menus to be listed with the same entries regardless from where it is accessed (Boom's display, LMS web interface, other 3rd party application connected to LMS)

Thank you

Tomas

LMS 7.9 infinite restart....

After an update to LMS 7.9, it restart every 15 second. You can found here a copy of the log

[17-01-02 17:33:24.2091] main::init (384) Starting Logitech Media Server (v7.9.0, 1483281996, Sun Jan 1 15:14:43 UTC 2017) perl 5.018002 - i686-linux-gnu-thread-multi-64int [17-01-02 17:33:29.0923] Slim::Networking::SqueezeNetwork::_error (561) Unable to login to SN: 503 Service Temporarily Unavailable [17-01-02 17:33:29.0933] Slim::Networking::SqueezeNetwork::_init_error (184) Unable to login to mysqueezebox.com, sync is disabled: 503 Service Temporarily Unavailable (http://www.mysqueezebox.com) [17-01-02 17:33:29.0947] Slim::Networking::SqueezeNetwork::_init_error (200) mysqueezebox.com sync init failed: 503 Service Temporarily Unavailable, will retry in 1500 (http://www.mysqueezebox.com) [17-01-02 17:33:33.0112] Slim::Utils::Misc::msg (1244) Warning: [17:33:33.0102] fixed-point overflow: 1130844160 1143148544 1143148544 -2121175040 [17-01-02 17:33:33.1424] Slim::Utils::Misc::msg (1244) Warning: [17:33:33.1416] fixed-point overflow: 1242618752 1257586688 1257586688 -1854518784 2017-01-02 17:33:33 Logitech Media Server died. Restarting. [17-01-02 17:33:36.9830] main::init (384) Starting Logitech Media Server (v7.9.0, 1483281996, Sun Jan 1 15:14:43 UTC 2017) perl 5.018002 - i686-linux-gnu-thread-multi-64int

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.