Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/badfortrains/spotcontrol
/ functions
Functions
1,547 in github.com/badfortrains/spotcontrol
⨍
Functions
1,547
◇
Types & classes
218
↓ 29 callers
Method
Write
(b []byte)
session_test.go:66
↓ 22 callers
Method
String
()
proto/spirc.pb.go:641
↓ 14 callers
Function
cycle
* cycle the contents of the register and calculate output word in c->sbuf. */
shan.go:112
↓ 13 callers
Method
Enum
()
proto/spirc.pb.go:187
↓ 11 callers
Function
isFunction
(value)
examples/spot-chrome/zepto.js:68
↓ 10 callers
Function
funcArg
(context, arg, idx, payload)
examples/spot-chrome/zepto.js:279
↓ 9 callers
Function
generateDeviceId
(name string)
session.go:113
↓ 9 callers
Function
rotl
(w uint32, x int)
shan.go:73
↓ 9 callers
Function
toByte
* some useful macros -- machine independent little-endian */
shan.go:69
↓ 8 callers
Method
Read
(b []byte)
session_test.go:70
↓ 8 callers
Function
isString
(obj)
examples/spot-chrome/zepto.js:891
↓ 8 callers
Function
renderComponent
(section, content)
examples/spot-chrome/window.js:140
↓ 7 callers
Function
className
(node, value)
examples/spot-chrome/zepto.js:288
↓ 7 callers
Function
macfunc
* Normal MAC word processing: do both stream register and CRC. */
shan.go:159
↓ 7 callers
Function
triggerGlobal
(settings, context, eventName, data)
examples/spot-chrome/zepto.js:1180
↓ 6 callers
Method
doLogin
(packet []byte, username string)
session.go:95
↓ 6 callers
Function
isObject
(obj)
examples/spot-chrome/zepto.js:71
↓ 6 callers
Method
startConnection
()
session.go:53
↓ 6 callers
Function
zid
(element)
examples/spot-chrome/zepto.js:900
↓ 5 callers
Method
GetTyp
()
proto/spirc.pb.go:256
↓ 5 callers
Method
RecvPacket
()
session.go:30
↓ 5 callers
Method
Reset
()
proto/spirc.pb.go:640
↓ 5 callers
Method
Write
(p []byte)
shannon.go:86
↓ 5 callers
Function
ajaxError
(error, type, xhr, settings, deferred)
examples/spot-chrome/zepto.js:1211
↓ 5 callers
Function
byte2word
(b []byte)
shan.go:77
↓ 5 callers
Function
dasherize
(str)
examples/spot-chrome/zepto.js:80
↓ 5 callers
Function
generateKeys
()
keys.go:57
↓ 5 callers
Function
loginPacket
(username string, authData []byte, authType *Spotify.AuthenticationType, deviceId string)
session.go:336
↓ 4 callers
Method
GetName
()
proto/metadata.pb.go:859
↓ 4 callers
Method
SendHello
Sends a 'hello' command to all spotify connect devices. Active devices will respond with a 'notify' updating their state.
spirc_controller.go:94
↓ 4 callers
Function
addkey
* Load key material into the register */ #define addkey(k) \ c->R[KEYP] ^= (k);
shan.go:209
↓ 4 callers
Function
compatible
(event, source)
examples/spot-chrome/zepto.js:1011
↓ 4 callers
Function
encodeMercuryHead
(seq []byte, partsLength uint16, flags uint8)
mercury.go:127
↓ 4 callers
Function
filtered
(nodes, selector)
examples/spot-chrome/zepto.js:265
↓ 4 callers
Function
getDevice
(controller *spotcontrol.SpircController, ident string, reader *bufio.Reader)
examples/micro-controller/main.go:39
↓ 4 callers
Function
isDocument
(obj)
examples/spot-chrome/zepto.js:70
↓ 4 callers
Function
isPlainObject
(obj)
examples/spot-chrome/zepto.js:72
↓ 4 callers
Method
poll
()
session.go:288
↓ 4 callers
Function
powm
(base, exp, modulus *big.Int)
keys.go:37
↓ 4 callers
Function
setHeader
(name, value)
examples/spot-chrome/zepto.js:1376
↓ 4 callers
Function
setupController
Starts controller. Registers listeners for Spotify connect device updates, and opens connection for sending commands
spirc_controller.go:36
↓ 4 callers
Function
setupSession
()
session.go:172
↓ 4 callers
Function
stateComponent
()
examples/spot-chrome/window.js:39
↓ 4 callers
Function
type
(obj)
examples/spot-chrome/zepto.js:63
↓ 3 callers
Method
Decrypt
(messageBytes []byte)
shannon.go:67
↓ 3 callers
Method
LoadTrack
Load given list of tracks on spotify connect device with given ident. Gids are formated base62 spotify ids.
spirc_controller.go:60
↓ 3 callers
Method
SendPacket
(cmd uint8, data []byte)
session.go:29
↓ 3 callers
Function
appendQuery
(url, query)
examples/spot-chrome/zepto.js:1327
↓ 3 callers
Function
likeArray
(obj)
examples/spot-chrome/zepto.js:75
↓ 3 callers
Method
mercuryGet
(url string)
metadata.go:62
↓ 3 callers
Method
mercuryGetProto
(url string, result proto.Message)
metadata.go:82
↓ 3 callers
Method
mercurySendRequest
(request mercuryRequest, responseCb responseCallback)
session.go:239
↓ 3 callers
Function
parsePart
(reader io.Reader)
mercury.go:299
↓ 3 callers
Method
pubKey
()
keys.go:127
↓ 3 callers
Function
randomVec
(count int)
keys.go:27
↓ 3 callers
Function
renderAll
()
examples/spot-chrome/window.js:159
↓ 3 callers
Method
sendCmd
(recipient []string, messageType Spotify.MessageType)
spirc_controller.go:191
↓ 3 callers
Method
sendFrame
(frame *Spotify.Frame)
spirc_controller.go:164
↓ 3 callers
Function
sessionFromDiscovery
(d *discovery)
session.go:190
↓ 3 callers
Function
setAttribute
(node, name, value)
examples/spot-chrome/zepto.js:283
↓ 3 callers
Function
setupMercury
(s *session)
mercury.go:48
↓ 3 callers
Function
shn_nonce
* Published "IV" interface */
shan.go:284
↓ 3 callers
Function
word2byte
(w uint32, b []byte)
shan.go:81
↓ 2 callers
Method
EncryptBytes
(messageBytes []byte)
shannon.go:62
↓ 2 callers
Method
GetCanonicalUsername
()
proto/authentication.pb.go:767
↓ 2 callers
Method
GetPlaylist
(id string)
metadata.go:140
↓ 2 callers
Method
GetUri
()
proto/mercury.pb.go:207
↓ 2 callers
Method
HandleUpdatesCb
(cb func(device string))
examples/spot-chrome/main.go:66
↓ 2 callers
Method
ListDevices
List active spotify-connect devices that can be sent commands
spirc_controller.go:153
↓ 2 callers
Method
ListMdnsDevices
Lists devices on local network advertising spotify connect service (_spotify-connect._tcp.).
spirc_controller.go:134
↓ 2 callers
Function
MakeConn
()
examples/spot-chrome/tcp.go:53
↓ 2 callers
Method
Read
(p []byte)
shannon.go:80
↓ 2 callers
Method
SendPrefixPacket
(prefix []byte, data []byte)
connection.go:30
↓ 2 callers
Function
abort
(errorType)
examples/spot-chrome/zepto.js:1238
↓ 2 callers
Function
add
(element, events, fn, data, selector, delegator, capture)
examples/spot-chrome/zepto.js:932
↓ 2 callers
Method
addChanelSubscriber
(uri string, recv chan mercuryResponse)
mercury.go:60
↓ 2 callers
Function
ajaxBeforeSend
(xhr, settings)
examples/spot-chrome/zepto.js:1195
↓ 2 callers
Function
ajaxComplete
(status, xhr, settings)
examples/spot-chrome/zepto.js:1219
↓ 2 callers
Function
ajaxSuccess
(data, xhr, settings, deferred)
examples/spot-chrome/zepto.js:1203
↓ 2 callers
Function
blobKey
(username string, secret []byte)
blob.go:88
↓ 2 callers
Function
children
(element)
examples/spot-chrome/zepto.js:111
↓ 2 callers
Function
chooseDevice
(controller *spotcontrol.SpircController, reader *bufio.Reader)
examples/micro-controller/main.go:15
↓ 2 callers
Function
classRE
(name)
examples/spot-chrome/zepto.js:89
↓ 2 callers
Function
createProxy
(event)
examples/spot-chrome/zepto.js:1032
↓ 2 callers
Function
discoveryFromBlob
(blob BlobInfo, cachePath, deviceId string, deviceName string)
discovery.go:109
↓ 2 callers
Function
doLogin
(loginData, doSave)
examples/spot-chrome/window.js:120
↓ 2 callers
Function
eventCapture
(handler, captureSetting)
examples/spot-chrome/zepto.js:922
↓ 2 callers
Function
findHandlers
(element, event, fn, selector)
examples/spot-chrome/zepto.js:903
↓ 2 callers
Function
generateKeysFromPrivate
(private *big.Int, nonce []byte)
keys.go:65
↓ 2 callers
Function
getCurrentDevice
()
examples/spot-chrome/window.js:35
↓ 2 callers
Function
getDevice
(ident)
examples/spot-chrome/window.js:31
↓ 2 callers
Method
handle
(cmd uint8, data []byte)
session.go:270
↓ 2 callers
Function
handleHead
(reader io.Reader)
mercury.go:188
↓ 2 callers
Function
isWindow
(obj)
examples/spot-chrome/zepto.js:69
↓ 2 callers
Function
loginFromConnect
(cachePath, deviceId string, deviceName string)
discovery.go:86
↓ 2 callers
Function
loginPacketPassword
(username, password, deviceId string)
session.go:331
↓ 2 callers
Method
loginSession
(username string, password string, deviceName string)
session.go:154
↓ 2 callers
Function
maybeAddPx
(name, value)
examples/spot-chrome/zepto.js:94
↓ 2 callers
Function
parse
(event)
examples/spot-chrome/zepto.js:914
↓ 2 callers
Method
parseResponse
(cmd uint8, reader io.Reader)
mercury.go:237
next →
1–100 of 1,547, ranked by callers