Skip to content

Commit

Permalink
Use ytdl best format instead of 22
Browse files Browse the repository at this point in the history
Updated youtube-dl helper (2016.12.12)
  • Loading branch information
Leszek Lesner committed Dec 12, 2016
1 parent 5ce89b5 commit 777f4d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified qml/pages/helper/youtube-dl
Binary file not shown.
2 changes: 1 addition & 1 deletion qml/pages/videoPlayer.qml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ Page {
// Alternatively use direct youtube url instead of ytapi for downloads (ytapi links not always download with download manager)
onClicked: {
_ytdl.setUrl(originalUrl)
_ytdl.setParameter("-f 22") // Try to get Format 22 (720p mp4) as otherwise it will return DASH (split audio+video)
_ytdl.setParameter("-f best") // Try to get best format usually non dash format
_ytdl.getStreamUrl()
_ytdl.getStreamTitle()
mainWindow.firstPage.isYtUrl = false
Expand Down

0 comments on commit 777f4d7

Please sign in to comment.