DSub for Android

Alternative Android Client for Subsonic

Moderators: daneren2005, moderators

Re: DSub for Android

Postby mr_nobody » Fri Aug 30, 2013 2:54 pm

How big is the playlist? I've certainly had delays when I have 1000+ song playlists.
mr_nobody
 
Posts: 202
Joined: Thu May 31, 2012 8:17 pm

Postby flvinny521 » Fri Aug 30, 2013 3:25 pm

Well it is quite a large playlist, over 4000 songs. I expect a delay when I am loading that from my server, but I had already done that and started playback in the prior session.

I will try to reinstall and go from there.

Sent from my SPH-L900 using Tapatalk 4
flvinny521
 
Posts: 70
Joined: Thu Jul 28, 2011 1:48 pm

Re:

Postby daneren2005 » Fri Aug 30, 2013 5:58 pm

flvinny521 wrote:Well it is quite a large playlist, over 4000 songs. I expect a delay when I am loading that from my server, but I had already done that and started playback in the prior session.

I will try to reinstall and go from there.

Sent from my SPH-L900 using Tapatalk 4

Ah, yes, I can see why you might think that. On Android the only way to keep the playlists in sync between different sessions is to write it to a file. In between "sessions" the entire app is killed and everything wiped from memory, so I have to be able to reconstruct it from scratch. The larger the playlist, the more stuff has to be read from that file, and the longer it will take. I have read somewhere that serializing (the method used to save the playlist) is much slower then some of the alternatives, so I will have to look at changing how it's done so it will load faster, but no matter what it has to load from the disk.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Re:

Postby flvinny521 » Thu Sep 05, 2013 10:42 pm

daneren2005 wrote:Ah, yes, I can see why you might think that. On Android the only way to keep the playlists in sync between different sessions is to write it to a file. In between "sessions" the entire app is killed and everything wiped from memory, so I have to be able to reconstruct it from scratch. The larger the playlist, the more stuff has to be read from that file, and the longer it will take. I have read somewhere that serializing (the method used to save the playlist) is much slower then some of the alternatives, so I will have to look at changing how it's done so it will load faster, but no matter what it has to load from the disk.


With this in mind and being a bit more patient when launching the app, it seems like everything is working perfectly fine.

The only oddity I have found is that when a song advances, the BT position counter keeps going as if the previous song was still playing for another 12-15 seconds. The artist and title of the new track sometimes lag as well, but usually not as bad.
flvinny521
 
Posts: 70
Joined: Thu Jul 28, 2011 1:48 pm

Re: Re:

Postby daneren2005 » Thu Sep 05, 2013 11:01 pm

flvinny521 wrote:
daneren2005 wrote:Ah, yes, I can see why you might think that. On Android the only way to keep the playlists in sync between different sessions is to write it to a file. In between "sessions" the entire app is killed and everything wiped from memory, so I have to be able to reconstruct it from scratch. The larger the playlist, the more stuff has to be read from that file, and the longer it will take. I have read somewhere that serializing (the method used to save the playlist) is much slower then some of the alternatives, so I will have to look at changing how it's done so it will load faster, but no matter what it has to load from the disk.


With this in mind and being a bit more patient when launching the app, it seems like everything is working perfectly fine.

The only oddity I have found is that when a song advances, the BT position counter keeps going as if the previous song was still playing for another 12-15 seconds. The artist and title of the new track sometimes lag as well, but usually not as bad.

Can you see if the same thing happens for GMusic? Sorry for continually telling people to do this, but without any hardware to test for myself, it seems to be the only way to determine whether or not it is a problem with my code or the framework itself.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: DSub for Android

Postby GJ51 » Fri Sep 06, 2013 12:14 am

Windows Phone 8 is starting to look better all the time ... LOL
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: Re:

Postby daneren2005 » Fri Sep 06, 2013 5:32 am

flvinny521 wrote:
daneren2005 wrote:Ah, yes, I can see why you might think that. On Android the only way to keep the playlists in sync between different sessions is to write it to a file. In between "sessions" the entire app is killed and everything wiped from memory, so I have to be able to reconstruct it from scratch. The larger the playlist, the more stuff has to be read from that file, and the longer it will take. I have read somewhere that serializing (the method used to save the playlist) is much slower then some of the alternatives, so I will have to look at changing how it's done so it will load faster, but no matter what it has to load from the disk.


