At the moment I am using this following code to check my test data folder for m3u (playlist) file:
String filename = "test-data\\non-existent-playlist.m3u";
boolean isHeaderValid = M3UReader.isValidHeader(filename);
System.out.println(filename + "header tested as "+ isHeaderValid);
I would like to be able to make the program scan the whole of the c drive or removable storage for playlists files but I cannot find any similar programs that do this.