Announcement

Collapse
No announcement yet.

Mixcloud plugin does not work on LMS 8.1.1

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • daumar
    replied
    Hi, i have to admitt that I am not a real expert in this. I am using the Pinkdot package which has 8.1.1 as the lastest version. apparently there is no newer version available to date. I may need to look into docker but have never done before :-)
    Last edited by daumar; 2023-01-11, 15:21.

    Leave a comment:


  • bpa
    replied
    On the same System. I can play the URL below using ffplay but not from "tune-in" on LMS. With LMS I get a 403 forbidden.
    Code:
    https://stream1.mixcloud.com/secure/c/m4a/64/4/4/c/e/8313-b4a0-4524-9e98-af28dd7d9a2d.m4a?sig=5vBw2YrwEoIISpkGVUxVng

    Leave a comment:


  • Paul Webster
    replied
    May well be that things work better with newer LMS.
    Could try copying the m4a URL from the logs (full version not the forum abbreviated one) and ask LMS to play it directly - which would show if there is a problem with playing the underlying content (avoiding the MixCloud protocol prefix). It should work but might need to generate a new one if tokens expired.

    Leave a comment:


  • bpa
    replied
    Originally posted by daumar View Post
    I was able to stream a track that is of type "mp4", but seems that type "unk" may e the issue. I have no idea, what unk may be :-(​
    "unk" is assigned to any format which cannot be determined ( unk = unknown )
    The "mixcloud://" is a designator for a protocol handler which handles interactions and determining audio type of a stream.
    Since you have a "unk" it often means protocol handler is not working correctly.

    Native MPEG4 handling was only added in 8.1.* (before native I think ffmpeg was used) . There were lots of LMS/MPEG4 bug fixes since 8.1.1 - I'd advise to upgrade LMS to 8.3.1 so that any issues due to fixed bugs can be eliminated.

    Leave a comment:


  • Paul Webster
    replied
    I think the plugin is OK - but LMS is not determining how to play the m4a stream.

    Leave a comment:


  • daumar
    replied
    i have set login to status info and this is the startup log.
    Refresh (50, 100, 500, 1000 lines) Download [23-01-11 08:56:13.7589] Plugins::ShairTunes2W::Plugin:ublishPlayer (441) avahi-publish-player not in path
    [23-01-11 08:56:13.7593] Plugins::ShairTunes2W::Plugin:ublishPlayer (450) dns-sd not in path
    [23-01-11 08:56:13.7596] Plugins::ShairTunes2W::Plugin:ublishPlayer (459) mDNSPublish not in path
    [23-01-11 08:56:13.7598] Plugins::ShairTunes2W::Plugin:ublishPlayer (461) using built-in helper: /volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins/ShairTunes2W/Bin/shairport_helper-x64-linux
    [23-01-11 08:56:13.7661] Plugins::ShairTunes2W::Plugin::addPlayer (346) create client Slim::Player::Receiver=ARRAY(0x766ddd8) with proc Proc::Background=HASH(0xa6d5550)
    [23-01-11 08:56:13.7861] Plugins::ShairTunes2W::Plugin:layerSubscriptionChange (319) request=client new client=Slim::Player::Receiver=ARRAY(0xa716660) 00:04:20:17:b4:9e
    [23-01-11 08:56:13.7868] Plugins::ShairTunes2W::Plugin::createListenPort (399) Created listener on port 42296
    [23-01-11 08:56:13.7875] Plugins::ShairTunes2W::Plugin:ublishPlayer (441) avahi-publish-player not in path
    [23-01-11 08:56:13.7879] Plugins::ShairTunes2W::Plugin:ublishPlayer (450) dns-sd not in path
    [23-01-11 08:56:13.7882] Plugins::ShairTunes2W::Plugin:ublishPlayer (459) mDNSPublish not in path
    [23-01-11 08:56:13.7884] Plugins::ShairTunes2W::Plugin:ublishPlayer (461) using built-in helper: /volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins/ShairTunes2W/Bin/shairport_helper-x64-linux
    [23-01-11 08:56:13.7937] Plugins::ShairTunes2W::Plugin::addPlayer (346) create client Slim::Player::Receiver=ARRAY(0xa716660) with proc Proc::Background=HASH(0xa6f93b8)
    [23-01-11 08:56:13.8069] Plugins::ShairTunes2W::Plugin:layerSubscriptionChange (319) request=client new client=Slim::Player::Receiver=ARRAY(0x26fef28) 00:04:20:18:05:35
    [23-01-11 08:56:13.8077] Plugins::ShairTunes2W::Plugin::createListenPort (399) Created listener on port 41650
    [23-01-11 08:56:13.8083] Plugins::ShairTunes2W::Plugin:ublishPlayer (441) avahi-publish-player not in path
    [23-01-11 08:56:13.8086] Plugins::ShairTunes2W::Plugin:ublishPlayer (450) dns-sd not in path
    [23-01-11 08:56:13.8089] Plugins::ShairTunes2W::Plugin:ublishPlayer (459) mDNSPublish not in path
    [23-01-11 08:56:13.8091] Plugins::ShairTunes2W::Plugin:ublishPlayer (461) using built-in helper: /volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins/ShairTunes2W/Bin/shairport_helper-x64-linux
    [23-01-11 08:56:13.8145] Plugins::ShairTunes2W::Plugin::addPlayer (346) create client Slim::Player::Receiver=ARRAY(0x26fef28) with proc Proc::Background=HASH(0xa758c28)
    [23-01-11 08:56:14.0549] Slim::Networking:iscovery::getFakeVersion (131)
    You're using a SB Radio with a buggy firmware not recognizing this version of Logitech Media Server.
    Please consider patching it. Until then we'll try to play nice and return a fake version number...

    See https://github.com/Logitech/slimserv...media-server-8.
    [23-01-11 08:56:14.4118] Plugins::ShairTunes2W::Plugin:layerSubscriptionChange (319) request=client new client=Slim::Player::Receiver=ARRAY(0xa083090) 00:04:20:17:ea:9b
    [23-01-11 08:56:14.4127] Plugins::ShairTunes2W::Plugin::createListenPort (399) Created listener on port 39476
    [23-01-11 08:56:14.4134] Plugins::ShairTunes2W::Plugin:ublishPlayer (441) avahi-publish-player not in path
    [23-01-11 08:56:14.4138] Plugins::ShairTunes2W::Plugin:ublishPlayer (450) dns-sd not in path
    [23-01-11 08:56:14.4141] Plugins::ShairTunes2W::Plugin:ublishPlayer (459) mDNSPublish not in path
    [23-01-11 08:56:14.4143] Plugins::ShairTunes2W::Plugin:ublishPlayer (461) using built-in helper: /volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins/ShairTunes2W/Bin/shairport_helper-x64-linux
    [23-01-11 08:56:14.4206] Plugins::ShairTunes2W::Plugin::addPlayer (346) create client Slim::Player::Receiver=ARRAY(0xa083090) with proc Proc::Background=HASH(0xa779978)
    [23-01-11 08:56:15.6215] Slim::Player::StreamingController:layerActive (2013) 00:04:20:17:ed:2a player already active: 00:04:20:29:29:66
    [23-01-11 08:56:15.6218] Slim::Player::Squeezebox::reconnect (88) 00:04:20:29:29:66 forcing stop on pseudo-reconnect
    [23-01-11 08:56:15.6233] Plugins::ShairTunes2W::Plugin:layerSubscriptionChange (319) request=client new client=Slim::Player::SqueezePlay=ARRAY(0xa6f48d0) 00:04:20:29:29:66
    [23-01-11 08:56:15.6241] Plugins::ShairTunes2W::Plugin::createListenPort (399) Created listener on port 46517
    [23-01-11 08:56:15.6247] Plugins::ShairTunes2W::Plugin:ublishPlayer (441) avahi-publish-player not in path
    [23-01-11 08:56:15.6251] Plugins::ShairTunes2W::Plugin:ublishPlayer (450) dns-sd not in path
    [23-01-11 08:56:15.6254] Plugins::ShairTunes2W::Plugin:ublishPlayer (459) mDNSPublish not in path
    [23-01-11 08:56:15.6256] Plugins::ShairTunes2W::Plugin:ublishPlayer (461) using built-in helper: /volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins/ShairTunes2W/Bin/shairport_helper-x64-linux
    [23-01-11 08:56:15.6319] Plugins::ShairTunes2W::Plugin::addPlayer (346) create client Slim::Player::SqueezePlay=ARRAY(0xa6f48d0) with proc Proc::Background=HASH(0xa756280)
    [23-01-11 08:56:15.6441] Slim::Web::Cometd::handler (421) errorNeedsClient: 00:04:20:2b:59:95, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
    [23-01-11 08:56:16.1027] Slim::Player::StreamingController:layerActive (2013) 00:04:20:17:ed:2a player already active: 00:04:20:2b:59:95
    [23-01-11 08:56:16.1032] Slim::Player::Squeezebox::reconnect (88) 00:04:20:2b:59:95 forcing stop on pseudo-reconnect
    [23-01-11 08:56:16.1274] Plugins::ShairTunes2W::Plugin:layerSubscriptionChange (319) request=client new client=Slim::Player::SqueezePlay=ARRAY(0xa9ebc70) 00:04:20:2b:59:95
    [23-01-11 08:56:16.1282] Plugins::ShairTunes2W::Plugin::createListenPort (399) Created listener on port 44528
    [23-01-11 08:56:16.1288] Plugins::ShairTunes2W::Plugin:ublishPlayer (441) avahi-publish-player not in path
    [23-01-11 08:56:16.1291] Plugins::ShairTunes2W::Plugin:ublishPlayer (450) dns-sd not in path
    [23-01-11 08:56:16.1295] Plugins::ShairTunes2W::Plugin:ublishPlayer (459) mDNSPublish not in path
    [23-01-11 08:56:16.1297] Plugins::ShairTunes2W::Plugin:ublishPlayer (461) using built-in helper: /volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins/ShairTunes2W/Bin/shairport_helper-x64-linux
    [23-01-11 08:56:16.1358] Plugins::ShairTunes2W::Plugin::addPlayer (346) create client Slim::Player::SqueezePlay=ARRAY(0xa9ebc70) with proc Proc::Background=HASH(0xa7797f8)​

    Leave a comment:


  • daumar
    replied
    hi guys,

    this is the current log part


    [23-01-11 08:51:21.1412] Slim::Player::TranscodingHelper::getConvertCommand 2 (485) Error: Didn't find any command matches for type: unk
    [23-01-11 08:51:21.1415] Slim::Player::Song:pen (415) Error: Couldn't create command line for unk playback for [mixcloud://High_Fashion/ben-liebrand-high-fashion-dance-music-volume-5/]
    [23-01-11 08:51:21.1418] Slim::Player::StreamingController::_playersMessage (796) Problem: Unable to play file type for:: mixcloud://High_Fashion/ben-liebrand-high-fashion-dance-music-volume-5/
    [23-01-11 08:51:21.1446] Slim::Player::StreamingController::_willRetry (1408) no retry data
    [23-01-11 08:51:21.1449] Slim::Player::StreamingController::_setStreamingSt ate (2386) new streaming state IDLE
    [23-01-11 08:51:21.1453] Slim::Player::StreamingController::nextsong (889) The next song is number 0, was 0
    [23-01-11 08:52:07.5949] Slim::Player::StreamingController::stop (2117) 00:04:20:29:29:66
    [23-01-11 08:52:07.5953] Slim::Player::StreamingController::resetSongqueue (1796) Song queue is now
    [23-01-11 08:52:07.5967] Slim::Player::StreamingController:lay (2120) 00:04:20:29:29:66
    [23-01-11 08:52:07.5982] Slim::Player::StreamingController::_setPlayingStat e (2377) new playing state STOPPED
    [23-01-11 08:52:07.5985] Slim::Player::StreamingController::_setStreamingSt ate (2386) new streaming state IDLE
    [23-01-11 08:52:07.5995] Slim::Player::Song::new (109) index 0 -> mixcloud://High_Fashion/ben-liebrand-grandmix-2022/
    [23-01-11 08:52:07.6006] Slim::Player::StreamingController::_setStreamingSt ate (2386) new streaming state TRACKWAIT
    [23-01-11 08:52:07.6015] Slim::Player::StreamingController::_playersMessage (796) Getting stream info...: mixcloud://High_Fashion/ben-liebrand-grandmix-2022/
    [23-01-11 08:52:07.6045] Slim::Player::Song::getNextSong (223) mixcloud://High_Fashion/ben-liebrand-grandmix-2022/
    [23-01-11 08:52:07.6048] Slim::Player::Song::getNextSong (245) scanning URL mixcloud://High_Fashion/ben-liebrand-grandmix-2022/
    [23-01-11 08:52:07.6057] Slim::Player::Song::getNextSong (223) mixcloud://High_Fashion/ben-liebrand-grandmix-2022/
    [23-01-11 08:52:07.6064] Plugins::MixCloud::ProtocolHandler::_fetchTrackExt ra (184) Fetching complement with downloader mixcloud://High_Fashion/ben-liebrand-grandmix-2022/ https://www.mixcloud.com/High_Fashio...grandmix-2022/
    [23-01-11 08:52:07.7035] Slim::Player::TranscodingHelper::getConvertCommand 2 (485) Error: Didn't find any command matches for type: unk
    [23-01-11 08:52:13.4242] Plugins::MixCloud::ProtocolHandler::__ANON__ (207) Got play URL https://stream1.mixcloud.com/secure/...EoIISpkGVUxVng for mixcloud://High_Fashion/ben-liebrand-grandmix-2022/ from download
    [23-01-11 08:52:13.7734] Slim::Player::StreamingController::_nextTrackReady (744) 00:04:20:29:29:66: nextTrack will be index 0
    [23-01-11 08:52:13.7737] Slim::Player::StreamingController::_Stream (1210) Song queue is now 0
    [23-01-11 08:52:13.7739] Slim::Player::StreamingController::_Stream (1213) 00:04:20:29:29:66: preparing to stream song index 0
    [23-01-11 08:52:13.7742] Slim::Player::Song:pen (360) mixcloud://High_Fashion/ben-liebrand-grandmix-2022/
    [23-01-11 08:52:13.7750] Slim::Player::Song:pen (384) seek=false time=0 canSeek=0SEEK_ERROR_TYPE_NOT_SUPPORTED
    [23-01-11 08:52:13.7762] Slim::Player::TranscodingHelper::getConvertCommand 2 (485) Error: Didn't find any command matches for type: unk
    [23-01-11 08:52:13.7765] Slim::Player::Song:pen (415) Error: Couldn't create command line for unk playback for [mixcloud://High_Fashion/ben-liebrand-grandmix-2022/]
    [23-01-11 08:52:13.7768] Slim::Player::StreamingController::_playersMessage (796) Problem: Unable to play file type for:: mixcloud://High_Fashion/ben-liebrand-grandmix-2022/
    [23-01-11 08:52:13.7791] Slim::Player::StreamingController::_willRetry (1408) no retry data
    [23-01-11 08:52:13.7794] Slim::Player::StreamingController::_setStreamingSt ate (2386) new streaming state IDLE
    [23-01-11 08:52:13.7798] Slim::Player::StreamingController::nextsong (889) The next song is number 0, was 0


    I was able to stream a track that is of type "mp4", but seems that type "unk" may e the issue. I have no idea, what unk may be :-(


    any idea?

    thanks a million!
    martin

    Leave a comment:


  • bpa
    replied
    When the "unk playback" message is logged it is usually means there is no protocol handler installed (I.e. the one for mixcloud:") or it is isn't working properly

    I'd enable logging for the mixcloud plugin and check that it starts OK - so the plugin logging will have to be made persistent (i.e. check box "Save logging settings for use at next application restart" ) and LMS rebooted to see if the plugin starts OK when LMS boots.

    Leave a comment:


  • Paul Webster
    replied
    Originally posted by daumar View Post
    Code:
    23-01-10 09:28:01.5552 Slim::Player::Song::open (415) Error: Couldn't create command line for unk playback for mixcloud://akim_b/absolut-soul-sonder-show-01112022-on-soulpowerfm


    I think you will need to increase the logging level in LMS to see what it calculated when trying to construct a command line for the player.
    Settings/Advanced/Logging
    and then increase the level for player.source ... and maybe some others (some experts on LMS and file-types may well come along with more ideas).

    Leave a comment:


  • radish112
    replied
    This post from seekasoul worked for me:
    ----------------------------------------

    Re: mixcloud stops playing


    ...running Mixcloud plugin v.0.9 on LMS 8.4 on pCP 8.2.0... solved by putting:
    Settings -> Server -> Network / Streaming Mode For HTTP(S) = Persistent mode​

    Leave a comment:


  • daumar
    replied
    hi again,

    i installed FFMEG on the synology and server log gives me noch this error


    [23-01-10 09:28:01.5552] Slim::Player::Song:pen (415) Error: Couldn't create command line for unk playback for [mixcloud://akim_b/absolut-soul-sonder-show-01112022-on-soulpowerfm/]​

    the 404 error I had earlier seems gone, but still the track plays without sound for 8 seconds and then stops.

    any further suggestion? would really love to get this running ;-)

    thanks!
    Martin

    Leave a comment:


  • Paul Webster
    replied
    I don't know for sure that it is always required ... it probably depends on your LMS conversion rules etc.
    However, if I play it from my pCP installation then I see ffmpeg running to handle the content.

    Leave a comment:


  • daumar
    replied
    I was not aware that ffmpeg is required. I will check this later :-)

    Leave a comment:


  • Paul Webster
    replied
    Missing ffmpeg perhaps.

    Leave a comment:


  • daumar
    replied
    good point.

    this is the log...any idea?


    ($a, "403 Forbidden");
    } at /volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins/YouTube/API.pm line 169.
    [23-01-05 20:43:52.1235] Plugins::YouTube::API::__ANON__ (170) 403 Forbidden
    [23-01-05 20:43:52.1237] Plugins::YouTube::ProtocolHandler::__ANON__ (932) 403 Forbidden
    [23-01-05 20:44:09.7360] Slim::Player::Song:pen (415) Error: Couldn't create command line for unk playback for [mixcloud://akim_b/absolut-soul-show-04012023-on-soulpowerfm/]
    [23-01-05 20:45:02.4534] Slim::Utils::Misc::msg (1266) Warning: [20:45:02.4531] Wide character (U+1F3B7) in uc at /usr/local/share/perl5/vendor_perl/Template/Filters.pm line 55.
    [23-01-05 20:45:11.6813] Slim::Player::Song:pen (415) Error: Couldn't create command line for unk playback for [mixcloud://akim_b/absolut-soul-show-04012023-on-soulpowerfm/]
    [23-01-05 20:51:18.8458] Slim::Utils::Misc::msg (1266) Warning: [20:51:18.8455] Wide character (U+1F3B7) in uc at /usr/local/share/perl5/vendor_perl/Template/Filters.pm line 55.
    [23-01-05 20:51:27.7007] Slim::Player::Song:pen (415) Error: Couldn't create command line for unk playback for [mixcloud://akim_b/absolut-soul-show-04012023-on-soulpowerfm/]
    [23-01-05 20:51:38.6471] Slim::Player::Song:pen (415) Error: Couldn't create command line for unk playback for [mixcloud://akim_b/absolut-soul-show-04012023-on-soulpowerfm/]
    [23-01-05 20:52:26.4325] Slim::Player::Song:pen (415) Error: Couldn't create command line for unk playback for [mixcloud://akim_b/absolut-soul-show-28122022-on-soulpowerfm/]
    [23-01-05 20:55:56.6647] Slim::Utils::Misc::msg (1266) Warning: [20:55:56.6643] Wide character (U+1F3B7) in uc at /usr/local/share/perl5/vendor_perl/Template/Filters.pm line 55.
    [23-01-05 20:56:03.5904] Slim::Player::Song:pen (415) Error: Couldn't create command line for unk playback for [mixcloud://akim_b/absolut-soul-show-28122022-on-soulpowerfm/]
    [23-01-05 21:38:37.5867] Slim::Player::Song:pen (415) Error: Couldn't create command line for unk playback for [mixcloud://akim_b/absolut-soul-show-28122022-on-soulpowerfm/]
    [23-01-05 21:39:06.3587] Slim::Player::Song:pen (415) Error: Couldn't create command line for unk playback for [mixcloud://High_Fashion/ben-liebrand-grandmix-2022/]
    [23-01-05 21:42:29.4113] Slim::Player::Song:pen (415) Error: Couldn't create command line for unk playback for [mixcloud://High_Fashion/ben-liebrand-grandmix-2022/]
    [23-01-05 21:42:45.3406] Plugins::MixCloud::ProtocolHandler::__ANON__ (145) could not find https://stream14.mixcloud.com/secure...EoIISpkGVUxVng header with format mp4 404 Not Found
    [23-01-05 21:42:45.3424] Slim::Player::Song:pen (415) Error: Couldn't create command line for unk playback for [mixcloud://High_Fashion/ben-liebrand-grandmix-2022/]
    [23-01-05 23:40:05.9987] Slim::Utils::Misc::msg (1266) Warning: [23:40:05.9983] Wide character (U+1F3B7) in uc at /usr/local/share/perl5/vendor_perl/Template/Filters.pm line 55.​

    Leave a comment:

Working...
X