Write a method in your version of the project that plays samples of all the tracks by a particular artist, one after the other. The listMatching method illustrates the basic structure you need for this method. Make sure that you choose an artist with more than one file. Use the playAndWait method of the MusicPlayer, rather than the startPlaying method; otherwise, you will end up playing all the matching tracks at the same time. The play- AndWait method plays the beginning of a track (about 15 seconds) and then returns.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.