in 2,1.5 it was easy to manipulate the base_path for image or file - TVtypes and the path where the filemanager opens with:
$params['basePath'] = $basePath . $scriptProperties['resource_id'] . '/';
$inputForm = $tv->getRender($params, $value, $inputRenderPaths, 'input', $resourceId, $tv->get('type'));
This is no longer possible now this way with mediaSources, since they have fix pathes as they are now. I see no chance to have for example resource-depending pathes with the filemanager without having an additional identifier for the resource, from where the filemanager was opened.
Otherwise we would need a mediasource for each resource.
with dynamic sources there could be pathes for resources, for parents or ultimateparents, named by TVs or by the author of a resource, that each author can have its own folder, which opens automatically.
we only would need something like this in the mediasource-pathes for example
[[mediasource.res_id:getauthorpath]]
This would make mediasources very flexible and MODXly