From a36d5767351fe876c24e081fc97b88427d658ccc Mon Sep 17 00:00:00 2001 From: Shaowen Yin Date: Sat, 8 Feb 2025 12:12:46 +0800 Subject: [PATCH] [enhance](ai) use ai_standby in more cases (#911) --- feeluown/library/library.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/feeluown/library/library.py b/feeluown/library/library.py index 5c570cc76..1bb074ade 100644 --- a/feeluown/library/library.py +++ b/feeluown/library/library.py @@ -264,7 +264,8 @@ async def a_list_song_standby_v2( song_media_list.append((standby, media)) if len(song_media_list) >= limit: return song_media_list - return song_media_list + if song_media_list: + return song_media_list if self.enable_ai_standby_matcher and self.ai and top2_standby: logger.info(f'Try to use AI to match standby for song {song}') matcher = AIStandbyMatcher(