[V1.3.0]Book covers not refresh by bangumi provider
komf version V1.3.0 kavita version V0.8.4.2
I try to search comics info by bangumi provider, and when I get the result, the book cover not change. The serise cover has changed. I search the item in bangumi webiste and book covers are exist. I am not sure the response contains any book covers info.
I has set KOMF_LOG_LEVEL=DEBUG, and I can found any book cover image request in logs.
| :48:33 | stdout | 11:48:33.790 [DefaultDispatcher-worker-7] INFO snd.komf.mediaserver.metadata.MetadataUpdater -- updating book 20世紀少年 {玉皇朝} Vol 02 |
|---|---|---|
| 2025/03/03 19:48:33 | stdout | 11:48:33.784 [OkHttp http://192.168.31.2:2771/...] INFO http.logging -- <-- 200 OK http://192.168.31.2:2771/api/chapter/update (72ms, 0-byte body) |
| 2025/03/03 19:48:33 | stdout | 11:48:33.711 [OkHttp http://192.168.31.2:2771/...] INFO http.logging -- --> POST http://192.168.31.2:2771/api/chapter/update (1036-byte body) |
| 2025/03/03 19:48:33 | stdout | 11:48:33.674 [OkHttp http://192.168.31.2:2771/...] INFO http.logging -- <-- 200 OK http://192.168.31.2:2771/api/series/chapter?chapterId=5938 (9ms, unknown-length body) |
| 2025/03/03 19:48:33 | stdout | 11:48:33.665 [OkHttp http://192.168.31.2:2771/...] INFO http.logging -- --> GET http://192.168.31.2:2771/api/series/chapter?chapterId=5938 |
| 2025/03/03 19:48:33 | stdout | 11:48:33.638 [DefaultDispatcher-worker-7] INFO snd.komf.mediaserver.metadata.MetadataUpdater -- updating book 20世紀少年 {玉皇朝} Vol 01 |
| 2025/03/03 19:48:33 | stdout | 11:48:33.631 [OkHttp http://192.168.31.2:2771/...] INFO http.logging -- <-- 200 OK http://192.168.31.2:2771/api/upload/series (460ms, 0-byte body) |
| 2025/03/03 19:48:33 | stdout | 11:48:33.216 [OkHttp http://192.168.31.2:2771/...] DEBUG com.microsoft.signalr.HubConnection -- Received message of type INVOCATION. |
| 2025/03/03 19:48:33 | stdout | 11:48:33.170 [OkHttp http://192.168.31.2:2771/...] INFO http.logging -- --> POST http://192.168.31.2:2771/api/upload/series (71500-byte body) |
| 2025/03/03 19:48:32 | stdout | 11:48:32.656 [OkHttp http://192.168.31.2:2771/...] INFO http.logging -- <-- 200 OK http://192.168.31.2:2771/api/series/metadata (14ms, unknown-length body) |
| 2025/03/03 19:48:32 | stdout | 11:48:32.642 [OkHttp http://192.168.31.2:2771/...] INFO http.logging -- --> POST http://192.168.31.2:2771/api/series/metadata (2567-byte body) |
| 2025/03/03 19:48:32 | stdout | 11:48:32.572 [OkHttp http://192.168.31.2:2771/...] INFO http.logging -- <-- 200 OK http://192.168.31.2:2771/api/series/metadata?seriesId=383 (10ms, unknown-length body) |
| 2025/03/03 19:48:32 | stdout | 11:48:32.562 [OkHttp http://192.168.31.2:2771/...] INFO http.logging -- --> GET http://192.168.31.2:2771/api/series/metadata?seriesId=383 |
| 2025/03/03 19:48:32 | stdout | 11:48:32.558 [OkHttp http://192.168.31.2:2771/...] INFO http.logging -- <-- 200 OK http://192.168.31.2:2771/api/series/update (405ms, 0-byte body) |
| 2025/03/03 19:48:32 | stdout | 11:48:32.152 [OkHttp http://192.168.31.2:2771/...] INFO http.logging -- --> POST http://192.168.31.2:2771/api/series/update (201-byte body) |
| 2025/03/03 19:48:32 | stdout | 11:48:32.125 [OkHttp http://192.168.31.2:2771/...] INFO http.logging -- <-- 200 OK http://192.168.31.2:2771/api/series/383 (8ms, unknown-length body) |
| 2025/03/03 19:48:32 | stdout | 11:48:32.116 [OkHttp http://192.168.31.2:2771/...] INFO http.logging -- --> GET http://192.168.31.2:2771/api/series/383 |
| 2025/03/03 19:48:32 | stdout | 11:48:32.108 [DefaultDispatcher-worker-3] INFO snd.komf.mediaserver.metadata.MetadataUpdater -- updating series 20世紀少年 {玉皇朝} |
| 2025/03/03 19:48:32 | stdout | 11:48:32.033 [OkHttp https://lain.bgm.tv/...] INFO http.logging -- <-- 200 https://lain.bgm.tv/r/400/pic/cover/l/df/4f/2057_Iss3i.jpg (2ms, unknown-length body) |
| 2025/03/03 19:48:32 | stdout | 11:48:32.031 [OkHttp https://lain.bgm.tv/...] INFO http.logging -- --> GET https://lain.bgm.tv/r/400/pic/cover/l/df/4f/2057_Iss3i.jpg |
| 2025/03/03 19:48:32 | stdout | 11:48:32.006 [OkHttp https://api.bgm.tv/...] INFO http.logging -- <-- 200 https://api.bgm.tv/v0/subjects/2057/subjects (367ms, unknown-length body) |
| 2025/03/03 19:48:31 | stdout | 11:48:31.638 [OkHttp https://api.bgm.tv/...] INFO http.logging -- --> GET https://api.bgm.tv/v0/subjects/2057/subjects |
| 2025/03/03 19:48:31 | stdout | 11:48:31.613 [OkHttp https://api.bgm.tv/...] INFO http.logging -- <-- 200 https://api.bgm.tv/v0/subjects/2057 (430ms, unknown-length body) |
| 2025/03/03 19:48:31 | stdout | 11:48:31.182 [OkHttp https://api.bgm.tv/...] INFO http.logging -- --> GET https://api.bgm.tv/v0/subjects/2057 |
| 2025/03/03 19:48:31 | stdout | 11:48:31.174 [DefaultDispatcher-worker-9] INFO snd.komf.mediaserver.metadata.MetadataService -- Setting metadata for series "20世紀少年 {玉皇朝}" 383 using BANGUMI 2057 |
| 2025/03/03 19:48:31 | stdout | 11:48:31.134 [OkHttp http://192.168.31.2:2771/...] INFO http.logging -- <-- 200 OK http://192.168.31.2:2771/api/series/volumes?seriesId=383 (18ms, unknown-length body) |
| 2025/03/03 19:48:31 | stdout | 11:48:31.115 [OkHttp http://192.168.31.2:2771/...] INFO http.logging -- --> GET http://192.168.31.2:2771/api/series/volumes?seriesId=383 |
I check the bangumi response body and it contains book covers info.
(https://api.bgm.tv/v0/subjects/2057/subjects)
I had the same issue and found out my books were not named to what komf required. Specifically my naming convention is "Series_Name - Vol.xxx", but komf requires "Vol. xxx" for volume numbers, note there needs to be both a dot and a space between Vol and the book number.
You could try to rename your file to "20世紀少年 {玉皇朝} Vol. 02". There are some other allowed name formats, you can find them in this file komf-core/src/commonMain/kotlin/snd/komf/util/BookNameParser.kt if interested.