Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread itm

wt0 wrote: 
> The client app itself losing connection should not cause the player to
> abort and skip tracks. Of course, if the client is on the same device as
> the player then the player would also losing connection.
> 
> Try setting your wifi to only use a 5ghz connection. That should help
> with interference problems. You'll probably have to set your router to
> use a different SSID for the 5ghz and 2.4ghz networks.
> 
> 

The phone was connected to a 5GHz connection at the time (I already have
separate SSIDs for 2.4/5GHz). I don't see an option to "only use 5GHz"
though???

I thought it interesting that Google Play Music didn't suffer from the
same issue. Maybe it handles its data buffering differently?



itm's Profile: http://forums.slimdevices.com/member.php?userid=17437
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] For the brave only: the Spotty Spotify implementation

2017-06-11 Thread odw199

Hi,

I think there might be an issue with the repo.

I'm using LMS 7.9.1 running on MacOs Sierra. When I try and install the
latest version of the plugin from he test repo, I get an error in debug
plugin logging:


Code:

[17-06-11 09:37:49.9876] Slim::Utils::PluginDownloader::install (159) 
install - downloading Spotty from http://www.herger.net/_data/Spotty-0.6.1.zip
  [17-06-11 09:37:51.5572] Slim::Utils::PluginDownloader::_downloadDone (176) 
downloaded Spotty to 
/Users/tv/Library/Caches/Squeezebox/DownloadedPlugins/Spotty.zip
  [17-06-11 09:37:51.6106] Slim::Utils::PluginDownloader::_downloadDone (194) 
digest does not match 
/Users/tv/Library/Caches/Squeezebox/DownloadedPlugins/Spotty.zip - Spotty will 
not be installed



Looking at the xml it gives the sha1 as:


Code:


  
  Spotty Spotify implementation for Squeezebox. Not quite Connect ready...
  
  
  The potential next generation Spotify protocol handler. v0.5.0 - add full 
content browsing menus (to be enabled in the settings). v0.6.0 - add support 
for multiple accounts. v0.6.1 - fix authentication. v0.6.2 - fix playback 
issues with new releases
  
  http://www.herger.net/_data/Spotty-0.6.1.zip
  Michael Herger
  s...@herger.net
  775f2f2e53eb1668b26b8a3e9fdf87bd544fdea3
  



If I calculate the sha 1 of the zip I get something different:


Code:

$ shasum -a 1 Spotty-0.6.1.zip
  ac1ecc83e4d6663138228a0fa980ab9cd910ff15  Spotty-0.6.1.zip



Is the problem simply that the digest has been updated with the value
for version 0.6.2 but the zip linked in the xml is still version 0.6.1?



odw199's Profile: http://forums.slimdevices.com/member.php?userid=15387
View this thread: http://forums.slimdevices.com/showthread.php?t=107418

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


Re: [SlimDevices: Plugins] For the brave only: the Spotty Spotify implementation

2017-06-11 Thread odw199

To answer my own post, yes, the digest is for 0.6.2 but the xml is
pointing to the 0.6.1 version.

Manually downloading the 0.6.2 version and running shasum against it
gives the digest in the xml.



odw199's Profile: http://forums.slimdevices.com/member.php?userid=15387
View this thread: http://forums.slimdevices.com/showthread.php?t=107418

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


Re: [SlimDevices: Plugins] For the brave only: the Spotty Spotify implementation

2017-06-11 Thread kidstypike

Logitech Media Server Version: 7.9.1 - 1496913376 @ Fri Jun 9 04:08:47
UTC 2017
Hostname: LMSserver
Server IP Address: 192.168.1.11
Server HTTP Port Number: 9000
Operating system: piCore - EN - utf8
Platform Architecture: armv7l-linux
Perl Version: 5.24.0 - arm-linux-gnueabihf-thread-multi-64int
Audio::Scan: 0.95
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Total Players Recognized: 5

Problem here too.

Got into the "Please restart LMS for the changes to take effect" loop.

After several attempts, I uninstalled Spotty, removed the mherger test
repo, rebooted, added the repo back, but Spotty wont install.

Nothing in the logs.



LMS 7.9 on a Raspberry Pi 3/piCorePlayer 3.20, playlists and LMS cache
on a USB stick, 25K+ music library on a WD MyCloud network drive,
Rasberry Pi 2/piCorePlayer 3.02 > HiFiBerry DIGI+ > AudioEngine DAC1 >
AVI DM5
Raspberry Pi 3/piCorePlayer 3.20beta7/HiFiBerry DAC+ > Cambridge Audio
Minx 5 (study)
Rasberry Pi 2/piCorePlayer 3.02 > HiFiBerry DAC+ > Sharp micro system
(garage)
1 x Boom (dining room) - 1 x Touch (used for display and controller
only) - 1 x SB3 (spare) - 1 x Radio (spare)

kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436
View this thread: http://forums.slimdevices.com/showthread.php?t=107418

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


Re: [SlimDevices: Plugins] For the brave only: the Spotty Spotify implementation

2017-06-11 Thread odw199

kidstypike wrote: 
> Logitech Media Server Version: 7.9.1 - 1496913376 @ Fri Jun 9 04:08:47
> UTC 2017
> Hostname: LMSserver
> Server IP Address: 192.168.1.11
> Server HTTP Port Number: 9000
> Operating system: piCore - EN - utf8
> Platform Architecture: armv7l-linux
> Perl Version: 5.24.0 - arm-linux-gnueabihf-thread-multi-64int
> Audio::Scan: 0.95
> Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
> Total Players Recognized: 5
> 
> Problem here too.
> 
> Got into the "Please restart LMS for the changes to take effect" loop.
> 
> After several attempts, I uninstalled Spotty, removed the mherger test
> repo, rebooted, added the repo back, but Spotty wont install.
> 
> Nothing in the logs.

Thats the same as I got, had to enable extra logging for plugins to see
anything in the log. I'm sure the repo will get fixed soon



odw199's Profile: http://forums.slimdevices.com/member.php?userid=15387
View this thread: http://forums.slimdevices.com/showthread.php?t=107418

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread bpa

itm wrote: 
> The phone was connected to a 5GHz connection at the time (I already have
> separate SSIDs for 2.4/5GHz). I don't see an option to "only use 5GHz"
> though???
> 
> I thought it interesting that Google Play Music didn't suffer from the
> same issue. Maybe it handles its data buffering differently?

