BLeeEZ / amperfy

Amperfy is an iOS app to play songs from an Ampache or Subsonic server
GNU General Public License v3.0
446 stars 36 forks source link

iOS app sync freeze #209

Closed JonneSaloranta closed 7 months ago

JonneSaloranta commented 8 months ago

I'm using 1.1.3 version of the amperfy on iOS 17.3 and the app freezes on "Syncing artists".

I've got navidrome v0.50.2 running on a server behind nginx reverse proxy and Cloudflare and my music library contains ~100k songs.

Is there a way to skip the syncing so i could atleast open the app?

image

BLeeEZ commented 8 months ago

Are you able to connect to your server via an other iOS App? I tested the current Amperfy version with my own Navidrom server instance. There is no possibility to skip syncing screen.

JonneSaloranta commented 8 months ago

I'm using substreamer which works, but wanted to try amperfy since it looked nice. I noticed that substreamer also syncs after you've opened the app.

BLeeEZ commented 7 months ago

Do you get a response when you query your server with this URL (replace SERVERURL, USERNAME, PASSWORD): http://SERVERURL/rest/getArtists.view?u=USERNAME&v=1.13.0&c=Amperfy&p=PASSWORD

If should look something like this:

<subsonic-response status="ok" version="1.16.1" type="navidrome" serverVersion="0.47.5 (86fe1e3b)">
<artists lastModified="1704970868001" ignoredArticles="The El La Los Las Le Les Os As O A">
<index name="#">
<artist id="5338af695f89024e8a57c08ccfe1b814" name="+44" albumCount="1"/>
<artist id="9ce3df5cf37be0e94f2efa7ae5d6879d" name="009 Sound System" albumCount="1"/>
</index>
</artists>
</subsonic-response>
JonneSaloranta commented 7 months ago

Checked my navidrome server logs and there was this error everytime I'm opening amperfy.

time="2024-01-12T03:22:43Z" level=warning msg="Missing required parameter \"u\"" requestId=b84b69cf35dc/jtJSWDnp7q-032224

time="2024-01-12T03:22:43Z" level=warning msg="API: Failed response" endpoint=/rest/ping.view error=10 message="Missing required parameter \"u\"" requestId=b84b69cf35dc/jtJSWDnp7q-032224

Here's a small snippet of the quary since the full response was almost 8MB. Didn't notice anything unusual.

<subsonic-response
    xmlns="http://subsonic.org/restapi" status="ok" version="1.16.1" type="navidrome" serverVersion="0.50.2 (823bef54)" openSubsonic="true">
    <artists lastModified="1705028231004" ignoredArticles="The El La Los Las Le Les Os As O A">
        <index name="#">
            <artist id="68ea567b4a1ea2fea7dc28618aa964f3" name="#2Mashi" albumCount="4" coverArt="ar-68ea567b4a1ea2fea7dc28618aa964f3_0" artistImageUrl="https://REDACTED_URL/share/img/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImFyLTY4ZWE1NjdiNGExZWEyZmVhN2RjMjg2MThhYTk2NGYzXzAiLCJpc3MiOiJORCJ9.uk9xodqROtIUdStfFnFZAV42pLavUhJ1sTal1B1lewM?size=600"/>
            <artist id="98b49623d775fbec30e8091edcf61128" name="#kjør" albumCount="1" coverArt="ar-98b49623d775fbec30e8091edcf61128_0" artistImageUrl="https://REDACTED_URL/share/img/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImFyLTk4YjQ5NjIzZDc3NWZiZWMzMGU4MDkxZWRjZjYxMTI4XzAiLCJpc3MiOiJORCJ9.3mMgze-ircCRgBmTDU98Wv1siKphsO0-gQon4HE0fq4?size=600"/>
            <artist id="79fd31abb2195595a792ae009e4e4480" name="#Klasse" albumCount="1" coverArt="ar-79fd31abb2195595a792ae009e4e4480_0" artistImageUrl="https://REDACTED_URL/share/img/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImFyLTc5ZmQzMWFiYjIxOTU1OTVhNzkyYWUwMDllNGU0NDgwXzAiLCJpc3MiOiJORCJ9.GbjZqDgVviQXnOB2h0CklNSEy5hnajT_ADBfn-ITygs?size=600"/>
            <artist id="20f4f20086b7d932f89f6dd72e16b288" name="#kzn" albumCount="1" coverArt="ar-20f4f20086b7d932f89f6dd72e16b288_0" artistImageUrl="https://REDACTED_URL/share/img/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImFyLTIwZjRmMjAwODZiN2Q5MzJmODlmNmRkNzJlMTZiMjg4XzAiLCJpc3MiOiJORCJ9.4mStsN3HxkcApGiT5VxSV5bsCEiUwS4gzi68vCBW3qM?size=600"/>
            <artist id="4a33db57dc7a89950217e38af61f69c0" name="#ЗАЦВ" albumCount="1" coverArt="ar-4a33db57dc7a89950217e38af61f69c0_0" artistImageUrl="https://REDACTED_URL/share/img/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImFyLTRhMzNkYjU3ZGM3YTg5OTUwMjE3ZTM4YWY2MWY2OWMwXzAiLCJpc3MiOiJORCJ9.ACat-13amKRpcRQYlPOBKBW_RmVl5WefnywZu6C1ENg?size=600"/>
        </index>
    </artists>
</subsonic-response>