import '../media/media_item.dart';
import 'livetv_program.dart';

/// A hub from the live TV discover endpoint, with both display and EPG data.
class LiveTvHubResult {
  final String title;
  final String hubKey;
  final List<LiveTvHubEntry> entries;

  const LiveTvHubResult({required this.title, required this.hubKey, required this.entries});
}

/// A single item in a live TV hub, holding both display metadata and EPG timing.
class LiveTvHubEntry {
  final MediaItem metadata;
  final LiveTvProgram program;

  const LiveTvHubEntry({required this.metadata, required this.program});
}