Starting point:  
What are your LMS file formats ?
IIRC GPM always convert to MP3 but at what bit rate ?

On Youtube Google uses chunked HTTP (e.g. DASH) which allows for dynamic
rate adaptions which means if bandwidtrh is not available it switches
down to lower bitrate on the fly - They may be using similar on GPM. 
LMS uses a fixed bandwidthdepending on fiel format.



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

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


Re: [SlimDevices: Plugins] For the brave only: the Spotty Spotify implementation

2017-06-11 Thread kidstypike

odw199 wrote: 
> Thats the same as I got, had to enable extra logging for plugins to see
> anything in the log. I'm sure the repo will get fixed soon

I'm sure it'll get fixed soon.

Glad I run a spare server or two though :)



LMS 7.9 on a Raspberry Pi 3/piCorePlayer 3.20, playlists and LMS cache
on a USB stick, 25K+ music library on a WD MyCloud network drive,
Rasberry Pi 2/piCorePlayer 3.02 > HiFiBerry DIGI+ > AudioEngine DAC1 >
AVI DM5
Raspberry Pi 3/piCorePlayer 3.20beta7/HiFiBerry DAC+ > Cambridge Audio
Minx 5 (study)
Rasberry Pi 2/piCorePlayer 3.02 > HiFiBerry DAC+ > Sharp micro system
(garage)
1 x Boom (dining room) - 1 x Touch (used for display and controller
only) - 1 x SB3 (spare) - 1 x Radio (spare)

kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436
View this thread: http://forums.slimdevices.com/showthread.php?t=107418

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread itm

bpa wrote: 
> Starting point:  
> What are your LMS file formats ?
> IIRC GPM always convert to MP3 but at what bit rate ?
> 
> On Youtube Google uses chunked HTTP (e.g. DASH) which allows for dynamic
> rate adaptions which means if bandwidtrh is not available it switches
> down to lower bitrate on the fly - They may be using similar on GPM. 
> LMS uses a fixed bandwidthdepending on fiel format.

They're all MP3. I've just tried TuneIn radio to check for consistency
of wifi connection and that too seems to stop and buffer every couple of
minutes, so it does seem that there are temporary drops in the wifi
connection.

Is there any way to force the LMS player to buffer full tracks, so that
at least track payback isn't aborted when the signal drops?



itm's Profile: http://forums.slimdevices.com/member.php?userid=17437
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread bpa

itm wrote: 
> They're all MP3. I've just tried TuneIn radio to check for consistency
> of wifi connection and that too seems to stop and buffer every couple of
> minutes, so it does seem that there are temporary drops in the wifi
> connection.
> 
> Is there any way to force the LMS player to buffer full tracks, so that
> at least track payback isn't aborted when the signal drops?

LMS will send whole track to a player if the player wants it (i.e it has
a big enoiugh buffer) and if coded the player can continue playing the
track even if no LMS connection.  You can enable LMS logging to see
exactly what is happening btu it looks like Android players keep small
buffers.



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

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread itm

bpa wrote: 
> LMS will send whole track to a player if the player wants it (i.e it has
> a big enoiugh buffer) and if coded the player can continue playing the
> track even if no LMS connection.  You can enable LMS logging to see
> exactly what is happening btu it looks like Android players keep small
> buffers.

It looks like the SqueezePlayer app doesn't allow any configuration of
buffer size.

I've just had a quick look at the LMS logging options and they're
somewhat more comprehensive than I was imagining (!). Any tips for which
option(s) I need to check what's going on?



itm's Profile: http://forums.slimdevices.com/member.php?userid=17437
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] For the brave only: the Spotty Spotify implementation

2017-06-11 Thread mherger

odw199 wrote: 
> Thats the same as I got, had to enable extra logging for plugins to see
> anything in the log. I'm sure the repo will get fixed soon

Thanks for the report. Could you please try again? 


Gesendet von iPhone mit Tapatalk



Michael

http://www.herger.net/slim-plugins - MusicArtistInfo, MusicInfoSCR

mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=107418

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


Re: [SlimDevices: Plugins] For the brave only: the Spotty Spotify implementation

2017-06-11 Thread odw199

If I go to the repo in a browser, I can see the zip file linked is
0.6.2, but the LMS web interface is still trying to pull back the 0.6.1
version. Any ideas how to clear the repo cache?



odw199's Profile: http://forums.slimdevices.com/member.php?userid=15387
View this thread: http://forums.slimdevices.com/showthread.php?t=107418

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread bpa

