Package: moc Version: 1:2.6.0~svn-r3005-2.1 Severity: wishlist Tags: patch Hello,
it would be nice to be able to play online streams which URL starts with https:// instead of http:// The idea and patch comes from: https://github.com/jonsafari/mocp/pull/32/files I'm using this patch locally and it works for me. Thanks in advance, Mt -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.19.0-2-amd64 (SMP w/12 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_USER, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages moc depends on: ii libasound2 1.2.7.2-1 ii libc6 2.35-1 ii libcurl3-gnutls 7.85.0-1 ii libdb5.3 5.3.28+dfsg1-0.10 ii libfaad2 2.10.0-2+b1 ii libflac8 1.3.4-2 ii libgcc-s1 12.2.0-3 ii libid3tag0 0.15.1b-14 ii libjack-jackd2-0 [libjack-0.125] 1.9.21~dfsg-1 ii libltdl7 2.4.7-4 ii libmad0 0.15.1b-10.1+b1 ii libmagic1 1:5.41-4 ii libmodplug1 1:0.8.9.0-3 ii libmpcdec6 2:0.1~r495-2 ii libncursesw6 6.3+20220423-2 ii libogg0 1.3.5-1 ii libopusfile0 0.12-2 ii libpopt0 1.18-3 ii librcc0 0.2.13+ds-2 ii libresid-builder0c2a 2.1.1-15+b1 ii libsamplerate0 0.2.2-2 ii libsidplay2 2.1.1-15+b1 ii libsidutils0 2.1.1-15+b1 ii libsndfile1 1.1.0-2 ii libspeex1 1.2.1-1 ii libstdc++6 12.2.0-3 ii libtagc0 1.12-1+b1 ii libtinfo6 6.3+20220423-2 ii libvorbisfile3 1.3.7-1 ii libwavpack1 5.5.0-1 moc recommends no packages. Versions of packages moc suggests: ii moc-ffmpeg-plugin 1:2.6.0~svn-r3005-2 -- no debconf information
--- a/files.c +++ b/files.c @@ -85,6 +85,7 @@ inline int is_url (const char *str) { return !strncasecmp (str, "http://", sizeof ("http://") - 1) + || !strncasecmp (str, "https://", sizeof ("https://") - 1) || !strncasecmp (str, "ftp://", sizeof ("ftp://") - 1); }
signature.asc
Description: This is a digitally signed message part