DSub for Android

Alternative Android Client for Subsonic

Moderators: daneren2005, moderators

Re: DSub for Android

Postby otis_bartleh » Tue Oct 09, 2012 4:27 pm

So after using it, it does seem faster than the Subsonic app, but, one thing that is driving me crazy is that the app isn't being themed like the subsonic app by my theme chooser theme. All the blue sticks out like a sore thumb when everything on my phone is red... Can you make the app themeable by the theme chooser?

One thing I would LOVE to see, a way to exit the app from the now playing tab. Currently it's like the Subsonic way, need to go to the playlist to bring up the lower icons, then go to the home tab, then menu, then exit. I would love to be able to just hit menu, exit from the now playing tab. How much easier would that be?! lol

And as mentioned, the UI could definitely use a makeover, the light grey could be dark when using a dark theme and the icons seem a bit ... old styled?

I hope this isn't taken as criticism, your app runs really well, and I do like it. I'm just throwing some things out there that I think could make it even better. Thanks!
otis_bartleh
 
Posts: 45
Joined: Tue Jan 25, 2011 7:20 pm
Location: Martinez, CA

Re: DSub for Android

Postby rage4order » Wed Oct 10, 2012 6:40 pm

I just pulled down the source code from Github and compiled the app under Eclipse, so I thought I'd provide some feedback...

* Had a few problems building it. Since the ActionBarSherlock library isn't included, I had to get it from its author, but after including it in the project, there was a resource problem because the library didn't have definitions for Theme.Sherlock.Light.ForceOverflow and Theme.Sherlock.ForceOverflow resources. After poking around a bit, I just omitted the .ForceOverflow and that resolved it. A couple of other problems I had were the same as the stock Subsonic app, i.e. missing French locale translations and minimum API level required was set to 7 but needed to be changed to 9. Once I addressed these, I was able to build the package.

