Initial commit

This commit is contained in:
admin1
2026-07-14 11:11:36 +08:00
commit 656499cf94
604 changed files with 119518 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
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 ? '继续播放' : '播放';
}