mirror of
https://github.com/Crunchy-DL/Crunchy-Downloader.git
synced 2026-03-11 17:45:39 +00:00
Add - Added **Sonarr season/episode numbers** to the history view Add - Added option to **match episodes to Sonarr episodes** to correct mismatches Add - Added **button to rematch all Sonarr episodes** Add - Added an **optional secondary endpoint** Chg - Changed **changelog heading sizes** Chg - Changed Sonarr matching to only process **new or unmatched episodes** Chg - Changed logic to **request audio license keys only when needed** Fix - Fixed **Sonarr series manual matching dialog**
21 lines
No EOL
493 B
C#
21 lines
No EOL
493 B
C#
using System.Linq;
|
|
using Avalonia.Controls;
|
|
using Avalonia.Interactivity;
|
|
using Avalonia.VisualTree;
|
|
using CRD.Utils.Sonarr;
|
|
using CRD.ViewModels;
|
|
|
|
namespace CRD.Views;
|
|
|
|
public partial class SettingsPageView : UserControl{
|
|
public SettingsPageView(){
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void OnUnloaded(object? sender, RoutedEventArgs e){
|
|
if (DataContext is SettingsPageViewModel viewModel){
|
|
SonarrClient.Instance.RefreshSonarr();
|
|
}
|
|
}
|
|
|
|
} |