feat: naive lidarr root folder tab implementation. Needs improved add logic

This commit is contained in:
Dark-Alex-17 committed 2026-01-13 14:33:12 -07:00
1 parent c68cd75015
commit d2217509f2
32 files changed
+1718 -24

No files matched your search

+9
View File
@@ -43,6 +43,8 @@ pub enum LidarrListCommand {
MetadataProfiles,
#[command(about = "List all Lidarr quality profiles")]
QualityProfiles,
#[command(about = "List all root folders in Lidarr")]
RootFolders,
#[command(about = "List all Lidarr tags")]
Tags,
}
@@ -116,6 +118,13 @@ impl<'a, 'b> CliCommandHandler<'a, 'b, LidarrListCommand> for LidarrListCommandH
.await?;
serde_json::to_string_pretty(&resp)?
}
LidarrListCommand::RootFolders => {
let resp = self
.network
.handle_network_event(LidarrEvent::GetRootFolders.into())
.await?;
serde_json::to_string_pretty(&resp)?
}
LidarrListCommand::Tags => {
let resp = self
.network