aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005/dsub/domain/MusicDirectory.java
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-09-04 17:39:05 -0700
committerScott Jackson <daneren2005@gmail.com>2014-09-04 17:39:05 -0700
commit0802ff8624311d9e56f45ca751154abc03c6f372 (patch)
tree895c436c46c648a0812cf3619653627bdfbdcd2a /src/github/daneren2005/dsub/domain/MusicDirectory.java
parentf56982435e236235f4230c2ddc679b06790cb7eb (diff)
downloaddsub-0802ff8624311d9e56f45ca751154abc03c6f372.tar.gz
dsub-0802ff8624311d9e56f45ca751154abc03c6f372.tar.bz2
dsub-0802ff8624311d9e56f45ca751154abc03c6f372.zip
Fixes for GenericEntryUpdater
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 {