[SlimDevices: SqueezeCenter] Problem with LMS 8.2.1 on Fedora 33

2021-04-03 Thread Martin Gregorie
Having upgraded my house server from Fedora 32 to Fedora 33 over
Thursday night and got it up and running, I discovered that my old copy
of LMS 7.9 wasn't happy, so have just installed 8.2 - to be precise,
I installed this archive:

logitechmediaserver-8.2.0-0.1.1616822338.noarch.rpm

which seemed to go all right, but wouldn't run. A small amount of
fiddling got the squeezeboxserver user and groups set up and systemd
doing its thing without complaining, but LMS still won't run. 

Any attempt to start it gets a failure:

===
$ sudo systemctl start squeezeboxserver
$ sudo systemctl status squeezeboxserver
● squeezeboxserver.service - Squeezeboxserver
Loaded: loaded (/usr/lib/systemd/system/squeezeboxserver.service;
enabled; vendor preset: disabled)
Active: inactive (dead) since Sat 2021-04-03 18:02:50 BST; 12s ago
Process: 195745 ExecStart=/usr/libexec/squeezeboxserver --prefsdir
$SQUEEZEBOX_CFG_DIR --logdir $SQUEEZEBOX_LOG_DIR --cachedir
$SQUEEZEBOX_CACHE_DIR --charset $SQUEEZEBO>
Main PID: 195745 (code=exited, status=0/SUCCESS)

Apr 03 18:02:49 zoogz.gregorie.lan systemd[1]: Started Squeezeboxserver.
Apr 03 18:02:50 zoogz.gregorie.lan squeezeboxserver[195745]: Undefined
subroutine ::Utils::Misc::makeTempDir called at
/usr/libexec/squeezeboxserver line 946.
Apr 03 18:02:50 zoogz.gregorie.lan squeezeboxserver[195745]: [21-04-03
18:02:50.7691] main::init (389) Starting Logitech Media Server (v8.2.0,
1616822338, Sat Mar 27 07:18:1>
Apr 03 18:02:50 zoogz.gregorie.lan systemd[1]: squeezeboxserver.service:
Succeeded.

===

. so can I have a fix, please?

Best,
Martin Gregorie

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] Problems with LMS v7.9.2, 1577548976 on Fedora 31

2020-01-04 Thread Martin Gregorie
Guys,

I've just upgraded my house server to Fedora 31 (from F30) and find that
everything works just perfectly except for LMS 7.9.2, which was v7.9.2,
1575296326. which failed to start due to file access errors.

Error 1: Although LMS reported the access error, evidently due to
permission changes made by the upgrade to F31, the error message:
   "Error: Select task failed calling Slim::Web::HTTP::processHTTP:
mkdir /var/lib/squeezeboxserver: File exists at
/usr/share/squeezeboxserver/lib/Template/Provider.pm line 389."
may well be incorrect, since deleting the directory didn't fix the issue

So, I upgraded to LMS v7.9.2, 1577548976 - the latest nightly. 

This installed using rpm's -U option, apparently successfully because it
autostarted put a message in /var/log/messages asking me to login and
configure it. However, starting a browser session on port 9000 did not
show the login and set music and playlist locations as I'd expected.
Instead, the browser just shows a turquoise screen with a spinner and
the message:

"Loading Logitech Media Server...". 

The message log (attached) shows that it has stuck because there are
three uninitialised values, $name, $shortname and $name (again) 
in /usr/share/squeezeboxserver/CPAN/Template/Context.pm at lines 100,
116 and 168., so can I have a fix, please.

Best regards, 
Martin Gregorie


[20-01-04 20:16:30.3944] main::init (387) Starting Logitech Media Server (v7.9.2, 1577548976, Sat Dec 28 17:11:59 CET 2019) perl 5.030001 - x86_64-linux-thread-multi
[20-01-04 20:17:55.6260] Slim::Utils::Misc::msg (1250) Warning: [20:17:55.6256] Use of uninitialized value $name in hash element at /usr/share/squeezeboxserver/CPAN/Template/Context.pm line 100.
[20-01-04 20:17:55.6263] Slim::Utils::Misc::msg (1250) Warning: [20:17:55.6262] Use of uninitialized value $shortname in substitution (s///) at /usr/share/squeezeboxserver/CPAN/Template/Context.pm line 116.
[20-01-04 20:17:55.6266] Slim::Utils::Misc::msg (1250) Warning: [20:17:55.6264] Use of uninitialized value $name in concatenation (.) or string at /usr/share/squeezeboxserver/CPAN/Template/Context.pm line 168.
[20-01-04 20:17:55.6269] Slim::Web::Template::SkinManager::_fillTemplate (337) Error: file error - : not found
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] ReferenceError: SqueezeJS is not defined[Learn More]

2019-03-30 Thread Martin Gregorie
After upgrading to logitechmediaserver-7.9.2-0.1.1552283404.noarch.rpm
which is the latest version compiled in 10 March 2019, I'm still seeing
a blank, turquoise screen with a spinning rosette followed by "Loading
Logitech Media Server..." in the middle of it.

The Firefox console shows the problem to be a ReferenceError:

SqueezeJS is not defined[Learn More] zoogz:9000:3461:3
   http://zoogz:9000/:3461

How or where should this be defined? 

I'm running Firefox 64.0 (64 bit) on 
Linux version 4.20.17-100.fc28.x86_64 (
mockbu...@bkernel03.phx2.fedoraproject.org) (gcc version 8.3.1 20190223
(Red Hat 8.3.1-2) (GCC)) #1 SMP Tue Mar 19 17:48:12 UTC 2019


Martin


___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS can't rescan my music library after I relocated it

2019-02-21 Thread Martin Gregorie
Quick update:

I've just replaced logitechmediaserver-7.9.2-0.1.1549869508.noarch.rpm
with logitechmediaserver-7.9.2-0.1.1550612824.noarch.rpm

I notice a symlink for PresetsEditor in the 64 bit library path which,
judging by its datestamp, could be yours rather than mine.

I'm still seeing sqlite database complaints:

---Slim::Schema::forceCommit (2149) Warning: Trying to commit
   transactions before DB is initialized!

---Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because  
   of missing or empty sqlite_stat1 table

Firefox still reports that SqueezeJS is still not defined and is still
showing the TPOD after the "Now lets play some music" page rather than
anything useful, but once again I was able to run a full music scan
with Lynx rather than Firebird.

Is there any place where I can see some sort of release notes that show
what's in a new 'nightly' RPM rather than blindly installing each new
one to see whether it has fixed my issues?


Martin



___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS can't rescan my music libraryafter I relocated it

2019-02-19 Thread Martin Gregorie
On Tue, 2019-02-19 at 13:32 +0100, Michael Herger wrote:
> > /usr/lib64/perl5
> > 
> > $ locate Slim/Plugin/PresetsEditor/Plugin.pm
> > /usr/lib/perl5/vendor_perl/Slim/Plugin/PresetsEditor/Plugin.pm
> 
> What if you created a symlink from /usr/lib/perl5/vendor_perl/Slim
> to /usr/lib64/perl5?
> 
> What is surprising me is that this is the only plugin for which this 
> problem is being reported... doesn't make sense to me.
> 
A little mousing around showed that the
/usr/lib/perl5/vendor_perl/Slim/Plugin/PresetsEditor is missing from

/usr/lib64/perl5/vendor_perl/Slim/Plugin/PresetsEditor

so I added a simlink for PresetsEditor in
/usr/lib64/perl5/vendor_perl/Slim/Plugin that points to
/usr/lib/perl5/vendor_perl/Slim/Plugin/PresetsEditor

Judging by this there may be a problem with your recipe for building
RPMs, namely that the PresetsEditor is being included in the 32 bit
library Plugins but not in the 64 bit library Plugins.

After doing that I restarted LMS. The restart no longer reports that
PresetsEditor is missing, but the TPOD  (Turquoise Page Of Death) is
still all that Firefox will display.

At this point, and sheerly on spec, I fired up the ancient text-only
Lynx browser and pointed that at LMS. Lynx ignores JS and graphics, but
it connected, and let me configure and run a full database replacement
scan, which has found a lot (probably all) all my albums - the Touch
now finds them via 'Artists' and 'Albums' and plays them too. 

Found the JS console. 
It reports an error:

ReferenceError: SqueezeJS is not defined[Learn More] zoogz:9000:3461:3

 http://zoogz:9000/:3461 

explained as "There is a non-existent variable referenced somewhere.
This variable needs to be declared, or you need make sure it is
available in your current script or scope."


Martin



___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS can't rescan my music libraryafter I relocated it

