Re: [SlimDevices: SqueezeCenter] Protect Library Views?

2018-11-25 Thread Michael Herger

The only way I know to do that is to run a second instance of LMS.
Probably a headache I guess.


But probably worth it if the split is that important? But then users 
could still switch server...


Have you tried hiding the "Select Library View" menu item?

--

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


[SlimDevices: SqueezeCenter] LMS will not auto start

2018-11-25 Thread Fredo


Every time I start up my vortexbox (VB), I have to log into my VB
appliance and manually start LMS using a Linux command on putty.  How
can I get LMS to autostart when I turn my VB appliance on?  I am using
VortexBox SW Version: 2.4 and LMS version: 7.9.1 -
0.6.20170928git1508251793.



Fredo's Profile: http://forums.slimdevices.com/member.php?userid=65011
View this thread: http://forums.slimdevices.com/showthread.php?t=109803

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


Re: [SlimDevices: SqueezeCenter] IP addr assigned to LMS

2018-11-25 Thread BosseJ


pavowren wrote: 
> thanks guys for your valuable, thoughtful ideas!
> d6jg/BosseJ, let me mull over your suggestions but for now,
> i 'seem' to have come up with a working solution.
> 
> 1) plugged in an old linksys router (running dd-wrt) and gave it
> 192.168.1.1 lan addr.  i did this once before but hated the idea of it
> being ON all the time.
> 2) specified this to be the gateway/router for eth0.  previously this
> was a serious problem since when hotspot was nearby, it would not be
> used; i.e., no internet and could not stream spotify.
> 3) solution for #2 was to specify "interface wlan0 / metric 100"
> (suggested by epoch1970) in /etc/dhcpcd.conf indicating that we prefer
> wifi over wired interface.  with this, now when hotspot appears, pi has
> internet access.
> 
> and the setup is working out for now... but the questions remain:
> 1) why can't jivelite deal with the simplest setup of all components
> being in the same box? why not default to localhost when any connection
> fails?
> 2) how can i get rid of the linksys router, a 'dummy' gateway?  
> 3) jivelite being UI for the player squeezelite, why is it talking
> directly to LMS?  i imagined the design was
> jivelite<-->squeezelite<-->lms.

Glad to see you found a solution with reasonable changes!

If I may comment on your questions:

Code:

1) why can't jivelite deal with the simplest setup of all components being 
in the same box? why not default to localhost when any connection fails?


I think JiveLite was designed to emulate the behavior of a dedicated
player device such as the SB3 or Touch. In this scenario the LMS server
was always on some other computer over the network. Squeezelite is
simply the network stream decoder translating the stream (or file) to a
DAC playable format.

Code:

2) how can i get rid of the linksys router, a 'dummy' gateway?

  
I'm sure you work something out. You have a couple of suggestions above
:)

Code:

3) jivelite being UI for the player squeezelite, why is it talking directly 
to LMS?  i imagined the design was jivelite<-->squeezelite<-->lms


No, JiveLite is not the UI for Squeezelite. JiveLite is the UI for LMS
since that is where the music is stored and everything is managed, where
the functional additions are implemented in plugins etc. Squeezelite
have no such functionality whatsoever.



2 Touch, 1 Picoreplayer 4.0.0 on RaspBerry 3B with 7" display
LMS latest nightly on Ubuntu 18.04.1 on Intel Core2 Duo E4500 @ 2.20GHz,
2GB
All wired

BosseJ's Profile: http://forums.slimdevices.com/member.php?userid=67378
View this thread: http://forums.slimdevices.com/showthread.php?t=109789

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


Re: [SlimDevices: SqueezeCenter] IP addr assigned to LMS

2018-11-25 Thread pavowren


