Skip to content

Commit

Permalink
Need to expose new columns in artist objects.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Herger <[email protected]>
  • Loading branch information
michaelherger committed Mar 5, 2025
1 parent 8300aea commit cb6ca8f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Slim/Schema/Contributor.pm
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ initializeRoles();
namesearch
musicbrainz_id
extid
pictureid
picture
));

$class->set_primary_key('id');
Expand Down
2 changes: 1 addition & 1 deletion Slim/Utils/ImageResizer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ sub resize {
# Daemon available, do an async resize
AnyEvent::Socket::tcp_connect( 'unix/', SOCKET_PATH, sub {
my $fh = shift || do {
$log->error("daemon failed to connect: $! ($file)");
$log->warn("daemon failed to connect: $!");
$hasDaemon = undef;

if ( --$pending_requests == 0 ) {
Expand Down
2 changes: 1 addition & 1 deletion Slim/Web/Graphics.pm
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ sub artworkRequest {
# 'X' can be used instead of either W or H to determine automatically
my ($spec) = File::Basename::basename($path) =~ /_?((?:[0-9X]+x[0-9X]+)?(?:_\w)?(?:_[\da-fA-F]+)?(?:\.\w+)?)$/;

main::DEBUGLOG && $isInfo && $log->info(" Resize specification: $spec");
main::INFOLOG && $isInfo && $log->info(" Resize specification: $spec");

# /music/all_items (used in BrowseDB, just returns html/images/albums.png)
if ( $path =~ m{^music/all_items} ) {
Expand Down

0 comments on commit cb6ca8f

Please sign in to comment.