* The buffering playback is still broken like it is in the stock app. Most of my library is encoded in FLAC, so streaming from my Subsonic server almost always involves transcoding to either MP3 or OGG. With MP3, there were some brief pauses during playback of the track that was still being downloaded. When using FLAC->ogg transcoding, the problem was even more severe, in that the track stopped playing once the entire track is cached. This is happening on my Galaxy Nexus running stock Jelly Bean ROM. A lot of other users seem to be having similar issues with the stock Subsonic app, so I have a suspicion that the whole download/playback code might have to be rewritten to make it work correctly. :-(

* The interface looks cleaner than the current market version of the Subsonic app. I especially like the lock screen and notification tray playback controls.

Overall, I like where you're going with this. Hope that the caching/playback issues get resolved. I'd like to help out with that, but at this time I'm not familiar enough with Android MediaPlayer API to know where the problem lies. I suspect it's in the doPlay() method in DownloadServiceImp.java but not sure how to fix it.
rage4order
 
Posts: 33
Joined: Mon Jun 29, 2009 8:58 pm

Re: DSub for Android

Postby daneren2005 » Thu Oct 11, 2012 2:24 am

The theme chooser difference are probably because I use ActionBarSherlock themes so I can apply ICS themeing to pre ICS. I don't know if there is really a way around it getting in the way of native theme choosers but I will take a look at it. I added the exit to the now playing tab. No offense taken I like the criticism. Not everything is something I can fix in a manageable time frame but I would rather know everything people find wrong with the app even if I don't have time to get around to all of it.

As for the ActionBarSherlock compiling problem, you maybe just didn't put it in the correct place? I put it right above the root where the subsonic folder was. Also I use Netbeans so I don't know if that is a cause of issues as well or not.

The pause problem during playback is something I have tried to reproduce in the past and just haven't been able to do. I will take another look at the code now that I am more familiar with how this project works, but I still can't make any promises that I will be any more successful then last time :(
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: DSub for Android

Postby gaui » Thu Oct 11, 2012 10:47 am

Is it possible to stream through Bluetooth? If so, how?

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

Re: DSub for Android

Postby otis_bartleh » Thu Oct 11, 2012 4:47 pm

daneren2005 wrote:The theme chooser difference are probably because I use ActionBarSherlock themes so I can apply ICS themeing to pre ICS. I don't know if there is really a way around it getting in the way of native theme choosers but I will take a look at it. I added the exit to the now playing tab. No offense taken I like the criticism. Not everything is something I can fix in a manageable time frame but I would rather know everything people find wrong with the app even if I don't have time to get around to all of it.

As for the ActionBarSherlock compiling problem, you maybe just didn't put it in the correct place? I put it right above the root where the subsonic folder was. Also I use Netbeans so I don't know if that is a cause of issues as well or not.

The pause problem during playback is something I have tried to reproduce in the past and just haven't been able to do. I will take another look at the code now that I am more familiar with how this project works, but I still can't make any promises that I will be any more successful then last time :(


Very cool, thanks!
otis_bartleh
 
Posts: 45
Joined: Tue Jan 25, 2011 7:20 pm
Location: Martinez, CA

Re: DSub for Android

Postby Johanson » Fri Oct 12, 2012 8:22 am

First of all, thanks for developing DSub! I think it has some major advantages. I read that you are focusing on adding songs to existing playlists and other playlist related features. That's great because those are things we are missing.
Johanson
 
Posts: 1
Joined: Fri Oct 12, 2012 8:14 am

Re: DSub for Android

Postby mr_nobody » Fri Oct 12, 2012 2:10 pm

I'm just going to ask because I have no idea how much work it would be or if anyone else would be interested in such a feature but:

How hard would it be to add a sleep timer to the app? You know, the sort of thing that you can set to pause your music after 30 minutes or whatever. There are plenty of apps in the play store that purport to do this but I haven't found any yet that will work reliably with subsonic/dsub.
mr_nobody
 
Posts: 202
Joined: Thu May 31, 2012 8:17 pm

Re: DSub for Android

Postby daneren2005 » Tue Oct 16, 2012 2:57 am

mr_nobody wrote:I'm just going to ask because I have no idea how much work it would be or if anyone else would be interested in such a feature but:

How hard would it be to add a sleep timer to the app? You know, the sort of thing that you can set to pause your music after 30 minutes or whatever. There are plenty of apps in the play store that purport to do this but I haven't found any yet that will work reliably with subsonic/dsub.

I think I saw someone else already had a working example of it so I don't think it should be too hard to add :D

Edit: Yep it was so trivial that I just added it in the update I was planning on doing tonight.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: DSub for Android

Postby linkmk » Tue Oct 16, 2012 3:51 am

How i can find source code for compiling? anyone can helpme?


thanks
linkmk
 
Posts: 3
Joined: Thu Oct 04, 2012 4:12 am

Re: DSub for Android

Postby rage4order » Tue Oct 16, 2012 1:05 pm

It's in the original post of this thread....

https://github.com/daneren2005/Subsonic
rage4order
 
Posts: 33
Joined: Mon Jun 29, 2009 8:58 pm

Re: DSub for Android

Postby linkmk » Tue Oct 16, 2012 1:38 pm

rage4order wrote:It's in the original post of this thread....

https://github.com/daneren2005/Subsonic


thanks
linkmk
 
Posts: 3
Joined: Thu Oct 04, 2012 4:12 am

Re: DSub for Android

Postby mr_nobody » Tue Oct 16, 2012 3:18 pm

daneren2005 wrote:
mr_nobody wrote:I'm just going to ask because I have no idea how much work it would be or if anyone else would be interested in such a feature but:

How hard would it be to add a sleep timer to the app? You know, the sort of thing that you can set to pause your music after 30 minutes or whatever. There are plenty of apps in the play store that purport to do this but I haven't found any yet that will work reliably with subsonic/dsub.

I think I saw someone else already had a working example of it so I don't think it should be too hard to add :D

Edit: Yep it was so trivial that I just added it in the update I was planning on doing tonight.


Wow, that is freaking awesome! Thanks!

Is the update live in the play store yet?

Looking forward to it.

[edit]: Duh, I see it is updated. Can't wait to get home and try it out.
mr_nobody
 
Posts: 202
Joined: Thu May 31, 2012 8:17 pm

Re: DSub for Android

Postby mr_nobody » Tue Oct 16, 2012 6:22 pm

Just had a chance to quickly test the sleep timer at lunch and it didn't seem to work but maybe I'm misunderstanding how it's supposed to so...

Here's what I did: I set the sleep timer to On and the time setting to 1 which I assumed was one minute. Music was already playing and I assumed after changing these settings, the music would stop playing after one minute but it did not. Am I missing something? Device is running gingerbread in case that matters. Thanks.
mr_nobody
 
Posts: 202
Joined: Thu May 31, 2012 8:17 pm

Re: DSub for Android

Postby daneren2005 » Tue Oct 16, 2012 6:48 pm

mr_nobody wrote:Just had a chance to quickly test the sleep timer at lunch and it didn't seem to work but maybe I'm misunderstanding how it's supposed to so...

Here's what I did: I set the sleep timer to On and the time setting to 1 which I assumed was one minute. Music was already playing and I assumed after changing these settings, the music would stop playing after one minute but it did not. Am I missing something? Device is running gingerbread in case that matters. Thanks.

I just did exactly that and it worked for me. Try setting it to Always On? That shouldn't make any difference but worth a try.

Edit: Nm, I bet I know what it is. I think you will have to manually start a song before the timer starts. Hmm that is a bug. I'll have to change it so if the timer is going already and you change the settings it should start the timer. Also I think I want to add a start timer function from the Now Playing tab's menu (only display if Always On isn't set?)
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: DSub for Android

Postby mr_nobody » Tue Oct 16, 2012 7:42 pm

Yes, that sounds right to me (ie: changing settings starts timer). And having start timer accessible from now playing sounds like a great idea too!
mr_nobody
 
Posts: 202
Joined: Thu May 31, 2012 8:17 pm

PreviousNext

Return to DSub for Android

Who is online

Users browsing this forum: No registered users and 2 guests