itm wrote: 
> It looks like the SqueezePlayer app doesn't allow any configuration of
> buffer size.[
That would be normal.

[quoteI've just had a quick look at the LMS logging options and they're
somewhat more comprehensive than I was imagining (!). Any tips for which
option(s) I need to check what's going on?

Enableing network.protocol.slimproto to INFO will generate message which
related to the fullness of the "input"  (data received)  and
output_fullness (i.e. data decoded ready to play) - I can't tmemeber if
the output_fullness values are fullness/emptiness

The "fullness" value is the input buffer. So player not playing will be
zero.  Player receiveing data wil have fullness increasing.  Player can
start playing before input buffer is fullness - so max size of input
buffer can happen after track starts playing as player always tries to
keep it full (an SB receive buffer has about 3,000,000 bytes)



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

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


Re: [SlimDevices: Plugins] For the brave only: the Spotty Spotify implementation

2017-06-11 Thread kidstypike

mherger wrote: 
> Thanks for the report. Could you please try again? 
> 
> 
> Gesendet von iPhone mit Tapatalk

Still can't install Spotty.



LMS 7.9 on a Raspberry Pi 3/piCorePlayer 3.20, playlists and LMS cache
on a USB stick, 25K+ music library on a WD MyCloud network drive,
Rasberry Pi 2/piCorePlayer 3.02 > HiFiBerry DIGI+ > AudioEngine DAC1 >
AVI DM5
Raspberry Pi 3/piCorePlayer 3.20beta7/HiFiBerry DAC+ > Cambridge Audio
Minx 5 (study)
Rasberry Pi 2/piCorePlayer 3.02 > HiFiBerry DAC+ > Sharp micro system
(garage)
1 x Boom (dining room) - 1 x Touch (used for display and controller
only) - 1 x SB3 (spare) - 1 x Radio (spare)

kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436
View this thread: http://forums.slimdevices.com/showthread.php?t=107418

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


Re: [SlimDevices: Plugins] For the brave only: the Spotty Spotify implementation

2017-06-11 Thread odw199

All good here now, just waited 20 minutes without touching LMS for
caches to expire. Installed without issue and now playing from spotify.

Thanks for all your great work!



odw199's Profile: http://forums.slimdevices.com/member.php?userid=15387
View this thread: http://forums.slimdevices.com/showthread.php?t=107418

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


Re: [SlimDevices: Plugins] For the brave only: the Spotty Spotify implementation

2017-06-11 Thread kidstypike

Still can't install Spotty.




Code:

[17-06-11 11:35:50.1027] Slim::Plugin::Extensions::Plugin::findUpdates 
(308) Spotty action install version 0.6.2
  [17-06-11 11:35:50.1047] Slim::Plugin::Extensions::Settings::_addInfo (240) 
installing Spotty from http://www.herger.net/_data/Spotty-0.6.2.zip
  [17-06-11 11:35:50.3937] Slim::Plugin::Extensions::Settings::__ANON__ (147) 
PluginDownloader is still busy - waiting a little longer...
  [17-06-11 11:35:51.0031] Slim::Plugin::Extensions::Settings::__ANON__ (147) 
PluginDownloader is still busy - waiting a little longer...
  [17-06-11 11:35:52.0020] Slim::Plugin::Extensions::Settings::__ANON__ (147) 
PluginDownloader is still busy - waiting a little longer...
  




LMS 7.9 on a Raspberry Pi 3/piCorePlayer 3.20, playlists and LMS cache
on a USB stick, 25K+ music library on a WD MyCloud network drive,
Rasberry Pi 2/piCorePlayer 3.02 > HiFiBerry DIGI+ > AudioEngine DAC1 >
AVI DM5
Raspberry Pi 3/piCorePlayer 3.20beta7/HiFiBerry DAC+ > Cambridge Audio
Minx 5 (study)
Rasberry Pi 2/piCorePlayer 3.02 > HiFiBerry DAC+ > Sharp micro system
(garage)
1 x Boom (dining room) - 1 x Touch (used for display and controller
only) - 1 x SB3 (spare) - 1 x Radio (spare)

kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436
View this thread: http://forums.slimdevices.com/showthread.php?t=107418

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread itm

So it seems that it may be a bluetooth-related problem...I just managed
to play about 20 minutes of uninterrupted streamed songs using a wired
pair of phones. I then connected a bluetooth headset at it aborted the
first track (skipping to the next one). Could a bluetooth glitch cause
the Squeezeplayer app to abort a track and skip to the next one?

The log extract from the relevant time period in LMS is attached


+---+
|Filename: 20170612 lms log.txt |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=22882|
+---+


itm's Profile: http://forums.slimdevices.com/member.php?userid=17437
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] For the brave only: the Spotty Spotify implementation

2017-06-11 Thread kidstypike

Went to slimserver > Cache and deleted cache.db, rebooted, all OK,
playing a Spotify playlist now.

Thanks



LMS 7.9 on a Raspberry Pi 3/piCorePlayer 3.20, playlists and LMS cache
on a USB stick, 25K+ music library on a WD MyCloud network drive,
Rasberry Pi 2/piCorePlayer 3.02 > HiFiBerry DIGI+ > AudioEngine DAC1 >
AVI DM5
Raspberry Pi 3/piCorePlayer 3.20beta7/HiFiBerry DAC+ > Cambridge Audio
Minx 5 (study)
Rasberry Pi 2/piCorePlayer 3.02 > HiFiBerry DAC+ > Sharp micro system
(garage)
1 x Boom (dining room) - 1 x Touch (used for display and controller
only) - 1 x SB3 (spare) - 1 x Radio (spare)

kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436
View this thread: http://forums.slimdevices.com/showthread.php?t=107418

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread wt0

bpa wrote: 
> LMS will send whole track to a player if the player wants it (i.e it has
> a big enoiugh buffer) and if coded the player can continue playing the
> track even if no LMS connection.  You can enable LMS logging to see
> exactly what is happening btu it looks like Android players keep small
> buffers.
I gave SB Player a buffer big enough to hold an average length mp3 at
320kbps.

Sent from my Pixel using Tapatalk



--
Squeezebox apps for webOS, Android and Windows Phone,
http://www.angrygoatapps.com

wt0's Profile: http://forums.slimdevices.com/member.php?userid=18760
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread itm

wt0 wrote: 
> I gave SB Player a buffer big enough to hold an average length mp3 at
> 320kbps.
> 

I don't see that as an option in my Squeezeplayer app. Which app are you
using?



itm's Profile: http://forums.slimdevices.com/member.php?userid=17437
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread bpa

itm wrote: 
> So it seems that it may be a bluetooth-related problem...I just managed
> to play about 20 minutes of uninterrupted streamed songs using a wired
> pair of phones. I then connected a bluetooth headset at it aborted the
> first track (skipping to the next one). Could a bluetooth glitch cause
> the Squeezeplayer app to abort a track and skip to the next one?
> 
> The log extract from the relevant time period in LMS is attached

Log is confusing as you have mulitple players active.  When doing logs -
turn off all extraneous players and other stuff.

What is the MAAC address of the player in question.



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

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread bpa

Not sure if these are relevant but it looks like comms to player was
broken at the player end - I assume this means player will stop.


Code:


  [17-06-11 11:25:15.5650] Slim::Networking::Slimproto::client_readable (435) 
Error reading from client: An existing connection was forcibly closed by the 
remote host.
  [17-06-11 11:25:15.5653] Slim::Networking::Slimproto::slimproto_close (247) 
connection closed
  
  
  [17-06-11 11:26:00.9974] Slim::Networking::Slimproto::_disco_handler (590) 
Squeezebox got disconnection on the data channel: Connection reset by local host
  [17-06-11 11:26:00.9976] Slim::Networking::Slimproto::_disco_handler (592) 
Unexpected data stream disconnect type: Connection reset by local host
  




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

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread itm

bpa wrote: 
> Log is confusing as you have mulitple players active.  When doing logs -
> turn off all extraneous players and other stuff.
> 
> What is the MAAC address of the player in question.

The MAC address of the player is 5c:70:a3:23:fd:41



itm's Profile: http://forums.slimdevices.com/member.php?userid=17437
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread bpa

itm wrote: 
> The MAC address of the player is 5c:70:a3:23:fd:41

There are no entries in the log file with this mac address.  Did you get
this MAC address from LMS Setting / Info page ?



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

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread itm

bpa wrote: 
> There are no entries in the log file with this mac address.  Did you get
> this MAC address from LMS Setting / Info page ?

Ah nothis is the MAC address reported by LMS server:
80:fb:bf:58:b6:82



itm's Profile: http://forums.slimdevices.com/member.php?userid=17437
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] Synology 7.9.1 packages

