Commit a654a9a
committed
Prevent "Error: Couldn't load module: (jpg)" messages
Check for a valid $formatClass before calling loadTagFormatForType() to avoid logging the following error msg when displaying cover art from the Now Playing view.
Slim::Formats::loadTagFormatForType (121) Error: Couldn't load module: (jpg) : [syntax error at (eval 5460) line 1, at EOF
Signed-off-by: Sam Y <syahres@gmail.com>1 parent 287ab9a commit a654a9a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
456 | | - | |
| 456 | + | |
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
| |||
0 commit comments