Subsonic For ICS Android 4.0

General discussions.

Moderator: moderators

Re: Subsonic For ICS Android 4.0

Postby ColdAssassin » Sun Jul 08, 2012 9:26 am

Ok it seems that I am still having permission issues with the app. Some files would have the proper permissions while others wouldn't. Is there a way to fix this?
ColdAssassin
 
Posts: 3
Joined: Tue Jul 03, 2012 8:11 am

Re: Subsonic For ICS Android 4.0

Postby ttabbal » Sun Jul 08, 2012 2:35 pm

ColdAssassin wrote:Ok it seems that I am still having permission issues with the app. Some files would have the proper permissions while others wouldn't. Is there a way to fix this?


what files? can you get a log and post your device and ROM?

I had some issues with the sdcard data a while back on my gnex running 4.0.4. I ended up wiping the sdcard to fix it. Subsonic wasn't the only app with issues, it just was the most noticeable. The files on /sdcard aren't supposed to have permissions restrictions on Android, so if they do, it's a ROM bug. An app can't do much about that.
ttabbal
 
Posts: 33
Joined: Thu May 27, 2010 8:57 pm

Re: Subsonic For ICS Android 4.0

Postby ColdAssassin » Mon Jul 09, 2012 10:16 pm

ttabbal wrote:
ColdAssassin wrote:Ok it seems that I am still having permission issues with the app. Some files would have the proper permissions while others wouldn't. Is there a way to fix this?


what files? can you get a log and post your device and ROM?

I had some issues with the sdcard data a while back on my gnex running 4.0.4. I ended up wiping the sdcard to fix it. Subsonic wasn't the only app with issues, it just was the most noticeable. The files on /sdcard aren't supposed to have permissions restrictions on Android, so if they do, it's a ROM bug. An app can't do much about that.


Im running Akop milestone 5 with franco kernel milestone 4 on a gnex. Its all mp3 files and its only some of them that are causing the problem. Do i need to wipe my sdcard to fix it?

Edit:It seems that milestone 6 just came out so i will do a full reset and wipe. I hope this fixes it.
ColdAssassin
 
Posts: 3
Joined: Tue Jul 03, 2012 8:11 am

Re: Subsonic For ICS Android 4.0

Postby rubbersoul » Thu Jul 12, 2012 9:09 pm

archrival wrote:I've started to mock up my changes for the Download/Now Playing tab. I've attached a few screenshots showing my changes. I switched to stock ICS icons for many things, personally I like them better, but that's just me. You can see these in the 2nd screenshot. Right now I only have the Portrait view mocked up, once I get it finalized I'll move on to the Landscape view.

I am not a fan of the reflection used in the album art. I have very high quality album art so I want my album art to be as large as possible during playback. I've done a number of things to the Now Playing tab:

    Enabled the Action Bar, now all tabs are consistent
    Removed visualization, I don't like it
    Removed menu, didn't work on post 3.x devices
    Moved EQ button to Action Bar (headphone icon)
    Moved Jukebox (RC) button to Action Bar (Speaker icon)
    Moved Remove All from menu to Action Bar (Trash can icon)
    Moved Save Playlist from menu to Action Bar (Disk icon)
    No replacement for Screen On/Off from menu, this setting is available in Settings
    Moved Repeat button to Playback Bar
    Allowed album art to fill the control
    Moved song title to playback bar and combined with artist (not sure I like this)

I'd love some feedback. Am I going too far with the changes? Is this something you like? Do people really use the visualization?

Screenshot_2012-05-29-23-37-33.png

Screenshot_2012-05-29-23-33-31.png
is this version available for download somewhere? just updated to JB and i need the ICS version of subsonic because the market version is just blah. i really like what you've done with the styling and i'm not a fan of the visualization either. just a waste of resources imo.

EDIT: nvm, here it is: https://github.com/archrival/Subsonic-Android
Last edited by rubbersoul on Fri Jul 13, 2012 1:12 pm, edited 1 time in total.
rubbersoul
 
Posts: 127
Joined: Thu Aug 18, 2011 2:27 pm

Re: Subsonic For ICS Android 4.0

Postby iwill » Thu Jul 12, 2012 9:58 pm

It might be worth implementing the larger notifications that Android 4.1 now allows
User avatar
iwill
 
Posts: 34
Joined: Wed Feb 29, 2012 7:38 pm
Location: Austin, TX

Re: Subsonic For ICS Android 4.0

Postby woostr » Fri Jul 13, 2012 1:18 am

oshogg wrote:I still have one problem with the latest build. When the bluetooth disconnects, I would like Subsonic to pause play automatically. And, when the bluetooth connects, Subsonic should automatically resume paused play. Is this expected to work in this build?

Note that my Bluetooh device doesn't send play/pause buttons on its own upon connection/disconnection (unfortunately).

Osho


This functionality worked on my HTC Incredible with the Market app. I recently got a Galaxy S3 and this doesn't work anymore. I haven't been able to find any record of it being functionality to the app, but I know it worked on my old phone. Can anyone confirm whether this was ever working functionality or was it just a hidden feature of my phone? If it was just the phone, would anybody be willing to take a crack at implementing this for me? I'm going to take a look through the source myself but I haven't done any Android dev before so I don't know how easy it will be to get through it myself.
woostr
 
Posts: 5
Joined: Tue Jul 10, 2012 8:53 pm

Re: Re: Subsonic For ICS Android 4.0

Postby jesusice » Fri Jul 13, 2012 2:43 am

ColdAssassin wrote:
ttabbal wrote:
ColdAssassin wrote:Ok it seems that I am still having permission issues with the app. Some files would have the proper permissions while others wouldn't. Is there a way to fix this?


what files? can you get a log and post your device and ROM?

I had some issues with the sdcard data a while back on my gnex running 4.0.4. I ended up wiping the sdcard to fix it. Subsonic wasn't the only app with issues, it just was the most noticeable. The files on /sdcard aren't supposed to have permissions restrictions on Android, so if they do, it's a ROM bug. An app can't do much about that.


Im running Akop milestone 5 with franco kernel milestone 4 on a gnex. Its all mp3 files and its only some of them that are causing the problem. Do i need to wipe my sdcard to fix it?

Edit:It seems that milestone 6 just came out so i will do a full reset and wipe. I hope this fixes it.


I'd try a different kernel. I believe Franco has implemented some SD tweaks that don't play nicely with some apps.
jesusice
 
Posts: 5
Joined: Fri May 04, 2012 12:55 pm

Re: Subsonic For ICS Android 4.0

Postby rubbersoul » Fri Jul 13, 2012 1:13 pm

iwill wrote:It might be worth implementing the larger notifications that Android 4.1 now allows
notification controls would be pretty awesome.
rubbersoul
 
Posts: 127
Joined: Thu Aug 18, 2011 2:27 pm

Re: Subsonic For ICS Android 4.0

Postby tsquillario » Sun Jul 15, 2012 5:16 pm

Nice! Good to see progress on this, keep up the good work. Would be nice to be able to swipe left or right to change sections like on the Evernote and G+ apps.

Runs good on my GNexus, thanks!
Jamstash Developer
Chrome App - https://chrome.google.com/webstore/detail/jccdpflnecheidefpofmlblgebobbloc
Beta Site - http://beta.jamstash.com
GitHub Project - https://github.com/tsquillario/Jamstash
User avatar
tsquillario
 
Posts: 206
Joined: Thu Jun 30, 2011 5:10 pm
Location: State College, PA

Re: Subsonic For ICS Android 4.0

Postby GJ51 » Sun Jul 15, 2012 5:29 pm

I just upgraded to a Galaxy SIII. Everything seems fine with music on the stock rom. I do have a few issues with video playback. A few stop short just like the problem some had with SS 4.6. I'm on 4.7b2 so that's not the problem. Also, some of the videos, especially movie trailers, have no sound. None of these symptoms were evident on my EVO 4g or 3D.

I'm guessing that these issues are related to the stock app from the Play Store, not being upgraded to ICS compatibility yet.

Other than those few glitches, the SIII is awesome and I'm happy that I still have access to all my music on the road.
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: Subsonic For ICS Android 4.0

Postby benofishal » Sun Jul 15, 2012 10:29 pm

ttabbal wrote:Well... I managed to apply that patch... It loads up OK. Anyone want to test it with hardware? I don't think I have anything that can do it.


I've just found this thread, excellent work here.

I was very interested in two things - one was this patch from ttabbal to send the metadata via Bluetooth to my car stereo, I can confirm this patch works perfectly and data is presented correctly to my stereo. It also seems to fix the inability of being able to play/pause from the car stereo as well so good work there ttabbal.

Obviously archrival you have removed this code from the current releases so I am running an old version.

Could this code be added into the latest version so I can enjoy the other enhancements as well?

Also does anyone have a good how to guide on building an APK from source? I see you have a few prebuilt ones on git hub but they are out of date.

In addition some work needs to be done on integration with Google Navigation. Tested today with the Play store version from Sindre before finding this thread. My music plays via Bluetooth in the car on Subsonic and Nav prompts were barely audible. Subsonic needs to have options to either pause when navigation prompts are spoken or to reduce it's volume significantly.

Also +1 for having option to automatically play/pause on bluetooth connection disconnection.

All in all great work here everyone, sorry I don't have the skills to contribute!!
benofishal
 
Posts: 10
Joined: Sun Jul 15, 2012 10:21 pm

Re: Subsonic For ICS Android 4.0

Postby rubbersoul » Mon Jul 16, 2012 1:45 am

i also have the same navigation problem. in the google music app, when nav directions are read, the music pauses temporarily and then resumes when the directions are finished being read. with subsonic the directions are simply read over the top of the music but at a low volume.

