# Legacy Playlist Routes & Templates ## Status: DEPRECATED ❌ The `playlist/` folder contains legacy code that has been superseded by the content management interface. ## What Changed ### Old Workflow (DEPRECATED) - Route: `/playlist/` - Template: `playlist/manage_playlist.html` - Used for managing playlists at the player level ### New Workflow (ACTIVE) ✅ - Route: `/content/playlist//manage` - Template: `content/manage_playlist_content.html` - Used for managing playlists in the content area - Accessed from: Players → Manage Player → "Edit Playlist Content" button ## Migration Notes **January 17, 2026:** - Moved `app/templates/playlist/` to `old_code_documentation/playlist/` - Updated `/playlist/` route to redirect to the new content management interface - All playlist operations now go through the content management area (`manage_playlist_content.html`) ## Why the Change? 1. **Unified Interface**: Single playlist management interface instead of duplicate functionality 2. **Better UX**: Content management area is the primary interface accessed from players 3. **Maintenance**: Reduces code duplication and maintenance burden ## Routes Still in Code The routes in `app/blueprints/playlist.py` still exist but are now legacy: - `@playlist_bp.route('/')` - Redirects to content management - `@playlist_bp.route('//add')` - No longer used - `@playlist_bp.route('//remove/')` - No longer used - etc. These can be removed in a future cleanup if needed. ## Features in New Interface The new `manage_playlist_content.html` includes all features plus: - ✅ Drag-to-reorder functionality - ✅ Duration spinner buttons (⬆️ ⬇️) - ✅ Audio on/off toggle - ✅ Edit mode toggle for PDFs/images - ✅ Dark mode support - ✅ Bulk delete with checkboxes