mirror of
https://github.com/xhongc/music-tag-web.git
synced 2026-04-27 12:10:01 +08:00
feature:封面图缩小
This commit is contained in:
@@ -9,7 +9,7 @@ from applications.utils.send import send
|
||||
COPYRIGHT = "感谢您的聆听,music-tag-web打上标签。POW~"
|
||||
|
||||
|
||||
def update_music_info(music_id3_info, is_raw_thumbnail=False):
|
||||
def update_music_info(music_id3_info, is_raw_thumbnail=True):
|
||||
for each in music_id3_info:
|
||||
f = music_tag.load_file(each["file_full_path"])
|
||||
save_music(f, each, is_raw_thumbnail)
|
||||
|
||||
@@ -83,5 +83,5 @@ def match_song(resource, song_path, select_mode):
|
||||
song_select["filename"] = file_name
|
||||
song_select["file_full_path"] = song_path
|
||||
song_select["lyrics"] = MusicResource(resource).fetch_lyric(song_select["id"])
|
||||
save_music(file, song_select, False)
|
||||
save_music(file, song_select, True)
|
||||
return is_match
|
||||
|
||||
Reference in New Issue
Block a user