mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-07 13:56:37 +08:00
cl编译bug处理
cl编译bug处理
This commit is contained in:
@@ -105,6 +105,9 @@ func (e *EmbyService) rememberLibraryCover(id, cover string) {
|
|||||||
//
|
//
|
||||||
// Emby 主图只能显示单张,因此返回的正是网页拼图里最靠前的那张。
|
// Emby 主图只能显示单张,因此返回的正是网页拼图里最靠前的那张。
|
||||||
func (e *EmbyService) libraryCoverArtwork(ctx context.Context, id string) string {
|
func (e *EmbyService) libraryCoverArtwork(ctx context.Context, id string) string {
|
||||||
|
if e == nil {
|
||||||
|
return ""
|
||||||
|
}
|
||||||
if cached, ok := e.cachedLibraryCover(id); ok {
|
if cached, ok := e.cachedLibraryCover(id); ok {
|
||||||
return cached
|
return cached
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user