badfortrains / spotcontrol Goto Github PK
View Code? Open in Web Editor NEWopen spotify connect controller
License: MIT License
open spotify connect controller
License: MIT License
Using both the command-line password input and the oauth authentication process, the micro-controller fails with
Error logging in: Authentication failed
Hi,
Thanks for your great software!
I am able to load a track or list of tracks, but I would like to load a Spotify playlist...
Is it possible?
I've made an attempt to compile using the example and writing my own basic code and it keeps failing upon compiling socket
for use by the library. Is this a known issue perhaps with your library or gopherjs in general?
spotcontrol git:master ❯ gopherjs build
../../../go/src/golang.org/x/net/internal/socket/cmsghdr.go:9:10: undeclared name: cmsghdr
../../../go/src/golang.org/x/net/internal/socket/cmsghdr.go:10:10: undeclared name: cmsghdr
../../../go/src/golang.org/x/net/internal/socket/cmsghdr.go:11:10: undeclared name: cmsghdr
../../../go/src/golang.org/x/net/internal/socket/cmsghdr_bsd.go:9:10: undeclared name: cmsghdr
../../../go/src/golang.org/x/net/internal/socket/msghdr_bsd.go:11:10: undeclared name: msghdr
../../../go/src/golang.org/x/net/internal/socket/msghdr_bsd.go:11:28: undeclared name: iovec
../../../go/src/golang.org/x/net/internal/socket/msghdr_bsd.go:26:10: undeclared name: msghdr
../../../go/src/golang.org/x/net/internal/socket/msghdr_bsd.go:33:10: undeclared name: msghdr
../../../go/src/golang.org/x/net/internal/socket/msghdr_bsd.go:37:10: undeclared name: msghdr
../../../go/src/golang.org/x/net/internal/socket/msghdr_bsdvar.go:9:10: undeclared name: msghdr
../../../go/src/golang.org/x/net/internal/socket/msghdr_bsdvar.go:9:10: too many errors
Hey,
I just made a python local REST server that can be controlled via simple rest calls and can control the spotify client on the device that it runs.
check it out :)
https://github.com/OdysLam/spotify-local-http-api
Cheers!
Hi,
When running mdns command I get the following error:
`mdns
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x98ea4]
goroutine 1 [running]:
panic(0x34c1f0, 0x10826008)
/usr/local/go/src/runtime/panic.go:500 +0x33c
github.com/badfortrains/spotcontrol.(*SpircController).ListMdnsDevices(0x10ab81e0, 0x0, 0x0, 0x0)
/home/pi/go/src/github.com/badfortrains/spotcontrol/spirc_controller.go:135 +0x44
main.addMdns(0x10ab81e0, 0x1084ff44)
/home/pi/go/src/github.com/badfortrains/spotcontrol/examples/micro-controller/main.go:48 +0x38
main.main()
/home/pi/go/src/github.com/badfortrains/spotcontrol/examples/micro-controller/main.go:144 +0x8c8
`
Is this specific to my config?
Thanks
This might just be me not really understanding the Spotify connect protocol but when i run the "devices" command i only get one device (my computer). But i want to play the music from an other Spotify connect app that is on the network (this shows upp in Spotify on my computer). Is this possible ?
Hello,
I am requesting the feature to select a device by Name or by Ident instead of the array number (1,2,3,...).
The origin of this request is that I am trying to automate a pause/play function via a dash button, but every time I launch spotcontrol the list has another order, so it's impossible to pick the same device every time.
Thanks a lot!
Now that the spotify app key is not needed anymore, can that requirement be removed somehow?
Hello!
Spotcontrol is no longer listing any devices for me
I'm using the micro-controller example and it just says
no devices
This used to work. Has Spotify changed something in their protocol?
I've tried both blob and user/pass authorization.
It connects fine and I can list my playlists. But, no devices
Aside from this issue, spotcontrol has been awesome for me and was the missing piece in my totally overengineered radio device project :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.