2019-02-19 Thread Martin Gregorie
On Tue, 2019-02-19 at 08:41 +0100, Michael Herger wrote:
> > Nothing more seems to have been written to them after LMS was
> > configured.
> 
> The only odd thing I'm seeing in your logs is the failure to load
> the Presets Editor plugin. You said it did exist. What about its
> permissions?
> 
Yes, it exists., but the INC list is wrong. 
Edited for readability, @INC contains:

/var/lib/squeezeboxserver/cache/InstalledPlugins
/usr/share/squeezeboxserver/CPAN/arch/5.26/x86_64-linux-thread-multi
/usr/share/squeezeboxserver/CPAN/arch/5.26/x86_64-linux-thread-
multi/auto
/usr/share/squeezeboxserver/CPAN/arch/5.26.3/x86_64-linux-thread-multi
/usr/share/squeezeboxserver/CPAN/arch/5.26.3/x86_64-linux-thread-
multi/auto
/usr/share/squeezeboxserver/CPAN/arch/5.26/x86_64-linux-thread-multi
/usr/share/squeezeboxserver/CPAN/arch/5.26/x86_64-linux-thread-
multi/auto
/usr/share/squeezeboxserver/CPAN/arch/x86_64-linux-thread-multi
/usr/share/squeezeboxserver/CPAN/arch/5.26
/usr/share/squeezeboxserver/lib
/usr/share/squeezeboxserver/CPAN
/usr/share/squeezeboxserver
/usr/libexec
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5
 
but:

$ locate Slim/Plugin/PresetsEditor/Plugin.pm
/usr/lib/perl5/vendor_perl/Slim/Plugin/PresetsEditor/Plugin.pm

Are the permissions OK (readable but not executable)? 

$ ll /usr/lib/perl5/vendor_perl/Slim/Plugin/PresetsEditor/Plugin.pm
-rw-r--r--. 1 root root 675 Jan 23 14:44
/usr/lib/perl5/vendor_perl/Slim/Plugin/PresetsEditor/Plugin.pm

Disclaimer: I can more or less read Perl but very seldom write it. 

> The scanner only finds eight tracks and finishes that scan
> successful.
> 
Yes, but its only looking for tracks that are mentioned in playlists -
and in general I don't use playlists. I've configured Asunder so it
doesn't generate playlists when it rips a CD and thought I'd managed to
get rid of the rest - obviously I missed a few. That initial scan
didn't attempt to deal with the other tracks - which is off since the
server setup screens sat that playlists aren't necessary.

And, what about the way that playing an album found via the 'Music
Folder' menus adds it into the 'Artists', and 'Albums' lists.

BTW, 15 hours later Firefox still shows the blank blue turquoise
"Loading..." page when pointed at LMS. Stopping LMS gets the expected
failure to connect and restarting LMS still shows blank turquoise page
with an additional three lines added to
/var/log/squeezeboxserver/server.log:

