Re: [SlimDevices: Plugins] Max2Play and PiCorePlayer spots randomly when playing Spotify streams via SPOTTY

2022-02-21 Thread HerculePirate


I must say it has been good.
The music from the Squeezelite is awesome. Very much appreciated.
Thanks Michael and Man in a Van.

The only issue that screwed everything up was the Desktop Spotify app
which was casting and connecting to the RPI. Uninstalled it forever.
I will probably move from Max2Play to PiCorePlayer when the period ends.



HerculePirate's Profile: http://forums.slimdevices.com/member.php?userid=12616
View this thread: http://forums.slimdevices.com/showthread.php?t=115976

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


Re: [SlimDevices: Plugins] Max2Play and PiCorePlayer spots randomly when playing Spotify streams via SPOTTY

2022-02-20 Thread Man in a van


@HERCULEPIRATE

I have never used the LMS Spotty Plugin very much :(

The reason is that I once asked Mr Herger a question regarding Rust and
he replied that I might like to "try it myself" :) (or something like
that :D)

Anyway, not knowing how to compile even a garden compost bin I started
looking for posts from people who knew what they are doing.

I found a post by pinkdot on another forum and that remained my "go to"
buld for "librespot" for a very long time.

Pinkdot eventually seemed to move to spotifyd but my brain could not
cope with all the copy and paste :rolleyes:

Then I found "spocon" and have been using it ever since (intermittently
as I often suspend my Spotify Premium Account) 

https://github.com/spocon/spocon

This morning I installed it on the two rpi that I have configured for
m2p 

37269

It does require a little configuration; name change, bit playback size,
volume at start up, that sort of thing.

It does seem reliable, I have been controlling it from my Windows 10 Pro
Desktop Spotify for about an hour now, with no glitches :rolleyes:

Anyway I offer "spocon" as an alternative method :):):p

ronnie


+---+
|Filename: spocon.jpg   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37269|
+---+


Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=115976

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


Re: [SlimDevices: Plugins] Max2Play and PiCorePlayer spots randomly when playing Spotify streams via SPOTTY

2022-02-20 Thread Man in a van


HerculePirate wrote: 
> i am hoping that when I cast from my iPeng app to my Squeezelite player
> while my Spotify music through Spotty is playing, the music audio
> switches without a problem.
> Last time, I tried, it did switch and never was able to go back.
> 
> My desktop app was crap. Uninstalled it and am using the web version.


I'm confused :( (I know that is not hard to do :p)

I thought you said that you were using the Spotify App on an iOS device
:confused:

Would you please describe your set-up and usage pattern in a simple
fashion, line by line, so I can understandin it, I'm a bear of little
brain and may need an extra jar of honey :):)

ronnie



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=115976

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


Re: [SlimDevices: Plugins] Max2Play and PiCorePlayer spots randomly when playing Spotify streams via SPOTTY

2022-02-19 Thread Michael Herger

Can someone explain why the Spotify application is stable and not the
Spotify-Connect function.


I think I've tried to explain this many times before... as far as I 
understand the issue. In short: the Connect mode is a hack.


Connect mode suffers from the fact that both LMS and Spotify believe 
they are in control of the playback. Both believe they keep state 
(shuffling, volume, play/pause etc.). So they somehow have to be kept in 
sync. This unfortunately all too often doesn't work as expected. Spotify 
tells LMS to stop playback, while from the LMS side of things there's no 
such information. Or LMS thinks that the stream is ending, while Spotify 
believes it still takes a few minutes etc. Spotify thinks it needs to 
reset the volume, as a new client is connecting, while LMS would rather 
continue to play in the previous volume etc.


All these conflicts lead to a ton of code dealing with exceptions when 
to handle a state change and when not. But unfortunately this code is 
far from perfect.



Is the TIDAL app through the LMS just as flaky 


Spotty is the only integration providing support for the service native 
app. Again: this has been explained before. TIDAL doesn't provide the 
necessary information to us, and we can't leverage the hacks found out 
there, as Logitech has contracts with TIDAL.

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


Re: [SlimDevices: Plugins] Max2Play and PiCorePlayer spots randomly when playing Spotify streams via SPOTTY

2022-02-19 Thread HerculePirate


