Method | Description | |
---|---|---|
play ( |
Play/stream a song. | |
show ( |
Get extra information about a song via Last.fm. | |
update ( |
Update songs info. |
public play ( |
||
$song | The song to stream. | |
$transcode | null | boolean | Whether to force transcoding the song. If this is omitted, by default Koel will transcode FLAC. |
$bitRate | null | integer | The target bit rate to transcode, defaults to OUTPUT_BIT_RATE. Only taken into account if $transcode is truthy. |
return | Illuminate\Http\RedirectResponse | |
public show ( |
||
$song | ||
return | Illuminate\Http\JsonResponse |
public update ( |
||
$request | ||
return | Illuminate\Http\JsonResponse |