abarisain / dmix

A modern MPD Client for Android.
Apache License 2.0
591 stars 198 forks source link

Support for HTTPS audio stream #838

Open khogeland opened 7 years ago

khogeland commented 7 years ago

I am trying to set up MPD behind a SSL-enabled proxy. Unfortunately, the prefix http:// is hard-coded:

    /** Get the current server streaming URL. */
    private String getStreamSource() {
        return "http://" + mConnectionInfo.streamServer + ':'
                + mConnectionInfo.streamPort + '/' + mConnectionInfo.streamSuffix;
    }

https://github.com/abarisain/dmix/blob/1618ad4bdffd7bb80fe987d03b999d17b1bea8ee/MPDroid/src/main/java/com/namelessdev/mpdroid/service/StreamHandler.java#L276

Can this be configurable? In fact, why is this made up of three different settings, instead of letting the user specify the full address to their stream?

sludgefeast commented 7 years ago

Hi! This is already implemented in branch 'develop'.