BosseJ wrote: 
> Hmm, I always find it hard to follow my advice :-( 
> I am not a windows user (well, some perhaps, but by no means with any
> administrator skills) so I cannot really recommend a dns caching server
> for windows with confidence, but I could hint at one that seems to do
> what's expected for a simple test:
> http://mayakron.altervista.org/wikibase/show.php?id=AcrylicHome
> I guess there's a few hours learning curve even for that, but you seem
> to have skills so maybe it goes faster for you.
> 
> Other solutions to (temporarily) add a dns server to your backbone LAN
> would be to install dnsmasq on some *nix based device. Perhaps your NAS
> (which I think you mentioned earlier)? That would also open up the
> possibility to run dnsmasq as a combined dns/dhcp server on your
> backbone which would ease future expansions, such as adding more
> devices. 
> You could probably also install dnsmasq on your PI3B+, but that would
> further complicate things I'm afraid (you would need to force dnsmasq to
> only listen on etho and not lo or wlan0).

thanks guys for your valuable, thoughtful ideas!
d6jg/BosseJ, let me mull over your suggestions but for now,
i 'seem' to have come up with a working solution.

1) plugged in an old linksys router (running dd-wrt) and gave it
192.168.1.1 lan addr.  i did this once before but hated the idea of it
being ON all the time.
2) specified this to be the gateway/router for eth0.  previously this
was a serious problem since when hotspot was nearby, it would not be
used; i.e., no internet and could not stream spotify.
3) solution for #2 was to specify "interface wlan0 / metric 100"
(suggested by epoch1970) in /etc/dhcpcd.conf indicating that we prefer
wifi over wired interface.  with this, now when hotspot appears, pi has
internet access.

and the setup is working out for now... but the questions remain:
1) why can't jivelite deal with the simplest setup of all components
being in the same box? why not default to localhost when any connection
fails?
2) how can i get rid of the linksys router, a 'dummy' gateway?  
3) jivelite being UI for the player squeezelite, why is it talking
directly to LMS?  i imagined the design was
jivelite<-->squeezelite<-->lms.



pavowren's Profile: http://forums.slimdevices.com/member.php?userid=51958
View this thread: http://forums.slimdevices.com/showthread.php?t=109789

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


