支持显示群聊

This commit is contained in:
shuaikangzhou 2023-12-17 20:31:38 +08:00
parent 99fa715e10
commit 716f030faa
2 changed files with 3 additions and 2 deletions

View File

@ -47,7 +47,7 @@ class MicroMsg:
sql = '''SELECT UserName, Alias, Type, Remark, NickName, PYInitial, RemarkPYInitial, ContactHeadImgUrl.smallHeadImgUrl, ContactHeadImgUrl.bigHeadImgUrl
FROM Contact
INNER JOIN ContactHeadImgUrl ON Contact.UserName = ContactHeadImgUrl.usrName
WHERE Type % 2 = 1
WHERE (Type % 2 = 1 OR Type=2)
AND NickName != ''
ORDER BY
CASE

View File

@ -4,7 +4,7 @@ import os
from re import findall
from PyQt5.QtCore import pyqtSignal, QThread
from PyQt5.QtWidgets import QFileDialog
from eyed3 import load
# from eyed3 import load
from . import msg_db, micro_msg_db
from .package_msg import PackageMsg
@ -139,6 +139,7 @@ class Output(QThread):
def modify_audio_metadata(audiofile, new_artist): # 修改音频元数据中的“创作者”标签
return
audiofile = load(audiofile)
# 检查文件是否有标签