Skip to content
Snippets Groups Projects
Commit e7ac23ed authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Abort loadLastPlaylist if none found

parent 1e345af2
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment