ampache / ampache-docker

Ampache docker package
http://ampache.org
96 stars 69 forks source link

Beetsremote catalog does not work #97

Open Wmartin417 opened 1 year ago

Wmartin417 commented 1 year ago

I have ampache install on docker as well as beets install in a separate docker, using the linuxserver image.

I make a beetsremote catalogue after enabling the catalogue plugin and it connects and gathers the art, tags, etc just fine.

However, when I go to play something from the catalogue, it tells me the following error:

2022-12-25T19:22:55+00:00 [user] (beets_catalog) -> Play: Started remote stream - http://172.60.0.220:8337/item/1/file#.flac
2022-12-25T19:22:55+00:00 [user] (play/index) -> Media http://172.60.0.220:8337/item/1/file#.flac (City of Ocala) does not have a valid filename specified

Opening the beets webUI via that IP:port, I can play and download the file just fine.

I have tried: Installing beets and running the web on the host and also tried installing beets and running the web in the ampache docker container.

Also tried both the develop and stable branch, same error.

Both give me the same error.

Any help on what to do next? Would greatly appreciate any help on this. Thanks.

lachlan-00 commented 1 year ago

possibly a bug here.

image

It is checking whether the link is readable and it's obviously not cause it's a url

lachlan-00 commented 1 year ago

I think this change should resolve it for you image

        if (filter_var($path, FILTER_VALIDATE_URL)) {
            return true;
        }

I'll make a new develop container today with this change