Song: add isDownloaded() method.

crossfading
Nekojimi 2 years ago
parent 983b4b0123
commit 76921f6855
  1. 6
      src/main/java/moe/nekojimi/chords/Song.java

@ -75,6 +75,11 @@ public class Song
return song;
}
public boolean isDownloaded()
{
return (location != null && location.exists() && location.canRead());
}
public String getTitle()
{
return title;
@ -191,5 +196,4 @@ public class Song
return formats.get(0);
}
}

Loading…
Cancel
Save