diff --git "a/index.html" "b/index.html" --- "a/index.html" +++ "b/index.html" @@ -3,7 +3,7 @@ - MusiSync - Music Lyrics & Metadata Explorer + AI-Powered Music Discovery Platform +
- - + +
+
+
+ API Disconnected +
+ +
-
- -
-

Search Music

-
-
- - -
-
-
- - -
-
- -
- - -
-

❤️ Favorites

-
-
No favorites yet. Search for songs and add them to your favorites!
+ +
+ +
+ +
+

🎵 Music Search

+
+
+ + +
+
+
+ + +
+
+ +
+
+ + +
+
+
- -
- - + +
+ + switch (format) { + case 'txt': + const txtContent = `AI Music Analysis - ${song} by ${artist}\nFeature: ${feature}\nDate: ${timestamp}\n\n${response}`; + Utils.downloadFile(txtContent, `${artist}-${song}-${feature}-${timestamp}.txt`); + break; + case 'json': + const jsonData = { + song, + artist, + feature, + timestamp, + response, + conversationHistory: AppState.conversationHistory + }; + Utils.downloadFile(JSON.stringify(jsonData, null, 2), `${artist}-${song}-${feature}-${timestamp}.json`, 'application/json'); + break; + + case 'pdf': + const htmlContent = ` + + + + AI Music Analysis + + + +

AI Music Analysis Report

+
+ Song: ${song}
+ Artist: ${artist}
+ Analysis Type: ${feature}
+ Generated: ${new Date().toLocaleString()} +
+
${response}
+