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

Bug: Album Artist and Artists pictures not showing correctly due to wrong port #868

Open
Bpi031 opened this issue Dec 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Bpi031
Copy link

Bpi031 commented Dec 9, 2024

Expected Behavior

Description: There is an issue with the Album Artist pictures not displaying correctly. It seems to be caused by fetching the wrong port. The fetch artist image should follow the server connection and Navidrome port.
Expected behavior: The pictures should display correctly without any errors.
Error message:

Error fetching average color Error: FastAverageColor: Error loading image "https://abc.com/share/img/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImFyLWI5M2NiNjQ3MjI0NDk0YTdiZDZmNWFmMzk5NGY4YTY3XzAiLCJpc3MiOiJORCJ9.jGxsMOAvZ7xRXCIwaOeYGAyZygHHHtl_eCijXZ-LKZA?size=1200".
    at z (renderer.js:2:2001636)
    at Image.i (renderer.js:2:2004774), 

Correct get request:

URL:https://abc.com:4500/share/img/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImFyLWQ2NDk5YjkxOTAwZWYxYjJkYjM1ZDA0NDU3ODQ2YzA1XzAiLCJpc3MiOiJORCJ9.zwC1VQc--eRUpDIF1hOgSz1OoPh7BK8VhOhMmkS3xxE?size=1200

Status: 200

This issue seems to be similar to issues #90 and #317.

Current Behavior

The pictures are not displaying correctly and the error message above is shown.

Steps to Reproduce

1.Start the Navidrome server at port 4500.
2.Open the Feishin interface.
3.Navigate to the Album Artist or Artists page.
4.Observe that the pictures are not displaying correctly and the error message is shown.
5.Getting 403 (Forbidden) error message in console.

Possible Solution

Fetch artist image follows the server connection and Navidrome port. Update the code to dynamically use the correct port based on the server configuration.

Context

No response

Application version

0.12.1

Operating System and version

Macos 15.1.1

Server and Version

Navidrome 0.53.3

Node Version (if developing locally)

No response

Screenshot 2024-12-09 at 12 36 36 PM
@Bpi031 Bpi031 added the bug Something isn't working label Dec 9, 2024
@synchromatik
Copy link

hey there, i had the same bug- but apparently, navidrome have some issues with cover arts for artists. Take a look, it solved it for me
I suggest, going to any artists in navidrome, if the image is missing that's causing

After the fix:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants