Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法点击播放 #47

Open
teller110 opened this issue Sep 8, 2020 · 0 comments
Open

无法点击播放 #47

teller110 opened this issue Sep 8, 2020 · 0 comments

Comments

@teller110
Copy link

当文件名是中文的时候无法插入数据库
D/SQLStatement: SQL Execute: [INSERT OR ABORT INTO song(id,album,artist,displayName,duration,favorite,path,size,title)VALUES(?,?,?,?,?,?,?,?,?)] ARGS--> [null, unknown, unknown, 黎林添娇、张颖轩 - 飞.mp3, 218383, false, /storage/emulated/0/kgmusic/download/kg_audio_book/黎林添娇、张颖轩 - 飞.mp3, 8737435, 黎林添娇、张颖轩 - 飞.mp3]
W/System.err: android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: song.path (code 2067 SQLITE_CONSTRAINT_UNIQUE[2067])
点击播放的时候(文件名是英文可以正常插入数据库,但是点击直接崩溃)
android.app.RemoteServiceException: Bad notification for startForeground: java.lang.RuntimeException: invalid channel for service notification: Notification(channel=default pri=2 contentView=io.github.ryanhoo.music/0x7f0c0047 vibrate=null sound=null defaults=0x0 flags=0x42 color=0x00000000 vis=PRIVATE semFlags=0x0 semPriority=0 semMissedCount=0)

手机三星s8+ android9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant