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.23 / 2013/04/01

Postby archrival » Tue Apr 02, 2013 1:37 am

Minor release: 3.9.9.23

Now that I am up and running, I decided to just get a new release out quickly. Please note: I had to create a new signing certificate, so you'll have to remove previous versions. Sorry for the inconvenience, from now on the signature will be backed up.

I'm a stickler for high quality album art, so I added a setting to disable server side scaling of album art. With this disabled, the server should provide unmodified album art. This way, we can store the original album art on the device and scale as necessary. Use caution when disabling server-side scaling; depending on album art quality, this could use a ton of bandwidth and disk space. I have also fixed scaling of album art to preserve the original aspect ratio, no more forced square album art. I also decided to randomize the album art displayed in the action bar when viewing a list of tracks. Previously, it would always display the album art for the first track in the list. For albums with consistent album art, this should look no different.

I cleaned up some code in the search settings area, nothing too major. Also fixed an invalid network access on the main thread when setting album art on the lockscreen controls.

Hopefully I will be able to get back on track now that things have slowed down.
archrival
 
Posts: 173
Joined: Wed May 26, 2010 6:02 am

Re: Updated Android Client for ICS/JB (3.9.9.22 / 2013/03/09

Postby archrival » Tue Apr 02, 2013 4:19 am

flvinny521 wrote:Thanks for your work on this client.

I have a question related to scrobbling tracks to last.fm. Does the client send the scrobble info as soon as a track begins playing, when it has finished playing, as it is being downloaded into cache, or on some other event?

I have a library that includes some tracks that I tend to skip frequently because they may belong to my wife, or they're by an artist or album I'm just "testing out," and I don't necessarily want those tracks srobbled immediately.


Scrobbling occurs any time a change in player state occurs (pause, start, stop, next, previous). There is code to ensure that the scrobble does not occur twice for the same track. If the player is currently playing, it will submit a "Now Playing" scrobble to the Subsonic API, if playback is complete it sends a "Submission" to the Subsonic API. The app does not currently support the 1.8.0 features of the Scrobble API.

If this is something important to you, I can try to add it to my TODO list.
archrival
 
Posts: 173
Joined: Wed May 26, 2010 6:02 am

Re: Updated Android Client for ICS/JB (3.9.9.24 / 2013/04/01

Postby archrival » Tue Apr 02, 2013 6:10 am

Minor release: 3.9.9.24

I went through the forum and tried to fix any outstanding bugs. I added repeat all and repeat once icons, please forgive the crudeness, I'm not an artist. In addition, I added a menu item to the main menu to go offline. It behaves the same way as selecting Offline from the server selection.
archrival
 
Posts: 173
Joined: Wed May 26, 2010 6:02 am

Re: Updated Android Client for ICS/JB (3.9.9.24 / 2013/04/01

Postby paul05 » Wed Apr 03, 2013 9:43 am

It's good that you already fixed it:) thanks..
Useful Tips To Help Keep Your iPhone Protected
paul05
 
Posts: 1
Joined: Tue Apr 02, 2013 7:30 pm

Re: UltraSonic for Android (1.0.0.25 / 2013/04/04)

Postby archrival » Thu Apr 04, 2013 9:48 pm

The app is now available on the Play Store. It is called UltraSonic now. Please give it a try!
archrival
 
Posts: 173
Joined: Wed May 26, 2010 6:02 am

Re: UltraSonic for Android (1.0.0.26 / 2013/04/06)

Postby archrival » Sun Apr 07, 2013 2:36 am

Minor release: 1.0.0.26

Fixed some items in Offline mode. I am also reading from the on disk ID3 tags if they are available, this should allow song display when offline to be much improved.
archrival
 
Posts: 173
Joined: Wed May 26, 2010 6:02 am

Re: UltraSonic for Android (1.0.0.26 / 2013/04/06)

Postby Siutsch » Sun Apr 07, 2013 10:31 am

I don't find the Ultrasonic App on the Play Store.

Can you please add a Link to it?
Siutsch
 
Posts: 1
Joined: Thu Aug 23, 2012 9:11 am

Re: UltraSonic for Android (1.0.0.26 / 2013/04/06)

Postby zadax » Sun Apr 07, 2013 12:52 pm

zadax
 
Posts: 2
Joined: Sun Mar 25, 2012 1:07 pm

Re: UltraSonic for Android (1.0.0.26 / 2013/04/06)

Postby daneren2005 » Mon Apr 08, 2013 6:28 pm

So after installing UltraSonic I have seen DSub randomly stop a few times. I pulled a stack trace of what is going on and I get this:

04-08 08:53:25.818 I/ActivityManager( 593): Start proc com.thejoshwa.ultrasonic.androidapp for service com.thejoshwa.ultrasonic.androidapp/.service.DownloadServiceImpl: pid=9181 uid=10075 gids={3003, 1015, 1028}
04-08 08:53:25.868 E/Trace ( 9181): error opening trace file: No such file or directory (2)
04-08 08:53:25.918 I/ActivityThread( 9181): Pub com.thejoshwa.ultrasonic.androidapp.provider.SearchSuggestionProvider: com.thejoshwa.ultrasonic.androidapp.provider.SearchSuggestionProvider
04-08 08:53:25.988 W/SRSFX (27911): EffectCreate 0x41f84b50
04-08 08:53:25.988 W/SRSGEQ5FX(27911): SRSGEQ5_Command: Init
04-08 08:53:25.988 W/SRSGEQ5FX(27911): SRSGEQ5_Command: Config
04-08 08:53:25.988 W/SRSGEQ5FX(27911): SRSGEQ5_Command: Set Device 8
04-08 08:53:26.008 I/AudioService( 593): Remote Control registerMediaButtonIntent() for PendingIntent{41b20960: PendingIntentRecord{4258b5c0 com.thejoshwa.ultrasonic.androidapp broadcastIntent}}
04-08 08:53:26.028 I/FileUtil( 9181): Deserialized object from /data/data/com.thejoshwa.ultrasonic.androidapp/cache/downloadstate.ser
04-08 08:53:26.028 I/DownloadServiceLifecycleSupport( 9181): Deserialized currentPlayingIndex: 0, currentPlayingPosition: 0
04-08 08:53:26.028 I/DownloadServiceLifecycleSupport( 9181): Serialized currentPlayingIndex: 0, currentPlayingPosition: 0
04-08 08:53:26.048 I/FileUtil( 9181): Serialized object to /data/data/com.thejoshwa.ultrasonic.androidapp/cache/downloadstate.ser
04-08 08:53:26.058 I/DownloadServiceImpl( 3994): STARTED -> PAUSED (DownloadFile (Lost in Hollywood))
04-08 08:53:26.078 I/DownloadServiceImpl( 9181): IDLE -> IDLE (DownloadFile (Roses Are Red))

I'm guessing you have the app coded to ask for audio focus when the Download Service is started? Can you change it to only get audio focus when something is actually played, otherwise it stops any media players that listen for loss of audio focus when it's killed/restarted in the background.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: UltraSonic for Android (1.0.0.26 / 2013/04/06)

Postby archrival » Tue Apr 09, 2013 6:12 am

daneren2005 wrote:So after installing UltraSonic I have seen DSub randomly stop a few times. I pulled a stack trace of what is going on and I get this:

04-08 08:53:25.818 I/ActivityManager( 593): Start proc com.thejoshwa.ultrasonic.androidapp for service com.thejoshwa.ultrasonic.androidapp/.service.DownloadServiceImpl: pid=9181 uid=10075 gids={3003, 1015, 1028}
04-08 08:53:25.868 E/Trace ( 9181): error opening trace file: No such file or directory (2)
04-08 08:53:25.918 I/ActivityThread( 9181): Pub com.thejoshwa.ultrasonic.androidapp.provider.SearchSuggestionProvider: com.thejoshwa.ultrasonic.androidapp.provider.SearchSuggestionProvider
04-08 08:53:25.988 W/SRSFX (27911): EffectCreate 0x41f84b50
04-08 08:53:25.988 W/SRSGEQ5FX(27911): SRSGEQ5_Command: Init
04-08 08:53:25.988 W/SRSGEQ5FX(27911): SRSGEQ5_Command: Config
04-08 08:53:25.988 W/SRSGEQ5FX(27911): SRSGEQ5_Command: Set Device 8
04-08 08:53:26.008 I/AudioService( 593): Remote Control registerMediaButtonIntent() for PendingIntent{41b20960: PendingIntentRecord{4258b5c0 com.thejoshwa.ultrasonic.androidapp broadcastIntent}}
04-08 08:53:26.028 I/FileUtil( 9181): Deserialized object from /data/data/com.thejoshwa.ultrasonic.androidapp/cache/downloadstate.ser
04-08 08:53:26.028 I/DownloadServiceLifecycleSupport( 9181): Deserialized currentPlayingIndex: 0, currentPlayingPosition: 0
04-08 08:53:26.028 I/DownloadServiceLifecycleSupport( 9181): Serialized currentPlayingIndex: 0, currentPlayingPosition: 0
04-08 08:53:26.048 I/FileUtil( 9181): Serialized object to /data/data/com.thejoshwa.ultrasonic.androidapp/cache/downloadstate.ser
04-08 08:53:26.058 I/DownloadServiceImpl( 3994): STARTED -> PAUSED (DownloadFile (Lost in Hollywood))
04-08 08:53:26.078 I/DownloadServiceImpl( 9181): IDLE -> IDLE (DownloadFile (Roses Are Red))

I'm guessing you have the app coded to ask for audio focus when the Download Service is started? Can you change it to only get audio focus when something is actually played, otherwise it stops any media players that listen for loss of audio focus when it's killed/restarted in the background.


I believe I have resolved this, please try 1.0.0.27 which should post in a few hours.
archrival
 
Posts: 173
Joined: Wed May 26, 2010 6:02 am

Re: UltraSonic for Android (1.0.1.2 / 2013/04/20)

Postby archrival » Sat Apr 20, 2013 10:30 pm

Feature release: 1.0.1.2

Add initial genre support from Subsonic 4.8. This will allow you to view the genres as well as page through all songs for that genre. Also added a new MUSIC heading that has quick access to Artists, Albums and Genres. Once there is a way to page through all songs, I'll add a Songs entry there as well. I have request a getSongs() API call, hopefully it is implemented.

Please note: the most recent public release of Madsonic only has partial support for genres. It classifies itself as API version 1.9.0, but it is incomplete. In my experience you'll receive the list of genres but they will be all lower case and you will not be able to view songs for the genre.

Another note: The getGenres() API call returns malformed XML (invalid characters are not escaped &,>,<,%). Sindre says this will be fixed in the next release. For the time being, I worked around it. It shouldn't cause any issues, but it might depending on the genre names used. I just didn't want to wait to implement the feature.
archrival
 
Posts: 173
Joined: Wed May 26, 2010 6:02 am

Re: UltraSonic for Android (1.0.1.2 / 2013/04/20)

Postby Eyden » Sun Apr 21, 2013 9:08 pm

Hi, possible to help you for french (and others langage) translation ?

This android app is the best we can find.
Eyden
 
Posts: 2
Joined: Sun Apr 21, 2013 8:56 pm

Re: UltraSonic for Android (1.0.1.2 / 2013/04/20)

Postby archrival » Sun Apr 21, 2013 9:18 pm

I will gladly take any help with translations you can provide. I removed the French because it was very incomplete. I know a little French but not enough to feel comfortable updating it. I can provide you with the latest English resource files and the old French one if you would like to fill in the gaps.

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

Re: UltraSonic for Android (1.0.1.2 / 2013/04/20)

Postby MadEvil » Sun Apr 21, 2013 11:02 pm

archrival wrote:Feature release: 1.0.1.2

Add initial genre support from Subsonic 4.8. This will allow you to view the genres as well as page through all songs for that genre. Also added a new MUSIC heading that has quick access to Artists, Albums and Genres. Once there is a way to page through all songs, I'll add a Songs entry there as well. I have request a getSongs() API call, hopefully it is implemented.

Please note: the most recent public release of Madsonic only has partial support for genres. It classifies itself as API version 1.9.0, but it is incomplete. In my experience you'll receive the list of genres but they will be all lower case and you will not be able to view songs for the genre.

Another note: The getGenres() API call returns malformed XML (invalid characters are not escaped &,>,<,%). Sindre says this will be fixed in the next release. For the time being, I worked around it. It shouldn't cause any issues, but it might depending on the genre names used. I just didn't want to wait to implement the feature.


hi there,

The REST API of Madsonic has the same API version as the original subsonic. I merged all commits into the fork for client compatibility.
I've added some new API functions, but does not change existing.

So the problem is in the original, but i can fix and advance the original. :wink:

Tell me if you have any wishes!

best regards
Madsonic Developer
User avatar
MadEvil
 
Posts: 354
Joined: Wed Nov 09, 2011 8:35 pm
Location: Vienna

Re: UltraSonic for Android (1.0.1.2 / 2013/04/20)

Postby archrival » Mon Apr 22, 2013 12:39 am

MadEvil wrote:
archrival wrote:Feature release: 1.0.1.2

Add initial genre support from Subsonic 4.8. This will allow you to view the genres as well as page through all songs for that genre. Also added a new MUSIC heading that has quick access to Artists, Albums and Genres. Once there is a way to page through all songs, I'll add a Songs entry there as well. I have request a getSongs() API call, hopefully it is implemented.

Please note: the most recent public release of Madsonic only has partial support for genres. It classifies itself as API version 1.9.0, but it is incomplete. In my experience you'll receive the list of genres but they will be all lower case and you will not be able to view songs for the genre.

Another note: The getGenres() API call returns malformed XML (invalid characters are not escaped &,>,<,%). Sindre says this will be fixed in the next release. For the time being, I worked around it. It shouldn't cause any issues, but it might depending on the genre names used. I just didn't want to wait to implement the feature.


hi there,

The REST API of Madsonic has the same API version as the original subsonic. I merged all commits into the fork for client compatibility.
I've added some new API functions, but does not change existing.

So the problem is in the original, but i can fix and advance the original. :wink:

Tell me if you have any wishes!

best regards


Well with build 4.8.3360, Madsonic has 2 flaws when calling getGenres():

They are all converted to lower case
Malformed XML is returned (for example: <genre>r&b</genre>, should be <genre>r&amp;b</genre>)

In addition, getSongsByGenre() requires the genres to be in their original casing. So fixing getGenres() to return their original casing will solve the problem. Otherwise it appears getSongsByGenre() works ok.

If you can provide me a build which has the issues in getGenres() resolved and I'll be a very happy developer.
archrival
 
Posts: 173
Joined: Wed May 26, 2010 6:02 am

PreviousNext

Return to UltraSonic for Android

Who is online

Users browsing this forum: No registered users and 1 guest