public override void doWrite(TagWriter tagWriter, Playlist playlist, MasterPlaylist masterPlaylist) { if (masterPlaylist.getMediaData().Count > 0) { List <MediaData> mds = masterPlaylist.getMediaData(); foreach (MediaData md in mds) { writeAttributes(tagWriter, md, HANDLERS); } } }
private static void addMasterPlaylistErrors(MasterPlaylist playlist, HashSet <PlaylistError> errors) { foreach (PlaylistData playlistData in playlist.getPlaylists()) { addPlaylistDataErrors(playlistData, errors); } foreach (IFrameStreamInfo iFrameStreamInfo in playlist.getIFramePlaylists()) { addIFrameStreamInfoErrors(iFrameStreamInfo, errors); } foreach (MediaData mediaData in playlist.getMediaData()) { addMediaDataErrors(mediaData, errors); } }