thelinkin3000 / SonicLair

A minimal, mobile-ready, album-centered music client for subsonic compatible music servers.
https://soniclair.vercel.app
MIT License
50 stars 4 forks source link

Android TV app does not let me sign in #5

Open AvMavs opened 2 years ago

AvMavs commented 2 years ago

Device: Sony Bravia X750H Android TV OS Version: 11

I tried signing in by typing the authentication details and it signed in and crashed on the home page. It crashes on relaunch.

I cleared data and reinstalled it and tried to sign in using the QR method, and it gives me the error Value null of type org.json.JSONObject$1 cannot be converted to JSONArray.

AvMavs commented 1 year ago

Fix: Add a list of played songs/albums to the account.

The app crashes on any page or section that is empty.

I think that needs a fix

pobouchard commented 1 year ago

I experienced the same issue.

My goal was to use this app on my TV, I did not have any existing Subsonic/Airsonic set up.

Here's the steps of what I did:

I had the same failures as AvMavs - the app would crash on startup until I had items shown in Navidrome in:

After I had items shown in Navidrome for all of those folders, SonicLair was now able to work on my TV. SonicLair on a phone did not care about these and worked right away, only the TV version was affected. It appears a user with a well established Subsonic server set up would not be affected, only new users like me.

The way I use this set up, I can easily wipe the Navidrome DB and start from scratch, so I can easily reproduce it or capture debugging info, packet captures, etc. so dev(s) please let me know if I can provide anything to help :)