[19-02-19 11:53:18.1100] main::init (387) Starting Logitech Media
Server (v7.9.2, 1549869508, Mon Feb 11 08:43:47 CET 2019) perl 5.026003
- x86_64-linux-thread-multi
[19-02-19 11:53:19.9132] Slim::bootstrap::tryModuleLoad (286) Warning:
Module [Slim::Plugin::PresetsEditor::Plugin] failed to load:
Can't locate Slim/Plugin/PresetsEditor/Plugin.pm in @INC (you may need
to install the Slim::Plugin::PresetsEditor::Plugin module) (@INC
contains: /var/lib/squeezeboxserver/cac>
BEGIN failed--compilation aborted at (eval 851) line 1.

[19-02-19 11:53:19.9137] Slim::Utils::PluginManager::load (323) Error:
Couldn't load Slim::Plugin::PresetsEditor::Plugin

IOW just stuff we saw when LMS started up after being installed.


Martin


PS: Sorry about the delay in replying, but I'm roster manager at the
Cambridge gliding club and at this time of year preparations for the
next summer season takes precedence over everything else.



___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS can't rescan my music libraryafter I relocated it

2019-02-18 Thread Martin Gregorie
On Mon, 2019-02-18 at 19:03 +, dolodobendan wrote:
> mar...@gregorie.org wrote: 
> > On Mon, 2019-02-18 at 17:47 +, dolodobendan wrote:
> > > No, that's too complicated. Could you set up an 'owncloud server'
> > > (https://owncloud.org/)?
> > > 
> > 
> > I can drop files into a 'temp' directory on one of my websites and
> > send
> > you the URL. Would that work for you?
> > 
> > About the FTP suggestion: I was thinking that it could be something
> > to
> > set up in slow time because it could be useful for general trouble-
> > shooting. Using dropbox would also work.
> > 
> > Martin
> 
> I really like my owncloud idea.
> 
:-)


Sets of log snapshots have gone to Michael as he requested, via
Dropbox. and the narrative went to the mailing list a minute or so ago.


Martin



___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS can't rescan my music libraryafter I relocated it

2019-02-18 Thread Martin Gregorie
On Mon, 2019-02-18 at 17:47 +, dolodobendan wrote:
> No, that's too complicated. Could you set up an 'owncloud server'
> (https://owncloud.org/)?
> 
I can drop files into a 'temp' directory on one of my websites and send
you the URL. Would that work for you?

About the FTP suggestion: I was thinking that it could be something to
set up in slow time because it could be useful for general trouble-
shooting. Using dropbox would also work.

Martin
 


___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS can't rescan my music libraryafter I relocated it

2019-02-18 Thread Martin Gregorie
On Mon, 2019-02-18 at 13:54 +0100, Michael Herger wrote:
> > Thanks for clearing that up. I suspected as much, thus proposing
> > creating a proper user here, as obviously it's kind of a hassle for
> > all
> > involved in this specific scenario.
> 
> Dealing with attachments is the one reason which brings me to the
> forum. 
> But most of the time I'm preferring the mailing list too...
> 
Would it be easier to provide an FTP/SFTP input area? This would let us
upload logs etc and just include a reference to the file in a short
post to the mailing list. It should be secure enough if it is set up to
require a password to upload files and the landing area is write-only
for outside connections.

Martin



___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS can't rescan my music libraryafter I relocated it

2019-02-17 Thread Martin Gregorie
On Sun, 2019-02-17 at 20:06 +, dolodobendan wrote:
> 
> Did you install it from scratch as suggested?
> 
Yes. From logitechmediaserver-7.9.2-0.1.1536072399.noarch.rpm because
that was installed 3-4- months ago on another Fedora 28 system and is
still working OK. Only installation differences are:

- Lenovo R61R rather than whitebox dual Athlon (first is the older
  install
- music library is on a USB-connected HDD on the R61R and on a local
  HDD partition on the PC.

Full gory details in the email which lost its attachment: but to
summarise:

- LMS (on the PC) can play tracks through my Touch via direct access to
  my music library directories and display the cover art in them, so
  there is nothing preventing LMS from playing tracks and showing their
  cover art image files. 

- BUT LMS still can't initialise its database of
  artists/composers/albums or fill it with track references and 
  cover art references. so the main LMS indexes are all empty.

- The LMS failure to initialise the database and create a statistics
  table after its been told where to find music tracks and play lists
  is the number one problem.

Martin


___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS can't rescan my music libraryafter I relocated it

2019-02-17 Thread Martin Gregorie
On Sun, 2019-02-17 at 18:46 +, dolodobendan wrote:
> mar...@gregorie.org wrote: 
> > 
> > I've attached a cpy of server.log to this e-mail.n
> 
It was properly attached and readable when sent - just in case
something didn't like attachments, here is comes again as a 4.1 KB
inclusion in the text body:
===
[19-02-17 15:14:47.0143] main::init (387) Starting Logitech Media
Server (v7.9.2, 1536072399, Tue Sep  4 17:14:43 CEST 2018) perl
5.026003 - x86_64-linux-thread-multi
[19-02-17 15:14:51.1661] Slim::Utils::SQLiteHelper::postConnect (374)
Optimizing DB because of missing or empty sqlite_stat1 table
[19-02-17 15:14:51.7568] Slim::Schema::forceCommit (2149) Warning:
Trying to commit transactions before DB is initialized!
[19-02-17 15:14:52.4446] Slim::bootstrap::tryModuleLoad (286) Warning:
Module [Slim::Plugin::PresetsEditor::Plugin] failed to load:
Can't locate Slim/Plugin/PresetsEditor/Plugin.pm in @INC (you may need
to install the Slim::Plugin::PresetsEditor::Plugin module) (@INC
contains: /var/lib/squeezeboxserver/cache/InstalledPlugins
/usr/share/squeezeboxserver/CPAN/arch/5.26/x86_64-linux-thread-multi
/usr/share/squeezeboxserver/CPAN/arch/5.26/x86_64-linux-thread-
multi/auto /usr/share/squeezeboxserver/CPAN/arch/5.26.3/x86_64-linux-
thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.26.3/x86_64-linux-
thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/5.26/x86_64-
linux-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.26/x86_64-
linux-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/x86_64-
linux-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.26
/usr/share/squeezeboxserver/lib /usr/share/squeezeboxserver/CPAN
/usr/share/squeezeboxserver /usr/libexec /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at
(eval 794) line 1.
BEGIN failed--compilation aborted at (eval 794) line 1.

[19-02-17 15:14:52.4451] Slim::Utils::PluginManager::load (323) Error:
Couldn't load Slim::Plugin::PresetsEditor::Plugin
[19-02-17 15:14:52.7137] Slim::Utils::SQLiteHelper::postConnect (374)
Optimizing DB because of missing or empty sqlite_stat1 table
[19-02-17 15:14:52.8150] Slim::Schema::forceCommit (2149) Warning:
Trying to commit transactions before DB is initialized!
[19-02-17 15:14:53.1301] main::checkDataSource (1110) Warning: Schema
updated or no media found in the database, initiating scan.
[19-02-17 15:15:00.6596] Slim::Utils::SQLiteHelper::postConnect (374)
Optimizing DB because of missing or empty sqlite_stat1 table
[19-02-17 15:15:00.8584] Slim::Schema::forceCommit (2149) Warning:
Trying to commit transactions before DB is initialized!
[19-02-17 15:16:21.7529] Slim::Utils::Misc::msg (1250) Warning:
[15:16:21.7525] Use of uninitialized value $name in hash element at
/usr/share/squeezeboxserver/CPAN/Template/Context.pm line 100.
[19-02-17 15:16:21.7532] Slim::Utils::Misc::msg (1250) Warning:
[15:16:21.7531] Use of uninitialized value $shortname in substitution
(s///) at /usr/share/squeezeboxserver/CPAN/Template/Context.pm line
116.
[19-02-17 15:16:21.7535] Slim::Utils::Misc::msg (1250) Warning:
[15:16:21.7533] Use of uninitialized value $name in concatenation (.)
or string at /usr/share/squeezeboxserver/CPAN/Template/Context.pm line
168.
[19-02-17 15:16:21.7539]
Slim::Web::Template::SkinManager::_fillTemplate (337) Error: file error
- : not found
[19-02-17 15:16:23.9982] Slim::Utils::SQLiteHelper::postConnect (374)
Optimizing DB because of missing or empty sqlite_stat1 table
[19-02-17 15:16:24.1096] Slim::Schema::forceCommit (2149) Warning:
Trying to commit transactions before DB is initialized!
[19-02-17 15:28:08.4481] Slim::Utils::Misc::msg (1250) Warning:
[15:28:08.4477] Use of uninitialized value $name in hash element at
/usr/share/squeezeboxserver/CPAN/Template/Context.pm line 100.
[19-02-17 15:28:08.4485] Slim::Utils::Misc::msg (1250) Warning:
[15:28:08.4483] Use of uninitialized value $shortname in substitution
(s///) at /usr/share/squeezeboxserver/CPAN/Template/Context.pm line
116.
[19-02-17 15:28:08.4488] Slim::Utils::Misc::msg (1250) Warning:
[15:28:08.4486] Use of uninitialized value $name in concatenation (.)
or string at /usr/share/squeezeboxserver/CPAN/Template/Context.pm line
168.
[19-02-17 15:28:08.4492]
Slim::Web::Template::SkinManager::_fillTemplate (337) Error: file error
- : not found
===

Martin


___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS can't rescan my music libraryafter I relocated it

2019-02-17 Thread Martin Gregorie
On Sun, 2019-02-17 at 07:17 +0100, Michael Herger wrote:
> 
> I'd still bet it's a permissions issue. Make sure the Squeezebox
> user has access to all levels of that path (not only the Albums
> folder, but /home, /home/music etc., every level).
> 
I found one - thanks - /home/music wasn't world readable, but now it is
and is also now part of the 'squeezeboxserver' and 'users' groups. All
music files and directories are world readable. 

I'll stay with leaving the music collection in /home/music/albums,
though since there were no problems with having it in
/home/av/public_html/music. Besides, that better suits my system
upgrade and backup scheme: /home is its own very large partition. 

Anyway, I cleaned out every file/directory containing
'squeezeboxserver' as part or all of its name and reinstalled LMs from 
logitechmediaserver-7.9.2-0.1.1549869508.noarch.rpm

which apparently set up OK and ran well enough to be configured to talk
to logitech.com, but then hung with a plain blank turquoise page with a
spinner and 'Loading Logitech Media Server...' on it.

/var/log/squeezeboxserver/scanner.log show it has songs with m3U
playlists and none of the others, but then hung after reporting, in
server.log, that

[19-02-17 13:41:18.8836] Slim::Utils::PluginManager::load (323) Error:
Couldn't load Slim::Plugin::PresetsEditor::Plugin

Where does/should that come from? 

In any case installing it will be difficult if that requires access to
the LMS web pages because, regardless of stopping/starting LMS or
disconnecting/reconnecting Firefox to it, I always end up with the
blank turquoise screen displayed.

> This tells me that you've been doing more than you should ever have.
> You mentioned installing the RPM file. What else?
> 
Nothing - I've always assumed that the LMS RPM file is complete and
should run once installed. That was the case with
logitechmediaserver-7.9.2-0.1.1536072399.noarch.rpm
Which installed and ran without any problems on a laptop (used to help
catalogue a friend's music collection). There have, however, been quite
a lot of recent Fedora updates to perl5 - could this be a side effect?
I'm running fully updated copies of Fedora 28 and am planing to move to
Fedora 29 fairly soon.

OK, I'm now running logitechmediaserver-7.9.20.1.1536072399.noarch.rpm
on my house server and LMS is (partly) running.

It is successfully playing anything I ask it to over my Touch from
/home/music/albums - complete with the folder.jpg as artwork - provided
that I select albums and tracks directly from the 'Music folder'. I
think this shows that file permissions etc are now A-OK. And is useful
progress. I can't test direct access to LMS from Firefox because LMS
will only display a blank turquoise page with a rotating spinner
and "Loading Logitech Media Server..." in the centre. I'm running
Firefox 65.0. The logs look like this:

Scanner.log - is only attempting to scan tracks which appear in a
  playlist. I don't use playlists.

Server.log -  is complaining about a few things:
  1) can't find Slim/Plugin/PresetsEditor/Plugin.pm
  2) Couldn't load Slim::Plugin::PresetsEditor::Plugin
  3) (374) Optimizing DB because of missing or empty
 sqlite_stat1 table
  4) Trying to commit transactions before DB is
 initialized!
  5) Schema updated or no media found in the database,
 initiating scan.
  6) ininitialised variables $name and $shortname in
 /usr/share/squeezeboxserver/CPAN/Template/Context.pm
  7) Slim::Web::Template::SkinManager::_fillTemplate (337)
 is missing

(1) and (2) are odd since 'locate' says it is in 
/usr/lib/perl5/vendor_perl/Slim/Plugin/PresetsEditor/Plugin.pm

(3) and (4) hare constants that I've been seeing ever since this thread
started.

(5),(6) and (7)are new since putting 7.9.2 on this machine.

I've attached a cpy of server.log to this e-mail.  


Martin

[19-02-17 15:14:47.0143] main::init (387) Starting Logitech Media Server (v7.9.2, 1536072399, Tue Sep  4 17:14:43 CEST 2018) perl 5.026003 - x86_64-linux-thread-multi
[19-02-17 15:14:51.1661] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
[19-02-17 15:14:51.7568] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
[19-02-17 15:14:52.4446] Slim::bootstrap::tryModuleLoad (286) Warning: Module [Slim::Plugin::PresetsEditor::Plugin] failed to load:
Can't locate Slim/Plugin/PresetsEditor/Plugin.pm in @INC (you may need to install the Slim::Plugin::PresetsEditor::Plugin module) (@INC contains: /var/lib/squeezeboxserver/cache/InstalledPlugins /usr/share/squeezeboxserver/CPAN/arch/5.26/x86_64-linux-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.26/x86_64-linux-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/5.26.3/x86_64-linux-thread-multi 

Re: [SlimDevices: SqueezeCenter] LMS can't rescan my music libraryafter I relocated it

2019-02-16 Thread Martin Gregorie
On Sat, 2019-02-16 at 21:41 +, dolodobendan wrote:
> 
> Wipe LMS' cache.
> 
Unfortunately that didn't help. I tried it twice, both times wiping the
cache by nuking the 'cache' directory. The first cache was: 

