diff options
-rw-r--r-- | src/github/daneren2005/dsub/domain/MusicDirectory.java | 56 |
1 files changed, 36 insertions, 20 deletions
diff --git a/src/github/daneren2005/dsub/domain/MusicDirectory.java b/src/github/daneren2005/dsub/domain/MusicDirectory.java index 1b3342bd..0cff955d 100644 --- a/src/github/daneren2005/dsub/domain/MusicDirectory.java +++ b/src/github/daneren2005/dsub/domain/MusicDirectory.java @@ -107,30 +107,32 @@ public class MusicDirectory implements Serializable { } public static class Entry implements Serializable { - private String id; - private String parent; + private String id; + private String parent; private String grandParent; private String albumId; private String artistId; - private boolean directory; - private String title; - private String album; - private String artist; - private Integer track; - private Integer year; - private String genre; - private String contentType; - private String suffix; - private String transcodedContentType; - private String transcodedSuffix; - private String coverArt; - private Long size; - private Integer duration; - private Integer bitRate; - private String path; - private boolean video; + private boolean directory; + private String title; + private String album; + private String artist; + private Integer track; + private Integer year; + private String genre; + private String contentType; + private String suffix; + private String transcodedContentType; + private String transcodedSuffix; + private String coverArt; + private Long size; + private Integer duration; + private Integer bitRate; + private String path; + private boolean video; private Integer discNumber; - private boolean starred; + private boolean starred; + private Integer rating; + private Bookmark bookmark; private int closeness; public void loadMetadata(File file) { @@ -392,6 +394,20 @@ public class MusicDirectory implements Serializable { public void setStarred(boolean starred) { this.starred = starred; } + + public Integer getRating() { + return rating; + } + public void setRating(Integer rating) { + this.rating = rating; + } + + public Bookmark getBookmark() { + return bookmark; + } + public void setBookmark(Bookmark bookmark) { + this.bookmark = bookmark; + } public int getCloseness() { return closeness; |