Fix TUI Add flow landing new movies/shows flat in the library root
add_selected_search_result passed the raw configured default_root_folder
straight through as root_folder for both movies and series, with no
per-item subfolder computed. import_one/season_dir both expect
root_folder to already be the item's own folder, so new grabs landed
directly in the shared library root instead of their own folder,
invisible to Jellyfin's per-category libraries. Split default_root_folder
(series) from a new movies_root_folder, and have the TUI build the
"{Title} (Year)" subfolder itself before sending the add request.
This commit is contained in:
parent
15b5b12a06
commit
7e1b7450cf
4 changed files with 71 additions and 14 deletions
|
|
@ -50,8 +50,13 @@ api_key = ""
|
|||
bearer_token = ""
|
||||
|
||||
[library]
|
||||
# Default root folder for shows added via the TUI's "Add Show" flow.
|
||||
# Default root folder for shows added via the TUI's "Add" flow. Each show
|
||||
# lands in its own "{root}/{Title} ({Year})" subfolder.
|
||||
default_root_folder = "~/breadarr-library"
|
||||
# Same, but for movies added via the TUI's "Add" flow — kept separate from
|
||||
# default_root_folder since movies and shows live under different category
|
||||
# roots on disk.
|
||||
movies_root_folder = "~/breadarr-library/Movies"
|
||||
|
||||
[sources]
|
||||
# nyaa's English-translated anime category — the daemon polls this
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue