network time out on large folders

Need help? Post your questions here.

Moderator: moderators

Postby ShadowVlican » Wed Feb 16, 2011 1:26 pm

good thing the latest version of iSub now has this option
Added a tap to cancel load when loading folders so you never get stuck in the case of network issues


it's a needed feature given how often subsonic doesn't load large folders/playlists...
User avatar
ShadowVlican
 
Posts: 26
Joined: Fri Nov 05, 2010 12:49 pm
Location: Canada

Postby vicviper99 » Thu Jul 21, 2011 9:05 pm

So I love Subsonic, and I love that it gets updated regularly, but I am having this same issue with not being able to load large folders with lots of files subfolders. I just get network errors. The only way to access my music is by searching keywords. I'd really like to browse..... Is there a fix in sight for this? Perhaps the app could be set to cache these large directory structures on your phone rather than trying to read it from the server every time?
vicviper99
 
Posts: 2
Joined: Thu Jul 21, 2011 9:00 pm

Re: network time out on large folders

Postby jacob019 » Fri Jan 27, 2012 5:00 am

I compiled a modded version with 60 second timeouts instead of 10 seconds:
http://spot.jacobstoner.com/subsonic-mod.apk

You will need to uninstall the current version before installing this one. Since it is signed with a different key it will not install over the old one.

It's version 3.3 (version code 46)
The only thing I changed was RESTMusicService.java lines 111 and 112:
private static final int SOCKET_READ_TIMEOUT_DEFAULT = 60 * 1000; //changed from 10 to 60
private static final int SOCKET_READ_TIMEOUT_DOWNLOAD = 60 * 1000; //changed from 10 to 60
jacob019
 
Posts: 2
Joined: Mon Jun 06, 2011 4:43 am

Jacob019 You ROCK!

Postby RawFlyer » Wed Feb 08, 2012 7:44 am

Thank you!!

You've made my nearly 300gb music collection usable via subsonic on my phone.

I could very rarely connect to the server previously, but after installing your moded version of the ap, I haven't had a problem yet. I store all my music in lossless .flac files, but stream them in .mp3 using subsonic. Seems to be working great so far. Thanks again.
RawFlyer
 
Posts: 1
Joined: Wed Feb 08, 2012 7:16 am

Re: network time out on large folders

Postby MReptile » Sat Apr 07, 2012 8:18 pm

jacob019 wrote:I compiled a modded version with 60 second timeouts instead of 10 seconds:
It's version 3.3 (version code 46)
The only thing I changed was RESTMusicService.java lines 111 and 112:
private static final int SOCKET_READ_TIMEOUT_DEFAULT = 60 * 1000; //changed from 10 to 60
private static final int SOCKET_READ_TIMEOUT_DOWNLOAD = 60 * 1000; //changed from 10 to 60


Hey mate
Could you write a tutorial for noobs how to extract an Android .apk file and adapt those lines by hand?
I am really interested in doing such things on my own. It would be a great knowledge whenever a new version of subsonic is released.

Would you mind it to make such a tutorial?
MReptile
 
Posts: 6
Joined: Sun Jan 15, 2012 12:28 am

Re: network time out on large folders

Postby GJ51 » Sat Apr 07, 2012 9:47 pm

Version 4.7 is in active development, although I can't tell you how far off the next beta will be. Pefrormance issues are at the top of the list and are being worked on. I did get a look at a prerelease 4.7 site and it does look like it is significantly quicker, which should address this issue, but we won't know for certain until it's released.

It looks like ver. 4.7 is going to be a major revision of the database, search engine implementation, and video performace; among other things. This has been the longest time span I can recall between versions, so I'm pretty confident that Sindre is putting a lot of effort into getting a lot of things fixed in the next version.

We be keepin fingers crossed. :wink:


Early on I used to do a lot of modding, but then it just got harder and harder to keep track of everything I needed to do when a new version came out. Modding's fun and useful if you have the time, but for me it's been easier to give feedback to the dev in the feature request forum and to give good bug reports in the announcements section when the beta gets released. Takes a bit more patience, but Sindre really does listen to what goes on here in the forums and does try to get things fixed over time.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: network time out on large folders

Postby nicolash » Mon May 21, 2012 2:52 pm

Same issue with the android client.

I'll try your the alternative client but a fix in the official should be great !

Thankks !

edit : Thanks you , it works with the alternative client, could you do a tutorial to explain how you extract the apk and make the modification ? it'll be great. Thanks
nicolash
 
Posts: 3
Joined: Sun Mar 04, 2012 4:38 pm

Previous

Return to Help

Who is online

Users browsing this forum: No registered users and 36 guests