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

Android TV app does not let me sign in #5

Open
AvMavs opened this issue Sep 18, 2022 · 2 comments
Open

Android TV app does not let me sign in #5

AvMavs opened this issue Sep 18, 2022 · 2 comments

Comments

@AvMavs
Copy link

AvMavs commented Sep 18, 2022

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
Copy link
Author

AvMavs commented Sep 24, 2022

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
Copy link

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:

  • Install Navidrome docker
  • Point it to my music and ensure it can see it
  • Create my androidtv user
  • Go straight to the TV, install SonicLair and try to connect.

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

  • Albums -> Favorites (hearted a random album in collection)
  • Albums -> Top rated (starred a random album in collection)
  • Albums -> Recently Played (played something on the web app with my androidtv user)
  • Albums -> Most Played (played something on the web app with my androidtv user)

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants