Detail panes: poster top right, title and facts left, plot below; sextant rendering

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-20 21:57:22 +02:00
co-authored by Claude Sonnet 5.5
parent 365ba9dee8
commit b4fe931fa9
15 changed files with 468 additions and 153 deletions
+8 -3
View File
@@ -46,7 +46,7 @@ type libItem struct {
missing bool // monitored and not complete
status string
size string
details string
details detailText
cover coverRef
movie *radarr.Movie
series *sonarr.Series
@@ -105,7 +105,11 @@ func newMovieItem(m radarr.Movie) libItem {
default:
it.status = "[yellow]missing"
}
it.details = movieDetails(m) + monitoredLine(m.Monitored) + sizeLine(m.SizeOnDisk) + pathLine(m.Path)
it.details = movieDetails(m)
it.details.head += monitoredLine(m.Monitored) + sizeLine(m.SizeOnDisk)
if path := pathLine(m.Path); path != "" {
it.details.plot += "\n\n" + path
}
return it
}
@@ -130,7 +134,8 @@ func newSeriesItem(s sonarr.Series) libItem {
default:
it.status = "[yellow]" + counts
}
it.details = seriesDetails(s) + monitoredLine(s.Monitored) + sizeLine(st.SizeOnDisk)
it.details = seriesDetails(s)
it.details.head += monitoredLine(s.Monitored) + sizeLine(st.SizeOnDisk)
return it
}