Volumio-WebUI icon indicating copy to clipboard operation
Volumio-WebUI copied to clipboard

loadlib command returns empty 200 response

Open Atrejoe opened this issue 10 years ago • 5 comments

When attempting to load a somewhat large library the response seems to time out (at least it takes a long time), but still returns an empty 200 response, see:

Remote Address:192.168.1.108:80
Request URL:http://volumio/db/?cmd=loadlib
Request Method:POST
Status Code:200 OK
Request Headersview source
Accept:application/json, text/javascript, */*; q=0.01
Accept-Encoding:gzip,deflate
Accept-Language:en-US,en;q=0.8,nl;q=0.6,de;q=0.4
Cache-Control:no-cache
Connection:keep-alive
Content-Length:0
Cookie:PHPSESSID=hacrf8bssncpvl81k3gg71mhf6
DNT:1
Host:volumio
Origin:http://volumio
Pragma:no-cache
Referer:http://volumio/
User-Agent:Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.104 Safari/537.36
X-Requested-With:XMLHttpRequest
Query String Parametersview sourceview URL encoded
cmd:loadlib
Response Headersview source
Connection:keep-alive
Content-Type:text/html
Date:Mon, 20 Oct 2014 17:47:02 GMT
Server:nginx/1.2.1
Transfer-Encoding:chunked
X-Powered-By:PHP/5.4.4-14+deb7u7

When I was scanning the library was actually show, but as it grew lager it (naturally) became somewhat less responsive.

When I obtain the content of the Volumio library using an app on my phone or a desktop client it loads quite quickly.

Atrejoe avatar Oct 20 '14 17:10 Atrejoe

Hello,

I've made quite a lot of changes on the library, but it's not released yet. And only half of my work may be released in volumio next version, because the other part involves architecture changes, it will be for later. Basically, in the next version the client-side will be improved, and should not get overloaded as it sometimes is currently. But the server-side is still unchanged, which means that loading data is still going to take a while. Of course if anyone wants to try some fresh-made, not-so-tested code and not afraid to install 2-3 softwares... then we can get in touch!

jotak avatar Oct 20 '14 20:10 jotak

Not afraid at all. I'm am bit swamped timewise, but if you give me clear instructions, I'll try. I'm not so experienced on linux stuff, but am adept with the web.

Would it happen tot include Spotify connect?

Sorry about my late reply, I just found out that my reply-by-mail did not arrive.

Atrejoe avatar Oct 24 '14 17:10 Atrejoe

Hi, any news on this? I have the same problem. Are there any logs to scan for errors? Can I help debugging?

edivp avatar May 01 '15 12:05 edivp

How many tracks do you have in your library?

ning-yu avatar May 04 '15 00:05 ning-yu

Hi, currently I have 28,546 tracks in my library. mpd is working fine using other clients, so it seems to be a volumio UI issue...

edivp avatar May 05 '15 07:05 edivp