public async Task <IActionResult> GetLibraryMetadata([Required] string authKey, [Required] string plexServerUrl, string libraryKey)
        {
            if (string.IsNullOrEmpty(authKey) || string.IsNullOrEmpty(plexServerUrl) ||
                string.IsNullOrEmpty(libraryKey))
            {
                return(BadRequest());
            }

            List <Metadata> items = await _plexService.GetLibraryItems(authKey, plexServerUrl, libraryKey);

            return(Ok(items));
        }