Repository navigation
v1.6.9
New
Music video button. A red Video button now appears next to the listen links when a track has an official music video on YouTube, and opens it in a new tab. It shows in the Now Playing card, as a small icon under "Previously played", and in the icons that appear when you hover over a track row.
The button needs a YouTube API key (youtube_api_key in config.php). Without one, it stays hidden. The button only appears when a YouTube result names the track and comes from the artist: their name is in the title, or it's their own or VEVO channel. YouTube's auto-generated "Artist - Topic" audio uploads don't count. Neither do lyric videos, audio-only uploads, covers, live versions or remixes, unless the scrobbled track is that version itself. If nothing matches clearly, you get no button rather than a link to the wrong video. Results are cached for 30 days per track.
Fixed
- On phones, the listen buttons now wrap onto a second line instead of pushing the Amazon Music button off the edge of the screen.
Upgrading
- No config changes are needed.
- With a YouTube API key set, each new track now uses two YouTube searches instead of one: one for the YouTube Music link and one for the video. Both count toward the same
youtube_daily_limit, so roughly half as many tracks a day get verified YouTube links before falling back to search links. If you have quota to spare, you can raise the limit. Google's default free quota is about 100 searches a day.
Known limitations
- Official videos with unusual titles, or ones posted on a label's channel that doesn't name the artist, may not be picked up.