Skip to content

Commit

Permalink
Update ytpl
Browse files Browse the repository at this point in the history
  • Loading branch information
ebma committed Jan 16, 2021
1 parent 9bf9e76 commit c78904b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
16 changes: 4 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"youtube-search": "^1.1.4",
"ytdl-core": "^4.1.2",
"ytdl-core-discord": "^1.2.4",
"ytpl": "^1.0.1"
"ytpl": "^2.0.4"
},
"devDependencies": {
"@types/async": "^3.0.1",
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Youtube.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class Youtube {
let tracks: Track[] = []
_.forEach(playlist.items, item => {
const newTrack: Track = {
thumbnail: { medium: item.thumbnail },
thumbnail: { medium: item.bestThumbnail.url },
source: "youtube",
title: item.title,
url: item.url
Expand Down

0 comments on commit c78904b

Please sign in to comment.