Adrian Ulrich fd3b4c152a Fix a crash bug due to mCurrentSong == null
This happens if:
* Notification is set to always
* The user empties the queue

This causes activeSongReplaced() to be called, so setCurrentSong(0); will be executed while mCurrentSong is already null.
Updating the notification in this state crashes with a null pointer.

However: The 'dangling' notification will have wrong information in this state - but it is still better than displaying an empty one as it just looks butt ugly.
We whould probably, at some point, design an 'empty notification view'
2015-09-16 19:48:54 +02:00
2015-09-14 20:46:46 +02:00
2015-04-11 09:01:40 +02:00
2015-08-19 20:20:21 +02:00
2015-04-11 09:01:40 +02:00
2015-01-05 13:14:42 -05:00
2015-01-04 21:03:45 +01:00
2015-04-10 11:49:10 +02:00

Vanilla Music

Vanilla Music player is a GPLv3 licensed MP3/OGG/FLAC/PCM player for Android with the following features:

  • multiple playlist support
  • grouping by artist, album or genre
  • plain filesystem browsing
  • ReplayGain support
  • headset/Bluetooth controls
  • accelerometer/shake control
  • cover art support
  • ScrobbleDroid support for Last.fm integration

Translating

You can help translate here. If your language isn't on the list, open an issue and I can add it.

Building

To build you will need:

  • A Java compiler compatible with Java 1.8
  • The Android SDK with platform 22 (Lollipop) installed

Building from command-line #1

  • gradle build to build the APK
  • Optional: gradle installDebug to install the APK to a connected device

Building from command-line #2

  • android update project --path . to generate local.properties
  • ant debug to build the APK at bin/VanillaMusic-debug.apk
  • Optional: ant installd to install the APK to a connected device

Building with Android Studio

You can also build with Android Studio by importing this project into it.

Building from Eclipse

You can also build from Eclipse. Create a new Android Project, choosing "Create project from exisiting source", then set the compiler compliance level to 1.6 in project settings.

Documentation

Javadocs can be generated using gradle javadoc or ant doc

Description
No description provided
Readme 27 MiB
Languages
Java 97.2%
HTML 1.3%
Perl 1%
Makefile 0.4%
Shell 0.1%