question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use YouTube video thumbnail as track art

See original GitHub issue

I noticed YouTube connector doesn’t try to parse track art in anyway and leaves it to song metadata (which is not available sometimes). I was thinking it might be a nice idea to use YouTube thumbnail as a fallback strategy, but the logic of song.getTrackArt seems to do the opposite (which is fine in most cases).

So the 2 points I want to discuss are:

  • Is using YouTube thumbnail a good idea?
  • If so, should it be fallback? and how should it be implemented to allow such strategy?
Connector.getTrackArt = function () {
	var id = $('meta[itemprop="videoId"]').attr('content');
	return 'https://img.youtube.com/vi/' + id + '/mqdefault.jpg'
}

youtube thumb art

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:13 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
alexespritcommented, May 7, 2019

I realized it is not a good itea to use external services to crop images. About 40% of scrobbles are from YouTube. I’m not sure if services won’t down because of lot of requests.

Adding a library to crop images is total overkill for such a small feature.

0reactions
alexespritcommented, Mar 12, 2017

I also noticed rsz.io is down sometimes. That’s bad. 😦

Read more comments on GitHub >

github_iconTop Results From Across the Web

Everything You Need to Know About YouTube Art Tracks
At its core, an Art Track is simple: it's a YouTube video that has the artist and song name in the title of...
Read more >
How to Make YouTube Music Art Track Videos Online (Without ...
In this video I'm going to show you how to make awesome looking video art tracks for your music all online.Timestamps:00:00 - Intro00:09 ......
Read more >
How To Make Professional Beat Cover Art In 5 ... - YouTube
Copy link. Info. Shopping. Tap to unmute. If playback doesn't begin shortly, try restarting your device. Your browser can't play this video.
Read more >
How to Make a Thumbnail for YouTube Videos - Easy & Free!
YouTube custom thumbnail tutorial stepping through exactly how to make a thumbnail for YouTube Videos that CONVERTS, fast and easy using ...
Read more >
How to Make a YouTube Thumbnail with Canva
So, if you are looking for canva thumbnail tutorial, how to use canva for thumbnail or how to make a thumbnail for youtube...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found