Moderator: moderators
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.
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.
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.
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.
Tell me if you have any wishes!
best regards
Return to UltraSonic for Android
Users browsing this forum: No registered users and 0 guests