70,000 Files Completely Breaks The User Interface

General discussions.

Moderator: moderators

70,000 Files Completely Breaks The User Interface

Postby elemenopy » Fri Mar 06, 2015 11:50 pm

f
Last edited by elemenopy on Sat Mar 07, 2015 3:22 am, edited 1 time in total.
elemenopy
 
Posts: 6
Joined: Wed Mar 04, 2015 3:46 pm

Re: 70,000 Files Completely Breaks The User Interface

Postby mikes » Sat Mar 07, 2015 12:43 am

Can't help much except to say I have no problem with more than that...
[3/6/15 3:05:35 AM EST] INFO MediaScannerService Scanned media library with 95482 entries
I'm running Subsonic on Debian Squeeze. I'm also using a "--max-memory=640" argument. Default is 100.
mikes
 
Posts: 64
Joined: Fri Aug 12, 2011 9:29 pm

Re: 70,000 Files Completely Breaks The User Interface

Postby acroyear » Sat Mar 14, 2015 8:13 pm

I'd need more of a description of what the problem is.

Some aspect may be browser (or platform) dependent. In the golden early days of UIs, there was a limit (technical: unsigned short) for the maximum position of a pixel on the screen in X and Y. This meant that any window > 65,000 pixels (approximate) would literally wrap around on itself, and things that should be > than that max would draw instead at the top of the page on top of what was already there.

I do not know how much that limitation still exists. If this is what you are seeing, well, there's not much you can do about it except use smaller playlists.

Joe
--
Joe Shelby
http://subfiresuite.com/
http://subfireplayer.net/
User avatar
acroyear
 
Posts: 779
Joined: Wed Mar 27, 2013 8:05 pm
Location: Northern, VA

Re: 70,000 Files Completely Breaks The User Interface

Postby akp » Sun May 24, 2015 3:13 am

I'm not the original poster, but I may be able to shed some light on this.

I'm trying out Subsonic with a library of about 20,000 songs. In general the default web UI seems to work ok. However, I also have a playlist that is basically all of my music. That doesn't work so well. When I try to play that playlist, the UI hangs. On Firefox, it sits there for about a minute, then eventually gives a script error and asks if you want to stop the script.

I haven't gone through the codebase and checked, but it looks like the UI is requesting the playlist from the server, and the server is returning the entire 20,000 song playlist. As the playlist comes in, the UI tries to render the table rows for all 20,000 entries. This is a crapton of work, and the browser gets all bogged down trying to render this huge page. And stopping the script doesn't work very well, particularly if you want to shuffle the playlist; it looks like the shuffle is done by the client rather than on the server, so if you stop the load of the playlist and try to shuffle it, then you only are shuffling the subset of the playlist that you managed to load.

Anyway. Like I said, I'm not the original poster. Could be something else that they were seeing.

-allen
akp
 
Posts: 2
Joined: Sun May 24, 2015 1:48 am


Return to General

Who is online

Users browsing this forum: No registered users and 5 guests