i am hoping that when I cast from my iPeng app to my Squeezelite player
while my Spotify music through Spotty is playing, the music audio
switches without a problem.
Last time, I tried, it did switch and never was able to go back.

Another question, why can't I connect to spotify (max2play) from my
desktop app? It is always "connecting" and never connecting.



HerculePirate's Profile: http://forums.slimdevices.com/member.php?userid=12616
View this thread: http://forums.slimdevices.com/showthread.php?t=115976

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


Re: [SlimDevices: Plugins] Max2Play and PiCorePlayer spots randomly when playing Spotify streams via SPOTTY

2022-02-19 Thread slartibartfast


HerculePirate wrote: 
> I have now reinstalled Max2Play as shown above.
> I am hoping it goes well. Currently its playing but hope to switch
> between Squeezelite and Spotty and see how it goes.
> Can someone explain why the Spotify application is stable and not the
> Spotify-Connect function.
> 
> Is the TIDAL app through the LMS just as flaky 
> If that is stable, I can move to TIDAL.

What do you mean by switching between Squeezelite and Spotty? Spotty is
an LMS plugin. You are still playing to Squeezelite.
The Tidal app works fine but there is no Tidal Connect.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=115976

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


Re: [SlimDevices: Plugins] Max2Play and PiCorePlayer spots randomly when playing Spotify streams via SPOTTY

2022-02-19 Thread HerculePirate


