feat: enhance audio badge processing with intelligent metadata analysis
- Add EnhancedAudioMetadataExtractor for comprehensive Jellyfin MediaStreams analysis
- Implement quality-based audio stream selection (Atmos > DTS-X > TrueHD > DTS-HD > etc.)
- Add detailed logging for user visibility of codec selection reasoning
- Update JellyfinService with enhanced audio detection and fallback support
- Enhance LegacyAudioHandler with quality weighting for TV series analysis
- Fix shared.types import dependency by defining MediaType locally
- Support both single and batch processing workflows
- Map detected codecs to appropriate badge images in /images/codec/
The enhanced system prioritizes metadata analysis over width-based detection, provides comprehensive logging for troubleshooting, and maintains backward compatibility with existing legacy detection methods.
Tested with AAC and DTS audio streams - correctly identifies codecs, channels, bitrates, and special formats (Atmos, DTS-X, lossless) for accurate badge generation.