Code Monkey home page Code Monkey logo

spotcontrol's People

Contributors

badfortrains avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spotcontrol's Issues

Error logging in: Authentication fails

Using both the command-line password input and the oauth authentication process, the micro-controller fails with

Error logging in:  Authentication failed

[Feature request] Load a playlist

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?

Unable to compile using gopherjs

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

Error with mdns command

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

Only lists one device

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 ?

[Feature Request] Micro-Controller: Select device by Name/Ident

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!

Not listing devices

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 :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.