2017-06-11 Thread gregcann

KotBajun wrote: 
> Hi, transcoding is working again,
> Thanks!

Hello Folks, I have the DS216j running DSM 6.1.1-15101 Update 4.
I installed LmsRepack-armada38x-7.9.1-1494667952 but the transcoding
does not work for me. 
When enabled and I try to stream a FLAC file it appears to play but no
sound. I have tried with Bit rate limiting on or off no difference.
Obviously I can stream mp3 OK.


I guess I have missed something, can someone please help?

Kudos to pinkdot for all the great work.



gregcann's Profile: http://forums.slimdevices.com/member.php?userid=31023
View this thread: http://forums.slimdevices.com/showthread.php?t=107180

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread itm

Here's the log extract from the latest skip:


Code:

[17-06-11 13:12:01.0009] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:1f:00:c0: STAT-STMt: fullness=0, output_fullness=-1, elapsed=0.000
  [17-06-11 13:12:01.0012] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:1f:00:c0: STAT-strm: fullness=0, output_fullness=-1, elapsed=0.000
  [17-06-11 13:12:01.0014] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:5d:e3: STAT-STMt: fullness=3145727, output_fullness=2525560, 
elapsed=6.386
  [17-06-11 13:12:01.0017] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:5d:e3: STAT-strm: fullness=3145727, output_fullness=2525560, 
elapsed=6.386
  [17-06-11 13:12:01.0020] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:1e:97:d7: STAT-STMt: fullness=0, output_fullness=3522376, elapsed=0.000
  [17-06-11 13:12:01.0023] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:1e:97:d7: STAT-strm: fullness=0, output_fullness=3522376, elapsed=0.000
  [17-06-11 13:12:01.6565] Slim::Networking::Slimproto::_stat_handler (785) 
80:fb:bf:58:b6:82: STAT-STMt: fullness=300, output_fullness=300, 
elapsed=61.724
  [17-06-11 13:12:01.8498] Slim::Networking::Slimproto::_disco_handler (590) 
Squeezebox got disconnection on the data channel: Connection reset by local host
  [17-06-11 13:12:01.8499] Slim::Networking::Slimproto::_disco_handler (592) 
Unexpected data stream disconnect type: Connection reset by local host
  [17-06-11 13:12:01.8510] Slim::Networking::Slimproto::_stat_handler (785) 
80:fb:bf:58:b6:82: STAT-STMd: fullness=300, output_fullness=300, 
elapsed=0.000
  [17-06-11 13:12:01.9064] Slim::Player::Squeezebox::stream_s (542) stream_s 
called: format: mp3 url: 
file:///K:/Music/Babyshambles/Down%20in%20Albion/07.Killamangiro.mp3
  [17-06-11 13:12:01.9071] Slim::Player::Squeezebox::stream_s (978) Starting 
decoder with format: m flags: 0x0 autostart: 1 buffer threshold: 255 output 
threshold: 1 s




itm's Profile: http://forums.slimdevices.com/member.php?userid=17437
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread bpa

Extracts are very hard to read. Sometimes what is missing is as
important as where is present.

However from the log it looks like the remote player shut TCP connection
down thta was used for downloading file (can't me sure because message
before and after aren't there)

Code:


  17-06-11 13:12:01.6565] Slim::Networking::Slimproto::_stat_handler (785) 
80:fb:bf:58:b6:82: STAT-STMt: fullness=300, output_fullness=300, 
elapsed=61.724
  [17-06-11 13:12:01.8498] Slim::Networking::Slimproto::_disco_handler (590) 
Squeezebox got disconnection on the data channel: Connection reset by local host
  



AFAICT - LMS has sent data to player, player has not ackdnowledged the
data it has received the data so LMS (or rather the LMS OS TCP ) resets
the link and breaks the download.

To analyse the disconnection properly you need to have a proper and
complete log without extaneous activity
1. No other player active or on (as they will genrate slimproto
messages)
2. Stop LMS, delete log and restart LMS.  This ensure cleans system and
no caches.
3. Play a track
4. Wait 10 secs after disconnect/
5. Copy whole log (nothing edited out) into a text file, zip and attach

That said I think my opinion will still be the same - The phone stops
communicating,  LMS hasn't downloaded complete file becuase player won't
answer and so I expect player may restart connection to LMS and  so stop
any audio.



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

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread bpa

There maybe something else odd going on.  AFIK The "elapsed" value
shouldn't be very large yet in your log fragment it goes as high as 61. 
This number comes from player so I'd need to look into squeezlite code
to see if it is significant.


Code:


  [17-06-11 13:12:01.0014] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:5d:e3: STAT-STMt: fullness=3145727, output_fullness=2525560, 
elapsed=6.386
  [17-06-11 13:12:01.0017] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:5d:e3: STAT-strm: fullness=3145727, output_fullness=2525560, 
elapsed=6.386
  [17-06-11 13:12:01.0020] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:1e:97:d7: STAT-STMt: fullness=0, output_fullness=3522376, elapsed=0.000
  [17-06-11 13:12:01.0023] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:1e:97:d7: STAT-strm: fullness=0, output_fullness=3522376, elapsed=0.000
  [17-06-11 13:12:01.6565] Slim::Networking::Slimproto::_stat_handler (785) 
80:fb:bf:58:b6:82: STAT-STMt: fullness=300, output_fullness=300, 
elapsed=61.724
  




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

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread wt0

itm wrote: 
> I don't see that as an option in my Squeezeplayer app. Which app are you
> using?
SB Player is a different app.
https://play.google.com/store/apps/details?id=com.angrygoat.android.sbplayer

And I don't mean that there's a setting for buffer size. I wrote the app
so I actually gave it a pretty big buffer.

Sent from my Pixel using Tapatalk



--
Squeezebox apps for webOS, Android and Windows Phone,
http://www.angrygoatapps.com

wt0's Profile: http://forums.slimdevices.com/member.php?userid=18760
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread atrocity

