File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
apps/backend/src/providers Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1112,15 +1112,15 @@ impl MediaProvider for TmdbShowService {
1112
1112
. filter ( |c| POSSIBLE_ROLES . contains ( & c. role . as_str ( ) ) )
1113
1113
. cloned ( )
1114
1114
. collect_vec ( ) ;
1115
- let total_runtime = seasons
1116
- . iter ( )
1117
- . flat_map ( |s| s. episodes . iter ( ) )
1118
- . map ( |e| e. runtime . unwrap_or_default ( ) )
1119
- . sum ( ) ;
1120
1115
let seasons_without_specials = seasons
1121
1116
. iter ( )
1122
1117
. filter ( |s| !SHOW_SPECIAL_SEASON_NAMES . contains ( & s. name . as_str ( ) ) )
1123
1118
. collect_vec ( ) ;
1119
+ let total_runtime = seasons_without_specials
1120
+ . iter ( )
1121
+ . flat_map ( |s| s. episodes . iter ( ) )
1122
+ . map ( |e| e. runtime . unwrap_or_default ( ) )
1123
+ . sum ( ) ;
1124
1124
let total_seasons = seasons_without_specials. len ( ) ;
1125
1125
let total_episodes = seasons_without_specials
1126
1126
. iter ( )
You can’t perform that action at this time.
0 commit comments