I've gotten as far as creating my new tab and getting it to show up and I've taken a copy of the gallery screen (I'm making an audio plugin with a playlist feature). The list of media items shows up fine but I can only get it to show just the audio files when I don't pass a post ID into the
get_media_items() function like in the media library tab.
How I can retrieve a media items list using
get_media_items() where the post_parent field is set and the post_mime_type matches 'audio'?