spot/data/dev.alextren.Spot.gschema.xml

56 lines
2 KiB
XML
Raw Permalink Normal View History

2024-11-13 16:41:51 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="spot">
<enum id="dev.alextren.Spot.AudioBackend">
<value value="0" nick="pulseaudio" />
<value value="1" nick="alsa" />
<value value="2" nick="gstreamer" />
</enum>
<enum id="dev.alextren.Spot.Bitrate">
<value value="0" nick="96" />
<value value="1" nick="160" />
<value value="2" nick="320" />
</enum>
<enum id="dev.alextren.Spot.ThemePref">
<value value="0" nick="light" />
<value value="1" nick="dark" />
<value value="2" nick="system" />
</enum>
<schema id="dev.alextren.Spot" path="/dev/alextren/Spot/">
<key name='theme-preference' enum='dev.alextren.Spot.ThemePref'>
<default>'system'</default>
<summary>The theme preference</summary>
</key>
<key name="window-width" type="i">
<default>1080</default>
<summary>The width of the window</summary>
</key>
<key name="window-height" type="i">
<default>720</default>
<summary>The height of the window</summary>
</key>
<key name="window-is-maximized" type="b">
<default>false</default>
<summary>A flag to enable maximized mode</summary>
</key>
<key name='player-bitrate' enum='dev.alextren.Spot.Bitrate'>
<default>'160'</default>
<summary>Songs bitrate (96, 160, 320kbps)</summary>
</key>
<key name='audio-backend' enum='dev.alextren.Spot.AudioBackend'>
<default>'pulseaudio'</default>
<summary>Audio backend</summary>
</key>
<key name="gapless-playback" type="b">
<default>true</default>
<summary>A flag to enable gap-less playback</summary>
</key>
<key name='alsa-device' type='s'>
<default>'default'</default>
<summary>Alsa device (if audio backend is 'alsa')</summary>
</key>
<key name='ap-port' type='u'>
<default>0</default>
<summary>Port to communicate with Spotify's server (access point). Setting to 0 (default) allows Spot to use servers running on any port.</summary>
</key>
</schema>
</schemalist>