Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 14 12311 ... LastLast
Results 1 to 10 of 140
  1. #1
    Senior Member
    Join Date
    Jul 2010
    Location
    Oz
    Posts
    343

    [Announce] Dynamic Playlists 3

    Dynamic Playlists 3

    Before posting here please do take a look at the FAQ.
    Based on Erland's original plugin but not maintained by him.

    This thread is for bugs reports. Please include relevant server log entries and the version number of LMS and your OS.

    GitHub release feed with update info, if available.

    If you need help creating your custom dynamic playlist take a look at this thread. Thank you.
    Last edited by afriend; 2021-12-01 at 15:46.

  2. #2
    Senior Member
    Join Date
    Jun 2017
    Posts
    542
    I am unable to install the plugin from the repo. When the server restarts after an attempt to install, the server log tell me this:

    Code:
    [21-09-02 00:42:45.8786] Slim::bootstrap::tryModuleLoad (286) Warning: Module [Plugins::DynamicPlayList::Plugin] failed to load:
    Can't locate Plugins/DynamicPlayList/Plugin.pm in @INC (you may need to install the Plugins::DynamicPlayList::Plugin module) (@INC contains: /usr/sbin/Plugins/Bandcamp/lib /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Bandcamp/lib /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/BBCSounds/lib /var/lib/squeezeboxserver/cache/InstalledPlugins /usr/share/squeezeboxserver/CPAN/arch/5.28/arm-linux-gnueabihf-thread-multi-64int /usr/share/squeezeboxserver/CPAN/arch/5.28/arm-linux-gnueabihf-thread-multi-64int/auto /usr/share/squeezeboxserver/CPAN/arch/5.28.1/arm-linux-gnueabihf-thread-multi-64int /usr/share/squeezeboxserver/CPAN/arch/5.28.1/arm-linux-gnueabihf-thread-multi-64int/auto /usr/share/squeezeboxserver/CPAN/arch/arm-linux-gnueabihf-thread-multi-64int /usr/share/squeezeboxserver/CPAN/arch/5.28 /usr/share/squeezeboxserver/lib /usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver /usr/sbin /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base) at (eval 900) line 1.
    BEGIN failed--compilation aborted at (eval 900) line 1.
    
    [21-09-02 00:42:45.8795] Slim::Utils::PluginManager::load (323) Error: Couldn't load Plugins::DynamicPlayList::Plugin
    Logitech Media Server Version: 8.3.0 - 1629376548 @ Thu Aug 19 14:58:08 CEST 2021
    Operating system: Debian - EN - utf8
    Platform Architecture: armv7l-linux
    Perl Version: 5.28.1 - arm-linux-gnueabihf-thread-multi-64int
    Audio::Scan: 1.02
    IO::Socket::SSL: 2.060
    Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)

    Will try a manual install tomorrow.
    LMS 8 nightly running on Raspberry Pi OS. Mostly virtual players, occasionally with SB Radio, Boom or Classic.

  3. #3
    Senior Member
    Join Date
    Jul 2010
    Location
    Oz
    Posts
    343
    You're right. One lower/upper case letter made all the difference. Should work now though. Sorry.

  4. #4
    Senior Member
    Join Date
    Jun 2017
    Posts
    542
    Quote Originally Posted by afriend View Post
    You're right. One lower/upper case letter made all the difference. Should work now though. Sorry.
    Thanks! Successfully installed from the repo this morning.

    Thank you for doing this. I've been hoping someone would take this on.
    LMS 8 nightly running on Raspberry Pi OS. Mostly virtual players, occasionally with SB Radio, Boom or Classic.

  5. #5
    Senior Member
    Join Date
    Jun 2017
    Posts
    542
    Not sure if this qualifies as a bug, but I think it's not the expected behavior. There does not seem to be a way to add a dynamic playlist to LMS favorites when using the default web interface. The option to add to favorites is in the context menu of Material skin. Is this a situation where you would expect the user to add the context menu plugin if they want this feature in the default interface?

    LMS 3.0, Raspberry Pi OS (Debian)

    Meta question: would it be better to start another thread for for questions and comments that don't qualify as bugs? I'm not sure if the statement, "Please report bugs only here" means that nothing but bug reports should go in this thread, or that bugs should never reported anywhere but in this thread. Or both.
    LMS 8 nightly running on Raspberry Pi OS. Mostly virtual players, occasionally with SB Radio, Boom or Classic.

  6. #6
    Senior Member
    Join Date
    Jul 2010
    Location
    Oz
    Posts
    343
    Quote Originally Posted by RobbH View Post
    Not sure if this qualifies as a bug, but I think it's not the expected behavior. There does not seem to be a way to add a dynamic playlist to LMS favorites when using the default web interface. The option to add to favorites is in the context menu of Material skin. Is this a situation where you would expect the user to add the context menu plugin if they want this feature in the default interface?
    I don't use favorites. But should be fixed in 3.1.2.
    BTW just in case you'd like to create your own custom dynamic playlists for favorites please note that one thing hasn't changed since the old DPL version: you can only add dynamic playlists to favorites that are "one-click" playlists, meaning those that don't request further parameter input from users. Only those dynamic playlist will show the save as fav. button.
    Last edited by afriend; 2021-09-03 at 11:50.

  7. #7
    Senior Member
    Join Date
    Jun 2017
    Posts
    542
    Quote Originally Posted by afriend View Post
    I don't use favorites. But should be fixed in 3.1.2.
    BTW just in case you'd like to create your own custom dynamic playlists for favorites please note that one thing hasn't changed since the old DPL version: you can only add dynamic playlists to favorites that are "one-click" playlists, meaning those that don't request further parameter input from users. Only those dynamic playlist will show the save as fav. button.
    That makes sense and shouldn't be an issue for me. So far, all my dynamic playlists are entirely predefined, with no runtime input required. Just lists of genres to include and exclude.
    LMS 8 nightly running on Raspberry Pi OS. Mostly virtual players, occasionally with SB Radio, Boom or Classic.

  8. #8
    Junior Member
    Join Date
    Sep 2021
    Posts
    2
    Hi
    I'm trying tu run your plugin (v 3.1.3) on a docker instance of LMS 8.2.0

    Code:
    Logitech Media Server Version : 8.2.0 - 1627922070 @ Tue Aug 3 11:37:35 CEST 2021
    Nom d'hôte : TNAS-5FB2
    Adresse IP du serveur : 192.168.1.142
    Port HTTP du serveur : 9000
    Système d'exploitation : Debian - FR - utf8
    Architecture de la plate-forme : x86_64-linux
    Version de Perl : 5.24.1 - x86_64-linux-gnu-thread-multi
    Audio::Scan : 1.02
    IO::Socket::SSL : 2.044
    Version de la base de données : DBD::SQLite 1.58 (sqlite 3.22.0)
    Platines identifiées : 1
    when trying to add a playlist, my current playing is stopping, my playlist is emptied but nothing else occurs

    here is a brief log extract

    Code:
    [21-09-05 18:24:55.8054] main::init (390) Starting Logitech Media Server (v8.2.0, 1627922070, Tue Aug  3 11:37:35 CEST 2021) perl 5.024001 - x86_64-linux-gnu-thread-multi
    [21-09-05 18:24:57.8296] Plugins::RaopBridge::Plugin::initPlugin (69) $VAR1 = {
              'binArch' => 'i386-linux',
              'isDebian' => 1,
              'os' => 'Linux',
              'osArch' => 'x86_64-linux',
              'osName' => 'Debian',
              'uid' => 'squeezeboxserver'
            };
    [21-09-05 18:24:58.7027] Plugins::DynamicMix::Plugin::commandCallback (371) DynamicMix: received command: playlist addtracks
    [21-09-05 18:24:58.7041] Plugins::DynamicMix::Plugin::commandCallback (371) DynamicMix: received command: playlist jump
    [21-09-05 18:24:58.7051] Plugins::DynamicMix::Plugin::commandCallback (371) DynamicMix: received command: playlist stop
    [21-09-05 18:24:59.4258] Plugins::DynamicMix::Plugin::commandCallback (371) DynamicMix: received command: playlist open
    [21-09-05 18:24:59.4290] Plugins::DynamicMix::Plugin::commandCallback (371) DynamicMix: received command: playlist open
    [21-09-05 18:25:00.3568] Plugins::DynamicMix::Plugin::commandCallback (371) DynamicMix: received command: playlist newsong
    [21-09-05 18:25:00.3579] Plugins::DynamicMix::Plugin::isDynamicPlaylistActive (609) DynamicPlaylist not active
    [21-09-05 18:27:01.8386] Plugins::DynamicMix::Plugin::commandCallback (371) DynamicMix: received command: playlist jump
    [21-09-05 18:27:01.8400] Plugins::DynamicMix::Plugin::commandCallback (371) DynamicMix: received command: playlist stop
    [21-09-05 18:27:02.6197] Plugins::DynamicMix::Plugin::commandCallback (371) DynamicMix: received command: playlist open
    [21-09-05 18:27:02.6216] Plugins::DynamicMix::Plugin::commandCallback (371) DynamicMix: received command: playlist open
    [21-09-05 18:27:05.3290] Plugins::DynamicMix::Plugin::commandCallback (371) DynamicMix: received command: playlist newsong
    [21-09-05 18:27:05.3300] Plugins::DynamicMix::Plugin::isDynamicPlaylistActive (609) DynamicPlaylist not active
    [21-09-05 18:27:57.3330] main::init (390) Starting Logitech Media Server (v8.2.0, 1627922070, Tue Aug  3 11:37:35 CEST 2021) perl 5.024001 - x86_64-linux-gnu-thread-multi
    [21-09-05 18:27:59.3596] Plugins::RaopBridge::Plugin::initPlugin (69) $VAR1 = {
              'binArch' => 'i386-linux',
              'isDebian' => 1,
              'os' => 'Linux',
              'osArch' => 'x86_64-linux',
              'osName' => 'Debian',
              'uid' => 'squeezeboxserver'
            };
    [21-09-05 18:28:00.0787] Plugins::DynamicMix::Plugin::commandCallback (371) DynamicMix: received command: playlist addtracks
    [21-09-05 18:28:00.0803] Plugins::DynamicMix::Plugin::commandCallback (371) DynamicMix: received command: playlist jump
    [21-09-05 18:28:00.0817] Plugins::DynamicMix::Plugin::commandCallback (371) DynamicMix: received command: playlist stop
    [21-09-05 18:28:00.7978] Plugins::DynamicMix::Plugin::commandCallback (371) DynamicMix: received command: playlist open
    [21-09-05 18:28:00.7999] Plugins::DynamicMix::Plugin::commandCallback (371) DynamicMix: received command: playlist open
    [21-09-05 18:28:01.7352] Plugins::DynamicMix::Plugin::commandCallback (371) DynamicMix: received command: playlist newsong
    [21-09-05 18:28:01.7362] Plugins::DynamicMix::Plugin::isDynamicPlaylistActive (609) DynamicPlaylist not active
    [21-09-05 18:35:02.4681] Plugins::DynamicMix::Plugin::commandCallback (371) DynamicMix: received command: playlist clear
    [21-09-05 18:35:02.4707] Plugins::DynamicMix::Plugin::commandCallback (371) DynamicMix: received command: playlist stop
    [21-09-05 18:35:12.9989] Plugins::DynamicMix::Plugin::getDynamicPlayLists (632) getDynamicPlayLists
    [21-09-05 18:35:13.0020] Plugins::DynamicMix::Plugin::getDynamicPlayLists (635) moods=Can't connect to localhost:10002 (Connection refused),,Connection refused at /usr/share/squeezeboxserver/CPAN/LWP/Protocol/http.pm line 50.
    [21-09-05 18:35:15.2308] Plugins::DynamicMix::Plugin::getDynamicPlayLists (632) getDynamicPlayLists
    [21-09-05 18:35:15.2335] Plugins::DynamicMix::Plugin::getDynamicPlayLists (635) moods=Can't connect to localhost:10002 (Connection refused),,Connection refused at /usr/share/squeezeboxserver/CPAN/LWP/Protocol/http.pm line 50.
    [21-09-05 18:35:27.3303] Plugins::DynamicMix::Plugin::getDynamicPlayLists (632) getDynamicPlayLists
    [21-09-05 18:35:27.3331] Plugins::DynamicMix::Plugin::getDynamicPlayLists (635) moods=Can't connect to localhost:10002 (Connection refused),,Connection refused at /usr/share/squeezeboxserver/CPAN/LWP/Protocol/http.pm line 50.
    Thank you for your consideration, Hope situation could be fixed

    Vincent

  9. #9
    Senior Member
    Join Date
    Jul 2010
    Location
    Oz
    Posts
    343
    Hey Vincent:

    I've never used the DynamicMix plugin nor MusicIP so I'm not sure how much I can help you here.
    I get multiple errors even with the old Dynamic Playlists plugin. You can ignore the commandCallbacks. And the DynamicPlaylist not active message just means that DPL is not playing any dynamic playlist provided by DynamicMix. The problem seems to be that DynamicMix (not DPL) is not able to connect to the local MusicIP server (port 10002). I got this error too (also with the old DPL version) and I don't even run Docker.

    DPL basically asks all plugins if they provide dynamic playlists (getDynamicPlayLists call) and lists them in the DPL home or context menu. That works otherwise you wouldn't see them. Then when you start a dynamic playlist DPL asks the plugin that provides the dynamic playlist to deliver tracks (getNextDynamicPlayListTracks call) and it's up to those plugins to send those tracks to DPL. To maintain compatibility with older plugins like SQLplayList I didn't change that (SQLplayList still works).

    All that makes me think that problem is somewhere on the MusicIP side.
    Since you're on Linux you might want to give Craig's MusicIP mixer a try (LMS plugin and linux server).
    Hope that helped at least a little.

  10. #10
    Junior Member
    Join Date
    Sep 2021
    Posts
    2
    Quote Originally Posted by afriend View Post
    Hey Vincent:

    All that makes me think that problem is somewhere on the MusicIP side.
    ...
    Hope that helped at least a little.
    Thank you for your help, I'll give all this Musicip stuff a try and hope to figure this out to get the best random mix configuration possible 👍

Posting Permissions

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