diff --git a/Squeezer/src/main/java/uk/org/ngo/squeezer/service/SqueezeService.java b/Squeezer/src/main/java/uk/org/ngo/squeezer/service/SqueezeService.java index 80c8f9172..9077bdb59 100644 --- a/Squeezer/src/main/java/uk/org/ngo/squeezer/service/SqueezeService.java +++ b/Squeezer/src/main/java/uk/org/ngo/squeezer/service/SqueezeService.java @@ -1518,7 +1518,7 @@ public void downloadItem(JiveItem item) throws HandshakeNotCompleteException { public Boolean randomPlayFolder(JiveItem item) { SlimCommand command = item.randomPlayFolderCommand(); - String folderID = (String) command.params.get("folder_id"); + String folderID = Util.getString(command.params, "folder_id"); if (folderID == null) { Log.e(TAG, "randomPlayFolder: No folder_id"); return false;