throw new IOException("Bad id");
}
DLNAResource dlna = res.get(0);
long len = dlna.length();
dlna.setPlayer(null);
Range range = RemoteUtil.parseRange(t.getRequestHeaders(), len);
Range.Byte rb = range.asByteRange();
InputStream in = dlna.getInputStream(range, root.getDefaultRenderer());
String mime = root.getDefaultRenderer().getMimeType(dlna.mimeType());
Headers hdr = t.getResponseHeaders();
LOGGER.debug("dumping media " + mime + " " + dlna);
hdr.add("Content-Type", mime);