Please note, however, that not all the lyrics we have are synced: be sure to test with the top hits of the moment, which are typically synced. Double check that it is a Long value and try hardcoding it to 1L. The fact that lyrics do not appear as synced (they don't scroll automatically) may indicate an issue on the "position" extra in your intent. : cannot be cast to Īt android.os.Bundle.getBoolean(Bundle.java:864)Īt .BuiltInMusicAppReceiver.parseIntent(BuiltInMusicAppReceiver.java:65)Īt .AbstractPlayStatusReceiver.onReceive(AbstractPlayStatusReceiver.java:135) W/Bundle﹕ Attempt to cast generated internal exception: W/Bundle﹕ Key playing expected Boolean but value was a. For instance, this error appears if you pass a String value for the position, rather than a Long value: Keep an eye on on the log and look for warnings/errors. There are a few ways of troubleshooting you integration. Please note that, depending on your ADB version, whitespaces might need to be escaped, as you can see here:Īdb shell am broadcast -a -e track "Torn" -e artist "Natalie\ Imbruglia" -e album "Left\ of\ the\ Middle" -el position 1 -ez playing true -e scrobbling_source "" ![]() You can also use the following command line instructions, which match the previous snippets:Īdb shell am broadcast -a -e track "Torn" -e artist "Natalie Imbruglia" -e album "Left of the Middle" -e scrobbling_source "" -el position 1 -ez playing true adb shell am broadcast -a -e track "Torn" -e artist "Natalie Imbruglia" -e album "Left of the Middle" -el position 30000 -ez playing false -e scrobbling_source ""
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |