Skip to content

Commit

Permalink
Fix resume mgmt bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SharkHunter committed Jun 6, 2013
1 parent 95f69ec commit fed1207
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/net/pms/dlna/RootFolder.java
Expand Up @@ -978,11 +978,10 @@ public boolean enable() {

// resume file mgmt
if (configuration.isResumeEnabled()) {
final File[] files = ResumeObj.resumeFiles();
if (files.length > 0) {
res.addChild(new VirtualFolder(Messages.getString("PMS.135"), null) {
@Override
public void discoverChildren() {
final File[] files = ResumeObj.resumeFiles();
addChild(new VirtualVideoAction(Messages.getString("PMS.136"), true) {
@Override
public boolean enable() {
Expand All @@ -1007,7 +1006,6 @@ public boolean enable() {
}
}
});
}
}

addChild(res);
Expand Down

0 comments on commit fed1207

Please sign in to comment.