Skip to content

Proxy configuration broken in 0.14 #472

@jodal

Description

@jodal

In 0.13, we supported the following setting:

SPOTIFY_PROXY_HOST = u'http://10.0.0.17:8080'

In 0.14, this was changed with the new config system. The equivalent today would be:

[proxy]
hostname = http://10.0.0.17:8080

But this doesn't work, as proxy/hostname is validated as a hostname:

ERROR    Config value proxy/hostname must be a resolveable hostname or valid IP

I suggest that we add more proxy config values, making the following a working proxy config:

[proxy]
type = http
hostname = 10.0.0.17
port = 8080

Other possible values for proxy/type include https, socks4, socks5. These values match the types accepted by libspotify. Does these types match what we can provide to GStreamer as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-coreArea: Core layer

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions