getDisplaySubtitleFromMediaItem method

  1. @override
String getDisplaySubtitleFromMediaItem(
  1. MediaItem item
)
override

Given a MediaItem, return its subtitle. Some media items may allow overriding of values for display purposes. If a source does this, override this function.

Implementation

@override
String getDisplaySubtitleFromMediaItem(MediaItem item) {
  return path.dirname(item.mediaIdentifier);
}