/home/squeezeboxserver/cache  (AFAIK this was created when I installed
LMS from your RPM - I've certainly never created it as a user) and the
second was /var/lib/squeezeboxserver/cache - and again its cerrainly
nothing I've ever created.

Regardless, in both cases the cache was recreated when I tried running
a rescan. In both cases the database creation failed with the same
error messages written to /var/log/squeezeboxserver/server.log:

[19-02-16 22:53:27.2122] Slim::Utils::SQLiteHelper::postConnect (374)
Optimizing DB because of missing or empty sqlite_stat1 table

[19-02-16 22:53:27.2662] Slim::Schema::forceCommit (2149) Warning:
Trying to commit transactions before DB is initialized!

...and once again 'locate', run after a forced 'updatedb' run, couldn't
find any instances of any files whos names include 'sqlite_stat1'.
 

Martin


___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS can't rescan my music library after I relocated it

2019-02-16 Thread Martin Gregorie
From: Mark Miksis 
>Does LMS have the proper permissions to read the new user's home dir?

Yes. The new 'music' user got normal permissions when created. I added
it to the 'users' group, which the 'av' user (where the music files had
been) and in addition I added it to the 'squeezeboxserver' group.

Similarly, the music files should reatain their original permissions.
They were originally in  /home/av/public_html/music so I moved the
'music' directory to /home/music and renamed it to 'albums' so its full
pathname became /home/music/albums and than ran 

sudo chown -R music.users albums 

against it, so all the music files and directories containing them are
readable by user.group and world and all belong to music.users

So, I don't see that there is any sort of permissions issue - alt least
one what can cause LMS to complain that: 

[19-02-15 16:44:14.1860] Slim::Utils::SQLiteHelper::postConnect (374)
Optimizing DB because of missing or empty sqlite_stat1 table
[19-02-15 16:44:14.2915] Slim::Schema::forceCommit (2149) 
Warning: Trying to commit transactions before DB is initialized!

I can confirm that there is no file called sqlite_stat1 or
sqlite_stat1* anywhere in the filing system: 'locate' doesn't find it,
even after an explicit run of 'updatedb' and LMS is complaining that it
is nonexistent or empty and THAT the database is not initialised, so
how can I force LMS to reinitialise the sqlite database?

Martin



  












___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] LMS can't rescan my music library after I relocated it

2019-02-15 Thread Martin Gregorie
I've just moved my music library to a new, dedicated user on my home
server to separate it from my general documentation comvection, i.e. it
was moved from the 'av' user at /home/av/music to the 'music' user at
/home/music/albums.

The server is running Fedora 28 x86_64 with the latest stable copy of
logitechmediaserver-7.9.1-1.noarch.rpm installed. Everything else on
the server was also updated today.

I've reconfigured LMS to look for music in /home/music/albums, but
attempts to rebuild the music index from scratch all show:

Library Statistics
Total Tracks:  0
Total Albums:  0
Total Artists: 0
Total Genres:  0
Total Playing Time: 0:00:00

Media Scan Details
Building full text index (7 of 7) Complete  00:00:00
Database Optimize(2 of 2) Complete  00:00:01
The server has finished scanning your media library. 
Total Time:00:00:01 (2019/02/15 Friday / 18.26.34)

and /var/log/squeezeboxserfer/server.log  shows:

[19-02-15 16:44:14.1860] Slim::Utils::SQLiteHelper::postConnect (374)
Optimizing DB because of missing or empty sqlite_stat1 table
[19-02-15 16:44:14.2915] Slim::Schema::forceCommit (2149) 
Warning: Trying to commit transactions before DB is initialized!
 
So, questions:

- where should the sqlite stat1 table be? 

  The LMS-related tables are all in /home/squeezeboxserver/cache/ 
  and were updated, but there is nothing called sqlite_stat1 
  anywhere in the filing system.

- how can I force LMS to reinitialise the database and create an
  sqlite_stat1 table?


Martin





___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Corrupted EXIF data in folder.jpg interferes with LMS operation

2018-12-31 Thread Martin Gregorie
Date: Mon, 31 Dec 2018 16:35:27 +
> From: slartibartfast
>   
> 
>
> Rather than do a clear and rescan you could remove the affected
> folder, do a new and changed scan, add the corrected folder and do
> another new and changed scan.
> 
Why? 

That doesn't fix the problem, which is that corrupted EXIF data in 
folder.jpg screws up web pages displayed by LMS and prevents the image
being sent to my Touch. 

It doesn't do any good either: I tried replacing folder.jpg with one
with EXIF data removed and rescanning. Nothing changed until I rebuilt
the complete database as I described. And anyway, doing a complete
database replacement takes less than 15 seconds more than the rescan.
Stats: 158 albums with 1701 songs by 118 artists.

Also, if you don't run GIMP from the command line you'll never see its
error report about invalid EXIF tags because it isn't logged by either
GIMP or LMS. Yes, I checked. GIMP doesn't pop up any error messages as
part of its GUI either. This means that if anybody else hits this
problem but never runs anything from the command line they'll have no
clue about its cause and just think that LMS has messed up its web page
for no apparent reason.

Before you ask, I'm about to raise a bug against GIMP for failing to
show an error pane  about the faulty EXIF data on its desktop display.


Martin


___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] Delayed mail: Squeezecenter Digest, Vol 122, Issue 4

2018-10-08 Thread Martin Gregorie
> On Fri, 2018-08-03 at 08:55 +, squeezecenter->
requ...@lists.slimdevices.com wrote:
>
Over the last week or two I've been getting very old digests, all dated
from around the start of August. The subject and first two body lines
are from the one that arrived today - 35 days late.

Is anybody else seeing this?

Martin

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Forbidden: settings/index.html

2018-09-15 Thread Martin Gregorie
On Sat, 2018-09-15 at 11:16 +, pag wrote:
> Thanks both for the answers.
> 
> I can access the settings page via the direct connection from my Mac
> if I add a username and password.  Is setting the username and
> password the only way to do this? 
>
Wired systems using CAT5 or CAT6 (twisted pair with an RJ45 plug at
each end) cabling are always star topology. Each end device connects to
a hub at the centre of the star and hubs can be daisy-chained together
to form larger networks. This is the normal way to handle private wired
ethernet and does not introduce noticeable delays.

Your problem is that you've declared your Mac as both the RPi's 
gateway and, since its where your client web browser also runs, LMS
thinks that, because the gateway and browser have the same IP, the
browser belongs to somebody else out on the internet.

The simple solution, if your router has more than one Ethernet port
is to transfer the RPi connection to the router and set the router's IP
address as its gateway. Now LMS can see that the gateway and client
browser IPs differ, so won't need a username/password.

If your router has only a single Ethernet socket, buy a 4-port hub
(readily available for under a tenner from Amazon or Ebuyer) and a
short ethernet cable (another couple of quid). Connect the hub to your
router and both Mac and RPi to the hub and set the router's IP address
as the RPi's gateway IP. Job done.

Martin



___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Squeezebox server wont stay started

2018-09-14 Thread Martin Gregorie
+---+
> > Filename:
> > server.zip   |
> > Download: 
> > http://forums.slimdevices.com/attachment.php?attachmentid=25615|
> 
> +---+
> 
OK, Here's what I make of that log.

>From the entries on the 7th it seems as though you hadn't set a
hostname or had set an invalid one. Nonetheless LMS was up from 12:27
to 12:40 waiting for that to be fixed.

But then, after successful startup at 13:20 (what had you done before
then?) and managing to load a number of plugins, it failed at 13:24.
with Audio/Scan.pm line 64  followed by two failed start attempts. What
happened at that point? Was there an network failure? 

Then LMS apparently started successfully at 20:38:58 and stayed up
silently until at least 10:22:19 on the 8th

On the 9th, LMS started at 15:39:23 and remained up until 16:38:06,
when the decoder it reported an unsupported file format after finding a
number of files that were shorter than 16 bytes. What did you change to
cause this? Whatever it was, it was fatal because LMS then refused to
run at all.

Do you have much network trouble? Were there network problems or
congestion on the 7th?

Have you checked your PC's disks for damage and/or filesystem
corruption?


Martin


___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Squeezebox server wont stay started

2018-09-13 Thread Martin Gregorie
On Thu, 2018-09-13 at 17:41 +, vcrpro3 wrote:
> Thanks. Just tried that, did not help. I realized i wasn't really
> clear in stating the exact situation the problem occurs in, it is
> when i try to 'MY MUSIC' or 'MUSIC Folder'.
> 
In my experience LMS 7.9.1 is quite happy to run if its music folder is
inaccessable: 

- with the music folder on a USB drive everything works as expected if
  the USB drive was connected when LMS is started. 

