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

Directory list gets truncated #61

Open
meve opened this issue Jun 18, 2015 · 2 comments
Open

Directory list gets truncated #61

meve opened this issue Jun 18, 2015 · 2 comments
Assignees
Milestone

Comments

@meve
Copy link

meve commented Jun 18, 2015

I noticed that the UI does not display the full list that is in mpd's internal database. I have narrowed it down to this request:

curl 'http://runeaudio.local/db/?cmd=browse' -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: en-US,en;q=0.5' -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'Cookie: PHPSESSID=5rmqij49at69vl97aml1fshi22; owa=false' -H 'Host: runeaudio.local' -H 'Referer: http://runeaudio.local/' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0' -H 'X-Requested-With: XMLHttpRequest' --data 'path=NAS%2Ftank&browsemode=file'

That does not return the full list, but truncates at some point.

127.0.0.1 - - [18/Jun/2015:09:55:31 +0200] "POST //?cmd=browse HTTP/1.0" 200 119465 "http://runeaudio.local/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"

May be related to #55, but I am not sure.

The end of the list looks something like this:

,{"directory":"NAS\/tank\/OST-Foo_Bar-FLAC-"}]

So it stops somewhere around the letter O in the alphabet. However, there is some more in there. I checked the MPD database by telnetting into it and querying it with the same command as cmd=browse does, which is (I believe at least):

lsinfo NAS/tank

and it returns the full list, so I suspect that it may be some php memory limitation.

@ACXgit
Copy link
Member

ACXgit commented Jun 20, 2015

Hi meve, thank you for the report, we'll investigate it.
Can you please test if that also happens with the latest nightly build?
http://www.runeaudio.com/documentation/troubleshooting/updating/#nightly-builds

@meve
Copy link
Author

meve commented Jun 20, 2015

Hey Andrea,

That seems to be working fine, for displaying the list at least. Can you please tell me what you think the solution was? Did it have something to do with reading data from the socket? The build does not render the playback view properly, same goes for the playlist view unfortunately. Library view is fine. I think I cleared all caches, but I am probably doing something wrong. I'll let you know.

Keep up the good work! Looking forward to 0.4 :).

@Orion1 Orion1 assigned Orion1 and hondagx35 and unassigned Orion1 and hondagx35 Jun 24, 2015
@Orion1 Orion1 added this to the RuneUI 1.4 milestone Jun 24, 2015
@Orion1 Orion1 assigned ACXgit and unassigned Orion1 Jun 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants