OS of laptop? It can be done by setting up network and sharing and then the host pc is shown as a media device. The name of the network is different depending on OS hence the first question. Music can also be shared.
What is ransomware and how do I protect my PC from WannaCry?