Skip to content

Commit

Permalink
Reimplemented YoutubeDownloader without Youtube Explode
Browse files Browse the repository at this point in the history
  • Loading branch information
ashpynov committed May 16, 2024
1 parent 9499d1b commit 24cbc94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
11 changes: 3 additions & 8 deletions Downloaders/YtDownloader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,7 @@ private IEnumerable<Album> GetAlbumsFromYoutubeClient(string gameName, bool auto
})
.ToList();
}
catch (Exception ex)
{
// Show error
}
catch {}

return null;
}
Expand All @@ -78,10 +75,8 @@ private IEnumerable<Song> GetSongsFromYoutubeClient(Album album)
Source = DlSource,
IconUrl = x.ThumbnailUrl.ToString()
});
} catch (Exception ex)
{

}
}
catch {}
return null;
}

Expand Down
3 changes: 0 additions & 3 deletions Localization/en_US.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@
<sys:String x:Key="LOC_PLAYNITESOUNDS_YtDLp_Path">yt-dlp path:</sys:String>
<sys:String x:Key="LOC_PLAYNITESOUNDS_YtDLp_Hint">yt-dlp is required for downloading audio from Youtube</sys:String>

<sys:String x:Key="LOC_PLAYNITESOUNDS_YtDLp_Path">yt-dlp path:</sys:String>
<sys:String x:Key="LOC_PLAYNITESOUNDS_YtDLp_Hint">yt-dlp is required for downloading audio from Youtube</sys:String>

<sys:String x:Key="LOC_PLAYNITESOUNDS_CmbItemNever">Never</sys:String>
<sys:String x:Key="LOC_PLAYNITESOUNDS_CmbItemDesktop">Desktop</sys:String>
<sys:String x:Key="LOC_PLAYNITESOUNDS_CmbItemFullscreen">Fullscreen</sys:String>
Expand Down

0 comments on commit 24cbc94

Please sign in to comment.