With this in mind and being a bit more patient when launching the app, it seems like everything is working perfectly fine.

The only oddity I have found is that when a song advances, the BT position counter keeps going as if the previous song was still playing for another 12-15 seconds. The artist and title of the new track sometimes lag as well, but usually not as bad.

I did find a way to speed up the initial load fairly drastically (my basic playlist seems to be from the 300-500 ms range down to 30-70 ms). It seems to be causing other issues at the moment, but I should be able to iron out all of the wrinkles in time for the next release.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Re:

Postby flvinny521 » Fri Sep 06, 2013 10:01 am

daneren2005 wrote:
Can you see if the same thing happens for GMusic? Sorry for continually telling people to do this, but without any hardware to test for myself, it seems to be the only way to determine whether or not it is a problem with my code or the framework itself.


I will give that a try sometime over the weekend and let you know if GMusic fares any better.
flvinny521
 
Posts: 70
Joined: Thu Jul 28, 2011 1:48 pm

Re: DSub for Android

Postby mr_nobody » Mon Sep 09, 2013 8:51 pm

Don't recall if this has been reported but in the current version, I'm having a problem where if I play an album from Recently Added it works fine. However if I back out from that album to the screen that displays all of that artist's albums and go into one of them and click play, nothing ever plays/loads.

[edit]: Oh, btw the same thing happens if when I'm on the screen with the artist's albums, I hit the shuffle button.
mr_nobody
 
Posts: 202
Joined: Thu May 31, 2012 8:17 pm

Re: Re:

Postby flvinny521 » Mon Sep 09, 2013 9:37 pm

daneren2005 wrote:Can you see if the same thing happens for GMusic? Sorry for continually telling people to do this, but without any hardware to test for myself, it seems to be the only way to determine whether or not it is a problem with my code or the framework itself.


I drove my wife's car this weekend which doesn't show BT track data; give me some time to get back in my car and I'll test it out.
flvinny521
 
Posts: 70
Joined: Thu Jul 28, 2011 1:48 pm

Re: DSub for Android

Postby daneren2005 » Mon Sep 09, 2013 9:53 pm

mr_nobody wrote:Don't recall if this has been reported but in the current version, I'm having a problem where if I play an album from Recently Added it works fine. However if I back out from that album to the screen that displays all of that artist's albums and go into one of them and click play, nothing ever plays/loads.

[edit]: Oh, btw the same thing happens if when I'm on the screen with the artist's albums, I hit the shuffle button.

I'm not sure if I am doing it right. Went to Recently Added, clicked Brand New Eyes, clicked back, clicked another Paramore album (Riot!), clicked play and it worked. Did I miss a step?
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: DSub for Android

Postby mr_nobody » Tue Sep 10, 2013 1:30 am

Sorry I think I might have been having some network issues... Just tried both scenarios I outlined and they both worked.
mr_nobody
 
Posts: 202
Joined: Thu May 31, 2012 8:17 pm

Re: DSub for Android

Postby HeWhoIsLunchbox » Tue Sep 17, 2013 2:53 pm

The equalizer stopped working. When I try to click on EQ on the now playing screen, I get a message saying "Failed to start equalizer. Try restarting." Restarting the app made the EQ button disappear completely. I then forced stop on the app. The EQ button returned, but I still get the error message.

EDIT: Rebooting my phone solved the problem.
HeWhoIsLunchbox
 
Posts: 22
Joined: Wed Jul 20, 2011 11:21 pm

Postby gaui » Fri Oct 04, 2013 7:40 pm

Thank you for the latest update. Playlists are much faster to load. :)

Sent from my GT-I9300 using Tapatalk 4
gaui
 
Posts: 42
Joined: Tue May 15, 2012 5:07 am

Re: DSub for Android

Postby daneren2005 » Mon Oct 07, 2013 5:07 pm

Good I'm glad it helped. Did it help at all for you flvinny?
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

PreviousNext

Return to DSub for Android

Who is online

Users browsing this forum: No registered users and 12 guests