mirror of
https://github.com/bnair123/MusicAnalyser.git
synced 2026-02-25 11:46:07 +00:00
- Created `frontend/` React+Vite app using Ant Design (Dark Theme). - Implemented `App.jsx` to display listening history and calculated "Vibes". - Updated `backend/app/ingest.py` to fix ReccoBeats ID parsing. - Updated `backend/app/schemas.py` to expose audio features to the API. - Updated `README.md` with detailed Docker hosting instructions. - Added `TODO.md` for Phase 3 roadmap. - Cleaned up test scripts.
1.6 KiB
1.6 KiB
Future Roadmap & TODOs
Phase 3: AI Analysis & Insights
1. Data Analysis Enhancements
- Timeframe Selection:
- Update Backend API to accept timeframe parameters (e.g.,
?range=30d,?range=year,?range=all). - Update Frontend to include a dropdown/toggle for these timeframes.
- Update Backend API to accept timeframe parameters (e.g.,
- Advanced Stats:
- Top Artists / Tracks calculation for the selected period.
- Genre distribution charts (Pie/Bar chart).
2. AI Integration (Gemini)
- Trigger Mechanism:
- Add "Generate AI Report" button on the UI.
- (Optional) Schedule daily auto-generation.
- Prompt Engineering:
- Design prompts to analyze:
- "Past 30 Days" (Monthly Vibe Check).
- "Overall" (Yearly/All-time evolution).
- Provide raw data (list of tracks + audio features) to Gemini.
- Design prompts to analyze:
- Storage:
- Create
AnalysisReporttable to store generated HTML/Markdown reports. - View past reports in a new "Insights" tab.
- Create
3. Playlist Generation
- Concept: "Daily Vibe Playlist" or "AI Recommended".
- Implementation:
- Use ReccoBeats or Spotify Recommendations API.
- Seed with top 5 recent tracks.
- Filter by audio features (e.g., "High Energy" playlist).
- Action:
- Add "Save to Spotify" button in the UI (Requires
playlist-modify-publicscope).
- Add "Save to Spotify" button in the UI (Requires
4. Polish
- Mobile Responsiveness: Ensure Ant Design tables and charts stack correctly on mobile.
- Error Handling: Better UI feedback for API failures (e.g., expired tokens).