|
@@ -55,7 +55,7 @@ public class PlProcessorV2 implements HttpHandler
|
|
|
private List<PlayListItem> forceList;
|
|
|
private List<PlayListItem> history;
|
|
|
private final HashMap<String,WatchKey> registeredFolders;
|
|
|
- private HashMap<String,String> options;
|
|
|
+ private HashMap<String,Object> options;
|
|
|
private WatchService observer;
|
|
|
private final Object lock;
|
|
|
|
|
@@ -188,7 +188,7 @@ public class PlProcessorV2 implements HttpHandler
|
|
|
{
|
|
|
try
|
|
|
{
|
|
|
- clampPlayCount = Integer.valueOf(options.get("PLAYCOUNTLIMIT"));
|
|
|
+ clampPlayCount = Integer.valueOf(options.get("PLAYCOUNTLIMIT")+"");
|
|
|
}
|
|
|
catch(NumberFormatException lickme)
|
|
|
{
|
|
@@ -394,12 +394,12 @@ public class PlProcessorV2 implements HttpHandler
|
|
|
this.history = history;
|
|
|
}
|
|
|
|
|
|
- public HashMap<String, String> getOptions()
|
|
|
+ public HashMap<String, Object> getOptions()
|
|
|
{
|
|
|
return options;
|
|
|
}
|
|
|
|
|
|
- public void setOptions(HashMap<String, String> options)
|
|
|
+ public void setOptions(HashMap<String, Object> options)
|
|
|
{
|
|
|
this.options = options;
|
|
|
}
|