Skip to content

Commit

Permalink
silence youtube for now
Browse files Browse the repository at this point in the history
  • Loading branch information
pschichtel committed Oct 6, 2024
1 parent afe6109 commit 902ab50
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions app/service/YoutubeService.scala
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@ class YoutubeService(conf: Configuration, implicit val ec: ExecutionContext) ext
}

def getVideos: Future[Seq[YtVideo]] = {
this.uploadsPlaylistId.map(getVideosOfPlaylist)
.recover { e =>
logger.error("Failed to get videos!", e)
Nil
}
// this.uploadsPlaylistId.map(getVideosOfPlaylist)
// .recover { e =>
// logger.error("Failed to get videos!", e)
// Nil
// }
Future.successful(Seq.empty)
}

def getBestThumbnailURL(id: String, thumbs: ThumbnailDetails): URI = {
Expand Down

0 comments on commit 902ab50

Please sign in to comment.