itm wrote: 
> I'm using Squeezeplayer on an LG G5 (Android 7.0) phone to playback
> music on LMS 7.9.0  (running on Windows Server 2008). The client app on
> the phone (I have tried both the Squeezer and Squeeze Commander apps)
> loses connection to the LMS server every few minutes, which results in
> the current track being aborted and the next track starting. The wifi
> connection seems to stay up (but I don't know if it is getting briefly
> interrupted then resuming).
> 
> I have excluded all of the squeezebox-related apps from Android's
> battery optimisation features, but it didn't seem to help.
> 
> I don't have the problem if I use a Samsung Galaxy Tab S2 tablet
> (running exactly the same apps, but on Android 6.0 rather than 7.0).
> 
> I also don't have a problem on the phone if using Google Play Music.
> 
> Can anyone suggest a way of diagnosing or resolving this?

While I don't want to start a religious war over who makes the best
phones, my experience with LG has been 90% good but 10% full of
frustrations like this. I love their clothes washers and optical drives,
but after the most recent software update completely killed my G Stylo's
GPS for good, I had to admit defeat and replace it. Driving for Lyft
just doesn't work without GPS...

More on topic for this forum, I found that using SqueezePlayer while on
the road (i.e., using the 4G network and a VPN to stream tracks from
home) would consistently result in the volume dropping back to the
phone's nannyware low-volume setting about 10 seconds before the end of
a track. Every track. Every time. I preferred to keep the output volume
on the phone at maximum and control what I heard via the car's stereo,
but LG just wouldn't allow it.

So I could be completely off-base here, but in my experience, LG and
SqueezePlayer just don't get along particularly well.

Of course, now that I have a Samsung, I can't use SqueezePlayer remotely
at all because the OpenVPN client refuses to connect. It's always
something.



atrocity's Profile: http://forums.slimdevices.com/member.php?userid=16009
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread pippin

itm wrote: 
> 
> I thought it interesting that Google Play Music didn't suffer from the
> same issue. Maybe it handles its data buffering differently?

It's probably less an issue of data buffering but a question of control.
Google Play Music is a locally running player that only needs to load
the data and then runs independently.

A Squeezebox (and SqueezePlayer is a Squeezebox) is a streaming client
remotely controlled by LMS.
Even if it downloads all the data it still expects a permanent
connection to the server for all of its control.

What it does if that connection falls away depends a bit on the
implementation but at the end of the current track, at latest, it won't
know what to do and stop.

Also, with intermittent connection the server often thinks it needs to
reset the playback.
You can try to work around it but that, again, is an implementation
detail.

There's one point where the phone/OS might play a role: with spotty
connections the OS can keep the socket connection all of this is based
on "virtually" open in a sense that it doesn't let the higher layers
know it had been interrupted.iOS for example is pretty good at this over
cellular.
This might differ from phone model to phone model. I don't know.



---
learn more about iPeng, the iPhone and iPad remote for the Squeezebox
and
Logitech UE Smart Radio as well as iPeng Party, the free Party-App, 
at penguinlovesmusic.com
*New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch*

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread itm

Sorry - I hadn't realised that one of the other players was still turned
on

Anyway I'm now trying SB player and getting the same sort of issue. By
"same sort of issue" I mean that tracks are now aborting and then either
restarting from the beginning or simply stopping mid-track. I stopped
LMS, cleared the server log and attach a new one from just after the
latest track stopped playing. 

Re. the LG phone - the removable battery is the must-have feature for
me. I'm lucky to get more than 8 hours battery life out of my phone, and
the spare battery has been a life saver on several occasions.


+---+
|Filename: server-full.log  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=22883|
+---+


itm's Profile: http://forums.slimdevices.com/member.php?userid=17437
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread bpa

There are still two playesrs  running (00:04:20:1e:97:d7 and
9e:4d:40:53:84:bc:)  and so many of the message cannot be identified.

The good news is that at least it is clear a complete file got sent to
the player.

Code:


  17-06-11 15:07:40.9421] Slim::Player::Squeezebox::stream (1030) strm-q
  [17-06-11 15:07:41.1653] Slim::Player::Squeezebox::stream_s (542) stream_s 
called: format: mp3 url: 
file:///K:/Music/Steely%20Dan/Katy%20Lied%20Outtakes/04.Daddy%20Don%27t%20Live%20In%20That%20NYC.mp3
  [17-06-11 15:07:41.1657] Slim::Player::Squeezebox::stream_s (978) Starting 
decoder with format: m flags: 0x0 autostart: 1 buffer threshold: 255 output 
threshold: 1 samplesize: ? samplerate: ? endian: ? channels: ?
  [17-06-11 15:07:41.2262] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:5d:e3: STAT-STMt: fullness=0, output_fullness=2525560, elapsed=0.000
  [17-06-11 15:07:41.2264] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:07:5d:e3: STAT-strm: fullness=0, output_fullness=2525560, elapsed=0.000
  [17-06-11 15:07:41.2267] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:1f:00:c0: STAT-STMt: fullness=0, output_fullness=-1, elapsed=0.000
  [17-06-11 15:07:41.2268] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:1f:00:c0: STAT-strm: fullness=0, output_fullness=-1, elapsed=0.000
  [17-06-11 15:07:41.2406] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:1e:97:d7: STAT-STMt: fullness=0, output_fullness=3522376, elapsed=0.000
  [17-06-11 15:07:41.2408] Slim::Networking::Slimproto::_stat_handler (785) 
00:04:20:1e:97:d7: STAT-strm: fullness=0, output_fullness=3522376, elapsed=0.000
  [17-06-11 15:07:41.4854] Slim::Networking::Slimproto::_stat_handler (785) 
9e:4d:40:53:84:bc: STAT-STMf: fullness=0, output_fullness=-1, elapsed=0.000
  [17-06-11 15:07:41.6959] Slim::Networking::Slimproto::_stat_handler (785) 
9e:4d:40:53:84:bc: STAT-audg: fullness=0, output_fullness=-1, elapsed=0.000
  [17-06-11 15:07:41.6961] Slim::Networking::Slimproto::_stat_handler (785) 
9e:4d:40:53:84:bc: STAT-STMc: fullness=0, output_fullness=-1, elapsed=0.000
  [17-06-11 15:07:41.6963] Slim::Networking::Slimproto::_stat_handler (785) 
