public static XmlMetadata GetContentMetadata(int index) { XmlMetadata obj; try { LoggingHelpers.RecordGeneralEntry("Getting movie metadata XML"); var result = RowGet.GetDataRowContent(index); obj = XmlMetadataHelpers.GetMetadata(result); } catch (Exception ex) { LoggingHelpers.RecordException(ex.Message, "GetMovieMetadataError"); obj = new XmlMetadata(); } return(obj); }
public static XmlMetadata GetTracksListXml(int index) { XmlMetadata obj; try { LoggingHelpers.RecordGeneralEntry("Getting track list XML"); var result = RowGet.GetDataRowAlbums(index); obj = XmlMetadataHelpers.GetMetadata(result); } catch (Exception ex) { LoggingHelpers.RecordException(ex.Message, "GetTrackListError"); obj = new XmlMetadata(); } return(obj); }