Comments (12)
Just build 0.7.0 on FreeBSD 11.1-RELEASE-p4. Limited usage (2 playlists, containing around 60 songs), but so far everything works fine. The device I set as an Spotify endpoint, shows up in the Spotify application (on Windows) and I can use it.
from spotty.
Probably should have mentioned that the LogitechMediaServer itself is also running in a jail on FreeNAS 11. Just build the helper application on plain FreeBSD 11.1
from spotty.
I just installed a FreeBSD 11 in a virtual machine using the FreeBSD-11.1-RELEASE-amd64-dvd1.iso, installed rust using:
curl https://sh.rustup.rs -sSf | sh
Cloned the spotty repository:
git clone https://github.com/michaelherger/spotty.git
Build it using:
/root/.cargo/bin/cargo build --release
Executed the result from the command line:
target/release/spotty -n "Testje" -a
but still the same error:
thread 'main' panicked at 'cannot poll Result twice', /checkout/src/libcore/option.rs:839:4
note: Run with RUST_BACKTRACE=1
for a backtrace.
Abort (core dumped)
from spotty.
@reneklootwijk - while the panick is not desirable (will try to fix it eventually), the rest of your observations are as expected. Spotty would show up as Connect endpoint in order to authorize through a Spotify app. As soon as authentication has succeeded, the daemon does exit. You'd then have to enable Connect in Settings/Player/Spotty.
from spotty.
One more thing: I just merged the latest changes which will build 0.8.1. This build should provide a much more stable Connect experience. Please try to build asap. Good luck!
from spotty.
Just checked the LMS server.log after a couple of hours using the connect feature, reconnecting several times: nothing in there about a 'thread panick'. LMS server version?
from spotty.
The result is the same with the new version. I use LMS version: Logitech Media Server Versie: 7.9.1 - 1513400996 @ Sat Dec 16 06:24:25 UTC 2017
What do you mean with: You'd then have to enable Connect in Settings/Player/Spotty?
But it has nothing the error has nothing to do with the LMS version cause it happens from the command line also.
from spotty.
from spotty.
I read your error message as coming from the LMS server log. I see now it isn't
If I take your command line: "target/release/spotty -n "Testje" -a"
spotty just runs, both 0.7.0 and 0.8.1. It shows up in 'top'. no error messages.
from spotty.
The error message is printed on the console when spotty is initiated by LMS. When I initiate it from the command line as soon as I connect with a Spotify player, the error is thrown.
That screenshot was very informative, now I understand how it works. And yes despite the error message, everything is working.
To be clear, the error message only appears during when authenticating via a Spotify client.
from spotty.
The following causes the panic:
./target/release/spotty--cache ./ --name MYAPP --authenticate --username MYUSERAME
This is a command you'd run to get your credentials set up, before streaming at a later stage.
After applying the patch from #2 it seems to be resolved.
from spotty.
This issue is fixed in the latest 0.9.9 binaries, which are based on the dev branch.
from spotty.
Related Issues (20)
- Error: Failed to lookup address information HOT 1
- Stream Spotify podcast HOT 2
- Librespot changes HOT 1
- Playlist radio repeats same songs but does not load new HOT 1
- Song is skipped after few seconds and make players out of sync. HOT 3
- Error in spotty helper HOT 2
- spotty-custom periodically dumps core (FreeBSD) HOT 9
- Got a crash on the first login HOT 3
- Spotty crashing LMS HOT 16
- Spotty can't play from Spotify, won't even open in LMS web or app HOT 3
- No podcast playback from playlists HOT 9
- Can't add individual songs HOT 1
- spotty-hf seems to have problems with special characters in passwords HOT 1
- The account list can show the wrong names after spotify "overload" HOT 11
- zombie processes HOT 4
- Failed to get access token HOT 6
- Spotty helper fails to load HOT 1
- thread 'main' panicked at 'called `Result::unwrap()` HOT 6
- Failed to get access token HOT 3
- LMS Transport HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spotty.