- LMS also starts successfully if the USB drive isn't connected. It
  starts and runs OK, and even shows Artist, Album, ... lists if the
  USB drive isn't connected but its catalogue database is on the main
  disk, but obviously can't play any tracks.

Unless I missed it, you still haven't shown us what's in the LMS log:
there's every chance ther'ds useful information in it. The log is a
plain text file called 'server.log' but I don't know where it would be
put on a Windows system other than "on the C: drive" (probably). Search
your system for it and post its contents.


Martin
  


___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Squeezebox server wont stay started

2018-09-07 Thread Martin Gregorie
On Fri, 2018-09-07 at 20:41 +, vcrpro3 wrote:
> Started having a problem with Squeezebox server starting and not
> staying started. Will not connect either to my Squeezebox Radio or
> Duet. In the Control Panel diagnostics page getting "Possible
> software conflict found". I have done a uninstall and reinstall a
> couple of times already of versions 7.7.5 and 7.9.1 with no
> resolution of the problem. HELP!!!
> 
You need to tell us a lot more before we can help.

- what OS are you running? 
  What version of it?

- when was it last patched? 
  If more than a week ago, patch/upgrade as needed to get your OS fully
  up to date and try again.

- Are you running a firewall in the LMS server and is it blocking
  port 9000?

- what software is the conflict with?
  Show us the full message.

- can this be a fight over use of port 9000? 
  If you're running Linux, try:
  - an nmap scan of the machine running LMS will show what ports 
are in use.
  - run 'sudo lsof -iTCP| less' on the machine running LMS to see
all the open network ports on it

  - Either way, use /etc/services to you translate port numbers into
service names or vice versa.

I may be able to help if you're running one of the Linux distros: if
not, somebody else may know how to solve your problem, but whoever does
will need to know what I've just asked because its rather difficult to
know what's going on without these details.


Martin


___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Adding the BBCiPlayer app to LMS

