feat: add kBlurArtwork mode for store screenshots

Blurs all artwork and rotates vowels in metadata when enabled.
This commit is contained in:
edde746
2026-02-19 05:45:46 +01:00
parent d9bfb73146
commit bfe7d54dcf
9 changed files with 88 additions and 32 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
import '../widgets/plex_optimized_image.dart' show kBlurArtwork, obfuscateText;
import 'plex_metadata.dart';
/// Represents a Plex hub/recommendation section (e.g., Trending Movies, Top Thrillers)
@@ -54,7 +55,7 @@ class PlexHub {
return PlexHub(
hubKey: json['key'] as String? ?? '',
title: json['title'] as String? ?? 'Unknown',
title: kBlurArtwork ? obfuscateText(json['title'] as String? ?? 'Unknown') : json['title'] as String? ?? 'Unknown',
type: json['type'] as String? ?? 'hub',
hubIdentifier: json['hubIdentifier'] as String?,
size: (json['size'] as num?)?.toInt() ?? metadataList.length,