9e:4d:40:53:84:bc: STAT-audg: fullness=0, output_fullness=-1, elapsed=0.000
  [17-06-11 15:07:41.6964] Slim::Networking::Slimproto::_stat_handler (785) 
9e:4d:40:53:84:bc: STAT-STMt: fullness=0, output_fullness=-1, elapsed=0.000
  [17-06-11 15:07:41.6966] Slim::Networking::Slimproto::_stat_handler (785) 
9e:4d:40:53:84:bc: STAT-STMe: fullness=0, output_fullness=-1, elapsed=0.000
  [17-06-11 15:07:41.9580] Slim::Networking::Slimproto::_stat_handler (785) 
9e:4d:40:53:84:bc: STAT-STMh: fullness=0, output_fullness=-1, elapsed=0.000
  [17-06-11 15:07:41.9582] Slim::Networking::Slimproto::_http_response_handler 
(554) Squeezebox got HTTP response:
  HTTP/1.1 200 OK
  
  Server: Logitech Media Server (7.9.0 - 1488878280)
  
  Connection: close
  
  Content-Type: audio/mpeg
  
  
  
  [17-06-11 15:07:42.4498] Slim::Networking::Slimproto::_stat_handler (785) 
9e:4d:40:53:84:bc: STAT-STMs: fullness=613376, output_fullness=51226, 
elapsed=0.000
  [17-06-11 15:07:43.5305] Slim::Networking::Slimproto::_disco_handler (590) 
Squeezebox got disconnection on the data channel: Connection closed normally
  



I think this all points to the network connection going up/down. 

Code:


  17-06-11 15:08:15.8743] Slim::Networking::Slimproto::client_readable (435) 
Error reading from client: An existing connection was forcibly closed by the 
remote host.
  [17-06-11 15:08:15.8745] Slim::Networking::Slimproto::slimproto_close (247) 
connection closed



and then reconnect after playing only 27 sec of audio.

Code:


  17-06-11 15:08:16.1023] Slim::Networking::Slimproto::_hello_handler (968) 
Squeezebox says hello:  Deviceid: 12 revision: 0 mac: 9e:4d:40:53:84:bc uuid: 
a1e2436fde834ecb9be9ec1ce9003128 bitmapped: 0 reconnect: 0 wlan_channellist: 
 lang: EN  bytes_received: 0  capabilities: Model=squeezeplay,ModelName=SB 
Player,alc,aac,ogg,flc,aif,pcm,mp3,MaxSampleRate=44100,AccuratePlayPoints,ImmediateCrossfade,HasDigitalOut
  [17-06-11 15:08:16.1025] Slim::Networking::Slimproto::_hello_handler (1157) 
Hello from existing client: 9e:4d:40:53:84:bc on ipport: 192.168.1.12:44768
  [17-06-11 15:08:16.1027] Slim::Player::SqueezePlay::updateCapabilities (160) 
unknown capability: ImmediateCrossfade=1, ignored
  [17-06-11 15:08:16.1028] Slim::Player::SqueezePlay::updateCapabilities (173) 
formats: alc,aac,ogg,flc,aif,pcm,mp3
  




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

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists

Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread itm

Thanks for that analysis. 

wt0 how would you expect SB Player to behave when the wifi connection is
interrupted like that?



itm's Profile: http://forums.slimdevices.com/member.php?userid=17437
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread itm

I also notice that I get "Command stream error" or "Command stream
broken" messages popping up (I guess from SB Player), then another
message saying that it is trying to reconnect to the server.



itm's Profile: http://forums.slimdevices.com/member.php?userid=17437
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread bpa