2018-09-06 Thread Martin Gregorie
On Thu, 2018-09-06 at 08:55 +, bpa wrote:
> mar...@gregorie.org wrote: 
> > On Tue, 2018-09-04 at 21:29 +, bpa wrote:
> > > 
> > > Most problems with "unsupported" Linux distros is usually
> > 
> > associated
> > > with a newer versions of Perl.
> > > I didn't many other problems with Fedora installation and none
> > > concerning Plugins.
> > > 
> > 
> > I've just hit one, with both stable and nightly RPMs affected.
> > stable rpm  - logitechmediaserver-7.9.1-1.noarch.rpm
> > nightly rpm - logitechmediaserver-7.9.2-0.1.1536072399.noarch.rpm
> > 
> > Both want Perl 5.8.8 but Fedora 28 is using Perl 5.26.2
> > 
> > I'm surprised this would fail, since in this case Fedora 28 is
> > ahead of
> > your build machine. I'm loath to force an install, so any
> > workrounds
> > gratefully accepted.
> > 
> 
> Is this a Perl error message (e. can't find @INC ...) or an LMS error
> message ?
> 
No, this is rpm. It reports the mismatch within a second or so of being
started.
 
> I don't know specifc but IIRC noarch had no Perl version dependencies
> and I think it required running buildme.sh to built libraries. 
>
AFAIK 'noarch' is a binary thing - and I see that the LMS rpm contains
a copy of hardware-specific code for the 5 or 6 most common
architectures.

If that link is required there should be a script in the rpm archive to
do it after installing the new/replacement files - rpm is better than
apt at spotting dependency mismatches and can also run scripts both
before and after installing/ and/or replacing files.

> However it may have assumed location of Perl & Perl libraries.
> According to the Fedora thread 64 bit Perl libaries (i.e latest
> version)  are in a " new location" and so required  
> 
> Code:
> 
> 
>   ln -sf /usr/lib/perl5/vendor_perl/Slim
> /usr/lib64/perl5/vendor_perl/Slim
>   
> 
> 
Yes, that seems likely: my working installation has its directories
arranged that way. However, neither directory structure exists on my
target system for this install because rpm hasn't yet installed
anything.

> Packages for supported LMS has prebuilt Perl libraries and support
> for 5.26 has been there for nearly a year ( you can see supported
> versions
> and arch here (
> https://github.com/Logitech/slimserver/tree/public/7.9/CPAN/archch   
> )
> 
In which case, it looks as though somebody has forgotten to update the
dependency list in the rpm builder recipe and may also have omitted a
short script to set up that link.

I got it to install and start with the commands:

sudo rpm -U --nodeps logitechmediaserver-7.9.1-1.noarch.rpm
sudo ln -sf /usr/lib/perl5/vendor_perl/Slim \
 /usr/lib64/perl5/vendor_perl/Slim
sudo systemctl enable squeezeboxserver
sudo systemctl start squeezeboxserver

 and 

sudo systemctl start squeezeboxserver

shows that its now up and running. Many thanks for your help with
this. I'm currently configuring the new server and will then be in a
position to compare plugins etc with my live server.


Martin


___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Adding the BBCiPlayer app to LMS

2018-09-05 Thread Martin Gregorie
On Tue, 2018-09-04 at 21:29 +, bpa wrote:
> 
> Most problems with "unsupported" Linux distros is usually
associated
> with a newer versions of Perl.
> I didn't many other problems with Fedora installation and none
> concerning Plugins.
> 
I've just hit one, with both stable and nightly RPMs affected.
stable rpm  - logitechmediaserver-7.9.1-1.noarch.rpm
nightly rpm - logitechmediaserver-7.9.2-0.1.1536072399.noarch.rpm

Both want Perl 5.8.8 but Fedora 28 is using Perl 5.26.2

I'm surprised this would fail, since in this case Fedora 28 is ahead of
your build machine. I'm loath to force an install, so any workrounds
gratefully accepted.


Martin


___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Adding the BBCiPlayer app to LMS

2018-09-04 Thread Martin Gregorie
On Tue, 2018-09-04 at 17:58 +, bpa wrote:
> 
> A case of misunderstanding - I use WebUI as a short hand for the
Web
> based UI rather than screen UI of player or an App .
> 
No problem. I did a few, fairly exhaustive, searches with locate using
variations on 'plugin' and probably found all the /plugin/i directories
in my system.
 
> No - these are in support of the Template module - CPAN is the Perl
> library and Template is the Perl module which does processes LMS web
> page templates.
> 
I know about CPAN, but am not really a Perl programmer - I've written a
Spamassassin plugin to pull addresses out of a Postgres database, but
that's about my limit with it.

I normally write C and Java, with awk, bash and php used when suitable.
 
> > This is a recent  thread on installing Fedora
> 
https://forums.slimdevices.com/showthread.php?108945-Logitech-Media-Server-on-Fedora-27
> 
> Do you do it this way ?
> 
Not exactly. I'm a bit surprised to see yum and fc27 in the same
command: Fedora replaced yum by dnf about the time it got the ability
to upgrade to the next release in situ - that was around fc20, so about
four years ago. I've been using dnf, yum's replacement, since then. Yum
is still available, but deprecated in Fedora, so maybe that example was
from a Centos or RHEL installation. 

Anyway, I just did a dnf search for packages with 'squeeze' or 'lms' in
the name and only found two relevant ones:

- squeezelite, described as "Headless music player for streaming 
  from Logitech Media Server" 

- nuvola-app-logitech-media-server described as "Integration of
  Logitech Media Server into your Linux desktop via Nuvola Player"

so neither look like anything I want. 

I've not heard of Nuvola Player, but there are a heap of packages for
it in the Fedora repository and the one I quoted is an add-on to the
base Nuvola Player package. Nuvola is described as a 'semi-sandboxed'
(whatever that means) web browser plugin thats capable of working with
a shedload of third party apps (presumably Android or Windows apps),
all the way from 8-track and Sirius XM via Deezer to Spotify, so
probably installing it would drag in more baggage than I want.

Do you have a LMS .repo file for dnf (or yum)? If so, I'd appreciate a
copy. 

If you have one, I'll install and use it because this will automate
updates. Otherwise I'll just grab a suitable RPM file from your site
and unpack/install it manually with the 'rpm -U ...' command.

FWIW .repo files seem to be compatible with dnf, since they still live
in /etc/yum/repos.d
 

Martin


___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Adding the BBCiPlayer app to LMS

2018-09-04 Thread Martin Gregorie


___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Adding the BBCiPlayer app to LMS

2018-09-04 Thread Martin Gregorie
On Mon, 2018-09-03 at 21:22 +, bpa wrote:
> 
> Can you check the plugin directoires.
> The directories LMS uses for plugins are listed in WebUI
>
Not on this install  -in fact 'locate' can't find any file or directory
with a name containing 'WebUI' anywhere the filing system. 

There is a /usr/share/squeezeboxserver/Plugins directory but its empty

> Setting/Information at the bottom "Plugin Folder" - there will be a
> few path separated by a "," - one of the paths should be in a Cache
> directory.
>
No 'Plugin Folder' either.

> What's in the plugins directory that is in the main LMS code
> path  (i.e.
> the one with all the .pm files) ? Is the plugin directory
> permissions/privileges same as other LMS directories ?
> 
Do you mean /usr/share/squeezeboxserver/CPAN/Template/Plugin ? 
It contains:
Assert.pm  Date.pm  File.pm   Image.pmProcedural.pm URL.pm
Autoformat.pm  DBI.pm   Filter.pm Iterator.pm Scalar.pm View.pm
CGI.pm Directory.pm Format.pm Math.pm String.pm Wrap.pm
Datafile.pmDumper.pmHTML.pm   Pod.pm  Table.pm  XML

and XML contains DOM.pm  RSS.pm  Simple.pm  Style.pm  XPath.pm

FWIW this will have almost certainly been installed from an RPM.

Obviously something has gone badly wrong, so here's my next move:
- since this LMS install does everything I want except running the 
  3rd party plugin that should (allegedly) let me access Radio 4s
  catch-up collection of programs broadcast in the last week
  I'll leave this copy of LMS as it is

- meanwhile, I have another music collection that I need to catalogue
  without affecting my current artist/Album/track listings. So, I'll
  do a clean LMS install of a more recent 7.9.x RPM build on another
  machine (Lenovo R61i also running Fedora 28 x-64) to use for the
  cataloguing task and see what it can do when it comes to plugins.


Martin

> ---
> -
> bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
> View this thread: 
> http://forums.slimdevices.com/showthread.php?t=109403
> 
> ___
> Squeezecenter mailing list
> Squeezecenter@lists.slimdevices.com
> http://lists.slimdevices.com/mailman/listinfo/squeezecenter

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Adding the BBCiPlayer app to LMS

2018-09-03 Thread Martin Gregorie
On Mon, 2018-09-03 at 18:14 +, bpa wrote:
> 
> I'll work through the rest of your post later.
>
Thanks for helping.

> However in the meantime do you have a file in the Cache directory
> called plugin-data.yaml, if yes - how big is it and when was it
> created/modified.
>
Yes, modified Sep  1 21:24, 155 bytes. 
Since its small, here it is:

==start==
 ---
__cacheinfo:
  bin: /usr/libexec
  count: 0
  mtimesum: 0
  osArch: x86_64-linux
  osType: Linux
  revision: '1512734075'
  server: 7.9.1
  version: 4
===end===


Martin


___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Adding the BBCiPlayer app to LMS

2018-09-03 Thread Martin Gregorie
From: bpa 
> Touch Apps have nothing to do with LMS. So can be ignored.
> 
I thought that would be the case, but decided to say so anyway.

> > Quite a bunch, but they're all network-related. Here's the last
> > start-
> > up:
> > 
> > [18-09-01 21:24:16.2216] main::init (387) Starting Logitech Media
> > Server (v7.9.1, 1512734075, Fri Dec  8 11:58:05 UTC 2017) perl
> > 5.026002
> > - x86_64-linux-thread-multi
> > 
> > This is followed by the error:
> > Slim::Control::Request::execute (1868) Request in error, returning
> > without saying anything more.
>
Note that "without saying anything more." was not part of the log
message (bad edit on my part) but that that log message just ended at
'returning' without saying what the error was.

> > After this there is one error, in Slim::Networking::IO::Select::
> > saying
> > 
> > Can't call method "findUrl" on an undefined value at
> > /usr/lib64/perl5/vendor_perl/Slim/Networking/SqueezeNetwork.pm line
> > 173.
> > 
> > which is followed by another 12 almost identical errors except that
> > the
> > undefined value problem is at
> > /usr/lib64/perl5/vendor_perl/Slim/Web/Pages/Trackinfo.pm line 33.
> > in all of them.
> 
> In general editing log message is not a good idea as sometime it is
> the messages that are missing might hint at problem.
> 
Indeed, but attempting to copy and paste a block of unedited log lines
was getting messed up - it looked like the 'URL' in "findURL" contained
at least one UTF-8 character which produced gibberish and screwed up
the line when I pasted into the message. I use Evolution configured to
write plain-text (ASCII) messages as my MUA.

I assumed that the Squeezecentre, like most mail lists, wouldn't like
attached files (is that a good assumption?), so decided, since pasting
unedited log messages was producing mutilated messages, that editing
them was the least worst option.

> However, the total lack of content on the Plugins page is quite
> baffling. My gut feel is that is it some sort of configuration issue
> but I am stumped trying to reproduce it.
>
I've had a look at the contents of /home/squeezeboxserver/prefs but
haven't seen anything looking useful running grep found this:

$ grep -i plugin prefs/*
prefs/log.conf:log4perl.logger.server.plugins = ERROR
grep: prefs/plugin: Is a directory
prefs/server.prefs:  _ts_plugin.audioscrobbler.account: 0
prefs/server.prefs:  _ts_plugin.audioscrobbler.accounts: 0
prefs/server.prefs:  _ts_plugin.audioscrobbler.enable_scrobbling: 0
prefs/server.prefs:  _ts_plugin.audioscrobbler.include_radio: 0
prefs/server.prefs:  - PLUGIN_MY_APPS_MODULE_NAME
prefs/server.prefs:  - PLUGIN_APP_GALLERY_MODULE_NAME
prefs/server.prefs:  - PLUGINS
prefs/server.prefs:_ts_rank-PLUGIN_PICKS_MODULE_NAME: 1513008642
prefs/server.prefs:_ts_rank-PLUGIN_PODCAST: 1513008642
prefs/server.prefs:_ts_rank-PLUGIN_RANDOMPLAY: 1513008642
prefs/server.prefs:_ts_rank-PLUGIN_RSSNEWS: 1513008642
prefs/server.prefs:_ts_rank-PLUGIN_SOUNDS_MODULE_NAME: 1513008642
prefs/server.prefs:_ts_sn_disabled_plugins: 1535833496
prefs/server.prefs:rank-PLUGIN_PICKS_MODULE_NAME: 25
prefs/server.prefs:rank-PLUGIN_PODCAST: 35
prefs/server.prefs:rank-PLUGIN_RANDOMPLAY: 13
prefs/server.prefs:rank-PLUGIN_RSSNEWS: 30
prefs/server.prefs:rank-PLUGIN_SOUNDS_MODULE_NAME: 25
prefs/server.prefs:sn_disabled_plugins:

The three lines starting with " - PLUGIN" are all after the 'menuItem:'
line:

  menuItem:
  - NOW_PLAYING
  - BROWSE_MUSIC
  - RADIO
  - PLUGIN_MY_APPS_MODULE_NAME
  - PLUGIN_APP_GALLERY_MODULE_NAME
  - FAVORITES
  - GLOBAL_SEARCH
  - PLUGINS
  - SETTINGS
  - SQUEEZENETWORK_CONNECT

Does this tell you anything useful? 

It seems to be the right place to have looked since the directories
   /home/squeezeboxserver/prefs  
   /home/squeezeboxserver/cache 
both have recent timestamps (Sep 3 and Sep 1 respectively).


Martin


___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Adding the BBCiPlayer app to LMS

2018-09-03 Thread Martin Gregorie
Mnyb wrote: 
> > Ist it a setting that actually turns of the plugin handling ? Op
> > could have gone overboard turning of stuff ?
> 
> This looks like a possibilty. 
> 
> Martin,  have you at any stage disabled any plugins in particular the
> Extensions plugin ? 
>
Not within LMS itself. 

I have reinstalled apps on my Touch as well as installing a 3rd party
one that didn't work (and removed it again).

> Are there any error message at LMS startup in server.log ?
> 
Quite a bunch, but they're all network-related. Here's the last start-
up:

[18-09-01 21:24:16.2216] main::init (387) Starting Logitech Media
Server (v7.9.1, 1512734075, Fri Dec  8 11:58:05 UTC 2017) perl 5.026002
- x86_64-linux-thread-multi

This is followed by the error:
Slim::Control::Request::execute (1868) Request in error, returning
...without saying anything more.

After this there is one error, in Slim::Networking::IO::Select:: saying

Can't call method "findUrl" on an undefined value at
/usr/lib64/perl5/vendor_perl/Slim/Networking/SqueezeNetwork.pm line
173.

which is followed by another 12 almost identical errors except that the
undefined value problem is at
/usr/lib64/perl5/vendor_perl/Slim/Web/Pages/Trackinfo.pm line 33.
in all of them.

After this it all settles down and starts reporting normal Scanner
operation, which would be right, because I was using EasyTag to fix
tags in some FLAC tracks


Martin


___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Adding the BBCiPlayer app to LMS

2018-09-02 Thread Martin Gregorie


From: bpa 
> 
> Have you changed the "Web Interface" style (on WebUI
> Settings/Intergface)  from "default"
> 
No, though I have changed some of the field-specific settings (title
and date formats), but none of these have changed the 'Plugins' page. 


> What do you see on your Plugins tab ?

This:
===
Plugins

 Logitech Media Server includes some plugins 
 that you can use with your remote or in the web interface. You can 
 choose to enable or disable individual plugins below.
 
 Note: You will need to restart the application to see the effect of
 these changes.
  
===

> Are there labels on left hand side such as "Active Plugins" "Inactive
> Plugins" and "3rd Party Plugins" ?
> 
No

> Are there small triangles besides these labels ?
>
No

> What happens when you click a triangle ?
>
There are no triangles to click.


Martin



___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Adding the BBCiPlayer app to LMS

2018-09-01 Thread Martin Gregorie
> You haven't grasped that plugins require that you are using the LMS
> server program on another PC (eg. raspi, windows, mac, etc.)
>
If you'd actually read what I wrote you'd realise that I'm trying to
add a plugin to a copy of LMS 7.9.1 running in a PC under Fedora Linux.

> On the LMS WebUI Settings/Plugins pages at the very bottom (you may 
> need to scroll down) there are 3 blank boxes with the following text
> above them
>

On LMS 7.9.1, which is what I'm running (with the default UI),
'Settings' takes me to a list of tabs:
   Basic settings
   Player
 * My Music
   mysqueezebox.com
 * Interface
   Plugins
   Advanced
 * Information

Of these, only the ones marked '*' are scrollable and none of those
show the three blank boxes or any text about 'Additional Repositories.
The entire content of the #'Plugins tab is three lines at the top
saying

===
Plugins

Logitech Media Server includes some plugins 
that you can use with your remote or in the web interface. You can 
choose to enable or disable individual plugins below.

Note: You will need to restart the application to see the effect of
these changes.

===

So, I tried some different UI layouts, but all that got me was a
severely screwed up screen layout until I restarted both LMS (twice)
and Firefox (which fixed the screwed-up screen).

Are you using a different version of LMS? If so, that would explain why
I don't see the data entry boxes and test you describe.


Martin


___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Adding the BBCiPlayer app to LMS

2018-09-01 Thread Martin Gregorie
From: bpa 
> Wrong. The Applet that supported "Listen Again" was NOT provided by
> Logitech but provided by Triode - it was a 3rd party Applet. 
> 
Fair enough.

> Add the following 3rd party repo to the Plugins tab.
> 
> http://downloads.sourceforge.net/project/bpaplugins/betarelease-repo.xml
>
Sounds easy enough, but all there is on the plugins tab is the
following:

===
Plugins

Logitech Media Server includes some plugins that you can use with your
remote or in the web interface. You can choose to enable or disable
individual plugins below.

Note: You will need to restart the application to see the effect of
these changes.

===

The rest of it is blank. I've looked through the other tabs but none of
the others, even Advanced, don't offer any way to add 3rd party repos.

What have I missed?


Martin



___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Squeezecenter Digest, Vol 118, Issue 49

2018-08-31 Thread Martin Gregorie


> The Logitech BBC App has never supported Listen Again.
>
Incorrect. Quite some time ago there was a Touch App that:
- provided live streaming of all national BBC radio channels
- supported most of the last week's programs for the national BBC 
  radio channels. That stopped working about the same time that 
  the BBC's web-based iPlayer refused to play anything except the
  live stream without the user logging in.

> mysqueezebox.com but it only supported Flash audio which means it has
> stopped working a few years ago when BBC dropped Flash. 
> 
Indeed.

> The LMS plugin for BBC iPlayer can play "Listen Again" but your Touch
> needs to be connected to a LMS not mysqueezebox.com .  The Iplyaer
> plugin plays programs in last 7 days.  The BBCiPlayerExtra will play
> same programs available on website usually from within last 30 days
> but some much older.
> 
Where can I find that plugin? 

All I'm currently offered by LMS is a BBC live streamer and 'RadioFeeds
UK and Ireland' with no other plugins. The 'mysqueezebox.com' tab says
its 'Enabled, keep player settings in sync', but the 'Plugins' tab
doesn't list any plugins to install.  

I can get into squeezeboxserver.com from LMS but it just offers the
same BBC plugin (seeing its icon is the same as the live streaming BBC
app I assume its the same). If so its, no use to me: I have a Quad FM3
with a decent antenna that long predates buying the Touch, so that's my
preferred live streaming source for BBC channels.

I can't see any sign of BBCiPlayerExtra on squeezeboxserver.com

My Touch is running version 7.8.0 r16754 - does this have any known
gotchas?


Martin


___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] All BBC radio stations fail to play

2018-08-31 Thread Martin Gregorie
> Are you using LMS or mysqueezebox.com with your Touch ?
> 
> If it is the LMS what version iof LMS , What OS and what version of
> the
> BBCiPlayer pluguin.
> 

LMS 7.9.1 running on Fedora 28: 
Linux version 4.17.17-200.fc28.x86_64 (
mockbu...@bkernel04.phx2.fedoraproject.org) (gcc version 8.1.1 20180712
(Red Hat 8.1.1-5) (GCC)) #1 SMP Mon Aug 20 15:56:07 UTC 2018

> Are you using the BBCiPlayer App for Touch or the BBCiPlayer plugin
> for LMS (i.e you have a local LMS and the menu id is "BBC iPlayer"
> under "Radio" ) .
> 
The BBC app on my Touch.

This was working a couple of hours ago: I'd rebooted the Touch
uninstalled/reinstalled the BBC app. 

At this point the BBC app was working, the App store was visible and my
Favourites were visible and played when selected. 

Right now (16:27) the BBC app won't start, the Touch App store has
vanished and nothing is displayed when Favourites is selected.  IOW the
Logitech server has vanished once again. In short, things are once
again behaving exactly as they were at 12:55


Martin


___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] All BBC radio stations fail to play

2018-08-31 Thread Martin Gregorie
On Fri, 2018-08-31 at 08:48 +, squeezecenter-
requ...@lists.slimdevices.com wrote:

> I'm based in the UK and finding that BBC iPlayer will not play
> 'Listen Live' streams - again since about 13 August. 'Listen Live
> (Non UK)' plays fine as do streams from the Radio plugin - it just
> seems to be BBC iPlayer 'Listen Live'.
> 
Like you, I'm in the UK.

> When a Listen Live station is selected LMS finds the station and it
> looks as if it's starting to play but then aborts before anything
> plays.
>
These haven't worked since the BBC decided to hang a password on
iPlayer.

My Touch has no problem playing live streamed BBC radio, but won't
touch any 'listen again' recordings, i.e. anything that shows up in the
BBC website schedules or programs linked to by 'Listen now' tags on web
pages.

However, I can listen to these on my laptop (Firebird/Fedora Linux on a
Lenovo T440) BUT I have to log into the BBC to do that (requires
signing up and a password) and I think this is the issue - you can't
login from a Touch. The result is listenable (just - on its builtin
speakers) but is obviously hugely inferior to my main listening set-up
(Touch, Quad 33/303/FM3, Celestion Ditton 44s).

There is a (partial) workround - many of these programs offer MP3
downloads at 64kb or 128kb, so grab one of these from the website and
put it where LMS can find it (in my case on an old AMD PC running
Fedora Linux).

This problem is unlikely to go away until one of the following happens:

- the BBC gives up on its annoying login-to-listen ideas

- the Touch maintainers figure out a moderately secure way to store 
  a username/password combination and send it when the BBC requests it.

- the BBC reintroduces a radio license that allows, among other things,
  unlimited, unpassworded access to programs on 'listen again' for
  subscribers. I'd prefer this because (a) it would be a permanent
  solution and (b) the (small) cash flow would remind the BBC that it
  does have radio enthusiasts who shouldn't be ignored as they seem to
  be at present.

Personally, I'm not holding my breath for any of this to happen, but I
do miss the BBC's 'listen again' service.

Martin

PS: Tried just now (31Aug18 12:55) to verify that the Touch still
streams internet radio and failed - 'RADIO' vanished from the menu
after doing nothing for a while and 'Favourites' is also inoperative,
so it looks very much as though Logitech's support server has gone
TITSUP (Total Inability To Stream User-selected Programs).



___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Documentation for the LMS scan process?

2018-08-27 Thread Martin Gregorie
From: Michael Herger 
> 
> Not really, no.
> ...
> LMS uses tags first, only if that fails it would try to guess 
> information from the folder and file names. You better get your tags 
> cleaned up.
> 
Thanks - that's what I needed to know. 

Thanks to your input I've fixed my most glaring problems and,
additonally, managed to combine the tracks from the Santana: Lotus
double CD into a single group thanks to your input and am listening to
the combined Lotus as I write. Next target: Combining the Dylan Royal
Albert Hall disks into a single whole-concert stream as I just did for
Santana's Lotus double CD.

My only additional comment is that it may help others with similar
problems if you can can add this to the LMS server FAQ. I'm sure I'm
not the only one to discover that simply using the  CD ripper ends
up putting a few albums in an odd place in the LMS catalogue, due
mainly to spelling mistakes by the cataloguer.

Martin
   

 

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] Documentation for the LMS scan process?

2018-08-26 Thread Martin Gregorie
Is there any documentation for the LMS scan process showing how it uses
tags in music files and/or m3u playlists when it is building or
rebuilding its music access menus?

The reason I ask is that I'm using the Asunder CD ripper to populate my
LMS music library with tracks from CDs I own. Asunder evidently uses a
crowd-sourced database to deduce the artist(s), CD and track titles.
This works well, but it isn't consistent, e.g. the entries for most
J.J.Cale CDs identify him as "J.J. Cale" but "Shades" uses 
"Cale, J.J". It returns tracks named "nn Artist Album track.flac" in a
directory named "Artist Album" and puts a playlist called "Artist
Album.flac.m3u" in the directory along with the tracks. 

This messes up the lists displayed by LMS. I'd much prefer it to use
the same scheme as I'm using to file the music.

So far I've discovered that the names in the directory tree I use to
store the tracks and m3u playlist  are ignored by an LMS scan and so,
apparently, is the content of the playlist. I assume it must be working
from the tags in the music files. Although I have a copy of EasyTag, I
though it best to ask here before diving in with it. 

So, is there any documentation you can point me at that describes how
an LMS scan generates entries in its lists? 

Once I understand that I'll alter the music storage tree structure
and/or tags in the flac files so the two coincide and will be used by
the LMS scanner to generate coherent artist, album and genre lists

Martin

-
LMS on a Fedora server, connected to a Quad 33/303 via a Touch.  


___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Not sure where to start :(

2018-01-07 Thread Martin Gregorie
On Sun, 2018-01-07 at 01:25 +, jonblauch wrote:
> However, the issue started when I got
> a new computer, so that would be highly coincidental.
> 
Are you sure your music files were correctly installed on the new
computer? The log shows: 

- refusals to handle files because DRM: are the access
  permissions and file ownership correct on these files? 

- play lists pointing to missing music files.

> What should I try next?
> 
Try fixing those problems before rescanning.


___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Problem with new installation of LMS 7.9.0

2017-12-11 Thread Martin Gregorie
On Mon, 2017-12-11 at 08:57 +0100, Michael Herger wrote:
> > I downloaded the LMS 7.9.0 rpm a week ago. Today I installed it on
> > a
> 
> Please try 7.9.1 instead
> 
> http://downloads.slimdevices.com/nightly/index.php?ver=7.9
> 
Tried again just now with: 
logitechmediaserver-7.9.1-0.1.1512734075.noarch.rpm

This does exactly the same: 

Starting Squeezebox Server: Can't locate Slim/bootstrap.pm in @INC
BEGIN failed--compilation aborted at /usr/libexec/squeezeboxserver line
169.
[FAILED]

but this time Slim/bootstrap.pm is installed. 'locate' says its at
 /usr/lib/perl5/vendor_perl/Slim/bootstrap.pm

$ perl --version
This is perl 5, version 24, subversion 3 (v5.24.3) built for x86_64-
linux-thread-multi
(with 68 registered patches, see perl -V for more detail)

The output from "perl -V" is attached as perlV.txt and, as you can see,
the path /usr/lib/perl5/vendor_perl is not in @INC.

However, moving the Slim directory to /usr/lib64/perl5/vendor_perl/ has
let LMS start up and has found my music library.

The only problem now is that my Touch can't see it:
- AFAIK its software is fully up to date (7.7.3 r16676)

- the touch's network info is set as it should be to be part of my LAN
  and to access other host on it / be accessed by them

- nmap sees all the ports I expect on the Touch
  and (from another PC), sees port 9000/tcp as open on the host thats
  running LMS

  Should port 9000 also be open for udp?

  If so, this is also preventing the touch from connecting to the 
  LMS as a 'library'

- Another point is the touch appears to think that the 
  LMS should be on an SD card, but that could just be my lack of
  understanding 

Might I suggest that, if possible, the RPM should put the Slim
directory in /usr/lib64/perl5/vendor_perl/ on a 64 bit system rather
than in /usr/lib/perl5/vendor_perl/ - does this need a separate 64bit
RPM or can it be sorted with a scriptlet in the rpm?

Anyway, thanks for pointing me at a more recent RPM, which, if nothing
else got my brain running along the right track. I should point out
that I'm not really a Perl programmer. I mostly use C and Java plus a
bit of awk where others might use Perl.

Thanks,
Martin

Summary of my perl5 (revision 5 version 24 subversion 3) configuration:
   
  Platform:
osname=linux, osvers=4.12.9-300.fc26.x86_64, 
archname=x86_64-linux-thread-multi
uname='linux buildhw-08.phx2.fedoraproject.org 4.12.9-300.fc26.x86_64 #1 
smp fri aug 25 13:09:43 utc 2017 x86_64 x86_64 x86_64 gnulinux '
config_args='-des -Doptimize=none -Dccflags=-O2 -g -pipe -Wall 
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 
-mtune=generic -Dldflags=-Wl,-z,relro  -Dccdlflags=-Wl,--enable-new-dtags 
-Wl,-z,relro  -Dlddlflags=-shared -Wl,-z,relro  -Dshrpdir=/usr/lib64 
-DDEBUGGING=-g -Dversion=5.24.3 -Dmyhostname=localhost 
-Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dprefix=/usr 
-Dvendorprefix=/usr -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl5 
-Dsitearch=/usr/local/lib64/perl5 -Dprivlib=/usr/share/perl5 
-Dvendorlib=/usr/share/perl5/vendor_perl -Darchlib=/usr/lib64/perl5 
-Dvendorarch=/usr/lib64/perl5/vendor_perl -Darchname=x86_64-linux-thread-multi 
-Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Duseshrplib -Dusethreads 
-Duseithreads -Dusedtrace=/usr/bin/dtrace -Duselargefiles -Dd_semctl_semun 
-Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio 
-Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr 
-Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto 
-Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto 
-Ud_setservent_r_proto -Dscriptdir=/usr/bin -Dusesitecustomize -Duse64bitint1'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
  Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall 
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 
-mtune=generic -fwrapv -fno-strict-aliasing -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='  -g',
cppflags='-D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall 
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 
-mtune=generic -fwrapv -fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='7.2.1 20170915 (Red Hat 7.2.1-2)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678, 
doublekind=3
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, 
longdblkind=3
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
alignbytes=8, prototype=define
  

[SlimDevices: SqueezeCenter] Problem with new installation of LMS 7.9.0

2017-12-10 Thread Martin Gregorie
I downloaded the LMS 7.9.0 rpm a week ago. Today I installed it on a
Fedora 26 box that was last updated on Friday. The install was
apparently good, but LMS doesn't run. 

When started it fails with these log messages:

Dec 10 19:50:27 zoogz squeezeboxserver[22172]: 
   Starting Squeezebox Server: Can't locate Slim/bootstrap.pm in @INC
   (you may need to install the Slim::bootstrap module) (@INC contains:
   /usr/libexec /usr/local/lib64/perl5 
   /usr/local/share/perl5
   /usr/lib64/perl5/vendor_perl 
   /usr/share/perl5/vendor_perl
   /usr/lib64/perl5 
   /usr/share/perl5 
   .) 
   at /usr/libexec/squeezeboxserver line 170.
Dec 10 19:50:27 zoogz squeezeboxserver[22172]: 
   BEGIN failed--compilation aborted at /usr/libexec/squeezeboxserver
   line 170.
Dec 10 19:50:27 zoogz squeezeboxserver[22172]: [FAILED]

... lines folded for readability and intervening systemd audit messages
removed.

As a result I have two questions:

- Should the Slim/bootstrap.pm module have been included in the issued
  rpm archive or at least linked as an rpm dependency? If so, please
  let me know when a fixed rpm is available.

- If Slim/bootstrap.pm was intentionally omitted, where should I get it
  from and how should it be installed, i.e. with cpan, and where should
  it go?


Best regards,
Martin

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter