hawk / files / public / js / controls.js
controls.js
| 2023-10-19 | bd4c370 | Use the largest available album images, not the smallest. | Pavel Safronov |
| 2023-10-19 | 660845f | Added a list of pre-configured times, each of which is a link that sets the search time accordingly. | Pavel Safronov |
| 2023-10-19 | 2c1835a | Added 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-17 | 0c3c57b | Added 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-17 | 1e82c57 | Consolidated templating code, removed some old code, made "no song currently playing" into a template as well. (Templates are nice! So much easier than writing HTML in JS.) | Pavel Safronov |
| 2023-10-17 | c161059 | Reworked 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-17 | a95a53d | Introduce controls.js - this file has the methods that can be called from the page, for example the callbacks from various UI elements, like search or play/pause the current song. | Pavel Safronov |