[Android] Save video streams as video playlist
Geoffrey Métais
git at videolan.org
Tue Jul 4 16:43:23 CEST 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jul 4 11:13:06 2017 +0200| [8ec74d28bf21f8e98c9803634de3e40d5329e115] | committer: Geoffrey Métais
Save video streams as video playlist
> https://code.videolan.org/videolan/vlc-android/commit/8ec74d28bf21f8e98c9803634de3e40d5329e115
---
vlc-android/src/org/videolan/vlc/PlaybackService.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index f72330239..969e9098b 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -1620,7 +1620,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
locations.append(" ").append(Uri.encode(mMediaList.getMRL(i)));
//We save a concatenated String because putStringSet is APIv11.
SharedPreferences.Editor editor = mSettings.edit();
- editor.putString(mMediaList.isAudioList() ? "audio_list" : "media_list", locations.toString().trim());
+ editor.putString(canSwitchToVideo() || !mMediaList.isAudioList() ? "media_list" : "audio_list", locations.toString().trim());
editor.apply();
}
More information about the Android
mailing list