Commit e7ac23ed authored by Geoffrey Métais's avatar Geoffrey Métais

Abort loadLastPlaylist if none found

parent 1e345af2
......@@ -1284,6 +1284,8 @@ public class PlaybackService extends Service implements IVLCVout.Callback {
if (currentMedia.equals(""))
return;
String[] locations = mSettings.getString(audio ? "audio_list" : "media_list", "").split(" ");
if (locations.length == 0)
return;
List<String> mediaPathList = new ArrayList<String>(locations.length);
for (int i = 0 ; i < locations.length ; ++i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment