UltraSonic for Android (1.2.0.7 / 2013/07/20)

Discussion for the UltraSonic App for Android

Moderator: moderators

Re: Updated Android Client for ICS/JB (3.9.9.20 / 2013/02/10

Postby bkrodgers » Wed Feb 20, 2013 8:37 pm

KicknGuitar wrote:Just began using this badboy today. I love the slight adjustments from the standard Subsonic. I'd love to see gapless happen too. :wink:
Unfortunately, subsonic keeps starting up on its own. Here's two logs:
https://www.dropbox.com/s/3w7u20qynqgm6 ... t%2001.txt
https://www.dropbox.com/s/rb9ydpciwp2l1 ... t%2002.txt

Is this something I can fix on my end?

Cheers.


When you say it starts on its own, are you talking about the notification popping up spontaneously when you aren't using subsonic? Not that it starts playing, but the notification controls appear. Or does it start playing in the background, or even come to the front?

If it's just the notification showing up, I looked into that. I believe I have a code fix for that. I'll be sending archrival a pull request soon.
bkrodgers
 
Posts: 7
Joined: Fri Dec 03, 2010 5:05 am

Re: Updated Android Client for ICS/JB (3.9.9.20 / 2013/02/10

Postby archrival » Wed Feb 20, 2013 8:53 pm

That is sort of by design. If you have something in the playlist, I wanted it to appear in the notification so you could start playing immediately. Obviously i could make that a configurable option. Clicking stop will dismiss the notification but I haven't looked into what causes it to reappear sometimes. Please send what you have, perhaps it solves the problem.

Sent from my HTC6435LVW using Tapatalk 2
archrival
 
Posts: 173
Joined: Wed May 26, 2010 6:02 am

Re: Updated Android Client for ICS/JB (3.9.9.20 / 2013/02/10

Postby bkrodgers » Thu Feb 21, 2013 4:38 am

I believe what's happening is that for whatever reason the download service gets restarted. When it does, it initializes the play state to paused. I actually have two fixes in the pull request I'm sending you...they're probably redundant. I hadn't finished testing with one vs the other, but with both it didn't pop up at all today. But it sounds like one of them removes behavior you intended...if you intend to have the notification pop up right away at launch. Personally I prefer it not to do so, but that's fine if you intended to do it that way. I believe the change in net.sourceforge.subsonic.androidapp.service.DownloadServiceLifecycleSupport.deserializeDownloadQueue() on its own would do the job if you want to preserve the functionality. The change in net.sourceforge.subsonic.androidapp.service.DownloadServiceImpl.doPlay(DownloadFile, int, boolean) should also do the job, but it means the notification does not pop up until something starts playing.

Also in this change is a fix for the play/pause functionality not working with remotes that send the play command instead of play/pause. And I added having the metadata for the remote controls send the artist as well (i realize you're adding it to the title). I was also trying to find a solution for the lock screen controls not working consistently (they often just stop showing up on my DNA), but I haven't figured that one out yet.

EDIT: actually, after spending some time with the version that only includes the line in deserializeDownloadQueue(), it doesn't appear to fix the problem. But with the doPlay() option added, it seems to. Next up is testing if the doPlay() option without the deserializeDownloadQueue() option works. Of course, there may be yet another way to fix it that preserves the behavior of initial notification popup you like. But that's what I've found so far.
bkrodgers
 
Posts: 7
Joined: Fri Dec 03, 2010 5:05 am

Re: Updated Android Client for ICS/JB (3.9.9.20 / 2013/02/10

Postby pioneersohpioneers » Thu Feb 21, 2013 10:06 pm

pioneersohpioneers wrote:In the latest update (3.9.9.20), I don't have a notification widget...


I realized that I do have a notification/lockscreen widget, but only when music is paused
nickgw.subsonic.net
pioneersohpioneers
 
Posts: 28
Joined: Tue Jul 27, 2010 1:39 pm
Location: Boston

Re: Re: Updated Android Client for ICS/JB (3.9.9.20 / 2013/0

Postby archrival » Sat Feb 23, 2013 5:13 am

archrival wrote:
pioneersohpioneers wrote:Quick bug, in 3.9.9.20 (maybe earlier),

If you rotate the screen with "Starred Songs" loaded from the Server/Recently Added/Played etc tab (left most, don't know how to refer to the square of squares), the page reloads. Minor, but I thought I'd point it out.

Other than that, this version runs really well on my Rezound (4.2.1, w/ proxystream) and my NookTablet (4.2.1, haven't streamed yet).


Yep. I see that. I will add that to my list.

Sent from my HTC6435LVW using Tapatalk 2


Well this actually happens with any activity, as far as I know it always has. Probably not going to do anything with it right now.
archrival
 
Posts: 173
Joined: Wed May 26, 2010 6:02 am

Re: Updated Android Client for ICS/JB (3.9.9.20 / 2013/02/10

Postby archrival » Sat Feb 23, 2013 5:16 am

cofulese wrote:Great app. Any chance of adding the ability to delete locally cached content from any level, like artist folder, album folder, etc...

Cheers


Hmm, I will see what I can do. I keep squashing bugs, haven't had a chance to get to features yet. I have some interest in improving how files are selected when clearing the cache, perhaps it will fit in there.
archrival
 
Posts: 173
Joined: Wed May 26, 2010 6:02 am

Re: Updated Android Client for ICS/JB (3.9.9.20 / 2013/02/10

Postby archrival » Sat Feb 23, 2013 5:17 am

GrindheadJim wrote:
KicknGuitar wrote:
pioneersohpioneers wrote:I wonder if this has anything to do with subsonic not actually exiting when you choose menu -> exit. That functionality is more like a restart.


I never used menu-exit. I just use the back button.
I did try the exit from menu just now but it seems to only change views/windows not actually close subsonic.


I'm having the same issue, also the dreaded "host name cannot be null" error (which had a fix in another build here). Any workarounds?


This will be fixed in 3.9.9.21.
archrival
 
Posts: 173
Joined: Wed May 26, 2010 6:02 am

Re: Updated Android Client for ICS/JB (3.9.9.21 / 2013/02/22

Postby archrival » Sat Feb 23, 2013 5:54 am

Minor release: 3.9.9.21

Mostly fixes. Most were reported here a few found by me.

I would really like to know if the StreamProxy option works better now. Does anyone have any further results? It is working great for me.

Now that I have nearly all of the known bugs squashed, I plan on moving on to features. In fact I'm starting on the gapless playback, for Jelly Bean devices only, next.
archrival
 
Posts: 173
Joined: Wed May 26, 2010 6:02 am

Re: Updated Android Client for ICS/JB (3.9.9.21 / 2013/02/22

Postby daneren2005 » Sat Feb 23, 2013 6:45 am

Did removing the range in the proxy make it work with limited bitrate streams? That's the only relevant fix I see there so I was curious what that was supposed to change.

Sent from my HTC One X using Tapatalk 2
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Re: Updated Android Client for ICS/JB (3.9.9.21 / 2013/0

Postby archrival » Sat Feb 23, 2013 7:12 am

daneren2005 wrote:Did removing the range in the proxy make it work with limited bitrate streams? That's the only relevant fix I see there so I was curious what that was supposed to change.

Sent from my HTC One X using Tapatalk 2


Well I was never parsing any ranges on the initial request, so there was no need to say it was supported. Not sure if MediaPlayer uses it when trying to buffer, it may, but if I ever need to add it back I will do it correctly.

Sent from my HTC6435LVW using Tapatalk 2
archrival
 
Posts: 173
Joined: Wed May 26, 2010 6:02 am

Re: Updated Android Client for ICS/JB (3.9.9.21 / 2013/02/22

Postby hyatari » Sat Feb 23, 2013 7:18 am

Streamproxy has been working superb for me on my galaxy nexus 4.2.2. Flac > ogg vbr transcode and non transcoded mp3 working flawless. Only issue is the notification popping up seemingly at random. Seems to pop up whenever an app that uses the media volume has foreground but I'm not sure. And if I turn the notification off the music stops at times with the screen off which I assume means it lost focus or something. Anyhow I'll try the latest release and see how it goes.

New notification toggle working well for me also. Only shows notification when music playing which is how I prefer it. Thanks.
hyatari
 
Posts: 53
Joined: Thu Jan 28, 2010 11:56 pm

Re: Updated Android Client for ICS/JB (3.9.9.21 / 2013/02/22

Postby GrindheadJim » Sat Feb 23, 2013 6:58 pm

archrival wrote:Minor release: 3.9.9.21

Mostly fixes. Most were reported here a few found by me.

I would really like to know if the StreamProxy option works better now. Does anyone have any further results? It is working great for me.

Now that I have nearly all of the known bugs squashed, I plan on moving on to features. In fact I'm starting on the gapless playback, for Jelly Bean devices only, next.


You just made my day.

Small feature request for the GUI. I bought dSub before I knew of this project, and it does have one minor feature that I love. Instead of listing "go offline" as a server, it's a separate option, just below server selection. Can we have this on the next release as well?

Thank you so much for being diligent, responsive, and, above all else, damned competent.

SubSonic changed the way I look at music, and this app is a part of that. Thanks again!
User avatar
GrindheadJim
 
Posts: 23
Joined: Sun Feb 17, 2013 1:38 am

Re: Updated Android Client for ICS/JB (3.9.9.21 / 2013/02/22

Postby bkrodgers » Sat Feb 23, 2013 7:03 pm

Streamproxy works great for me here, though I've got the same Droid DNA you do. :) I'm doing straight streaming of MP3s with no transcoding on the server.

What kind of devices were having problems with the option?
bkrodgers
 
Posts: 7
Joined: Fri Dec 03, 2010 5:05 am

Re: Updated Android Client for ICS/JB (3.9.9.21 / 2013/02/22

Postby rubbersoul » Sat Feb 23, 2013 8:36 pm

I haven't noticed any bugs related to playback with stream proxy either. I don't limit my bandwidth.
rubbersoul
 
Posts: 127
Joined: Thu Aug 18, 2011 2:27 pm

Re: Updated Android Client for ICS/JB (3.9.9.21 / 2013/02/22

Postby pioneersohpioneers » Sat Feb 23, 2013 10:14 pm

GrindheadJim wrote:
archrival wrote:Minor release: 3.9.9.21

Mostly fixes. Most were reported here a few found by me.

I would really like to know if the StreamProxy option works better now. Does anyone have any further results? It is working great for me.

Now that I have nearly all of the known bugs squashed, I plan on moving on to features. In fact I'm starting on the gapless playback, for Jelly Bean devices only, next.


You just made my day.

Small feature request for the GUI. I bought dSub before I knew of this project, and it does have one minor feature that I love. Instead of listing "go offline" as a server, it's a separate option, just below server selection. Can we have this on the next release as well?

Thank you so much for being diligent, responsive, and, above all else, damned competent.

SubSonic changed the way I look at music, and this app is a part of that. Thanks again!


To add to this "Go Offline" option:
have a cache of songs played while "offline" to be scrobbled to last.fm
and
(the official app does osmething like this) when swapping between offline and an online server, have playback continue if hte song is cached
nickgw.subsonic.net
pioneersohpioneers
 
Posts: 28
Joined: Tue Jul 27, 2010 1:39 pm
Location: Boston

PreviousNext

Return to UltraSonic for Android

Who is online

Users browsing this forum: No registered users and 4 guests