public ActionResult PostUpdatedMedia([FromBody, Required] MediaUpdateInfoDto dto) { foreach (var item in dto.Updates) { _libraryMonitor.ReportFileSystemChanged(item.Path ?? throw new ArgumentException("Item path can't be null.")); } return(NoContent()); }
public ActionResult PostUpdatedMedia([FromBody, Required] MediaUpdateInfoDto dto) { foreach (var item in dto.Updates) { _libraryMonitor.ReportFileSystemChanged(item.Path); } return(NoContent()); }