Home of the Squeezebox™ & Transporter® network music players.
Page 4 of 10 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 93
  1. #31
    Junior Member
    Join Date
    Sep 2020
    Posts
    5
    Quote Originally Posted by mherger View Post
    > I just updated my LMS installation from FreeBSD 11 to FreeBSD 12 using
    > the patch from h t t p
    > s://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240397
    > (pkg-list-patch-for-12.1) with success but now the FreeBSD helper won't
    > install from plugins making Spotty give the following output in
    > plugins/settings:


    How does the installation fail? Any error? Anything in server.log?

    You could try to compile your own:
    https://github.com/michaelherger/spotty. "cargo build --release" should
    be all you need. Then copy the resulting spotty binary as
    "spotty-custom" somewhere in your search path.

    --


    Michael
    Hi again and thank you for really swift feedback,

    1. After installing rust (pkg install rust) and downloading the source from Github (https://github.com/michaelherger/spotty. "cargo build --release") it compiled just fine!
    2. The resulting spotty was copied to /var/db/logitechmediaserver/cache/InstalledPlugins/Plugins/Spotty/Bin and renamed spotty-custom. File permissions for spotty-custom was set to slimserv:slimserv
    3. And I get a nice welcoming screen

    Name:  spotty.JPG
Views: 245
Size:  34.7 KB

    4. I follow the instructions (starting Spotify on mobile, play song, hit authorization and I get the next screen with web token filled in). I check my squeezebox devices and hit apply and close.
    5. I restart the server
    6. I go to my apps spotty and enjoy the beautiful icons. However when I click them there is no content.
    7. I check server.log and it looks like so:

    #tail /var/log/logitechmediaserver/server.log
    Plugins::Spotty::API::__ANON__ (1476) API call: browse/featured-playlists?country=US&limit=50&locale=en_US&timesta mp=2020-09-24T09%3A50%3A00
    Plugins::Spotty::API::__ANON__ (1480) error: Error reading headers: Server closed connection without sending any data back at /usr/local/share/logitechmediaserver/CPAN/Net/HTTP/Methods.pm line 306.
    Plugins::Spotty::API::__ANON__ (1476) API call: me/albums?limit=50
    Plugins::Spotty::API::__ANON__ (1480) error: Error reading headers: Server closed connection without sending any data back at /usr/local/share/logitechmediaserver/CPAN/Net/HTTP/Methods.pm line 306.
    Plugins::Spotty::API::__ANON__ (1476) API call: browse/featured-playlists?country=US&limit=50&locale=en_US&timesta mp=2020-09-24T09%3A50%3A00
    Plugins::Spotty::API::__ANON__ (1480) error: Error reading headers: Server closed connection without sending any data back at /usr/local/share/logitechmediaserver/CPAN/Net/HTTP/Methods.pm line 306.
    Plugins::Spotty::API::__ANON__ (1476) API call: browse/featured-playlists?country=US&limit=50&locale=en_US&timesta mp=2020-09-24T09%3A50%3A00
    Plugins::Spotty::API::__ANON__ (1480) error: Error reading headers: Server closed connection without sending any data back at /usr/local/share/logitechmediaserver/CPAN/Net/HTTP/Methods.pm line 306.
    Plugins::Spotty::API::__ANON__ (1476) API call: me/albums?limit=50
    Plugins::Spotty::API::__ANON__ (1480) error: Error reading headers: Server closed connection without sending any data back at /usr/local/share/logitechmediaserver/CPAN/Net/HTTP/Methods.pm line 306.

    What can I do?

    Greetings
    SoundLover

  2. #32
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,460

    [Announce] Spotty 4.4 - morepersonalised content

    > 1. After installing rust (pkg install rust) and downloading the source
    > from Github (https://github.com/michaelherger/spotty. "cargo build
    > --release") it compiled just fine!


    Nice!

    > 2. The resulting spotty was copied to
    > /var/db/logitechmediaserver/cache/InstalledPlugins/Plugins/Spotty/Bin


    Don't put it there, as it'll be deleted with the next plugin update. You
    can put it anywhere in your search path, eg. /usr/local/bin or whatever
    a suitable place on BSD. You can see in Settings/Information which
    folders LMS is searching.

    > 7. I check server.log and it looks like so:
    >
    > #tail /var/log/logitechmediaserver/server.log
    > Plugins::Spotty::API::__ANON__ (1476) API call:
    > browse/featured-playlists?country=US&limit=50&locale=en_US&timesta mp=2020-09-24T09%3A50%3A00
    > Plugins::Spotty::API::__ANON__ (1480) error: Error reading headers:
    > Server closed connection without sending any data back at
    > /usr/local/share/logitechmediaserver/CPAN/Net/HTTP/Methods.pm line 306.


    That sounds like some pretty generic networking failure. Are you able to
    stream radio stations or podcasts? What IO::Socket::SSL version are you
    using (see Settings/Information)?

    --

    Michael

  3. #33
    Junior Member
    Join Date
    Sep 2020
    Posts
    5
    Quote Originally Posted by mherger View Post
    > 1. After installing rust (pkg install rust) and downloading the source
    > from Github (https://github.com/michaelherger/spotty. "cargo build
    > --release") it compiled just fine!


    Nice!

    > 2. The resulting spotty was copied to
    > /var/db/logitechmediaserver/cache/InstalledPlugins/Plugins/Spotty/Bin


    Don't put it there, as it'll be deleted with the next plugin update. You
    can put it anywhere in your search path, eg. /usr/local/bin or whatever
    a suitable place on BSD. You can see in Settings/Information which
    folders LMS is searching.

    > 7. I check server.log and it looks like so:
    >
    > #tail /var/log/logitechmediaserver/server.log
    > Plugins::Spotty::API::__ANON__ (1476) API call:
    > browse/featured-playlists?country=US&limit=50&locale=en_US&timesta mp=2020-09-24T09%3A50%3A00
    > Plugins::Spotty::API::__ANON__ (1480) error: Error reading headers:
    > Server closed connection without sending any data back at
    > /usr/local/share/logitechmediaserver/CPAN/Net/HTTP/Methods.pm line 306.


    That sounds like some pretty generic networking failure. Are you able to
    stream radio stations or podcasts? What IO::Socket::SSL version are you
    using (see Settings/Information)?

    --

    Michael
    Thanks - I have moved it to /usr/local/bin folder ..Spotty/Bin is listed as being searched by LMS but I don't want it to be overwritten by next upgrade.

    I am able to stream radio stations and podcasts - everything is normal. The version for IO socket SSL is -> p5-IO-Socket-SSL-2.068


    UPDATE - got it working. Suspected that this is a Perl module issue so I replaced the Methods.pm with the latest one from https://metacpan.org/pod/Net::HTTP::Methods (downloaded, pulled Methods.pm out of archive and put it in /usr/local/share/logitechmediaserver/CPAN/Net/HTTP.

    Spotty working BRLLIANTLY on FreeBSD 12.1, LMS 7.9.2 with patch https://bugs.freebsd.org/bugzilla/at....cgi?id=211267 and Methods.pm (/usr/local/share/logitechmediaserver/CPAN/Net/HTTP) replaced by the one from /usr/local/share/logitechmediaserver/CPAN/Net/HTTP (version 6.19).

    Thank you!

    Greetings
    SoundLover
    Last edited by SoundLover; 2020-09-24 at 03:06.

  4. #34
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,460

    [Announce] Spotty 4.4 - morepersonalised content

    > I am able to stream radio stations and podcasts - everything is normal.
    > The version for IO socket SSL is -> p5-IO-Socket-SSL-2.068


    Ok, then please enable logging for plugin.spotty
    (Settings/Advanced/Logging). Try to navigate a bit, then send me your
    server.log.zip

    https://www.dropbox.com/request/T3RctyzGgNg0oFDubq6a

    (and turn off logging again, as it can be noisy)

    --

    Michael

  5. #35
    Junior Member
    Join Date
    Sep 2020
    Posts
    5
    Quote Originally Posted by mherger View Post
    > I am able to stream radio stations and podcasts - everything is normal.
    > The version for IO socket SSL is -> p5-IO-Socket-SSL-2.068


    Ok, then please enable logging for plugin.spotty
    (Settings/Advanced/Logging). Try to navigate a bit, then send me your
    server.log.zip

    https://www.dropbox.com/request/T3RctyzGgNg0oFDubq6a

    (and turn off logging again, as it can be noisy)

    --

    Michael
    UPDATE - got it working. Suspected that this is a Perl module issue so I replaced the Methods.pm with the latest one from https://metacpan.org/pod/Net::HTTP::Methods (downloaded, pulled Methods.pm out of archive and put it in /usr/local/share/logitechmediaserver/CPAN/Net/HTTP.

    Spotty working BRLLIANTLY on FreeBSD 12.1, LMS 7.9.2 with patch https://bugs.freebsd.org/bugzilla/at....cgi?id=211267 and Methods.pm (/usr/local/share/logitechmediaserver/CPAN/Net/HTTP) replaced by the one from /usr/local/share/logitechmediaserver/CPAN/Net/HTTP (version 6.19).

    Thank you!

    Greetings
    SoundLover

  6. #36
    Senior Member
    Join Date
    Nov 2012
    Location
    UK, Lincolnshire
    Posts
    144
    hmm not sure if its just coincidence but day after using WebAPI cookie with Spotty my account password has been changed/blocked due to suspicious activity.
    Has anyone else experienced same problem? Maybe Spotify doesn't like this workaround Michael?

    Anyway will try to reset and setup again to see what happens
    3x Squeezebox Touch, 3x Squeezebox Radio, Squeezelite (RPi with HiFiBerry DAC+Pro), Material Skin Apk, Squeeze Commander, Logitech Media Server Version: 8.0.0 with Material Skin

  7. #37
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    5,104
    Quote Originally Posted by Jaca View Post
    hmm not sure if its just coincidence but day after using WebAPI cookie with Spotty my account password has been changed/blocked due to suspicious activity.
    Has anyone else experienced same problem? Maybe Spotify doesn't like this workaround Michael?

    Anyway will try to reset and setup again to see what happens
    How did you notice this?

    Sent from my Pixel 3a using Tapatalk

  8. #38
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,460

    [Announce] Spotty 4.4 - morepersonalised content

    > hmm not sure if its just coincidence but day after using WebAPI cookie
    > with Spotty my account password has been changed/blocked due to
    > suspicious activity.


    Hmm... I've been happily using the code for several weeks before
    releasing it. I would be surprised if its use here got the account blocked.

    --

    Michael

  9. #39
    Senior Member
    Join Date
    Nov 2012
    Location
    UK, Lincolnshire
    Posts
    144
    Quote Originally Posted by slartibartfast View Post
    How did you notice this?

    Sent from my Pixel 3a using Tapatalk
    Received email form Spotify requesting password change plus been logged off an all devices.
    3x Squeezebox Touch, 3x Squeezebox Radio, Squeezelite (RPi with HiFiBerry DAC+Pro), Material Skin Apk, Squeeze Commander, Logitech Media Server Version: 8.0.0 with Material Skin

  10. #40
    Senior Member
    Join Date
    Nov 2012
    Location
    UK, Lincolnshire
    Posts
    144
    Quote Originally Posted by mherger View Post
    > hmm not sure if its just coincidence but day after using WebAPI cookie
    > with Spotty my account password has been changed/blocked due to
    > suspicious activity.


    Hmm... I've been happily using the code for several weeks before
    releasing it. I would be surprised if its use here got the account blocked.

    --

    Michael
    I've changed password, set everything up again and it works fine.. Weirdly new cookie only is valid for month where old one was year.. I will see if it continues to work fine over next few days. I guess reason could be that to get cookie I've used Chrome I never accesed open.spotify with, plus VPN connection .. Weird as it should work fine anyway.. I got new login email notification (with no action required etc)

    hmmm Most likely just coincidence
    3x Squeezebox Touch, 3x Squeezebox Radio, Squeezelite (RPi with HiFiBerry DAC+Pro), Material Skin Apk, Squeeze Commander, Logitech Media Server Version: 8.0.0 with Material Skin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •