diff options
-rw-r--r-- | subsonic-android/AndroidManifest.xml | 4 | ||||
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/subsonic-android/AndroidManifest.xml b/subsonic-android/AndroidManifest.xml index 139010a9..636e87d8 100644 --- a/subsonic-android/AndroidManifest.xml +++ b/subsonic-android/AndroidManifest.xml @@ -2,8 +2,8 @@ <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="github.daneren2005.dsub"
android:installLocation="internalOnly"
- android:versionCode="45"
- android:versionName="3.8.6">
+ android:versionCode="46"
+ android:versionName="3.8.7">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java index 3bc5f4a9..fabeba6f 100644 --- a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java +++ b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java @@ -323,7 +323,7 @@ public class DownloadServiceImpl extends Service implements DownloadService { download(songs, false, false, false, false); if (currentPlayingIndex != -1) { play(currentPlayingIndex, autoPlayStart); - if (currentPlaying.isCompleteFileAvailable()) { + if (currentPlaying != null && currentPlaying.isCompleteFileAvailable()) { doPlay(currentPlaying, currentPlayingPosition, autoPlayStart); } autoPlayStart = false; |