@@ -72,6 +72,7 @@ pub enum SettingsSection {
7272 Prowlarr ,
7373 Tmdb ,
7474 Player ,
75+ Streaming ,
7576 Subtitles ,
7677 Discord ,
7778 Trakt ,
@@ -82,7 +83,8 @@ impl SettingsSection {
8283 match self {
8384 SettingsSection :: Prowlarr => SettingsSection :: Tmdb ,
8485 SettingsSection :: Tmdb => SettingsSection :: Player ,
85- SettingsSection :: Player => SettingsSection :: Subtitles ,
86+ SettingsSection :: Player => SettingsSection :: Streaming ,
87+ SettingsSection :: Streaming => SettingsSection :: Subtitles ,
8688 SettingsSection :: Subtitles => SettingsSection :: Discord ,
8789 SettingsSection :: Discord => SettingsSection :: Trakt ,
8890 SettingsSection :: Trakt => SettingsSection :: Prowlarr ,
@@ -94,7 +96,8 @@ impl SettingsSection {
9496 SettingsSection :: Prowlarr => SettingsSection :: Trakt ,
9597 SettingsSection :: Tmdb => SettingsSection :: Prowlarr ,
9698 SettingsSection :: Player => SettingsSection :: Tmdb ,
97- SettingsSection :: Subtitles => SettingsSection :: Player ,
99+ SettingsSection :: Streaming => SettingsSection :: Player ,
100+ SettingsSection :: Subtitles => SettingsSection :: Streaming ,
98101 SettingsSection :: Discord => SettingsSection :: Subtitles ,
99102 SettingsSection :: Trakt => SettingsSection :: Discord ,
100103 }
@@ -105,6 +108,7 @@ impl SettingsSection {
105108 SettingsSection :: Prowlarr => "Prowlarr" ,
106109 SettingsSection :: Tmdb => "TMDB" ,
107110 SettingsSection :: Player => "Player" ,
111+ SettingsSection :: Streaming => "Streaming" ,
108112 SettingsSection :: Subtitles => "Subtitles" ,
109113 SettingsSection :: Discord => "Discord" ,
110114 SettingsSection :: Trakt => "Trakt" ,
@@ -117,6 +121,7 @@ impl SettingsSection {
117121 SettingsSection :: Prowlarr => 2 , // url, apikey
118122 SettingsSection :: Tmdb => 1 , // apikey
119123 SettingsSection :: Player => 2 , // command, args
124+ SettingsSection :: Streaming => 1 , // auto_race
120125 SettingsSection :: Subtitles => 3 , // enabled, language, api_key
121126 SettingsSection :: Discord => 2 , // enabled, app_id
122127 SettingsSection :: Trakt => 3 , // enabled, client_id, access_token
@@ -127,6 +132,7 @@ impl SettingsSection {
127132 SettingsSection :: Prowlarr ,
128133 SettingsSection :: Tmdb ,
129134 SettingsSection :: Player ,
135+ SettingsSection :: Streaming ,
130136 SettingsSection :: Subtitles ,
131137 SettingsSection :: Discord ,
132138 SettingsSection :: Trakt ,
0 commit comments