Spaces:
Running on Zero
Running on Zero
fix(music): normalize Cevi->Chevy and map Robin (Chevy) x HOYO-MiX songs
Browse filesFiles changed (2)
111 unmodified lines112113114115116117111 unmodified lines(re.compile(r"\bbeautiful\s+(?:in\s+my\s+play[- ]?waste\s+life|invite(?:\s+by\s+westlife)?)\b", re.IGNORECASE), "Beautiful in White by Westlife"),(re.compile(r"\b(?:deceber|desember|december)\s+(?:by|dari)\s+(?:nek\s*di[mp]|night\s*dew|nectar)\b", re.IGNORECASE), "December by Neck Deep"),(re.compile(r"\bpompei+\b", re.IGNORECASE), "Pompeii"),(re.compile(r"\b(?:forver|forever)\s+(?:cevi|chevy|sevi)\b|\b(?:cevi|sevi)\s+(?:forver|forever)\b", re.IGNORECASE), "Forever Chevy"),(re.compile(r"\b(?:ton|don)\s+(?:my\s*kuelu|migrillo|migrilo|miguelo)\b", re.IGNORECASE), "Don Miguelo"),(re.compile(r"\b(?:ikv|ike\s+fwe)\s+by\s+(?:don|ton)\s+migrillo\b", re.IGNORECASE), "Y Que Fue by Don Miguelo"),111 unmodified lines112113114115116117118111 unmodified lines(re.compile(r"\bbeautiful\s+(?:in\s+my\s+play[- ]?waste\s+life|invite(?:\s+by\s+westlife)?)\b", re.IGNORECASE), "Beautiful in White by Westlife"),(re.compile(r"\b(?:deceber|desember|december)\s+(?:by|dari)\s+(?:nek\s*di[mp]|night\s*dew|nectar)\b", re.IGNORECASE), "December by Neck Deep"),(re.compile(r"\bpompei+\b", re.IGNORECASE), "Pompeii"),(re.compile(r"\b(?:cevi|cevy)\b", re.IGNORECASE), "Chevy"),(re.compile(r"\b(?:forver|forever)\s+(?:cevi|chevy|sevi)\b|\b(?:cevi|sevi)\s+(?:forver|forever)\b", re.IGNORECASE), "Forever Chevy"),(re.compile(r"\b(?:ton|don)\s+(?:my\s*kuelu|migrillo|migrilo|miguelo)\b", re.IGNORECASE), "Don Miguelo"),(re.compile(r"\b(?:ikv|ike\s+fwe)\s+by\s+(?:don|ton)\s+migrillo\b", re.IGNORECASE), "Y Que Fue by Don Miguelo"),
775 unmodified lines776777778779780781706 unmodified lines148814891490149114921493775 unmodified linesreturn "God Knows Aya Hirano"if re.search(r"\bflamingo\b", normalized, re.IGNORECASE) and "米津玄師" in normalized:return "Flamingo Kenshi Yonezu"# Tangani format "Penyanyi yang judul lagunya Judul" atau "Judul yang dibawakan Artis"clean_q = re.sub(r"\b(?:yang\s+judul\s+lagunya|yang\s+berjudul|judulnya|lagunya|yang\s+dibawakan|yang\s+dinyanyikan)\b", " ", normalized, flags=re.IGNORECASE)# Hapus tanda tanya / tanda baca lain di akhir706 unmodified lines"mirrors by justin timberlake": "uuZE_IRwLNI","mirrors justin": "uuZE_IRwLNI","mirrors by justin": "uuZE_IRwLNI",# ライラック - Mrs. GREEN APPLE"lilac mrs green apple": "QjrkrVmC-8M","que sera sera mrs green apple": "Jy-QS27q7lA",775 unmodified lines776777778779780781782783784785706 unmodified lines14921493149414951496149714981499150015011502150315041505775 unmodified linesreturn "God Knows Aya Hirano"if re.search(r"\bflamingo\b", normalized, re.IGNORECASE) and "米津玄師" in normalized:return "Flamingo Kenshi Yonezu"if re.search(r"\bhope\s+is\s+the\s+thing\s+with\s+feathers\b", normalized, re.IGNORECASE) and re.search(r"\b(?:robin|chevy|cevi|hoyo)\b", normalized, re.IGNORECASE):return "Hope Is the Thing With Feathers HOYO-MiX"if re.search(r"\bonly\s+by\s+chasing\s+the\s+wind\b", normalized, re.IGNORECASE):return "Only By Chasing the Wind HOYO-MiX"# Tangani format "Penyanyi yang judul lagunya Judul" atau "Judul yang dibawakan Artis"clean_q = re.sub(r"\b(?:yang\s+judul\s+lagunya|yang\s+berjudul|judulnya|lagunya|yang\s+dibawakan|yang\s+dinyanyikan)\b", " ", normalized, flags=re.IGNORECASE)# Hapus tanda tanya / tanda baca lain di akhir706 unmodified lines"mirrors by justin timberlake": "uuZE_IRwLNI","mirrors justin": "uuZE_IRwLNI","mirrors by justin": "uuZE_IRwLNI",# Robin (Chevy) x HOYO-MiX"hope is the thing with feathers hoyo mix": "aPyt41nnM0k","hope is the thing with feathers robin": "aPyt41nnM0k","hope is the thing with feathers chevy": "aPyt41nnM0k","only by chasing the wind hoyo mix": "cOr-TUxo8Kw","only by chasing the wind robin": "cOr-TUxo8Kw","only by chasing the wind chevy": "cOr-TUxo8Kw","only by chasing the wind": "cOr-TUxo8Kw",# ライラック - Mrs. GREEN APPLE"lilac mrs green apple": "QjrkrVmC-8M","que sera sera mrs green apple": "Jy-QS27q7lA",
llm_chat/audio_routes.py+1
llm_chat/web_search.py+12