summaryrefslogtreecommitdiff
path: root/psub/config.yaml
blob: 55b5421336b48503ebbc199bc4ffa90a679804c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#
#          _________    ___.
#  ______ /   _____/__ _\_ |__
#  \____ \\_____  \|  |  \ __ #  |  |_> >        \  |  / \_\ \
#  |   __/_______  /____/|___  /
#  |__|          \/          \/
#
#

# This section defines the connection to your Subsonic server

server:
    # This is the url you would use to access your Subsonic server without the protocol
    # (http:// or https://)

    host: cloud.zachir.xyz/index.php/apps/music/subsonic

    # Username and Password next

    username: zachir
    password: iagcuoc95i9j

    # If your Subsonic server is accessed over https:// set this to 'true'

    ssl: true

    # If you use a server with a specific API version set it here
    
    api: 1.16.0

# This section defines the playback of music by pSub

streaming:

    # The default format is 'raw'
    # this means the original file is streamed from your server
    # and no transcoding takes place.
    # set this to mp3 or wav etc.
    # depending on the transcoders available to your user on the server

    format: mp3

    # pSub utilises ffplay (https://ffmpeg.org/ffplay.html) to play the streamed media
    # by default the player window is hidden and control takes place through the cli
    # set this to true to enable the player window.
    # It allows for more controls (volume mainly) but will grab the focus of your
    # keyboard when tracks change which can be annoying if you are typing

    display: false

    # When the player window is shown, choose the default show mode
    # Options are:
    # 0: show video or album art
    # 1: show audio waves
    # 2: show audio frequency band using RDFT ((Inverse) Real Discrete Fourier Transform)

    show_mode: 0

    # Artist, Album and Playlist playback can accept a -r/--random flag.
    # by default, setting the flag on the command line means "randomise playback".
    # Setting the following to true will invert that behaviour so that playback is randomised by default
    # and passing the -r flag skips the random shuffle

    invert_random: false
    
    # pSub can use system notifications to alert you to a song change.
    # it will show you the details of the currently playing song.
    # to disable notification, set this to false
    
    notify: false

client:
    # Added extra client config for pre-exe commands, like using it in flatpak-spawn
    pre_exe: ''