Exemple #1
0
def grabsong(url):
    global bot
    bot = DadaBot()
    bot.connect("becawwrdsaekva", "fckngtrdtn7.5")

    bot.tag = "weev"  # for file names example: "song.rmx.weev.mp3"

    if url == "":
        bot.always_find_new_tracks = True  # will not remix the same song twice
        bot.creative_commons_only = True  # only remixes creative commons tracks
        bot.find_track()
    else:
        bot.grab_track(url)

    return bot.dump_intention()
def grabsong(url):
    global bot
    bot = DadaBot()
    bot.connect("chopshopshockshack", "fckngtrdtn7.5")

    bot.remix_process_call = "python remix-scripts/dadarays.py %s %s"
    bot.tag = "(@)"

    if url == "":
        bot.always_find_new_tracks = True  # will not remix the same song twice
        bot.creative_commons_only = True  # only remixes creative commons tracks
        bot.find_track()
    else:
        bot.grab_track(url)

    return bot.dump_intention()