REST getIndexes returns empty while scanning

Need help? Post your questions here.

Moderator: moderators

REST getIndexes returns empty while scanning

Postby switz » Thu Jan 10, 2019 8:54 am

I'm on the latest version (6.1.5) and when my server is scanning, the getIndexes endpoint always returns empty. It's fine after scanning is complete.

This is only an issue because I'm running on a raspberry pi so scanning is slow (no big deal), but it means that during the scan, apps like iSub return nil artists.

The REST endpoint getArtists still returns the full list, but I presume iSub uses getIndexes, if that provides extra helpful info in any way. I'm also using postgres as the database, for a bit more info.

Here's my about page after I just started a scan, check out the Media Collection section. It seems like it clears out the collection somehow, even though on the website everything still shows up normally:


Code: Select all
License   Subsonic Premium
Version   6.1.5 (build 759abe) – December 1, 2018
Server   jetty-6.1.x, java 1.8.0_65, PostgreSQL, Linux (56.3 MB / 62.3 MB)
Terms of use   Subsonic uses licensed third-party libraries. Please note that Subsonic is not a tool for illegal distribution of copyrighted material. Always pay attention to and follow the relevant laws specific to your country.
Homepage   subsonic.org
Forum   forum.subsonic.org
Contact   Subsonic is developed and maintained by Sindre Mehus (sindre@activeobjects.no). If you have any questions, comments or suggestions for improvements, please visit the Subsonic Forum.
Media collection   0 artists
0 albums
1,096 songs
22.65 GB
168 hours


Full response from API:

Code: Select all
<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.16.1"/>
switz
 
Posts: 11
Joined: Mon Mar 18, 2013 8:22 pm

Return to Help

Who is online

Users browsing this forum: No registered users and 3 guests