mirror of
				https://github.com/Mastermindzh/tidal-hifi.git
				synced 2025-11-04 02:39:13 +01:00 
			
		
		
		
	added the option to disable the system tray icon and fixed the settings menu
This commit is contained in:
		@@ -68,15 +68,25 @@
 | 
			
		||||
                            </label>
 | 
			
		||||
                        </div>
 | 
			
		||||
                    </div>
 | 
			
		||||
                    <div class="section">
 | 
			
		||||
                      <h3>System</h3>
 | 
			
		||||
                      <div class="option">
 | 
			
		||||
                          <h4>Tray icon</h4>
 | 
			
		||||
                          <p>
 | 
			
		||||
                              Show Tidal-hifi's tray icon<br />
 | 
			
		||||
                          </p>
 | 
			
		||||
                          <label class="switch">
 | 
			
		||||
                              <input id="trayIcon" type="checkbox">
 | 
			
		||||
                              <span class="slider round"></span>
 | 
			
		||||
                          </label>
 | 
			
		||||
                      </div>
 | 
			
		||||
                  </div>
 | 
			
		||||
                </section>
 | 
			
		||||
                <section id="api" class="tab-panel">
 | 
			
		||||
                    <div class="section">
 | 
			
		||||
                        <h3>Api</h3>
 | 
			
		||||
                        <p style="margin-bottom: 15px;">
 | 
			
		||||
                            Tidal-hifi has a web api built in to allow users to get current song information. You can optionally enable playback control as well.
 | 
			
		||||
                            <br />
 | 
			
		||||
                            <br />
 | 
			
		||||
                            <small>* api changes require a restart to update</small>
 | 
			
		||||
                        </p>
 | 
			
		||||
 | 
			
		||||
                        <div class="option">
 | 
			
		||||
@@ -104,15 +114,12 @@
 | 
			
		||||
                            </label>
 | 
			
		||||
                        </div>
 | 
			
		||||
                    </div>
 | 
			
		||||
                    <button onClick="restart()">Restart Tidal-hifi</button>
 | 
			
		||||
                </section>
 | 
			
		||||
                <section id="integrations" class="tab-panel">
 | 
			
		||||
                  <div class="section">
 | 
			
		||||
                      <h3>integrations</h3>
 | 
			
		||||
                      <p style="margin-bottom: 15px;">
 | 
			
		||||
                          Tidal-hifi is extensible trough the use of integrations. You can enable or disable integrations here
 | 
			
		||||
                          <br />
 | 
			
		||||
                          * not all integrations require restarting but some do, your best bet is to restart :)
 | 
			
		||||
                      </p>
 | 
			
		||||
                      <!-- disabled until the 403 with mpris-service/dbus is fixed  -->
 | 
			
		||||
                      <!-- <div class="option">
 | 
			
		||||
@@ -125,7 +132,6 @@
 | 
			
		||||
                              <span class="slider round"></span>
 | 
			
		||||
                          </label>
 | 
			
		||||
                      </div> -->
 | 
			
		||||
                      <button onClick="restart()">Restart Tidal-hifi</button>
 | 
			
		||||
                  </div>
 | 
			
		||||
              </section>
 | 
			
		||||
                <section id="about" class="tab-panel">
 | 
			
		||||
@@ -138,6 +144,9 @@
 | 
			
		||||
 | 
			
		||||
                  </div>
 | 
			
		||||
                </section>
 | 
			
		||||
 | 
			
		||||
              <small>Some settings require a restart of Tidal-hifi. To do so click the button below:</small>
 | 
			
		||||
              <button onClick="restart()" style ="width: 100%">Restart Tidal-hifi</button>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user