i am also getting a bug where playback skips typically once every time i play a new album. it doesn't skip for any tracks other than the first one usually at the beginning of the song.
rubbersoul
 
Posts: 127
Joined: Thu Aug 18, 2011 2:27 pm

Re: Subsonic For ICS Android 4.0

Postby woostr » Mon Jul 16, 2012 3:57 am

benofishal wrote:Also +1 for having option to automatically play/pause on bluetooth connection disconnection.


I've been able to get it to PLAY automatically by making the following change in BluetoothIntentReceiver (changes in red):

Code: Select all
boolean connected = state == BluetoothA2dp.STATE_CONNECTED;  // android.bluetooth.BluetoothA2dp.STATE_CONNECTED
        if (connected) {
            Log.i(TAG, "Connected to Bluetooth A2DP, requesting media button focus.");
            context.sendBroadcast(new Intent(DownloadServiceImpl.CMD_PLAY));
            Util.registerMediaButtonEventReceiver(context);
        }


I can't get it to pause automatically though on disconnect. I've tried both of the following, but neither seem to get the job done. When my car turns off and the Bluetooth disconnects, the music keeps playing out the phone's speaker as soon as it realizes the bluetooth is off. If anybody has any ideas on how to change this, please let me know. I'll post back here if I get it working in case any interested parties want the code.

Code: Select all
  boolean disconnected = [color=#FF0000](state == BluetoothA2dp.STATE_DISCONNECTED || state == BluetoothA2dp.STATE_DISCONNECTING)[/color]; // android.bluetooth.BluetoothA2dp.STATE_DISCONNECTED
        if (disconnected) {
            Log.i(TAG, "Disconnected from Bluetooth A2DP, requesting pause.");
            context.sendBroadcast(new Intent(DownloadServiceImpl.CMD_PAUSE)); [color=#FF0000]//This part was already in there, but doesn't seem to work properly I added the check for "STATE_DISCONNECTING".
        }

        if(BluetoothDevice.ACTION_ACL_DISCONNECTED.equals(action))
        {
           context.sendBroadcast(new Intent(DownloadServiceImpl.CMD_PAUSE));
        }
woostr
 
Posts: 5
Joined: Tue Jul 10, 2012 8:53 pm

Re: Subsonic For ICS Android 4.0

Postby benofishal » Mon Jul 16, 2012 11:09 pm

woostr wrote:
benofishal wrote:Also +1 for having option to automatically play/pause on bluetooth connection disconnection.


I've been able to get it to PLAY automatically by making the following change in BluetoothIntentReceiver (changes in red):

Code: Select all
boolean connected = state == BluetoothA2dp.STATE_CONNECTED;  // android.bluetooth.BluetoothA2dp.STATE_CONNECTED
        if (connected) {
            Log.i(TAG, "Connected to Bluetooth A2DP, requesting media button focus.");
            context.sendBroadcast(new Intent(DownloadServiceImpl.CMD_PLAY));
            Util.registerMediaButtonEventReceiver(context);
        }


I can't get it to pause automatically though on disconnect. I've tried both of the following, but neither seem to get the job done. When my car turns off and the Bluetooth disconnects, the music keeps playing out the phone's speaker as soon as it realizes the bluetooth is off. If anybody has any ideas on how to change this, please let me know. I'll post back here if I get it working in case any interested parties want the code.

Code: Select all
  boolean disconnected = [color=#FF0000](state == BluetoothA2dp.STATE_DISCONNECTED || state == BluetoothA2dp.STATE_DISCONNECTING)[/color]; // android.bluetooth.BluetoothA2dp.STATE_DISCONNECTED
        if (disconnected) {
            Log.i(TAG, "Disconnected from Bluetooth A2DP, requesting pause.");
            context.sendBroadcast(new Intent(DownloadServiceImpl.CMD_PAUSE)); [color=#FF0000]//This part was already in there, but doesn't seem to work properly I added the check for "STATE_DISCONNECTING".
        }

        if(BluetoothDevice.ACTION_ACL_DISCONNECTED.equals(action))
        {
           context.sendBroadcast(new Intent(DownloadServiceImpl.CMD_PAUSE));
        }


Sounds good but I have no idea how to add this to the source or how to compile!
benofishal
 
Posts: 10
Joined: Sun Jul 15, 2012 10:21 pm

Re: Subsonic For ICS Android 4.0

Postby benofishal » Tue Jul 17, 2012 7:58 pm

Seems I was too hasty in confirming the A2DP code was working correctly, whilst data is displayed correctly, subsonic seems to crash frequently which it doesn't with the play store version, nor the latest version from archrival, also track skip only goes forwards regardless of if I press forward or back.
benofishal
 
Posts: 10
Joined: Sun Jul 15, 2012 10:21 pm

PreviousNext

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest