Subsonic Android 3.0.beta1 released

Announcements and discussion of new releases.

Moderator: moderators

Postby jsr » Wed Jul 13, 2011 4:40 pm

sindre_mehus wrote:Oops, that's a bummer... Please upgrade to 3.0.beta2 - it should work on Android 2.2 and earlier.


Beta 2 fixed my issues. Thanks!
jsr
 
Posts: 43
Joined: Wed Jun 29, 2011 1:30 pm
Location: Gilbert, AZ, USA

Postby sindre_mehus » Wed Jul 13, 2011 9:15 pm

lazarost wrote:Nop, only the force close button appears.

I even uninstalled and purged the settings but still the same behaviour.

One more logcat (in html) if it will help solve things.

https://docs.google.com/leaf?id=0B7mVVz ... OWIw&hl=el

I'd love to try anything.


Please download and install 3.0.beta2 again. I've modified it to log a crash report to the SD card (/sdcard/subsonic-stacktrace.txt) when an error happens. Please post the content of that file.

Thanks a million!
Sindre
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby alphawave7 » Thu Jul 14, 2011 3:27 am

I've mentioned this before, but there is an app called 'SendLog' in the market that may be able to capture the details when the SS app crashes. Set it up to email Sindre. :)
alphawave7
 
Posts: 1042
Joined: Thu Feb 11, 2010 9:54 am

Postby lazarost » Thu Jul 14, 2011 8:06 am

Here's the log:

Code: Select all

java.lang.RuntimeException: Unable to pause activity {net.sourceforge.subsonic.androidapp/net.sourceforge.subsonic.androidapp.activity.EqualizerActivity}: java.lang.IllegalArgumentException: AudioEffect: bad parameter value
   at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2475)
   at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2432)
   at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:2412)
   at android.app.ActivityThread.access$1700(ActivityThread.java:123)
   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:950)
   at android.os.Handler.dispatchMessage(Handler.java:99)
   at android.os.Looper.loop(Looper.java:130)
   at android.app.ActivityThread.main(ActivityThread.java:3835)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:507)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
   at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalArgumentException: AudioEffect: bad parameter value
   at android.media.audiofx.AudioEffect.checkStatus(AudioEffect.java:1179)
   at android.media.audiofx.Equalizer.getCurrentPreset(Equalizer.java:326)
   at net.sourceforge.subsonic.androidapp.audiofx.EqualizerController$EqualizerSettings.<init>(EqualizerController.java:111)
   at net.sourceforge.subsonic.androidapp.audiofx.EqualizerController.saveSettings(EqualizerController.java:69)
   at net.sourceforge.subsonic.androidapp.activity.EqualizerActivity.onPause(EqualizerActivity.java:85)
   at android.app.Activity.performPause(Activity.java:3851)
   at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1191)
   at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2462)
   ... 12 more
lazarost
 
Posts: 14
Joined: Wed Jun 01, 2011 9:49 am

Postby rosan » Thu Jul 14, 2011 11:26 am

Awesome update .
Thanks for all Sindre , keep going on this way your app is the best
Just a question :
Do you think Subsonic wiil integrate an upnp services at futur or not ?

Thanks for all
rosan
 
Posts: 1
Joined: Thu Jul 14, 2011 11:08 am

Postby sindre_mehus » Thu Jul 14, 2011 8:41 pm

lazarost wrote:Here's the log:

Code: Select all

java.lang.RuntimeException: Unable to pause activity {net.sourceforge.subsonic.androidapp/net.sourceforge.subsonic.androidapp.activity.EqualizerActivity}: java.lang.IllegalArgumentException: AudioEffect: bad parameter value
   at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2475)
   at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2432)
   at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:2412)
   at android.app.ActivityThread.access$1700(ActivityThread.java:123)
   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:950)
   at android.os.Handler.dispatchMessage(Handler.java:99)
   at android.os.Looper.loop(Looper.java:130)
   at android.app.ActivityThread.main(ActivityThread.java:3835)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:507)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
   at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalArgumentException: AudioEffect: bad parameter value
   at android.media.audiofx.AudioEffect.checkStatus(AudioEffect.java:1179)
   at android.media.audiofx.Equalizer.getCurrentPreset(Equalizer.java:326)
   at net.sourceforge.subsonic.androidapp.audiofx.EqualizerController$EqualizerSettings.<init>(EqualizerController.java:111)
   at net.sourceforge.subsonic.androidapp.audiofx.EqualizerController.saveSettings(EqualizerController.java:69)
   at net.sourceforge.subsonic.androidapp.activity.EqualizerActivity.onPause(EqualizerActivity.java:85)
   at android.app.Activity.performPause(Activity.java:3851)
   at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1191)
   at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2462)
   ... 12 more


Wonderful! I don't know exactly why this happens on your device, but I've changed the code so that it doesn't crash.

I've released version 3.0 to Android Market now. Please upgrade, and let me know if you should have any more problems.

Thanks again!
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby lazarost » Fri Jul 15, 2011 4:20 am

Problem solved with the last update. Thank you Sindre for taking the time to solve this.
lazarost
 
Posts: 14
Joined: Wed Jun 01, 2011 9:49 am

Postby madmage » Fri Jul 15, 2011 11:15 am

Hey Sindre,

OG Droid here, not getting the EQ and VIS buttons, even after killing the app and rebooting. :(

thanks again for all the hard work on Subsonic!
madmage
 
Posts: 8
Joined: Tue Jul 13, 2010 12:49 pm

Re: Subsonic Android 3.0.beta1 released

Postby mahikeulbody » Fri Jul 15, 2011 2:00 pm

sindre_mehus wrote:Hi,

New features:

o [...]
o Changed Unpin behavior, added Delete.

Could you explain what mean "pin", "unpin" and "delete" (there is also a "delete" into the menu) ?

Thanks for this very nice android client, I enjoy it all the day :-)
mahikeulbody
 
Posts: 17
Joined: Sat Aug 28, 2010 3:36 pm

Postby karvanapa » Fri Jul 15, 2011 2:20 pm

No EQ or VIS buttons for me either. Running stock android 2.2 with HTC Desire. Tried clearing app data, uninstalling and rebooting.
karvanapa
 
Posts: 13
Joined: Sun Jun 20, 2010 8:24 pm

Postby lefunque » Fri Jul 15, 2011 2:44 pm

Not getting EQ or VIS buttons either. Samsung Fascinate 2.2

