Home of the Squeezebox™ & Transporter® network music players.
Page 8 of 8 FirstFirst ... 678
Results 71 to 75 of 75
  1. #71
    Senior Member
    Join Date
    Jan 2008
    Posts
    344
    Quote Originally Posted by 505 View Post
    For me the track you referenced in the log file (RA.575) plays fine. Is this now also the case for you?
    Hi,
    No tracks on Mixcloud are working unfortunately. I am running the latest 7.9.1 nightly, as was the other user who complained. Could it be something to do with this?

    Below is a log extract for a typical req, with some repetitive parts cut out.

    I notice that the URL's have a double slash before the "residentadvisor"? Could this be the issue? I have tried removing it and requesting directly from a browser, but that doesn't seem to do anything.

    If I look at the browser's network traffic on the Mixcloud website, it seems to be playing HLS streams. Has the underlying technology changed or has this always been the case?

    Code:
    [17-07-11 10:57:39.1403] Plugins::MixCloud::ProtocolHandler::getTrackUrl (125) Mixcloud TrackId: /residentadvisor/ra580/
    [17-07-11 10:57:39.1409] Plugins::MixCloud::ProtocolHandler::getTrackUrl (136) Trying TrackUrl: http://stream1.mixcloud.com/c/originals//residentadvisor/ra.mp3
    [17-07-11 10:57:39.1832] Plugins::MixCloud::ProtocolHandler::getTrackUrl (136) Trying TrackUrl: http://stream2.mixcloud.com/c/originals//residentadvisor/ra.mp3
    ...
    [17-07-11 10:57:40.0023] Plugins::MixCloud::ProtocolHandler::getTrackUrl (136) Trying TrackUrl: http://stream49.mixcloud.com/c/originals//residentadvisor/ra.mp3
    [17-07-11 10:57:40.0131] Plugins::MixCloud::ProtocolHandler::getTrackUrl (136) Trying TrackUrl: http://stream50.mixcloud.com/c/originals//residentadvisor/ra.mp3
    [17-07-11 10:57:40.0246] Plugins::MixCloud::ProtocolHandler::getTrackUrl (147) Failed to find track in perfered format mp3. Trying mp4 format
    [17-07-11 10:57:40.0249] Plugins::MixCloud::ProtocolHandler::getTrackUrl (157) Trying TrackUrl: http://stream1.mixcloud.com/c/m4a/64//residentadvisor/ra.m4a
    [17-07-11 10:57:40.0732] Plugins::MixCloud::ProtocolHandler::getTrackUrl (157) Trying TrackUrl: http://stream2.mixcloud.com/c/m4a/64//residentadvisor/ra.m4a
    ...
    [17-07-11 10:57:40.8888] Plugins::MixCloud::ProtocolHandler::getTrackUrl (157) Trying TrackUrl: http://stream49.mixcloud.com/c/m4a/64//residentadvisor/ra.m4a
    [17-07-11 10:57:40.8995] Plugins::MixCloud::ProtocolHandler::getTrackUrl (157) Trying TrackUrl: http://stream50.mixcloud.com/c/m4a/64//residentadvisor/ra.m4a
    [17-07-11 10:57:40.9278] Plugins::MixCloud::ProtocolHandler::getMetadataFor (195) getMetadataFor: mixcloud://residentadvisor/ra580/
    [17-07-11 10:57:40.9282] Plugins::MixCloud::ProtocolHandler::getMetadataFor (214) need to fetch meta for mixcloud://residentadvisor/ra580/
    [17-07-11 10:57:40.9285] Plugins::MixCloud::ProtocolHandler::_fetchMeta (225) fetching meta for mixcloud://residentadvisor/ra580/ with http://api.mixcloud.com/residentadvisor/ra580/
    [17-07-11 10:57:40.9310] Plugins::MixCloud::ProtocolHandler::getMetadataFor (195) getMetadataFor: mixcloud://residentadvisor/ra580/
    [17-07-11 10:57:40.9314] Plugins::MixCloud::ProtocolHandler::getMetadataFor (214) need to fetch meta for mixcloud://residentadvisor/ra580/
    [17-07-11 10:57:40.9318] Plugins::MixCloud::ProtocolHandler::_fetchMeta (225) fetching meta for mixcloud://residentadvisor/ra580/ with http://api.mixcloud.com/residentadvisor/ra580/
    [17-07-11 10:57:40.9367] Plugins::MixCloud::ProtocolHandler::getTrackUrl (125) Mixcloud TrackId: /residentadvisor/ra580/
    [17-07-11 10:57:40.9371] Plugins::MixCloud::ProtocolHandler::getTrackUrl (136) Trying TrackUrl: http://stream1.mixcloud.com/c/originals//residentadvisor/ra.mp3
    [17-07-11 10:57:40.9830] Plugins::MixCloud::ProtocolHandler::getTrackUrl (136) Trying TrackUrl: http://stream2.mixcloud.com/c/originals//residentadvisor/ra.mp3
    [17-07-11 10:57:41.0276] Plugins::MixCloud::ProtocolHandler::getTrackUrl (136) Trying TrackUrl: http://stream3.mixcloud.com/c/originals//residentadvisor/ra.mp3
    ...
    [17-07-11 10:57:41.8085] Plugins::MixCloud::ProtocolHandler::getTrackUrl (136) Trying TrackUrl: http://stream48.mixcloud.com/c/originals//residentadvisor/ra.mp3
    [17-07-11 10:57:41.8183] Plugins::MixCloud::ProtocolHandler::getTrackUrl (136) Trying TrackUrl: http://stream49.mixcloud.com/c/originals//residentadvisor/ra.mp3
    [17-07-11 10:57:41.8285] Plugins::MixCloud::ProtocolHandler::getTrackUrl (136) Trying TrackUrl: http://stream50.mixcloud.com/c/originals//residentadvisor/ra.mp3
    [17-07-11 10:57:41.8387] Plugins::MixCloud::ProtocolHandler::getTrackUrl (147) Failed to find track in perfered format mp3. Trying mp4 format
    [17-07-11 10:57:41.8391] Plugins::MixCloud::ProtocolHandler::getTrackUrl (157) Trying TrackUrl: http://stream1.mixcloud.com/c/m4a/64//residentadvisor/ra.m4a
    ...
    [17-07-11 10:57:42.6633] Plugins::MixCloud::ProtocolHandler::getTrackUrl (157) Trying TrackUrl: http://stream48.mixcloud.com/c/m4a/64//residentadvisor/ra.m4a
    [17-07-11 10:57:42.6751] Plugins::MixCloud::ProtocolHandler::getTrackUrl (157) Trying TrackUrl: http://stream49.mixcloud.com/c/m4a/64//residentadvisor/ra.m4a
    [17-07-11 10:57:42.6900] Plugins::MixCloud::ProtocolHandler::getTrackUrl (157) Trying TrackUrl: http://stream50.mixcloud.com/c/m4a/64//residentadvisor/ra.m4a
    [17-07-11 10:57:42.7015] Plugins::MixCloud::ProtocolHandler::getNextTrack (85) formaturl: http://stream50.mixcloud.com/c/m4a/64//residentadvisor/ra.m4a
    [17-07-11 10:57:42.7047] Plugins::MixCloud::ProtocolHandler::getMetadataFor (195) getMetadataFor: mixcloud://residentadvisor/ra580/
    [17-07-11 10:57:42.7051] Plugins::MixCloud::ProtocolHandler::getMetadataFor (214) need to fetch meta for mixcloud://residentadvisor/ra580/
    [17-07-11 10:57:42.7055] Plugins::MixCloud::ProtocolHandler::_fetchMeta (225) fetching meta for mixcloud://residentadvisor/ra580/ with http://api.mixcloud.com/residentadvisor/ra580/
    [17-07-11 10:57:42.7186] Plugins::MixCloud::ProtocolHandler::requestString (414) GET /c/m4a/64//residentadvisor/ra.m4a HTTP/1.1
    Accept: */*
    User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
    Connection: close
    Host: stream50.mixcloud.com
    
    [17-07-11 10:57:42.7204] Plugins::MixCloud::ProtocolHandler::getMetadataFor (195) getMetadataFor: mixcloud://residentadvisor/ra580/
    [17-07-11 10:57:42.7208] Plugins::MixCloud::ProtocolHandler::getMetadataFor (214) need to fetch meta for mixcloud://residentadvisor/ra580/
    [17-07-11 10:57:42.7211] Plugins::MixCloud::ProtocolHandler::_fetchMeta (225) fetching meta for mixcloud://residentadvisor/ra580/ with http://api.mixcloud.com/residentadvisor/ra580/
    [17-07-11 10:57:42.7662] Plugins::MixCloud::ProtocolHandler::getMetadataFor (195) getMetadataFor: mixcloud://residentadvisor/ra580/
    [17-07-11 10:57:42.7666] Plugins::MixCloud::ProtocolHandler::getMetadataFor (214) need to fetch meta for mixcloud://residentadvisor/ra580/
    [17-07-11 10:57:42.7669] Plugins::MixCloud::ProtocolHandler::_fetchMeta (225) fetching meta for mixcloud://residentadvisor/ra580/ with http://api.mixcloud.com/residentadvisor/ra580/
    [17-07-11 10:57:42.7698] Plugins::MixCloud::ProtocolHandler::getMetadataFor (195) getMetadataFor: mixcloud://residentadvisor/ra580/
    [17-07-11 10:57:42.7702] Plugins::MixCloud::ProtocolHandler::getMetadataFor (214) need to fetch meta for mixcloud://residentadvisor/ra580/
    [17-07-11 10:57:42.7706] Plugins::MixCloud::ProtocolHandler::_fetchMeta (225) fetching meta for mixcloud://residentadvisor/ra580/ with http://api.mixcloud.com/residentadvisor/ra580/
    [17-07-11 10:57:42.7996] Plugins::MixCloud::ProtocolHandler::__ANON__ (239) caching meta for MP3 (Mixcloud) with URL mixcloud://residentadvisor/ra580/ new track url 
    [17-07-11 10:57:42.8033] Plugins::MixCloud::ProtocolHandler::__ANON__ (239) caching meta for MP3 (Mixcloud) with URL mixcloud://residentadvisor/ra580/ new track url 
    [17-07-11 10:57:42.8066] Plugins::MixCloud::ProtocolHandler::__ANON__ (239) caching meta for MP3 (Mixcloud) with URL mixcloud://residentadvisor/ra580/ new track url 
    [17-07-11 10:57:42.8132] Plugins::MixCloud::ProtocolHandler::__ANON__ (239) caching meta for MP3 (Mixcloud) with URL mixcloud://residentadvisor/ra580/ new track url 
    [17-07-11 10:57:42.8153] Plugins::MixCloud::ProtocolHandler::__ANON__ (239) caching meta for MP3 (Mixcloud) with URL mixcloud://residentadvisor/ra580/ new track url 
    [17-07-11 10:57:42.8170] Plugins::MixCloud::ProtocolHandler::__ANON__ (239) caching meta for MP3 (Mixcloud) with URL mixcloud://residentadvisor/ra580/ new track url 
    [17-07-11 10:57:42.8923] Plugins::MixCloud::ProtocolHandler::getMetadataFor (195) getMetadataFor: mixcloud://residentadvisor/ra580/
    [17-07-11 10:57:42.8927] Plugins::MixCloud::ProtocolHandler::getMetadataFor (198) known getMetadataFor for track: RA.580 Rahaan : 2017-07-09
    [17-07-11 10:57:42.8938] Plugins::MixCloud::ProtocolHandler::getMetadataFor (195) getMetadataFor: mixcloud://residentadvisor/ra580/
    [17-07-11 10:57:42.8942] Plugins::MixCloud::ProtocolHandler::getMetadataFor (198) known getMetadataFor for track: RA.580 Rahaan : 2017-07-09
    [17-07-11 10:57:42.8993] Plugins::MixCloud::ProtocolHandler::getMetadataFor (195) getMetadataFor: mixcloud://residentadvisor/ra580/
    [17-07-11 10:57:42.8997] Plugins::MixCloud::ProtocolHandler::getMetadataFor (198) known getMetadataFor for track: RA.580 Rahaan : 2017-07-09
    [17-07-11 10:57:42.9008] Plugins::MixCloud::ProtocolHandler::getMetadataFor (195) getMetadataFor: mixcloud://residentadvisor/ra580/
    ...
    [17-07-11 10:59:47.7138] Plugins::MixCloud::ProtocolHandler::getMetadataFor (195) getMetadataFor: mixcloud://residentadvisor/ra580/
    [17-07-11 10:59:47.7142] Plugins::MixCloud::ProtocolHandler::getMetadataFor (198) known getMetadataFor for track: RA.580 Rahaan : 2017-07-09
    [17-07-11 10:59:47.7150] Plugins::MixCloud::ProtocolHandler::getMetadataFor (195) getMetadataFor: mixcloud://residentadvisor/ra580/
    [17-07-11 10:59:47.7154] Plugins::MixCloud::ProtocolHandler::getMetadataFor (198) known getMetadataFor for track: RA.580 Rahaan : 2017-07-09

  2. #72
    Senior Member
    Join Date
    Mar 2011
    Posts
    131
    From the logs it appears that indeed something goes wrong. The plugin needs to fetch the trackID, and this is not happening. It parses the Mixcloud HTML over HTTPS. Do you have the Perl HTTPS libraries installed?
    The other thing that I can think of is that the Mixcloud HTML is different for different countries. If you really want to debug is, edit one file in the plugin a bit. It depends on your OS where the Mixcloud plugin is stored. It's the file ProtocolHandler.pm that you need to edit. On line 120 remove the # so that is reads:

    $log->debug($response->decoded_content);

    Restart LMS and switch the logging for Mixcloud to debug. This will produce a lot of output, because it will print the complete HTML in the log. Somewhere in the HTML, it should read "m-preview="https://audiocdn9.mixcloud.com/previews/2/f/d/4/93eb-ac0a-4207-a660-685b019a3650.mp3" (or something similar).
    My patch: Reduce brightness when screen saver is active for Touch
    Source code: GitHub for SqueezeCloud, Mixcloud, 22tracks and YouTube (old version)

  3. #73
    I think that is the problem for me. I am on Windows 10, before I was on Ubuntu.

    How can I install the libraries? Is that possible on Windows?

    Thanks in advance!
    2x Transporter, 4x Touch, 5x Radio, H/K Onyx (AirPlay-Bridge), Marantz Consolette (AirPlay-Bridge), iPhone 6 (iPeng), iMac-5k (SqueezePlay)

  4. #74
    Now I think, it has to be another problem. Spotty also needs the ssl libraries and Spotty works.
    2x Transporter, 4x Touch, 5x Radio, H/K Onyx (AirPlay-Bridge), Marantz Consolette (AirPlay-Bridge), iPhone 6 (iPeng), iMac-5k (SqueezePlay)

  5. #75
    Senior Member
    Join Date
    Mar 2011
    Posts
    131
    Quote Originally Posted by dermicha View Post
    Now I think, it has to be another problem. Spotty also needs the ssl libraries and Spotty works.
    Could you try the change to enable debugging the HTML the plugin retrieves? Without that I cannot see why things might fail.
    My patch: Reduce brightness when screen saver is active for Touch
    Source code: GitHub for SqueezeCloud, Mixcloud, 22tracks and YouTube (old version)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •