From 9bcbc81c2fd166640ba5d6109b693f0118b896d8 Mon Sep 17 00:00:00 2001 From: piair Date: Fri, 26 Apr 2024 14:13:50 +0200 Subject: [PATCH] Changement des musiques pour celles que Bing connais --- V6.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/V6.py b/V6.py index 170e37b..cae681c 100755 --- a/V6.py +++ b/V6.py @@ -356,7 +356,7 @@ def explore_on_bing(activity: str, config: Config): if "lyrics" in activity: search_bing( - f"paroles de {['The Black Dog', 'The Alchemy', 'The Albatross', 'The Bolter', 'Imgonnagetyouback'][randint(0, 4)]}") + f"paroles de {['Gata', 'Pyramide', 'Dolce Camara', 'Position', 'Mami Wata'][randint(0, 4)]}") # merci bing copilot pour les titres elif "flight" in activity: search_bing( f"vol {['Paris - New York', 'Londres Amsterdam', 'Bora-Bora Miami', 'Los Angeles Toulouse', 'Rome Dubai'][randint(0, 4)]}") @@ -365,6 +365,8 @@ def explore_on_bing(activity: str, config: Config): elif "movie" in activity: search_bing( f"Distribution {['Code 8 part 2', 'The Hunger Games: The ballad of Songbirds & Snakes', 'Rebel Moon: Part Two', 'Dune II', 'Wonka'][randint(0, 4)]}") + else: + log_error(f"Explore on bing: {activity} not found.") # Find out which type of action to do @@ -425,11 +427,11 @@ def try_play(nom="unknown", activity=""): warning(f"recovery detected. quiz : {number}") play(number - 1) elif "exploreonbing" in activity: - info("Explore on bing") + info(f"Explore on bing: {activity}") explore_on_bing(activity, config) custom_sleep(uniform(3, 5)) else: - info(f"Nothing obvious to do on page `{nom}`. Activity: {activity}") + info(f"Nothing obvious to do on page `{nom}`.") custom_sleep(uniform(3, 5))