edit for log:
D/dalvikvm(24146): GC_EXTERNAL_ALLOC freed 1637 objects / 108240 bytes in 25ms
E/dalvikvm(24146): Could not find class 'android.media.audiofx.Equalizer', referenced from method net.sourceforge.subsonic.androidapp.audiofx.EqualizerController.<init>
W/dalvikvm(24146): VFY: unable to resolve new-instance 58 (Landroid/media/audiofx/Equalizer;) in Lnet/sourceforge/subsonic/androidapp/audiofx/EqualizerController;
D/dalvikvm(24146): VFY: replacing opcode 0x22 at 0x0005
D/dalvikvm(24146): VFY: dead code 0x0007-0010 in Lnet/sourceforge/subsonic/androidapp/audiofx/EqualizerController;.<init> (Landroid/content/Context;Landroid/media/MediaPlayer;)V
W/dalvikvm(24146): VFY: unable to find class referenced in signature (Landroid/media/audiofx/Equalizer;)
I/dalvikvm(24146): Could not find method android.media.audiofx.Equalizer.getEnabled, referenced from method net.sourceforge.subsonic.androidapp.audiofx.EqualizerController.isEnabled
W/dalvikvm(24146): VFY: unable to resolve virtual method 159: Landroid/media/audiofx/Equalizer;.getEnabled ()Z
D/dalvikvm(24146): VFY: replacing opcode 0x6e at 0x0008
D/dalvikvm(24146): VFY: dead code 0x000b-000e in Lnet/sourceforge/subsonic/androidapp/audiofx/EqualizerController;.isEnabled ()Z
W/dalvikvm(24146): VFY: unable to find class referenced in signature (Landroid/media/audiofx/Equalizer;)
I/dalvikvm(24146): Could not find method android.media.audiofx.Equalizer.release, referenced from method net.sourceforge.subsonic.androidapp.audiofx.EqualizerController.release
W/dalvikvm(24146): VFY: unable to resolve virtual method 163: Landroid/media/audiofx/Equalizer;.release ()V
D/dalvikvm(24146): VFY: replacing opcode 0x6e at 0x0008
W/dalvikvm(24146): VFY: unable to find class referenced in signature (Landroid/media/audiofx/Equalizer;)
W/dalvikvm(24146): Exception Ljava/lang/RuntimeException; thrown during Lnet/sourceforge/subsonic/androidapp/audiofx/EqualizerController;.<clinit>
E/dalvikvm(24146): Could not find class 'android.media.audiofx.Visualizer', referenced from method net.sourceforge.subsonic.androidapp.audiofx.VisualizerController.<init>
W/dalvikvm(24146): VFY: unable to resolve new-instance 60 (Landroid/media/audiofx/Visualizer;) in Lnet/sourceforge/subsonic/androidapp/audiofx/VisualizerController;
D/dalvikvm(24146): VFY: replacing opcode 0x22 at 0x0005
I/dalvikvm(24146): Could not find method android.media.audiofx.Visualizer.getCaptureSizeRange, referenced from method net.sourceforge.subsonic.androidapp.audiofx.VisualizerController.<init>
W/dalvikvm(24146): VFY: unable to resolve static method 168: Landroid/media/audiofx/Visualizer;.getCaptureSizeRange ()[I
D/dalvikvm(24146): VFY: replacing opcode 0x71 at 0x0014
D/dalvikvm(24146): VFY: dead code 0x0007-000f in Lnet/sourceforge/subsonic/androidapp/audiofx/VisualizerController;.<init> (Landroid/content/Context;Landroid/media/MediaPlayer;)V
D/dalvikvm(24146): VFY: dead code 0x0017-002c in Lnet/sourceforge/subsonic/androidapp/audiofx/VisualizerController;.<init> (Landroid/content/Context;Landroid/media/MediaPlayer;)V
W/dalvikvm(24146): VFY: unable to find class referenced in signature (Landroid/media/audiofx/Visualizer;)
I/dalvikvm(24146): Could not find method android.media.audiofx.Visualizer.getEnabled, referenced from method net.sourceforge.subsonic.androidapp.audiofx.VisualizerController.isEnabled
W/dalvikvm(24146): VFY: unable to resolve virtual method 169: Landroid/media/audiofx/Visualizer;.getEnabled ()Z
D/dalvikvm(24146): VFY: replacing opcode 0x6e at 0x0008
D/dalvikvm(24146): VFY: dead code 0x000b-000e in Lnet/sourceforge/subsonic/androidapp/audiofx/VisualizerController;.isEnabled ()Z
I/dalvikvm(24146): Could not find method android.media.audiofx.Visualizer.release, referenced from method net.sourceforge.subsonic.androidapp.audiofx.VisualizerController.release
W/dalvikvm(24146): VFY: unable to resolve virtual method 171: Landroid/media/audiofx/Visualizer;.release ()V
D/dalvikvm(24146): VFY: replacing opcode 0x6e at 0x0008
W/dalvikvm(24146): Exception Ljava/lang/RuntimeException; thrown during Lnet/sourceforge/subsonic/androidapp/audiofx/VisualizerController;.<clinit>
Last edited by lefunque on Fri Jul 15, 2011 2:53 pm, edited 1 time in total.
lefunque
 
Posts: 2
Joined: Fri Jul 15, 2011 2:40 pm

Postby jsr » Fri Jul 15, 2011 2:52 pm

From the first post:

(Note that the equalizer and visualization will only appear on devices with Android 2.3 or later)
jsr
 
Posts: 43
Joined: Wed Jun 29, 2011 1:30 pm
Location: Gilbert, AZ, USA

Postby lefunque » Fri Jul 15, 2011 2:53 pm

Oh, bummer thanks.

jsr wrote:From the first post:

(Note that the equalizer and visualization will only appear on devices with Android 2.3 or later)
lefunque
 
Posts: 2
Joined: Fri Jul 15, 2011 2:40 pm

Postby madmage » Fri Jul 15, 2011 3:00 pm

jsr wrote:From the first post:

(Note that the equalizer and visualization will only appear on devices with Android 2.3 or later)


thanks jsr. missed that.

Sindre, can we get an option to disable the equalizer for 2.2 devices? music sounds crappy now and i can't see the eq button to fix it. :(
madmage
 
Posts: 8
Joined: Tue Jul 13, 2010 12:49 pm

Postby ace518 » Wed Jul 20, 2011 3:35 pm

since upgrading to 3.0 I am running into a new issue. When I get an email/text message/ or anything else that tries to play audio over subsonic, instead of subsonic muting it just sounds all garbled for a second. I'm on a verizon, sony experia play, running GB 2.3.2. Other than that bug, I like the new version.

Also, nice feature in spotify i'd recomend. When another audio tries to play, it pauses instead of muting. Not sure how its handled in subsonic, but the pausing is nice.
Another thing, the visualization is nice, is there any way to make it into a live wallpaper? Just curious. As always, great work, and thank you.
ace518
 
Posts: 13
Joined: Mon Apr 04, 2011 3:32 pm

PreviousNext

Return to Announcements

Who is online

Users browsing this forum: No registered users and 3 guests