Ploughing throur LMS code to see what happens on reconnect (i..e "Hello
from Existing client" )

It look like if the player enables reconnect - then LMS will allow
player to continue with audio but this player doesn't support
"reconnect"

Code:


  [17-06-11 15:08:16.1023] Slim::Networking::Slimproto::_hello_handler (968) 
Squeezebox says hello:  Deviceid: 12 revision: 0 mac: 9e:4d:40:53:84:bc uuid: 
a1e2436fde834ecb9be9ec1ce9003128 bitmapped: 0 reconnect: 0 wlan_channellist: 
 lang: EN  bytes_received: 0  capabilities: Model=squeezeplay,ModelName=SB 
Player,alc,aac,ogg,flc,aif,pcm,mp3,MaxSampleRate=44100,AccuratePlayPoints,ImmediateCrossfade,HasDigitalOut
  



Since I am just looking at code (sub reconnect in Squeezebox.pm)  this
is an area I am unsure - perhaps Pippin or wt0 can confirm or explain
reconnect capabilities setting.



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

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread pippin

How does a player "enable reconnect"?



---
learn more about iPeng, the iPhone and iPad remote for the Squeezebox
and
Logitech UE Smart Radio as well as iPeng Party, the free Party-App, 
at penguinlovesmusic.com
*New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch*

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread atrocity

itm wrote: 
> 
> Re. the LG phone - the removable battery is the must-have feature for
> me. I'm lucky to get more than 8 hours battery life out of my phone, and
> the spare battery has been a life saver on several occasions.

FWIW, the Samsung battery is (surprisingly!) removable and the somewhat
flimsy back cover makes it easy to remove. It seems to last a long time
as well, though maybe that's just because it's brand new. Or maybe it
really is by design, since the battery is, relatively speaking,
enormous.



atrocity's Profile: http://forums.slimdevices.com/member.php?userid=16009
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread itm

atrocity wrote: 
> FWIW, the Samsung battery is (surprisingly!) removable and the somewhat
> flimsy back cover makes it easy to remove. It seems to last a long time
> as well, though maybe that's just because it's brand new. Or maybe it
> really is by design, since the battery is, relatively speaking,
> enormous.

Which Samsung do you have? I had a Galaxy S4 before the LG and it was
good but the camera on the LG is s much better, particularly in low
light.



itm's Profile: http://forums.slimdevices.com/member.php?userid=17437
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread bpa

pippin wrote: 
> How does a player "enable reconnect"?

from Squeezelite code - the response to "HELO"

Code:


  static void sendHELO(bool reconnect, const char *fixed_cap, const char 
*var_cap, u8_t mac[6]) {
const char *base_cap = 
"Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1";
struct HELO_packet pkt;
  
memset(&pkt, 0, sizeof(pkt));
memcpy(&pkt.opcode, "HELO", 4);
pkt.length = htonl(sizeof(struct HELO_packet) - 8 + strlen(base_cap) + 
strlen(fixed_cap) + strlen(var_cap));
  #ifdef INTERACTIVE
pkt.deviceid = 8; // squeezeslave
  #else
pkt.deviceid = 12; // squeezeplay
  #endif
pkt.revision = 0;
packn(&pkt.wlan_channellist, reconnect ? 0x4000 : 0x);
packN(&pkt.bytes_received_H, (u64_t)status.stream_bytes >> 32);
packN(&pkt.bytes_received_L, (u64_t)status.stream_bytes & 0x);
memcpy(pkt.mac, mac, 6);
  
LOG_INFO("mac: %02x:%02x:%02x:%02x:%02x:%02x", pkt.mac[0], pkt.mac[1], 
pkt.mac[2], pkt.mac[3], pkt.mac[4], pkt.mac[5]);
  
LOG_INFO("cap: %s%s%s", base_cap, fixed_cap, var_cap);
  
send_packet((u8_t *)&pkt, sizeof(pkt));
send_packet((u8_t *)base_cap, strlen(base_cap));
send_packet((u8_t *)fixed_cap, strlen(fixed_cap));
send_packet((u8_t *)var_cap, strlen(var_cap));
  }
  



Again purely from reading code  - if reconnect is 1 - then it is enabled



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

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


Re: [SlimDevices: Plugins] Synology 7.9.1 packages

2017-06-11 Thread pinkdot

gregcann wrote: 
> Hello Folks, I have the DS216j running DSM 6.1.1-15101 Update 4.
> I installed LmsRepack-armada38x-7.9.1-1494667952 but the transcoding
> does not work for me. 
> When enabled and I try to stream a FLAC file it appears to play but no
> sound. I have tried with Bit rate limiting on or off no difference.
> Obviously I can stream mp3 OK.
> 
> 
> I guess I have missed something, can someone please help?
> 
> Kudos to pinkdot for all the great work.
Unfortunately I don't have time in the coming months to fix transcoding
for all architectures. As a workaround: stop lmsrepack, install
synology's 7.9 beta version. Stop that one also. Start lmsrepack again. 

It looks like lmsrepack can't find the lib folder or looks at the lib
folder of the 'old' location.



-Synology nas DS115 - ('LmsUpdate'
(http://forums.slimdevices.com/showthread.php?103636-Test-Repo-for-LMS-7-9-0-on-Synology-DSM-5-*&p=817970&viewfull=1#post817970))
+ ('LmsRepack'
(http://forums.slimdevices.com/showthread.php?107180-Synology-7-9-1-packages))
-RPI 3 ('Moode 3.6 + LibreSpot' (http://moodeaudio.org/)),  IQaudIO
Pi-DAC PRO - Exposure 3010S2 - PMC GB1i
-2x Radio
-Laptop - openSUSE Leap - LMS/Squeezelite

pinkdot's Profile: http://forums.slimdevices.com/member.php?userid=34644
View this thread: http://forums.slimdevices.com/showthread.php?t=107180

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


Re: [SlimDevices: Plugins] Synology 7.9.1 packages

2017-06-11 Thread Michael Herger

Unfortunately I don't have time in the coming months to fix transcoding
for all architectures. As a workaround: stop lmsrepack, install
synology's 7.9 beta version. Stop that one also. Start lmsrepack again.

It looks like lmsrepack can't find the lib folder or looks at the lib
folder of the 'old' location.
Are the folders there, but LMS doesn't pick up the right ones? Could the 
situation be improved by improving Slim::Utils::OS::Synology, or by 
providing a Custom.pm?


--

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread wt0

itm wrote: 
> Sorry - I hadn't realised that one of the other players was still turned
> on
> 
> Anyway I'm now trying SB player and getting the same sort of issue. By
> "same sort of issue" I mean that tracks are now aborting and then either
> restarting from the beginning or simply stopping mid-track. I stopped
> LMS, cleared the server log and attach a new one from just after the
> latest track stopped playing. 
> 
> Re. the LG phone - the removable battery is the must-have feature for
> me. I'm lucky to get more than 8 hours battery life out of my phone, and
> the spare battery has been a life saver on several occasions.

The abort and restart is definitely triggered by the server. After audio
data is used in SB Player, it's gone.  There's no way for SB Player to
go back to replay previous audio samples. When I initially tested
reconnection behavior I played radio streams, which is probably why I
never noticed a restart behavior.

bpa wrote: 
> from Squeezelite code - the response to "HELO"
> > 
Code:

  >   > 
  > packn(&pkt.wlan_channellist, reconnect ? 0x4000 : 0x);
  > 

> > 
> Again purely from reading code  - if reconnect is 1 - then it is
> enabled
This is interesting. There's nothing in the Slimproto docs about a
reconnect flag, but those docs are quite old and not quite complete.  An
unused bit in the wifi channel list of the HELO message may be used to
signify that this is a reconnection so the server won't restart the
track. I'll have to do some tests.

BTW, HELO is the first message the player sends to server when it
initiates a connection, not the other way around; ie. Squeezelite is not
responding to HELO, it's sending it.



--
Squeezebox apps for webOS, Android and Windows Phone,
http://www.angrygoatapps.com

wt0's Profile: http://forums.slimdevices.com/member.php?userid=18760
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread bpa

wt0 wrote: 
> The abort and restart is definitely triggered by the server. After audio
> data is used in SB Player, it's gone.  There's no way for SB Player to
> go back to replay previous audio samples. When I initially tested
> reconnection behavior I played radio streams, which is probably why I
> never noticed a restart behavior.
> 
> 
> This is interesting. There's nothing in the Slimproto docs about a
> reconnect flag, but those docs are quite old and not quite complete.  An
> unused bit in the wifi channel list of the HELO message may be used to
> signify that this is a reconnection so the server won't restart the
> track. I'll have to do some tests.
> 
> BTW, HELO is the first message the player sends to server when it
> initiates a connection, not the other way around; ie. Squeezelite is not
> responding to HELO, it's sending it.


You're right - it's been awhile since I looked at the proto exchanges
but the reconnect capability is still sent to LMS and the following is
the Squeezebox.pm code which checks the bit.  I don't know what
reconnect effect has - it's strange that many non-squeezelite s/w/
players don't use it.

Code:


if (!$reconnect) {
  
if ($client->power()) {
$controller->playerActive($client);
}

if ($controller->onlyActivePlayer($client)) {
main::INFOLOG && $sourcelog->is_info && 
$sourcelog->info($client->id . " restaring play on pseudo-reconnect at "
. ($bytes_received ? $bytes_received : 0));
$controller->playerReconnect($bytes_received);
} 

if ($client->isStopped()) {
# Ensure that a new client is stopped, but only on sb2s
if ( $client->isa('Slim::Player::Squeezebox2') ) {
main::INFOLOG && $sourcelog->is_info && 
$sourcelog->info($client->id . " forcing stop on pseudo-reconnect");
$client->stop();
}
}
} else {
# bug 16881: player in a sync-group may have been made inactive 
upon disconnect;
# make sure it is active now.
if ($client->power()) {
$controller->playerActive($client);
}
}
  




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

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread wt0

bpa wrote: 
> it's strange that many non-squeezelite s/w/ players don't use it.
Probably because most non-squeezelite players were initially written
well before squeezelite existed and the reconnect feature may not have
been added till later versions of LMS.
The first player I wrote was for the webOS platform and 7.4 was the
latest version of LMS.

Also, it's not documented and you would have be packet capturing the
network exchanges during a reconnection to see it.



--
Squeezebox apps for webOS, Android and Windows Phone,
http://www.angrygoatapps.com

wt0's Profile: http://forums.slimdevices.com/member.php?userid=18760
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread atrocity

itm wrote: 
> Which Samsung do you have? I had a Galaxy S4 before the LG and it was
> good but the camera on the LG is s much better, particularly in low
> light.

It's a Galaxy J7 Prime, model SM-J727T running Android 7.0.

I don't have a strong opinion about the quality of the pictures it
takes, but I really don't like the way you have to take them. There's an
onscreen button that apparently you have to tap EXACTLY right or nothing
happens.

Other than the disaster with the GPS, I really liked the LG so I can
certainly understand why you wouldn't be in a hurry to switch. While the
latest LG Stylo is $50 less than what I ended up getting, I allowed
myself to be talked out of it by a salesperson claiming I was far from
the first LG customer with update disasters. Of course, I have no idea
if that's true.



atrocity's Profile: http://forums.slimdevices.com/member.php?userid=16009
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread bpa

wt0 wrote: 
> Probably because most non-squeezelite players were initially written
> well before squeezelite existed and the reconnect feature may not have
> been added till later versions of LMS.
> The first player I wrote was for the webOS platform and 7.4 was the
> latest version of LMS.
> 
> Also, it's not documented and you would have be packet capturing the
> network exchanges during a reconnection to see it.

As "reconnect" seems to have been added to LMS probably to deal with
some behaviour of Squeezelite on PC's/RPis/Odroid etc  - it may not be
the "solution" for the OP's problem.



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

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


Re: [SlimDevices: Plugins] For the brave only: the Spotty Spotify implementation

2017-06-11 Thread atlslim

Hi Michael,

Thanks for your continued support of SB and Spotify.  Testing with LMS
7.9.1 on a 2008 MacBook (OS X 10.7.5).
I'm not having any luck with the install here (see output below).  


There has been a problem running the Spotty helper application. Most
likely your operating system and/or platform is not supported. Please
report the following details to me:

Operating system: Mac OS X 10.7.5 / x86_64

Helper Applications Folder:
/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Bin/darwin
/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Bin
/bin
/sbin
/usr/bin
/usr/sbin
/usr/libexec
/usr/bin
/usr/local/bin
/usr/libexec
/usr/sbin
/Users/TJN/Library/Caches/Squeezebox/InstalledPlugins/Plugins/ShairTunes2/Bin
/Users/TJN/Library/Caches/Squeezebox/InstalledPlugins/Plugins/Spotty/Bin/darwin-thread-multi-2level
/Users/TJN/Library/Caches/Squeezebox/InstalledPlugins/Plugins/Spotty/Bin



atlslim's Profile: http://forums.slimdevices.com/member.php?userid=3054
View this thread: http://forums.slimdevices.com/showthread.php?t=107418

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


Re: [SlimDevices: Plugins] Squeezeplayer connection dropping/tracks skipping on Android phone

2017-06-11 Thread wt0

bpa wrote: 
> As "reconnect" seems to have been added to LMS probably to deal with
> some behaviour of Squeezelite on PC's/RPis/Odroid etc  - it may not be
> the "solution" for the OP's problem.

I think you're right, sending that value didn't seem to do anything. 
Turns out the reason SB Player aborts and restarts the track after a
reconnect is because it clears the input buffer and stops the decoder
whenever it disconnects even if it's not user initiated. After I changed
that, it will play out whatever is in the buffer.

What it can't do is if the whole track is too big to fit in the buffer,
it will just stop after the buffers are empty. The stream won't restart
after the reconnect. This happens in Squeezelite too so it's definitely
a LMS problem.



--
Squeezebox apps for webOS, Android and Windows Phone,
http://www.angrygoatapps.com

wt0's Profile: http://forums.slimdevices.com/member.php?userid=18760
View this thread: http://forums.slimdevices.com/showthread.php?t=107498

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


Re: [SlimDevices: Plugins] For the brave only: the Spotty Spotify implementation

2017-06-11 Thread mherger

atlslim wrote: 
> Operating system: Mac OS X 10.7.5 / x86_64

I don't have a definite answer, yet. But 10.7.5 might just be too old.
There are discussions around Rust and how to support older versions. But
those discussions themselves are rather old, and I'm still trying to
figure out how to influence the target myself.

Could you tell me what you'd get running 


Code:


/Users/TJN/Library/Caches/Squeezebox/InstalledPlugins/Plugins/Spotty/Bin/darwin-thread-multi-2level/spotty



?



Michael

http://www.herger.net/slim-plugins - MusicArtistInfo, MusicInfoSCR

mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=107418

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


Re: [SlimDevices: Plugins] announce: squeeze2upnp, a bridge between LMS and uPNP devices

2017-06-11 Thread GuruPete

Hi Philippe,

Please have patience for a newbie!

I have "UPnP/DLNA Media Interface (v1.0)" listed in my LMS plugins as an
active plugin (tick in the box), however, there is no settings listed
anywhere.

To my understanding, there should be settings in the drop-down box in
the Advanced window?

Is that the correct plugin listed as, if so, why can't I find any
settings for it?

Thanks.



GuruPete's Profile: http://forums.slimdevices.com/member.php?userid=54283
View this thread: http://forums.slimdevices.com/showthread.php?t=102496

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