From 13ead820c2d45e02d7e5ae918ee458a7cea5db19 Mon Sep 17 00:00:00 2001 From: Joe Finney Date: Tue, 24 Feb 2026 19:50:51 -0600 Subject: [PATCH 1/8] Add import/export for station lists (M3U/PLS) in Settings Users can now import or export their radio station lists as M3U, M3U8, or PLS playlist files from the Settings page. This includes new UI controls, InfoBar feedback, and async logic for file picking and parsing. Duplicate stations are avoided during import. PlaylistImportExportService was added to handle parsing and generation of playlist files. Fixes #57 --- Trdo/Pages/SettingsPage.xaml | 26 +++ Trdo/Pages/SettingsPage.xaml.cs | 62 ++++++ Trdo/Services/PlaylistImportExportService.cs | 207 +++++++++++++++++++ Trdo/ViewModels/SettingsViewModel.cs | 87 ++++++++ 4 files changed, 382 insertions(+) create mode 100644 Trdo/Services/PlaylistImportExportService.cs diff --git a/Trdo/Pages/SettingsPage.xaml b/Trdo/Pages/SettingsPage.xaml index c26cf1a..2ae1894 100644 --- a/Trdo/Pages/SettingsPage.xaml +++ b/Trdo/Pages/SettingsPage.xaml @@ -106,6 +106,32 @@ Visibility="Collapsed" /> + + + + + + + +