MCPcopy Index your code
hub / github.com/beetbox/beets / audio_callback

Method audio_callback

test/plugins/test_spotify.py:466–479  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

464 )
465
466 def audio_callback(request):
467 ids = _params(request.url)["ids"][0].split(",")
468 seen_audio_ids.append(ids)
469 return (
470 200,
471 {"Content-Type": "application/json"},
472 json.dumps(
473 {
474 "audio_features": [
475 {"id": track_id, "tempo": 100.0} for track_id in ids
476 ]
477 }
478 ),
479 )
480
481 responses.add_callback(
482 responses.GET,

Callers

nothing calls this directly

Calls 1

_paramsFunction · 0.85

Tested by

no test coverage detected