(_request: WSGIRequest)
Force skips the current song by deleting it from the database.
Force skips the current song by deleting it from the database.
Force skips the current song by deleting it from the database .
def delete_current_song(_request: WSGIRequest) -> HttpResponse:
    """Force skips the current song by deleting it from the database."""
    try:
        current_song = CurrentSong.objects.get()
        current_song.delete()
        return HttpResponse()
    except CurrentSong.DoesNotExist:
        return HttpResponseBadRequest("No song playing")
def delete_current_song ( _request : WSGIRequest ) -> HttpResponse : try : current_song = CurrentSong . objects . get ( ) current_song . delete ( ) return HttpResponse ( ) except CurrentSong . DoesNotExist : return HttpResponseBadRequest ( "No song playing" )