84b6f442fc
Previously the MediaSession object created in PlaybackService in onCreate would be completely empty. This seemed to confuse Android Auto, and prevented it from restarting playback. Filling the MediaSession object using the data from the player state at onCreate resolves this problem. This is documented in Android Auto docs[1], albeit indirectly and somewhat confusingly. Also move the setSessionToken call to the end of onCreate handler to ensure that the media session has already been completely filled by the time the session token is made available to the framework. There is no evidence that this is required; however intuitively, this is likely the trigger for the framework to start querying the media session. The change was tested both with Desktop Head Unit and with a real vehicle. [1] https://developer.android.com/training/cars/media/#initial-playback-state |
||
---|---|---|
.github | ||
.tx | ||
app | ||
config | ||
event | ||
gradle/wrapper | ||
model | ||
net | ||
parser | ||
playback | ||
scripts | ||
storage | ||
ui | ||
.editorconfig | ||
.gitignore | ||
.gitmodules | ||
CONTRIBUTING.md | ||
CONTRIBUTORS.md | ||
LICENSE | ||
README.md | ||
build.gradle | ||
common.gradle | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
playFlavor.gradle | ||
settings.gradle |
README.md
AntennaPod
This is the official repository of AntennaPod, the easy-to-use, flexible and open-source podcast manager for Android.
Feedback
You can use the AntennaPod Forum for discussions about the app or just podcasting in general.
Bug reports and feature requests can be submitted here (please read the instructions on how to report a bug and how to submit a feature request first!).
We also hold regular community calls to discuss anything AntennaPod-related. Come join the next call!
Help to test AntennaPod
AntennaPod has many users and we don't want them to run into trouble when we add a new feature. It's important that we have a significant group test our app, so that we know all possible combinations of phones, Android versions and use cases work as expected. Check out our wiki on how to join our Beta testing program! If a bug is reported during the beta period, chances are high that it will be fixed before the stable version. If it is reported later, fixing might take another full beta cycle. So definitely let us know if something is not right.
License
AntennaPod is licensed under the GNU General Public License (GPL-3.0). You can find the license text in the LICENSE file.
Translating AntennaPod
If you want to translate AntennaPod into another language, you can visit the Transifex project page.
Building AntennaPod
You can build AntennaPod just like any other Android project. Refer to the instructions for more details.