1 indent too many, or:
```php
->setAttribute('value', $tracks->getAlbum()->getId());

same for artist and title below