Page 1 of 1

Offline mode slow to list tracks in album

PostPosted: Mon Jan 28, 2013 10:03 am
by cofulese
Hi there

First of all, thanks for the great app - it really enhances subsonic.

I have a question about offline mode. When I go into an album, it takes a noticeable amount of time to list the tracks. Listing tracks from the server in online mode is instant. Is this normal, or is there something I can do to speed up offline? Could it be an issue with DSub?

Thanks!

Sent from my GT-I9300 using Tapatalk 2

Re: Offline mode slow to list tracks in album

PostPosted: Mon Jan 28, 2013 3:02 pm
by daneren2005
If your device has slow file reading (especially if it is on a SD card) it is going to get the list of files slowly. Although for me it is much faster in offline mode then online mode, I can definitely see how it can possibly be much slower.

1) Do you have the same slowdowns in the main Subsonic app
2) Are you storing your music on a slow SD card?

Re: Offline mode slow to list tracks in album

PostPosted: Mon Jan 28, 2013 5:41 pm
by cofulese
I've pointed the subsonic android app to the same folder and set it to offline, and it's instant. I don't think its the sd card.

Sent from my GT-I9300 using Tapatalk 2

Re: Offline mode slow to list tracks in album

PostPosted: Mon Jan 28, 2013 6:08 pm
by daneren2005
Odd. I will have to look at the code then and see if I'm doing anything extra in offline mode that the main app isn't. I have an old phone with a SD card that I can try using and see if I have the same issue.

Re: Offline mode slow to list tracks in album

PostPosted: Mon Jan 28, 2013 7:49 pm
by cofulese
Cheers. For info, I've tried it on a Samsung Galaxy S3 using an SD card, and on a Nexus 7 which only has internal storage, both are slow offline.

Sent from my Nexus 7 using Tapatalk 2

Re: Offline mode slow to list tracks in album

PostPosted: Thu Jan 31, 2013 5:21 am
by daneren2005
Looking a little closer, it is slower because I am pulling metadata from the songs that are being displayed, which the original app doesn't do. This is used to display the bitrate and length of the file, as well as more info like genre if you look in the detail view. I will have to do it after the songs are displayed or something so that it doesn't hang the system while it looks up the information.