import '../../core/contracts/library.dart';


String? buildTmdbCtaLabel({
  required String mediaType,
  required TmdbLibraryHit? primaryHit,
  required int hitCount,
}) {
  if (primaryHit == null) return null;
  final hasProgress = (primaryHit.playbackPositionTicks ?? 0) > 0;
  return hasProgress ? '继续播放' : '播放';
}
