Ok thanks
this is my result now
Code:C:\>curl -v --request POST --url https://www.dlmixcloud.com/ajax.php --header "content-type: multipart/form-data; boundary=---01100001011100000110 * Trying 172.67.181.55... * TCP_NODELAY set * Connected to www.dlmixcloud.com (172.67.181.55) port 443 (#0) * schannel: SSL/TLS connection with www.dlmixcloud.com port 443 (step 1/3) * schannel: checking server certificate revocation * schannel: sending initial handshake data: sending 183 bytes... * schannel: sent initial handshake data: sent 183 bytes * schannel: SSL/TLS connection with www.dlmixcloud.com port 443 (step 2/3) * schannel: failed to receive handshake, need more data * schannel: SSL/TLS connection with www.dlmixcloud.com port 443 (step 2/3) * schannel: encrypted data got 2423 * schannel: encrypted data buffer: offset 2423 length 4096 * schannel: sending next handshake data: sending 93 bytes... * schannel: SSL/TLS connection with www.dlmixcloud.com port 443 (step 2/3) * schannel: encrypted data got 258 * schannel: encrypted data buffer: offset 258 length 4096 * schannel: SSL/TLS handshake complete * schannel: SSL/TLS connection with www.dlmixcloud.com port 443 (step 3/3) * schannel: stored credential handle in session cache > POST /ajax.php HTTP/1.1 > Host: www.dlmixcloud.com > User-Agent: curl/7.55.1 > Accept: */* > content-type: multipart/form-data; boundary=---01100001011100000110 > * schannel: client wants to read 102400 bytes * schannel: encdata_buffer resized 103424 * schannel: encrypted data buffer: offset 0 length 103424 * schannel: encrypted data got 1640 * schannel: encrypted data buffer: offset 1640 length 103424 * schannel: decrypted data length: 1369 * schannel: decrypted data added: 1369 * schannel: decrypted data cached: offset 1369 length 102400 * schannel: encrypted data length: 242 * schannel: encrypted data cached: offset 242 length 103424 * schannel: decrypted data length: 179 * schannel: decrypted data added: 179 * schannel: decrypted data cached: offset 1548 length 102400 * schannel: encrypted data length: 34 * schannel: encrypted data cached: offset 34 length 103424 * schannel: decrypted data length: 5 * schannel: decrypted data added: 5 * schannel: decrypted data cached: offset 1553 length 102400 * schannel: encrypted data buffer: offset 0 length 103424 * schannel: decrypted data buffer: offset 1553 length 102400 * schannel: schannel_recv cleanup * schannel: decrypted data returned 1553 * schannel: decrypted data buffer: offset 0 length 102400 < HTTP/1.1 200 OK < Date: Fri, 14 Aug 2020 11:47:42 GMT < Content-Type: text/html; charset=UTF-8 < Transfer-Encoding: chunked < Connection: keep-alive < Set-Cookie: __cfduid=d17c7def4e78406fff075c41c4ecf98cd1597405658; expires=Sun, 13-Sep-20 11:47:38 GMT; path=/; domain=.dlmixcloud.com; HttpOnly; SameSite=Lax; Secure < Last-Modified: Fri, 14 Aug 2020 11:47:38 GMT < Cache-Control: no-store, no-cache, must-revalidate < Cache-Control: post-check=0, pre-check=0 < Pragma: no-cache < Expires: Sat, 26 Jul 1997 05:00:00 GMT < Vary: Accept-Encoding < CF-Cache-Status: DYNAMIC < cf-request-id: 048e65139d00000702ad265200000001 < Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" < Strict-Transport-Security: max-age=31536000; includeSubDomains; preload < X-Content-Type-Options: nosniff < Server: cloudflare < CF-RAY: 5c2a71329ccd0702-LHR < Talla & RAM Ft. Kim Kiona - Until The End TEASER https://cf-media.sndcdn.com/n8YrqzZvpxxq.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLW1lZGlhLnNuZGNkbi5jb20vbjhZcnF6WnZweHhxLjEyOC5tcDMiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1OTc0MDU4NzV9fX1dfQ__&Signature=GdtY2WG8p~vOpLPgvEJZqwL3wPbgVo0FJRWqQJNktYmuxBhiTLIYNKyLOky5Ib3Zyc~rIkxBURpfkdXLhKfX2BYTbIDB~ss3v7XPBCSi1CvuIgVuK1ydd0xvVUvqL-SM5ko0YfB4QoUU2qzS41Otg-6Owv~SK9yRJJkNNlMoh-RjfI1ilfy95TZ4ojw~EK59gdagr877N76gp3O2CC1BW6aOTd-NN7xPwt-upEnSs2UVzR2~y4mze0gTj7NO-F6U18SrgQ-oel6lUAsAPMyiwYF4aSr6jdE7XifKEeg-YQQKbdcGGBtlAixC~SoWyazNy7W59NTrrvSlrGAVSyykYg__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ * Connection #0 to host www.dlmixcloud.com left intact
Results 231 to 240 of 252
Thread: Mixcloud plugin?
-
2020-08-14, 04:48 #231
- Join Date
- Dec 2015
- Posts
- 93
-
2020-08-14, 05:06 #232
- Join Date
- Apr 2005
- Location
- UK/London
- Posts
- 3,613
That looks better.
Now take that URL from the end (generate a new one and do it with that because the old one has probably timed out) - and
curl --output tmp.mp3 "the url from above"
again - unwrap the long lines to make it one long line - and put double quotes around it.
If you get a file around 1.4MB then it probably worked and you can play tmp.mp3
If it is short then it is probably an error message such as "Forbidden" and you can view it as text (notepad tmp.mp3)Paul Webster
http://dabdig.blogspot.com
Author of "Now Playing" plugins covering Radio France (FIP etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland
-
2020-08-17, 03:32 #233
- Join Date
- Dec 2015
- Posts
- 93
I 'think' this is right
Code:#C:\>curl --output tmp.mp3 "https://cf-media.sndcdn.com/n8YrqzZvpxxq.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLW1lZGlhLnNuZGNkbi5jb20vbjhZcnF6WnZweHhxLjEyOC5tcDMiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1OTc2NjAwNDh9fX1dfQ__&Signature=JspHJKWENV0hp0y2bUUp1LpnVpTTpAR8~29n9hv~aBzYPflfWzD2jiGaD9K1XHrBa76UXxhvwudbk9yHW7NckRWKRZJUCaKCzRdISHdRTaKKHDad7-UwHKjxOKrI9crlRx4KW1taD3dPOolcCJnfRrSf50TD~1GJhkbBW2cbaQsZTHZKXFcQfca-CB0k0PS~l07QOpzxg-sL-qhGjo9QFft~SNQXYUoHn~76ByV9dxtY1uJc1PHtK1yMB7PGyCa2a9sFnZhIoBYdkjgo5O4MdBk4YAt7MK~lBq64tpreJgmOh7Znqwt~e5u7r5ech7Y0XapP7FYlzYRbuQs0sXpxcA__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ" % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 1447k 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file tmp.mp3: Permission denied 1 1447k 1 17216 0 0 17216 0 0:01:26 --:--:-- 0:01:26 18065 curl: (23) Failed writing body (0 != 16384)
-
2020-08-17, 03:35 #234
- Join Date
- Dec 2015
- Posts
- 93
realised this was a permissions thing, now running CMD as an administrator I get:
Code:C:\>curl --output tmp.mp3 "https://cf-media.sndcdn.com/n8YrqzZvpxxq.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLW1lZGlhLnNuZGNkbi5jb20vbjhZcnF6WnZweHhxLjEyOC5tcDMiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1OTc2NjA4NTF9fX1dfQ__&Signature=dOC49~w7Bjk5f0sHOw4JQzdeCGgtcoDdT7SOeUA-zlhubnO~-6LrmQLbjUHNiLIqZP7W6UrRcB3rs7Bgbx-iaD9ivbrhhwp~0X28vqZ0FgsVltGgdvyXUOQ7YXZ6qBtk-L~HObbPSmDPHbOXzNc4cW8KpVqMMSbzebJWc0hnkH4JTwuHx7nqp40aw8yyT1kv-72aJP9ImJJW0oPze3tyTYWP1f7Hvayf3FZvpgqAkZRNeFvV9EQ10bofhu3xTDXND34aqfnaf2h4~kmDFq4ZsSWbESbKKhj4nidcPiH5ZPp7PzB6pAwksjpMDn2TroajotFEQEvospsFW91JM87CwQ__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ" % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1447k 100 1447k 0 0 1447k 0 0:00:01 --:--:-- 0:00:01 2810k
Last edited by mrmichaelwright; 2020-08-17 at 03:38.
-
2020-08-26, 05:38 #235
- Join Date
- Dec 2015
- Posts
- 93
Managed to give this some time
I am able to listen to temp.mp3
Code:curl --output tmp.mp3 "https://cf-media.sndcdn.com/n8YrqzZvpxxq.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLW1lZGlhLnNuZGNkbi5jb20vbjhZcnF6WnZweHhxLjEyOC5tcDMiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1OTg0NDU0OTB9fX1dfQ__&Signature=dJ3pVWPX9eORT~Y9hZKYXQCPtPnMmD42Oolt8OPc9Yn5TdqHiARXeF3JjyYHAmsaFI0G4CgF9xPV9ykHgxnq75HAsW0za3QIytw2MCoGG5FiT0cNrN~zA4sPkiY7QWP06dMCYbp3p8eW88CshHZWncFYjp6XAgVwsqJP2FTEFq6wfDHGE9DqkVZiKc14PzXvX4cvv8ZK6iXK7y~eaog0cjYXv92wGIMzpi9ZDfGRbbUjG2v04XEUVmXrn~bEO3KykuWnFM8bF~RGXkAzFApLtNHKjH8lJmZI7eOl2mxraUrmC2OcGQ6orM717~-kiiNtp-xJCdZ2DsmTR8o8g3y22Q__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ" % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1447k 100 1447k 0 0 1447k 0 0:00:01 --:--:-- 0:00:01 1889k
-
2020-10-27, 13:40 #236
- Join Date
- Mar 2019
- Location
- Eindhoven - Netherlands
- Posts
- 29
Possible solution for streams stopping at 10-20 minutes
Everytime I tried the plugin I couldn't get it to work properly, streams mostly stopped around 10-20 minutes.
But now I seemed to have found a solution, thought I'd put it here for anyone who might be interested.
Apart from the mixcloud plugin i've also installed the playmp4 plugin from bpa and ffmpeg by hand.
then in filetypes mpeg4 I disabled AAC and FLAC for MPEG4 playback and then enabled PCM so ffmpeg decodes to pcm,
from then on I can play mixcloud tracks to the end.
I'm not sure what's going on there, but I think the decoding changes something in the stream, or ffmpeg downloads the whole stream at once, anyhowI will keep playing mixcloud tracks and see if it works on all tracks. But for now I'm one happy camper.
On a sidenote I should mention that it starts kindof slow, and that playing two mixcloud streams after each other doesn't seem to work so well. This is on a PI4 running dietpi...
Cheers!
Dennis
-
2020-11-07, 06:30 #237
- Join Date
- Apr 2005
- Posts
- 14
Mixcloud Plugin Not Working
I was trying to play Mixcloud this morning and I'm getting an error:
[20-11-07 07:57:59.6638] Plugins::MixCloud::ProtocolHandler::getTrackUrl (114) Error: Cannot get play URL for NTSRadio/mac-demarco-3rd-november-2020/ from https://www.dlmixcloud.com/ajax.php
[20-11-07 07:57:59.6643] Slim::Player::Song:pen (409) Error: Couldn't create command line for unk playback for [mixcloud://NTSRadio/mac-demarco-3rd-november-2020/]
(This repeats many times)
I've tried several other mixes both by directly putting in the MixCloud URL or browsing. Did Mixcloud change their site or something?
Thanks!Last edited by hardhead; 2020-11-07 at 06:39.
-
2020-11-07, 10:40 #238
- Join Date
- Apr 2005
- Location
- UK/London
- Posts
- 3,613
Does it download successfully if you access it from the dlmixcloud site (which is no related to MixCloud)?
Paul Webster
http://dabdig.blogspot.com
Author of "Now Playing" plugins covering Radio France (FIP etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland
-
2020-11-07, 12:26 #239
- Join Date
- Apr 2005
- Posts
- 14
-
2020-11-19, 06:10 #240
- Join Date
- Dec 2015
- Posts
- 93
I have now moved on to LMS 8.x and the problem still persists