private void SetMetadata(IMediaFile mediaFile)
 {
     _builder.SetContentTitle(mediaFile?.Metadata?.Title ?? string.Empty);
     _builder.SetContentText(mediaFile?.Metadata?.Artist ?? string.Empty);
     _builder.SetContentInfo(mediaFile?.Metadata?.Album ?? string.Empty);
     _builder.SetLargeIcon(mediaFile?.Metadata?.Art as Bitmap);
 }
        private void SetMetadata(IMediaFile mediaFile)
        {
            var title  = (mediaFile?.Metadata?.Title ?? string.Empty).Trim();
            var artist = (mediaFile?.Metadata?.Artist ?? string.Empty).Trim();

            var resultTitle = ((!string.IsNullOrWhiteSpace(title)) ? (title) : ((mediaFile == null) ? ("unknown title") : ("")));
            var resultText  = ((!string.IsNullOrWhiteSpace(artist)) ? (artist) : ((mediaFile == null) ? ("unknown artist") : ("")));

            _builder
            .SetContentTitle(resultTitle)
            .SetContentText(resultText)
            .SetLargeIcon(mediaFile?.Metadata?.Art as Bitmap)
            .SetShowWhen(false);

            //_builder.SetContentTitle(mediaFile?.Metadata?.Title ?? string.Empty);
            //_builder.SetContentText(mediaFile?.Metadata?.Artist ?? string.Empty);
            //_builder.SetContentInfo(mediaFile?.Metadata?.Album ?? string.Empty);
            //_builder.SetLargeIcon(mediaFile?.Metadata?.Art as Bitmap);
        }