Ok. As you can see the ->multiSRC variable is empty but there is a ->playerSRC variable which contains a serialized array of the file uuids. Try something like this (untested).
PHP Code:
<?php
foreach(deserialize($this->playerSRC, true) as $key => $uuid)
{
$trackModel = \FilesModel::findByUuid($uuid);
$tracks[$key]['path'] = $trackModel->path;
$tracks[$key]['name'] = $trackModel->name;
$tracks[$key]['meta'] = $trackModel->meta;
}
dump($tracks);
// deserialize() is a Contao function, "true" forces the return value to be an array even if it is empty.
?>
With a Model you can get any value from a data set (here from tl_files). e.g. from tl_user_group you have to use \UserGroupModel::findByPk($primaryKeyVariable). Also take a look into the docs https://docs.contao.org/books/cookbook/de/Models.html (Sorry there is no english translation so far).
Bookmarks