Re: [SlimDevices: SqueezeCenter] Problem playing flac files on Slimp3 (but only when sync'ed)

2018-11-25 Thread bpa


InTheBath wrote: 
> Have enabled logging at debug level on the sync. Unsynced all the
> players. Turned all the players off. Plugged the Slimp3 back in and
> played a flac file.
> Stopped the Slimp3 and set up a group with the Slimp3 and one other
> player. Tried to play a flac file.

There is no indication that playing has even started.  You need to
enable player.source to INFO to see if playing is being setup.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=109799

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


Re: [SlimDevices: SqueezeCenter] IP addr assigned to LMS

2018-11-25 Thread BosseJ


pavowren wrote: 
> yes, i was over at the jivelite forum and it seems some folks had a
> similar (but not quite mine) situation where they removed the ethernet
> connection, began using wifi and then, jivelite would fail to connect to
> lms.  common solution was re-installation or reset with wifi present.  i
> was about to follow suit but now believe it would be futile in my case. 
> as you point out, problem is jivelite's persistence for wifi. even after
> hotspot goes away, it retains the wifi address, so of course, it cannot
> connect.  yes, it should be able to handle the simplest configuration
> where all are co-resident in the same machine!
> 
> as for trying out a 'dummy' dns server, i will look into using a local
> router if it can be set up as such.
> otherwise, do you know of a windows10 software that can do this quick
> and dirty?
> 
> this old retired brain is getting a real workout, hopefully keeping the
> synapses alive...

Hmm, I always find it hard to follow my advice :-( 
I am not a windows user (well, some perhaps, but by no means with any
administrator skills) so I cannot really recommend a dns caching server
for windows with confidence, but I could hint at one that seems to do
what's expected for a simple test:
http://mayakron.altervista.org/wikibase/show.php?id=AcrylicHome
I guess there's a few hours learning curve even for that, but you seem
to have skills so maybe it goes faster for you.

Other solutions to (temporarily) add a dns server to your backbone LAN
would be to install dnsmasq on some *nix based device. Perhaps your NAS
(which I think you mentioned earlier)? That would also open up the
possibility to run dnsmasq as a combined dns/dhcp server on your
backbone which would ease future expansions, such as adding more
devices. 
You could probably also install dnsmasq on your PI3B+, but that would
further complicate things I'm afraid (you would need to force dnsmasq to
only listen on etho and not lo or wlan0).



2 Touch, 1 Picoreplayer 4.0.0 on RaspBerry 3B with 7" display
LMS latest nightly on Ubuntu 18.04.1 on Intel Core2 Duo E4500 @ 2.20GHz,
2GB
All wired

BosseJ's Profile: http://forums.slimdevices.com/member.php?userid=67378
View this thread: http://forums.slimdevices.com/showthread.php?t=109789

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


Re: [SlimDevices: SqueezeCenter] Problem playing flac files on Slimp3 (but only when sync'ed)

2018-11-25 Thread InTheBath


Have enabled logging at debug level on the sync. Unsynced all the
players. Turned all the players off. Plugged the Slimp3 back in and
played a flac file.
Stopped the Slimp3 and set up a group with the Slimp3 and one other
player. Tried to play a flac file.

Log is below.


(Have I told you yet how much I appreciate the help?)


[18-11-25 14:31:55.3261]
Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (210)
Connect daemon is running, but not connected - shutting down to force
restart: 00:04:20:16:e7:63
[18-11-25 16:06:21.0618] Slim::Player::StreamingController::unsync
(1935) 00:04:20:04:03:51 unsync 00:04:20:16:e7:63
[18-11-25 16:06:21.0713] Slim::Player::StreamingController::unsync
(1989) 00:04:20:04:03:51 sync group now has:
00:04:20:1f:1d:b5,00:04:20:04:03:51,00:04:20:12:73:28
[18-11-25 16:06:21.0732] Slim::Player::StreamingController::unsync
(1990) 00:04:20:04:03:51 active players are: 00:04:20:04:03:51
[18-11-25 16:06:23.1113] Slim::Player::Sync::syncname (51) syncname for
00:04:20:04:03:51 is Old Skool & Kitchen Sink & Study
[18-11-25 16:06:30.5503] Slim::Player::StreamingController::unsync
(1935) 00:04:20:04:03:51 unsync 00:04:20:04:03:51
[18-11-25 16:06:30.5616] Slim::Player::StreamingController::unsync
(1989) 00:04:20:1f:1d:b5 sync group now has:
00:04:20:1f:1d:b5,00:04:20:12:73:28
[18-11-25 16:06:30.5635] Slim::Player::StreamingController::unsync
(1990) 00:04:20:1f:1d:b5 active players are: 
[18-11-25 16:06:33.2559]
Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (210)
Connect daemon is running, but not connected - shutting down to force
restart: 00:04:20:04:03:51
[18-11-25 16:06:40.5260] Slim::Player::StreamingController::unsync
(1935) 00:04:20:1f:1d:b5 unsync 00:04:20:1f:1d:b5
[18-11-25 16:06:40.5361] Slim::Player::StreamingController::unsync
(1989) 00:04:20:12:73:28 sync group now has: 00:04:20:12:73:28
[18-11-25 16:06:40.5380] Slim::Player::StreamingController::unsync
(1990) 00:04:20:12:73:28 active players are: 
[18-11-25 16:06:44.3956]
Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (210)
Connect daemon is running, but not connected - shutting down to force
restart: 00:04:20:04:03:51
[18-11-25 16:07:39.0034] Slim::Player::Player::trackJiffiesEpoch (928)
00:04:20:16:e7:63 adjust jiffies epoch -0.001s
[18-11-25 16:08:00.5978] Slim::Player::StreamingController::sync (1871)
00:04:20:04:03:51 adding to syncGroup: 00:04:20:16:e7:63
[18-11-25 16:08:00.6373] Slim::Player::StreamingController::sync (1914)
New player inactive: power=0, connected=1
[18-11-25 16:08:00.6400] Slim::Player::StreamingController::sync (1923)
00:04:20:04:03:51 sync group now has:
00:04:20:04:03:51,00:04:20:16:e7:63
[18-11-25 16:08:00.6418] Slim::Player::StreamingController::sync (1924)
00:04:20:04:03:51 active players are: 00:04:20:04:03:51
[18-11-25 16:08:02.6637] Slim::Player::Sync::syncname (51) syncname for
00:04:20:04:03:51 is Old Skool & Kitchen Sofa
[18-11-25 16:08:03.4382]
Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (210)
Connect daemon is running, but not connected - shutting down to force
restart: 00:04:20:04:03:51
[18-11-25 16:08:15.4616] Slim::Player::StreamingController::playerActive
(2028) 00:04:20:04:03:51 sync group now has:
00:04:20:04:03:51,00:04:20:16:e7:63
[18-11-25 16:08:15.4636] Slim::Player::StreamingController::playerActive
(2029) 00:04:20:04:03:51 active players are:
00:04:20:04:03:51,00:04:20:16:e7:63
[18-11-25 16:08:24.0074] Slim::Player::Player::trackJiffiesEpoch (955)
00:04:20:06:30:62 adjust jiffies epoch +0.001s
[18-11-25 16:09:02.6926] Slim::Player::Sync::syncname (51) syncname for
00:04:20:04:03:51 is Old Skool & Kitchen Sofa



InTheBath's Profile: http://forums.slimdevices.com/member.php?userid=15679
View this thread: http://forums.slimdevices.com/showthread.php?t=109799

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


Re: [SlimDevices: SqueezeCenter] IP addr assigned to LMS

2018-11-25 Thread d6jg

If you really want to continue to use the phone as the connection to the
internet then what I would do is.

I’d get a wireless Ethernet router. That’s a router with Ethernet
connection Wan side and normal lan / WiFi onnthe private side.
Then I’d plug a Wireless Access Point configured in client mode into the
WAN port. I’d use this to connect to your mobile hotspot when it’s
available,
I’d rebuild the Pi as a LAN only device and give it a reserved IP from
the private side dhcp server.
Then I’d open and forward TCP 9000 & TCP/UDP 3483 from the WAN interface
to the IP of the Pi. That will let your phone access an Control LMS
The existence of a proper router will ensure that LMS will work with or
without an internet connection.
The port forwarding is safe in this scenario even without password as
there is a further router in play in the form of the hotspot.
I appreciate you have added 2 boxes into the equation but this will work
and doesn’t involve an additional SIM card.



VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom 
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng

d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=109789

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


Re: [SlimDevices: SqueezeCenter] IP addr assigned to LMS

2018-11-25 Thread pavowren


BosseJ wrote: 
> Perhaps you could ask Ralphy in the JiveLite thread in these forums,
> https://forums.slimdevices.com/showthread.php?98156-Announce-JiveLite-cut-down-squeezebox-control-application
> if there is any way to force JiveLite to always use the eth0
> 192.168.1.23 IP as the LMS server and never the wireless IP?
> Assuming you compiled from the Github sources, Ralphy's fork, and not
> from Googlecode archive (Triode's original sources).
> 
> BTW, it seems as JiveLite only communicates with the LMS server and the
> LMS server then controls the Squeezelite player software. There seems to
> be no direct connection between JiveLite and Squeezelite. This explains
> why you only loose control ability on the local display of the PI3B+,
> but never on the PC/laptop browser to the LMS web gui. LMS listens on
> all interfaces, if wlan fails it doesn't matter for the  eth0 traffic.
> However, JiveLite chooses one interface for communication with LMS and
> sticks with that. Besides, JiveLite seem to prefer the wlan, perhaps
> because that is the only network route which can provide DNS replies.
> (You could, as a test for this speculation, setup a small DNS server
> elsewhere on your network just to provide replies, a small footprint
> caching DNS will be fine. Then start the PI3B+ without the hotspot
> available and see what gives - check the JiveLite configs for LMS server
> IP etc.)
> 
> edit: you see in this source from Github:
> https://github.com/ralph-irving/jivelite/blob/master/src/jive_dns.c that
> JiveLite monitors the resolv.conf for changes. That's why it overwrites
> the LMS server address in the lua probably when the Pi3B+ connects to
> the hotspot.

yes, i was over at the jivelite forum and it seems some folks had a
similar (but not quite mine) situation where they removed the ethernet
connection, began using wifi and then, jivelite would fail to connect to
lms.  common solution was re-installation or reset with wifi present.  i
was about to follow suit but now believe it would be futile in my case. 
as you point out, problem is jivelite's persistence for wifi. even after
hotspot goes away, it retains the wifi address, so of course, it cannot
connect.  yes, it should be able to handle the simplest configuration
where all are co-resident in the same machine!

as for trying out a 'dummy' dns server, i will look into using a local
router if it can be set up as such.
otherwise, do you know of a windows10 software that can do this quick
and dirty?

this old retired brain is getting a real workout, hopefully keeping the
synapses alive...



pavowren's Profile: http://forums.slimdevices.com/member.php?userid=51958
View this thread: http://forums.slimdevices.com/showthread.php?t=109789

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


Re: [SlimDevices: SqueezeCenter] IP addr assigned to LMS

2018-11-25 Thread d6jg


BosseJ wrote: 
> Perhaps you could ask Ralphy in the JiveLite thread in these forums,
> https://forums.slimdevices.com/showthread.php?98156-Announce-JiveLite-cut-down-squeezebox-control-application
> if there is any way to force JiveLite to always use the eth0
> 192.168.1.23 IP as the LMS server and never the wireless IP?
> Assuming you compiled from the Github sources, Ralphy's fork, and not
> from Googlecode archive (Triode's original sources).
> 
> BTW, it seems as JiveLite only communicates with the LMS server and the
> LMS server then controls the Squeezelite player software. There seems to
> be no direct connection between JiveLite and Squeezelite. This explains
> why you only loose control ability on the local display of the PI3B+,
> but never on the PC/laptop browser to the LMS web gui. LMS listens on
> all interfaces, if wlan fails it doesn't matter for the  eth0 traffic.
> However, JiveLite chooses one interface for communication with LMS and
> sticks with that. Besides, JiveLite seem to prefer the wlan, perhaps
> because that is the only network route which can provide DNS replies.
> (You could, as a test for this speculation, setup a small DNS server
> elsewhere on your network just to provide replies, a small footprint
> caching DNS will be fine. Then start the PI3B+ without the hotspot
> available and see what gives - check the JiveLite configs for LMS server
> IP etc.)
> 
> edit: you see in this source from Github:
> https://github.com/ralph-irving/jivelite/blob/master/src/jive_dns.c that
> JiveLite monitors the resolv.conf for changes. That's why it overwrites
> the LMS server address in the lua probably when the Pi3B+ connects to
> the hotspot.

I think you have now isolated the real issue which is completely
different to what was originally posted.
I fixed by uninstalling and reinstalling Jivelite but I was using
piCorePlayer which has a version of Jivelite precompiled and is one
click install and / or uninstall.
Given that there is a network bridge in play I cannot see how you will
ever get the phone to control LMS but hey...



VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom 
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng

d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=109789

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


Re: [SlimDevices: SqueezeCenter] Problem playing flac files on Slimp3 (but only when sync'ed)

2018-11-25 Thread bpa


InTheBath wrote: 
> Thanks.
> 
> When playing synced all is silent and turning the Slimp3 off almost
> immediately starts the audio on the other players (but not from the
> beginning of the song, from what looks like the current position on all
> the players).
> 
> Have swapped the Slimp3 out for a classic for a bit, but that Slimp3
> sure does look sweet...

Enable player.sync logging to get a better idea of what is happening
with slimp3 to prevent syncing/playing.

Also the order in which you create a sync group can affect behaviour.
Try SliMP3 as the first ("master") player in a group.  Sync players into
a group before starting to play anyhting.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=109799

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


Re: [SlimDevices: SqueezeCenter] Problem playing flac files on Slimp3 (but only when sync'ed)

2018-11-25 Thread InTheBath


Thanks.

When playing synced all is silent and turning the Slimp3 off almost
immediately starts the audio on the other players (but not from the
beginning of the song, from what looks like the current position on all
the players).

Have swapped the Slimp3 out for a classic for a bit, but that Slimp3
sure does look sweet...



InTheBath's Profile: http://forums.slimdevices.com/member.php?userid=15679
View this thread: http://forums.slimdevices.com/showthread.php?t=109799

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


Re: [SlimDevices: SqueezeCenter] Problem playing flac files on Slimp3 (but only when sync'ed)

2018-11-25 Thread bpa


InTheBath wrote: 
> You're a very patient person! Thanks.
> 
> Pi wasn't rebooted. Music is on a permanently mounted hard drive. About
> 900 albums. But LMS was restarted a few times (I tend to do it when I
> fiddle with settings).
> 
> Apparently I'm running Raspbian GNU/Linux, Version 8 (Jessie).
> Pi is headless and really doesn't need to do anything except run LMS.
> 
> Installation of LMS was via an apt-get: version number ius above but
> it's a recent nightly build (since a recent bug about changing volume on
> synced players affected me.

OK.  There is a copy of avaconv available for raspbian Jessie but from a
3rd party site

Without consistent symptoms, it is not worthwhile trying "solutions" as
it will not be clear if the "solution" has had good/bad effect.

I suspect your system was caching a lot of disk stuff (e.g. flac, lame,
audio files, directories) in RAM and overnight these caches have
expired/cleared out and so now some activities are taking longer.  This
could indicate that your system is at the edge of being able to support
a synced SliMP3.  Your previous log also showed some very long
BBCiPlayer network fetches - so perhaps you also have some ISP issues
into the mix (i.e. don't use network streams as a basis for tests)



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=109799

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


Re: [SlimDevices: SqueezeCenter] Problem playing flac files on Slimp3 (but only when sync'ed)

2018-11-25 Thread InTheBath


You're a very patient person! Thanks.

Pi wasn't rebooted. Music is on a permanently mounted hard drive. About
900 albums. But the server was rebooted a few times (I tend to do it
when I fiddle with settings).

Apparently I'm running Raspbian GNU/Linux, Version 8 (Jessie).
Pi is headless and really doesn't need to do anything except run LMS.

Installation of LMS was via an apt-get: version number ius above but
it's a recent nightly build (since a recent bug about changing volume on
synced players affected me.



InTheBath's Profile: http://forums.slimdevices.com/member.php?userid=15679
View this thread: http://forums.slimdevices.com/showthread.php?t=109799

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


Re: [SlimDevices: SqueezeCenter] Problem playing flac files on Slimp3 (but only when sync'ed)

2018-11-25 Thread bpa


InTheBath wrote: 
> You're going to hate me, and I don't know why this has happened, but
> symptoms are different today!
Was the system rebooted  ?
Is your music in a SD card or a hard disk ?

> Edit: apt-get of ffmpeg or avconv unsuccessful on pi. ffmpeg is
> unavailable but referred to by another package. Avconv is "unable to
> locate".

What distro are you using ?
ffmpeg or avconv is available for raspbian and many of the "mainline" Pi
distros

But it would be better to test with sox as it should be on your system
as part of LMS unless you have a custom LMS distro (how did you install
LMS? )



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=109799

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


Re: [SlimDevices: SqueezeCenter] Problem playing flac files on Slimp3 (but only when sync'ed)

2018-11-25 Thread InTheBath


You're going to hate me, and I don't know why this has happened, but
symptoms are different today!

Can't get anything to play with the players synced.
They all look like they're playing, on the web interface, the Slimp3
player (displaying a time remaining progress bar that ticks down) and
the controller. Flac and mp3 similar (although the mp3 took longer to
get going).
BBC live and on demand: Slimp3 goes quickly through "Connecting..." and
"Buffering" and sticks at "Waiting to sync..."

I am puzzled. What has changed? I've restarted the server a few times. I
changed the players "Minimum Synchronisation Adjustment" from 10ms to
202ms and now back again. I've given the server a higher priority (using
the Advanced tab of the LMS web interface) and the scanner a slightly
lower priority.

The Pi is just used as a music server, so I don't think anything
significant should have happened overnight.

Just to reiterate. I appreciate your help a lot and am still convinced I
tested well yesterday and saw the symptoms previously described. But
having some experience in user support, if I was you, I wouldn't believe
me...



InTheBath's Profile: http://forums.slimdevices.com/member.php?userid=15679
View this thread: http://forums.slimdevices.com/showthread.php?t=109799

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


Re: [SlimDevices: SqueezeCenter] IP addr assigned to LMS

2018-11-25 Thread BosseJ


pavowren wrote: 
> over at jivelite forum, bunch of people were talking about this!
> how did you uninstall/reinstall jivelite exactly?  'cause i made it some
> months ago following http://hagensieker.com/jivelite/index.php
> instructions.
> 
> snooping around the .jivelite directory, i found SlimDiscovery.lua which
> had the following line:
> {serverInit={ip="192.168.43.252",}
> that's the wlan0 address which the hotspot dynamically assigned.
> of course, when hotspot goes away, this addr is no longer around.
> so i changed it 127.0.0.1 or 192.168.1.23 but neither worked.  jivelite
> fails to connect to LMS.
> do i need to somehow compile this .lua file?
> 
> when i took the mobile hotspot near the pi,
> this file magically returned to what it was, 192.168.43.252.
> i assume jivelite is doing this but why and how?

Perhaps you could ask Ralphy in the JiveLite thread in these forums,
https://forums.slimdevices.com/showthread.php?98156-Announce-JiveLite-cut-down-squeezebox-control-application
if there is any way to force JiveLite to always use the eth0
192.168.1.23 IP as the LMS server and never the wireless IP?
Assuming you compiled from the Github sources, Ralphy's fork, and not
from Googlecode archive (Triode's original sources).

BTW, it seems as JiveLite only communicates with the LMS server and the
LMS server then controls the Squeezelite player software. There seems to
be no direct connection between JiveLite and Squeezelite. This explains
why you only loose control ability on the local display of the PI3B+,
but never on the PC/laptop browser to the LMS web gui. LMS listens on
all interfaces, if wlan fails it doesn't matter for the  eth0 traffic.
However, JiveLite chooses one interface for communication with LMS and
sticks with that. Besides, JiveLite seem to prefer the wlan, perhaps
because that is the only network route which can provide DNS replies.
(You could, as a test for this speculation, setup a small DNS server
elsewhere on your network just to provide replies, a small footprint
caching DNS will be fine. Then start the PI3B+ without the hotspot
available and see what gives - check the JiveLite configs for LMS server
IP etc.)



2 Touch, 1 Picoreplayer 4.0.0 on RaspBerry 3B with 7" display
LMS latest nightly on Ubuntu 18.04.1 on Intel Core2 Duo E4500 @ 2.20GHz,
2GB
All wired

BosseJ's Profile: http://forums.slimdevices.com/member.php?userid=67378
View this thread: http://forums.slimdevices.com/showthread.php?t=109789

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


Re: [SlimDevices: SqueezeCenter] Problem playing flac files on Slimp3 (but only when sync'ed)

2018-11-25 Thread bpa


Thought a bit more about this overnight.

Since BBCiPlayer sync OK and flac files don't - the issue seems to be
processor related.

For live BBCiPlayer streams are delivered in 6 secs chunk - so processor
runs faad/lame to convert a 6 sec chunk which is then ready to send out-
processor then waits for next 6 sec chunk to arrive so has time to deal
with SLimp3.  
Flac files will be process by flac and lame but processor will try to
process whole source flac file (e.g. 3 minutes long)  in one go and so
processor will be very intensively used for a longer peiod compared to
the 6 sec chunk of BBCiPlayer.

I wonder whether changing the LMS default transcode chain of 2 processes
Flac and Lame and pipes - to a single ffmpeg process might be easier on
the processor.

Do you have (or can install)  ffmpeg (aka avconv) on your system which
has LMS ?

For completeness - please confirm sync is OK for both BBCiPLayer live
and On-demand ?



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=109799

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