media_cast_dlna 0.1.1
media_cast_dlna: ^0.1.1 copied to clipboard
A powerful Flutter plugin for discovering and controlling DLNA/UPnP media devices. Cast your media to smart TVs, speakers, and other DLNA-enabled devices with ease! Built with Pigeon for type-safe nat [...]
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.1 - 2025-07-03 #
🔄 Refactored #
- Example App Complete Restructure: Major refactoring of the example application with clean architecture
- Service Layer Implementation: Added dedicated
MediaCastServicefor better separation of concerns - Modular Widget Architecture: Split UI into focused, reusable widgets
- State Management Improvements: Enhanced state management with proper lifecycle handling
✨ Enhanced #
- Device Details Modal: Improved device selection with detailed information display
- Real-time Monitoring: Enhanced connectivity and playback state monitoring
- Error Handling: Comprehensive error handling with user-friendly messages
- UI/UX Improvements: Modern, responsive interface with better visual feedback
- Code Organization: Clean folder structure with proper separation of concerns
🏗️ Architecture #
- Clean Architecture: Implemented layered architecture (presentation, services, data, core)
- Repository Pattern: Added test media repository for better data management
- Utility Classes: Centralized utility functions for formatting, media handling, and UI operations
- Constants Management: Centralized configuration and constants
- Theme System: Dedicated theme configuration for consistent styling
📁 New Structure #
core/- Constants, models, themes, and utilitiesdata/- Repositories and data sourcespresentation/- Widgets and UI componentsservices/- Business logic and external API interactions
🔧 Technical Improvements #
- Timer Management: Improved timer handling for real-time updates
- Memory Management: Better resource cleanup and disposal
- Performance: Optimized rendering and state updates
- Type Safety: Enhanced type safety throughout the codebase
📖 Documentation #
- Comprehensive Example README: Detailed documentation for the example app
- Code Comments: Improved inline documentation
- Architecture Guide: Clear explanation of the project structure
0.1.0 - 2025-07-01 #
Added #
- 🎉 Initial release of Media Cast DLNA plugin
- 🔍 Device Discovery: Automatic discovery of DLNA/UPnP devices on local network
- 📱 Media Renderer Control: Complete playback control (play, pause, stop, seek, volume)
- 📂 Media Server Integration: Browse and search content from DLNA media servers
- 🎬 Advanced Subtitle Support: Handle subtitle tracks for enhanced viewing experience
- ⚡ Real-time Events: Get instant updates on playback state, position, and volume changes
- 🔧 Native Performance: Built with Pigeon for type-safe platform interfaces
- 🤖 Android Support: Full implementation using jUPnP library (API 21+)
- 📖 Comprehensive Documentation: Complete API reference and examples
- 🎯 Example App: Working demonstration of all plugin features
Platform Support #
- ✅ Android (API 21+)
- 🚧 iOS (Coming in next release)
Features #
- Device discovery with automatic network scanning
- Media renderer selection and control
- Playback management (play, pause, stop, seek, next, previous)
- Volume control and mute functionality
- Subtitle track management
- Media server content browsing
- Real-time status monitoring
- Error handling and diagnostics
- Type-safe native interfaces via Pigeon
Dependencies #
- Flutter 3.3.0+
- Dart 3.8.1+
- plugin_platform_interface ^2.0.2
- pigeon ^22.7.0 (dev dependency)