I have VLC version 3.0.6 running on Windows 10 and up until a few months ago, I could network stream soundcloud audio via:
Media -> Open Network Stream... -> <soundcloud URL>
I don't know if it's a policy change by soundcloud or a legitimate bug in VLC, but when I try to do it now, it won't play anything. I've attached a section of the debug info of my attempt. I searched up "HTTP 401 error" and its an unauthorized error:
Code: Select all
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\soundcloud.luac
lua debug: Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\soundcloud.luac's probe() function was successful
main debug: using stream_filter module "lua"
main debug: stream filter added to 07bcf710
main debug: looking for stream_filter module matching "any": 24 candidates
main debug: no stream_filter modules matched
main debug: looking for stream_directory module matching "any": 1 candidates
main debug: no stream_directory modules matched
main debug: attachment of directory-extractor failed for https://soundcloud.com/honeymoonuk/yours-girl
main debug: looking for stream_filter module matching "record": 24 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='https' demux='any' location='soundcloud.com/honeymoonuk/yours-girl' file='\\soundcloud.com\honeymoonuk\yours-girl'
main debug: looking for demux module matching "any": 55 candidates
es debug: cannot peek
es debug: cannot peek
es debug: cannot peek
es debug: cannot peek
es debug: cannot peek
mod debug: MOD validation failed (ext=com\honeymoonuk\yours-girl)
main debug: using demux module "directory"
main debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\jsung\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac
main debug: no meta reader modules matched
main debug: `https://soundcloud.com/honeymoonuk/yours-girl' successfully opened
prefetch debug: end of stream
main debug: creating access: https://api.soundcloud.com/i1/tracks/484855893/streams?client_id=WKcQQdEZw7Oi01KqtHWxeVSxNyRzgT8M&app_version=1505226596
main debug: (path: \\api.soundcloud.com\i1\tracks\484855893\streams)
main debug: looking for access module matching "https": 26 candidates
main debug: looking for tls client module matching "any": 1 candidates
gnutls debug: using GnuTLS version 3.5.19
gnutls debug: loaded 146 trusted CAs from system
main debug: using tls client module "gnutls"
main debug: resolving api.soundcloud.com ...
gnutls debug: TLS handshake: Resource temporarily unavailable, try again.
gnutls debug: TLS handshake: Resource temporarily unavailable, try again.
gnutls debug: TLS handshake: Resource temporarily unavailable, try again.
gnutls debug: TLS handshake: Success.
gnutls debug: - safe renegotiation (RFC5746) enabled
gnutls debug: - false start (RFC7918) enabled
http debug: outgoing request: GET /i1/tracks/484855893/streams?client_id=WKcQQdEZw7Oi01KqtHWxeVSxNyRzgT8M&app_version=1505226596 HTTP/1.1 Host: api.soundcloud.com Accept: */* Accept-Language: en_US User-Agent: VLC/3.0.6 LibVLC/3.0.6 Cookie: sc_anonymous_id=738197-595271-91110-618100; sclocale=en Range: bytes=0-
http debug: incoming response: HTTP/1.1 401 Unauthorized Content-Length: 0 Connection: keep-alive Date: Fri, 29 Mar 2019 05:46:42 GMT Cache-Control: private, max-age=0, must-revalidate Cache-Control: private, max-age=0 Access-Control-Allow-Methods: GET, PUT, POST, DELETE Access-Control-Allow-Headers: Accept, Authorization, Content-Type, Origin Access-Control-Allow-Origin: * Access-Control-Expose-Headers: Date Server: am/2 X-Cache: Error from cloudfront Via: 1.1 7ff0521cab2c0b054c144b705a003bd3.cloudfront.net (CloudFront) X-Amz-Cf-Id: g91_jWbtB9Z8clw46KzdrpStwqNUhvU7jvmTkTrRVFbU4GPhyzbiyg==
access error: HTTP 401 error
main debug: no access modules matched
main error: no suitable access module for `https://api.soundcloud.com/i1/tracks/484855893/streams?client_id=WKcQQdEZw7Oi01KqtHWxeVSxNyRzgT8M&app_version=1505226596'
lua error: Couldn't extract soundcloud audio URL, please check for updates to this script
main debug: deleting item `yours-girl'
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index 0
main debug: EOF reached
main debug: removing module "directory"
main debug: removing module "record"
main debug: removing module "lua"
main debug: removing module "prefetch"
main debug: removing module "access"
main debug: dead input
main debug: changing item without a request (current 0/1)