904 causing knocking noise?

Sounds like two issues; low oil level/restricted filter in the trans is one. Crankshaft end play could be the other, but on an auto car that would be rare.
try reving it up a little, is it idling a bit too slow, perhaps? or rough? Fresh gas I assume?
Was it, perhaps, parked for an expensive reason, such as a #6 rod ?