diff --git a/lib/models/livetv_channel.dart b/lib/models/livetv_channel.dart index 71bc39bb..dfbc5fa8 100644 --- a/lib/models/livetv_channel.dart +++ b/lib/models/livetv_channel.dart @@ -34,7 +34,7 @@ class LiveTvChannel { factory LiveTvChannel.fromJson(Map json) { return LiveTvChannel( - key: json['key'] as String? ?? json['ratingKey'] as String? ?? '', + key: json['key'] as String? ?? json['ratingKey'] as String? ?? json['identifier'] as String? ?? json['channelIdentifier'] as String? ?? '', identifier: json['identifier'] as String? ?? json['channelIdentifier'] as String?, callSign: json['callSign'] as String?, title: json['title'] as String? ?? json['callSign'] as String?, diff --git a/lib/services/plex_client.dart b/lib/services/plex_client.dart index 9ac416d8..cd2c43c5 100644 --- a/lib/services/plex_client.dart +++ b/lib/services/plex_client.dart @@ -2037,6 +2037,7 @@ class PlexClient { .where((ch) => ch.key.isNotEmpty) .toList(); } + appLogger.d('EPG channels: container keys=${container?.keys.toList()}, size=${container?['size']}'); return []; }, 'Failed to get EPG channels'); }