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-06 Thread bpa


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 ?

I don't know specifc but IIRC noarch had no Perl version dependencies
and I think it required running buildme.sh to built libraries. 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
  



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/arch   )



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


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 bpa


mar...@gregorie.org wrote: 
> 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. 
They are both software players - so they are not relevant to installing
LMS.


> 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
I don't use Fedora - I just did a Goggle search
"site:forums.slimdevices.com fedora" to find all threads.

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.



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


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 bpa


mar...@gregorie.org wrote: 
> 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. 
> 
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 .

> There is a /usr/share/squeezeboxserver/Plugins directory but its empty
> [color=blue]
> 
I think that is the old "manual" install directory for 3rd party Plugins
- not used anymore by "normal" users.

> 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.
> 
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.

> 
> 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.
> 
Sounds like a pragmatic plan.  
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 ?



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


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 bpa


Is it possible you have started LMS with the "--failsafe" command line
option left on somewhere - perhaps forgotten after problems were solved.



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


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

2018-09-03 Thread bpa


mar...@gregorie.org wrote: 
> 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? 
I've done a comparison andyour output from the grep is missing a whole
load of standard LMS plugins such as CLI, LineIn and upnp even if
disabled they would appear.

Can you check the plugin directoires.
The directories LMS uses for plugins are listed in WebUI
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.
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 ?



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


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

2018-09-03 Thread bpa


mar...@gregorie.org wrote: 
> 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

Something very wrong - the file should typically be about 33k and the
content you show indicate a plugin system that is not working.



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


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 bpa


mar...@gregorie.org wrote: 
> 
> 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.
> [color=blue]

Nope - this is support forum so attached files is very normal as there
is a size limit on a post - although I'm not sure how that works when
using the mail lists.  For log files it is best to just copy and zip the
log file and then attach.
There are alternative to exchange short lived files such as pastebin.

I'll work through the rest of your post later.  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.



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


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 Mnyb

If the prefs file has been around since before 7.8 the extension
downloadeder could have been disabled .
Instead of reinstall a new version from scratch which I would have done 
. Could one simply temporarily remove the prefs file and do,the basic
setup again ? A bit tedious as one often forgets all adaptations you
done over the years .
But if,the plugins magically reappear we know whatÂ’s up and one could
maybe find the setting in the prefs file itself ? And fix the old prefs
file .




Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x
MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3
sub.
Bedroom/Office: Boom
Kitchen: Touch + powered Fostex PM0.4
Misc use: Radio (with battery)
iPad1 with iPengHD & SqueezePad
(spares Touch, SB3, reciever ,controller )
server HP proliant micro server N36L with ClearOS Linux

http://people.xiph.org/~xiphmont/demo/neil-young.html

Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143
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


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

2018-09-03 Thread bpa


Man in a van wrote: 
> I don't understand why the OP does not try a fresh install of LMS:(

IIRC there are some odd things about Fedora so perhaps given past
difficulties, OP is reluctant to discard a working system.

There may be some simpler steps such as backing up prefs and then
erasing them to see if Plugins appear after a restart. At least by
saving prefs it gives the opportunity to go back.



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


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

2018-09-03 Thread Man in a van


I don't understand why the OP does not try a fresh install of LMS:(

> [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



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
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


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

2018-09-03 Thread bpa


mar...@gregorie.org wrote: 
> 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).
> [color=blue]
> 

Touch Apps have nothing to do with LMS. So can be ignored.

> 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.

In genral editing log message is not a good idea as sometime it is the
messages that are missing might hint at problem.

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.  The Plugins page content is mainly
produced by the Extensions plugin - before 7.9 (or maybe before 7.8) a
user could disable it but in 7.9 it cannot be disabled.



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


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 bpa


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 ?   
Are there any error message at LMS startup in server.log ?



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


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

2018-09-02 Thread Mnyb


Ist it a setting that actually turns of the plugin handling ? Op could
have gone overboard turning of stuff ?




Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x
MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3
sub.
Bedroom/Office: Boom
Kitchen: Touch + powered Fostex PM0.4
Misc use: Radio (with battery)
iPad1 with iPengHD & SqueezePad
(spares Touch, SB3, reciever ,controller )
server HP proliant micro server N36L with ClearOS Linux

http://people.xiph.org/~xiphmont/demo/neil-young.html

Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143
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


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

2018-09-02 Thread bpa


mar...@gregorie.org wrote: 
> 
> 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.
> 
> ===
> 

Very strange - that text does not appear on my "Normal" Plugins tab -
I'll haver to look at the code to see where it comes from.

At a guess your installation is a little odd - IIRC some Fedora
installationa have required special attention.



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


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-02 Thread Man in a van


mar...@gregorie.org wrote: 
> 
> 
> What have I missed?
> 
> 
> Martin


have you tried this?

http://downloads.slimdevices.com/nightly/7.9/sc/acac84f6747e927149c62b198403ac47a9df3f58/logitechmediaserver-7.9.2-0.1.1533559127.noarch.rpm



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
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


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

2018-09-01 Thread bpa


mar...@gregorie.org wrote: 
> 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.

Same version - LMS 7.9.* - anyhow the Plugins tab has not changed for
many versions.

Have you changed the "Web Interface" style (on WebUI
Settings/Intergface)  from "default"

What do you see on your Plugins tab ?
Are there labels on left hand side such as "Active Plugins" "Inactive
Plugins" and "3rd Party Plugins" ?
Are there small triangles besides these labels ?
What happens when you click a triangle ?



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


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 bpa


slartibartfast wrote: 
> It makes it very hard to follow your issue when you start a new thread
> for each reply.
I'm guessing the OP is running of the mail list not the online forum but
it is making it very difficult to provide help in a coherent way as
history is in other threads.



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


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

2018-09-01 Thread Man in a van


mar...@gregorie.org wrote: 
> 
> 
> ===
> 
> ===
> 
> 
> What have I missed?
> 
> 
> Martin

the Settings page should contain lists of the plugins, make sure the
titles in bold on the left hand side are expanded

25551


25552


+---+
|Filename: settings1.png|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=25552|
+---+


Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
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


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

2018-09-01 Thread slartibartfast


mar...@gregorie.org wrote: 
> 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?
> 
> 
> MartinIt makes it very hard to follow your issue when you start a new thread
for each reply.

Sent from my SM-G900F using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
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


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

2018-09-01 Thread bpa


mar...@gregorie.org wrote: 
> What have I missed?

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

Code:


  Additional Repositories
  You may add additional third-party extension repositories by entering the URL 
for the repository below. A list of repository URLs can be found here.
  Warning: As the server will automatically download software from the 
repositories you define, please verify that you trust the owner of the 
repository
  



Paste the URL into a blank box and then click Apply.



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


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

2018-09-01 Thread castalla


mar...@gregorie.org wrote: 
> 
> > Add the following 3rd party repo to the Plugins tab.
> > 
> >
> http://downloads.sourceforge.net/project/bpaplugins/betarelease-repo.xml
> >[/color]
> 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

You haven't grasped that plugins require that you are using the LMS
server program on another PC (eg. raspi, windows, mac, etc.)



LMS server: Pi Zero

Amp: Denon PMA-50

Players/Speakers:  Touch, Logitech Radios, Sonos, Libratone Zipp, GGMM
E2 & E3, Yamaha WXAD-010, Loewe Airspeaker, Google Home Mini, Pioneer
WX-SMA1, O2 Joggler, Cisco Joggler




castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
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


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