fuzzyworld

hawk / files / public / js / api.js

api.js

Commits that changed this file, newest first · file

2023-10-192c1835aAdded a drop-down for the target player. Added link styles to match the existing black/white theme, except the hover color is now "Spotify green".Pavel Safronov
2023-10-170c3c57bAdded links for song/album/artist, and report errors during playback. (The errors reporting is a temporary hack: if there isn't an active device, trying to play the track will always fail. What's needed is logic to find a device to use, and if that fails, present device options to the user and make them pick one.)Pavel Safronov
2023-10-17c161059Reworked styles a bit by moving most of the song styles into song.css Found songs now have the same look as the currently-playing song. Found tracks now include a bit of album info in them, so the same info is available for currently playing songs and for searched songs.Pavel Safronov
2023-10-141e95383Reorganization of the code and a slight update to the README.Pavel Safronov