mirror of
https://github.com/spotiflacapp/SpotiFLAC-Mobile.git
synced 2026-06-01 03:15:17 +07:00
FFmpeg doesn't always embed lyrics correctly to MP3 files. This adds manual ID3v2.3 USLT (Unsynchronized Lyrics) frame writing after FFmpeg metadata embedding to ensure lyrics are properly stored. Implementation: - Extract lyrics from metadata (UNSYNCEDLYRICS or LYRICS key) - Build ID3v2.3 compliant USLT frame with UTF-16LE encoding - Insert or replace USLT frame in existing ID3v2.3 tag - Create new ID3v2.3 tag if file has no ID3 header - Skip gracefully for unsupported ID3 versions or flags Also includes minor audio analysis improvements: - Consistent dynamic range calculation (peak - rms) - Filter out 'unknown' and 'n/a' labels - Add -vn -sn -dn flags for more robust stream selection |
||
|---|---|---|
| .. | ||
| apk_downloader.dart | ||
| app_remote_config_service.dart | ||
| app_state_database.dart | ||
| cover_cache_manager.dart | ||
| csv_import_service.dart | ||
| download_request_payload.dart | ||
| downloaded_embedded_cover_resolver.dart | ||
| ffmpeg_service.dart | ||
| history_database.dart | ||
| library_collections_database.dart | ||
| library_database.dart | ||
| local_track_redownload_service.dart | ||
| notification_service.dart | ||
| platform_bridge.dart | ||
| share_intent_service.dart | ||
| shell_navigation_service.dart | ||
| update_checker.dart | ||