File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ private void DoDownload() {
5353 manager . CreateNotificationChannel ( new NotificationChannel ( "youtubedl" , "YoutubeDL" , NotificationImportance . Low ) ) ;
5454 }
5555
56- var videoId = new VideoId ( youtubeUrl ) ;
56+ var videoId = VideoId . Parse ( youtubeUrl ) ;
5757
5858 NotificationCompat . Builder notif = new NotificationCompat . Builder ( ApplicationContext , "youtubedl" )
5959 . SetProgress ( 0 , 100 , true )
@@ -78,7 +78,7 @@ void makeNotif(string title, string text) {
7878
7979 makeNotif ( video . Title , "Downloading" ) ;
8080
81- var audioStream = ( await client . Videos . Streams . GetManifestAsync ( videoId ) ) . GetAudioOnly ( ) . Where ( info => info . Container == Container . Mp4 ) . WithHighestBitrate ( ) ;
81+ var audioStream = ( await client . Videos . Streams . GetManifestAsync ( videoId ) ) . GetAudioOnlyStreams ( ) . Where ( info => info . Container == Container . Mp4 ) . GetWithHighestBitrate ( ) ;
8282 notif . SetContentTitle ( video . Title ) ;
8383
8484 if ( audioStream != null ) {
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <manifest xmlns : android =" http://schemas.android.com/apk/res/android" android : versionCode =" 12 " android : versionName =" 0.1.11 " package =" nl.dirkkok.android.youtubedl" android : installLocation =" auto" >
2+ <manifest xmlns : android =" http://schemas.android.com/apk/res/android" android : versionCode =" 13 " android : versionName =" 0.1.12 " package =" nl.dirkkok.android.youtubedl" android : installLocation =" auto" >
33 <uses-sdk android : minSdkVersion =" 19" android : targetSdkVersion =" 28" />
44 <application android : allowBackup =" true" android : icon =" @drawable/ic_launcher" android : label =" YoutubeDL" android : roundIcon =" @mipmap/ic_launcher" android : supportsRtl =" true" android : theme =" @style/AppTheme" ></application >
55 <uses-permission android : name =" android.permission.READ_EXTERNAL_STORAGE" />
Original file line number Diff line number Diff line change 9696 </AndroidResource >
9797 </ItemGroup >
9898 <ItemGroup >
99- <PackageReference Include =" Xamarin.Essentials" Version =" 1.6.0 " />
99+ <PackageReference Include =" Xamarin.Essentials" Version =" 1.6.1 " />
100100 <PackageReference Include =" YoutubeExplode" >
101- <Version >6.0.0-alpha2 </Version >
101+ <Version >6.0.1 </Version >
102102 </PackageReference >
103103 </ItemGroup >
104104 <Import Project =" $(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
You can’t perform that action at this time.
0 commit comments