+3
Respost

Scrobble or API support?

Anònim fa 13 anys updated by Jona (Lead Developer) fa 10 anys 2
Hello - I am developing an Android application that would allow display of what is currently playing in media players on Android. I expect that this application will be well received in the marketplace and I am very interested in incorporating xiialive shoutcast support.

I am able to receive scrobble intents (for scrobbledroid, etc.) from other media players and use those intents for this purpose, but it appears I cannot use xiialive because it does not currently broadcast scrobbling intents.

Is there an API or broadcast intents from xiaalive that I can use to get "now playing" information from xiaalive, specifically for shoutcast?

Thank you for your assistance.

Robert Thompson

Answer

Answer
Respost
You can read the metadata coming from XiiaLive by listening to the following intent:

 /**
* Broadcast sent out every time there is new metadata available.
* @Extra 
* EXTRA_MEDIA_TRACK_TITLE <br>
* EXTRA_MEDIA_TRACK_ARTIST
*/
public final static String ACTION_NOTIFY_METADATA = "com.vblast.xiialive.service.ACTION_NOTIFY_METADATA";


OpenAPI:
http://xiialive.userecho.com/feedback/19817-new-open-apis/



What particular scrobbler intents where you hopping us to support?  Maybe we can implement them...
+1 for the API

Any news about this ?
Searching answer

You can read the metadata coming from XiiaLive by listening to the following intent:

 /**

* Broadcast sent out every time there is new metadata available.

* @Extra 

* EXTRA_MEDIA_TRACK_TITLE <br>

* EXTRA_MEDIA_TRACK_ARTIST

*/

public final static String ACTION_NOTIFY_METADATA = "com.vblast.xiialive.service.ACTION_NOTIFY_METADATA";

OpenAPI:

http://xiialive.userecho.com/feedback/19817-new-open-apis/


What particular scrobbler intents where you hopping us to support?  Maybe we can implement them...

How did you make out?  We are releasing support for Last.FM app scrobbling support on the next update.

Answer
Respost
You can read the metadata coming from XiiaLive by listening to the following intent:

 /**
* Broadcast sent out every time there is new metadata available.
* @Extra 
* EXTRA_MEDIA_TRACK_TITLE <br>
* EXTRA_MEDIA_TRACK_ARTIST
*/
public final static String ACTION_NOTIFY_METADATA = "com.vblast.xiialive.service.ACTION_NOTIFY_METADATA";


OpenAPI:
http://xiialive.userecho.com/feedback/19817-new-open-apis/



What particular scrobbler intents where you hopping us to support?  Maybe we can implement them...