aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005/dsub/domain/MusicDirectory.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/github/daneren2005/dsub/domain/MusicDirectory.java')
-rw-r--r--src/github/daneren2005/dsub/domain/MusicDirectory.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/domain/MusicDirectory.java b/src/github/daneren2005/dsub/domain/MusicDirectory.java
index a738f9bf..5b6bab26 100644
--- a/src/github/daneren2005/dsub/domain/MusicDirectory.java
+++ b/src/github/daneren2005/dsub/domain/MusicDirectory.java
@@ -139,6 +139,15 @@ public class MusicDirectory implements Serializable {
private Bookmark bookmark;
private int type = 0;
private int closeness;
+
+ public Entry() {
+
+ }
+ public Entry(Artist artist) {
+ this.id = artist.getId();
+ this.title = artist.getName();
+ this.directory = true;
+ }
public void loadMetadata(File file) {
try {