mirror of
https://github.com/R0m1k3/xtremobile.git
synced 2026-10-23 15:18:15 +02:00
feat: Implement MobileMoviesTab for displaying IPTV movies with category browsing and search functionality.
This commit is contained in:
1 parent
0010fe12ba
commit
f85f43e42f
17 files changed
+268
-136
No files matched your search
@@ -32,8 +32,7 @@ class VideoProfiler {
|
||||
static void markFirstFrame(String streamName) {
|
||||
final m = metrics[streamName];
|
||||
if (m != null) {
|
||||
m.firstFrameTime =
|
||||
DateTime.now().difference(m.loadStart).inMilliseconds;
|
||||
m.firstFrameTime = DateTime.now().difference(m.loadStart).inMilliseconds;
|
||||
if (kDebugMode) {
|
||||
print('🎬 FIRST FRAME: ${m.firstFrameTime}ms');
|
||||
}
|
||||
@@ -78,10 +77,9 @@ class VideoProfiler {
|
||||
final m = metrics[streamName];
|
||||
if (m != null) {
|
||||
m.endTime = DateTime.now();
|
||||
m.totalDurationMs =
|
||||
m.endTime!.difference(m.startTime).inMilliseconds;
|
||||
m.totalDurationMs = m.endTime!.difference(m.startTime).inMilliseconds;
|
||||
if (kDebugMode) {
|
||||
print('\n' + ('=' * 50));
|
||||
print('\n${'=' * 50}');
|
||||
print('📊 VIDEO METRICS: $streamName');
|
||||
print('=' * 50);
|
||||
m.printMetrics();
|
||||
@@ -93,7 +91,7 @@ class VideoProfiler {
|
||||
/// Get summary of all metrics
|
||||
static void printSummary() {
|
||||
if (kDebugMode) {
|
||||
print('\n' + ('=' * 50));
|
||||
print('\n${'=' * 50}');
|
||||
print('📈 VIDEO PROFILING SUMMARY');
|
||||
print('=' * 50);
|
||||
metrics.forEach((key, m) {
|
||||
|
||||
Reference in new issue
Block a user