Man in a van wrote: 
> I think this may be a case of "too many cooks.."
> 
> Try this;
> 
> install m2p as a Squeezelite player and configure it with  -C 10  also
> enable this as a Spotify-Connect end point player in the LMS Spotty
> settings
> 
> Do not install the M2P Spotify Plugin
> 
> I suggest you make new installs of m2p and make sure it is up to date
> and use LMS v 8.3, also ensure that the rpi each have a unique name
> 
> From browsing this forum it seems that the Spotify-Connect function in
> LMS can be a little flakey :(
> 
> ronnie

I have now reinstalled Max2Play as shown above.
I am hoping it goes well. Currently its playing but hope to switch
between Squeezelite and Spotty and see how it goes.
Can someone explain why the Spotify application is stable and not the
Spotify-Connect function.

Is the TIDAL app through the LMS just as flaky 
If that is stable, I can move to TIDAL.



HerculePirate's Profile: http://forums.slimdevices.com/member.php?userid=12616
View this thread: http://forums.slimdevices.com/showthread.php?t=115976

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


Re: [SlimDevices: Plugins] Max2Play and PiCorePlayer spots randomly when playing Spotify streams via SPOTTY

2022-02-19 Thread Michael Herger

I see there is a new Spotty version, I'll update to that when I can


It's unlikely it will improve the Connect reliability, unfortunately. 
But please try it out.

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


Re: [SlimDevices: Plugins] Max2Play and PiCorePlayer spots randomly when playing Spotify streams via SPOTTY

2022-02-19 Thread Man in a van


Listening on the rpi3b (headphones) connecting from an iPhone 6s (iOS
15.3.1)

Aftr seven tracks of Boz Scaggs, Fade into Light playback stopped 

this was the message in the LMS Server log


[22-02-19 13:32:22.8809] Plugins::Spotty::API::__ANON__ (1424) Invalid
data: 204


I restarted squeezelite and playback  recommenced

I see there is a new Spotty version, I'll update to that when I can


ronnie



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=115976

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


Re: [SlimDevices: Plugins] Max2Play and PiCorePlayer spots randomly when playing Spotify streams via SPOTTY

2022-02-19 Thread Man in a van


37251

> 
> Logitech Media Server Status
> Logitech Media Server Version: 8.3.0 - 1645048731 @ Thu 17 Feb 2022
> 12:26:40 AM CET
> Hostname: max2play
> Server IP Address: 192.168.1.126
> Server HTTP Port Number: 9000
> Operating system: Debian - EN_GB - utf8
> Platform Architecture: armv7l-linux
> Perl Version: 5.28.1 - arm-linux-gnueabihf-thread-multi-64int
> Audio::Scan: 1.05
> IO::Socket::SSL: 2.060
> Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
> Total Players Recognized: 2


> Player Information
> Information on all identified devices connected to Logitech Media Server
> 
> m2p-rpi3b
> Player Model: SqueezeLite
> Player Type: squeezelite
> Firmware: Max2Play v1.0.3 based on v1.8.7-999
> Player IP Address: 192.168.1.100
> Player MAC Address: 
> 
> max2play
> Player Model: SqueezeLite
> Player Type: squeezelite
> Firmware: Max2Play v1.0.3 based on v1.8.7-999
> Player IP Address: 192.168.1.126
> Player MAC Address: 

ronnie


+---+
|Filename: m2p-spotty-connect.jpg   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37251|
+---+


Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=115976

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


Re: [SlimDevices: Plugins] Max2Play and PiCorePlayer spots randomly when playing Spotify streams via SPOTTY

2022-02-19 Thread Man in a van


HerculePirate wrote: 
> Any help here please?
> 



I think this may be a case of "too many cooks.."

Try this;

Install m2p on one raspberry pi with LMS, install the LMS Spotty Plugin
on this rpi.

Also install Squeezelite on this rpi and configure it with  -C 10 

Configure this player as a Spotify-Connect end point

On the other rpi, install m2p as a Squeezelite player and configure it
with  -C 10  also enable this as a Spotify-Connect end point player in
the LMS Spotty settings

Do not install the M2P Spotify Plugin

I suggest you make new installs of m2p and make sure it is up to date
and use LMS v 8.3, also ensure that the rpi each have a unique name

>From browsing this forum it seems that the Spotify-Connect function in
LMS can be a little flakey :(

ronnie



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=115976

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


Re: [SlimDevices: Plugins] Max2Play and PiCorePlayer spots randomly when playing Spotify streams via SPOTTY

2022-02-18 Thread HerculePirate


Any help here please?



HerculePirate's Profile: http://forums.slimdevices.com/member.php?userid=12616
View this thread: http://forums.slimdevices.com/showthread.php?t=115976

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


Re: [SlimDevices: Plugins] Max2Play and PiCorePlayer spots randomly when playing Spotify streams via SPOTTY

2022-02-16 Thread HerculePirate


Hi Michael
I am trying to get ANY help actually. This has been so strange
Perfect combination of SQZlite + Spotify.
I had also uploaded the logs in my previous posts and had no response.
Hence the multiple threads.

I have switched all the OS's and the problem persists.

I have activated Spotify Connect on the mx2play and enabled it in the
SQL server. I can browse SPOTTY from my SQZserver App Menu and play
music from there too... But when I try to play music from my Iphone to
the max2play or pcp, it does not play.

Any help?



HerculePirate's Profile: http://forums.slimdevices.com/member.php?userid=12616
View this thread: http://forums.slimdevices.com/showthread.php?t=115976

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


Re: [SlimDevices: Plugins] Max2Play and PiCorePlayer spots randomly when playing Spotify streams via SPOTTY

2022-02-15 Thread Michael Herger

I am trying to play music on my Spotify app and playing it on my
Squeezelite implementation on max2play and picoreplayer.
The music plays for a while (mostly just 1 song) and then stops.


I guess you're using the Connect mode? Would playback using the Spotty 
be more stable? Unfortunately Connect mode is known to be fragile with 
Spotty. In particular if you're using large buffer sizes for 
squeezelite. Is this something you're customizing?


BTW: I've seen postings of yours all over the place. It's hard to keep 
up with all the threads where you're posting various pieces of your 
problems. Please try to concentrate on only a few. And then provide a 
bit more detail about your system setup, the issues you're facing etc. 
The way you're posting now we have to collect data from various places 
in order to understand what issue you're facing.

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


[SlimDevices: Plugins] Max2Play and PiCorePlayer spots randomly when playing Spotify streams via SPOTTY

2022-02-15 Thread HerculePirate


Hello 
I have tried 2 OS's and it seems it may be another issue.

I am trying to play music on my Spotify app and playing it on my
Squeezelite implementation on max2play and picoreplayer.
The music plays for a while (mostly just 1 song) and then stops.

Why does this happen.
Any help?

Have the latest v8 SQZ Server and SPOTTY v4.7.3 installed.



HerculePirate's Profile: http://forums.slimdevices.com/member.php?userid=12616
View this thread: http://forums.slimdevices.com/showthread.php?t=115976

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