def remove_playlist(db_session, name):
    c = db_session.cursor()
    c.execute("""DELETE FROM playlists WHERE name = ?""", [name])
    db_session.commit()
    c.close()
Removes a playlist from the database
dataset/ETHPy150Open bahamas10/Viridian/AmpacheTools/dbfunctions.py/remove_playlist