Offline mode slow to list tracks in album

Alternative Android Client for Subsonic

Moderators: daneren2005, moderators

Offline mode slow to list tracks in album

Postby cofulese » Mon Jan 28, 2013 10:03 am

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
cofulese
 
Posts: 6
Joined: Mon Jan 28, 2013 9:55 am

Re: Offline mode slow to list tracks in album

Postby daneren2005 » Mon Jan 28, 2013 3:02 pm

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?
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Offline mode slow to list tracks in album

Postby cofulese » Mon Jan 28, 2013 5:41 pm

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
cofulese
 
Posts: 6
Joined: Mon Jan 28, 2013 9:55 am

Re: Offline mode slow to list tracks in album

Postby daneren2005 » Mon Jan 28, 2013 6:08 pm

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.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Offline mode slow to list tracks in album

Postby cofulese » Mon Jan 28, 2013 7:49 pm

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
cofulese
 
Posts: 6
Joined: Mon Jan 28, 2013 9:55 am

Re: Offline mode slow to list tracks in album

Postby daneren2005 » Thu Jan 31, 2013 5:21 am

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.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm


Return to DSub for Android

Who is online

Users browsing this forum: No registered users and 57 guests