PDA

View Full Version : Feature Request : Random Seed



d6jg
2019-01-13, 05:25
To be used in conjunction with DSTM.

I’ll explain what I’d like to happen as it will perhaps explain what I mean in an easily understood way.

Walk up to Radio and press a preset which is a special playlist.
The playlist contains no tracks but LMS has an instruction based upon predefined genre / year etc to generate a handful of tracks into the playlist to act as seed tracks for DSTM to takeover and do its stuff,
You could have multiple such random seed playlists eg Classic 70s Rock, 50s Jazz etc

Yes you could create a playlist of 5 tracks and assign it to the preset but every time you played it you’d get the same initial results

I don’t think this is the same as Random Song Mix which is local only and not as fine grained as DSTM coupled with Lastmix.

Does this make sense?

mark wollschlager
2019-01-13, 12:15
To be used in conjunction with DSTM.

I’ll explain what I’d like to happen as it will perhaps explain what I mean in an easily understood way.

Walk up to Radio and press a preset which is a special playlist.
The playlist contains no tracks but LMS has an instruction based upon predefined genre / year etc to generate a handful of tracks into the playlist to act as seed tracks for DSTM to takeover and do its stuff,
You could have multiple such random seed playlists eg Classic 70s Rock, 50s Jazz etc

Yes you could create a playlist of 5 tracks and assign it to the preset but every time you played it you’d get the same initial results

I don’t think this is the same as Random Song Mix which is local only and not as fine grained as DSTM coupled with Lastmix.

Does this make sense?
Sounds like my much loved Smart Mix...R.I.P.
I would very much like something like this that was not tied to an external source.
My library is big and diverse enough to do this.

mherger
2019-01-13, 22:41
> Sounds like my much loved Smart Mix...R.I.P.

Or Erland's Dynamic Playlists?

Unfortunately the.echonest.com is no more, and what Spotify exposes is
not half as powerful as TEN. In particularly not with local files. Would
a Random Play genre mix, limited to a few tracks, come close to what
you'd like to have?

--

Michael

bakker_be
2019-01-14, 01:42
> Sounds like my much loved Smart Mix...R.I.P.

Or Erland's Dynamic Playlists?

Unfortunately the.echonest.com is no more, and what Spotify exposes is
not half as powerful as TEN. In particularly not with local files. Would
a Random Play genre mix, limited to a few tracks, come close to what
you'd like to have?

--

Michael
This comes actually very close to the way I use Spicefly Sugarcube and MusicIP. The Random Mix function is set to just give me one track out of a slightly limited genre subset (eliminating music for my kids & wife). From there Sugarcube takes over.

d6jg
2019-01-14, 02:31
> Sounds like my much loved Smart Mix...R.I.P.

Or Erland's Dynamic Playlists?

Unfortunately the.echonest.com is no more, and what Spotify exposes is
not half as powerful as TEN. In particularly not with local files. Would
a Random Play genre mix, limited to a few tracks, come close to what
you'd like to have?

--

Michael

Yes. Its the fact that Random Mix is unlimited that makes it unsuitable.

d6jg
2019-01-14, 02:32
This comes actually very close to the way I use Spicefly Sugarcube and MusicIP. The Random Mix function is set to just give me one track out of a slightly limited genre subset (eliminating music for my kids & wife). From there Sugarcube takes over.

That is exactly what I am talking about but with DSTM instead of Sugarcube.

bakker_be
2019-01-14, 06:16
That is exactly what I am talking about but with DSTM instead of Sugarcube.

Hmmm, in checking the concept of this with DSTM, I seem to have discovered a bug in DSTM. It doesn't take into account the Sugarcube status for an individual player ...

bakker_be
2019-01-14, 06:24
Hmmm, in checking the concept of this with DSTM, I seem to have discovered a bug in DSTM. It doesn't take into account the Sugarcube status for an individual player ...

Or it's because it started as a Random mix , that's a possibility as well ...


[19-01-14 13:50:27.8196] main::init (387) Starting Logitech Media Server (v7.9.2, 1547382380, Sun Jan 13 13:47:26 CET 2019) perl 5.026001 - x86_64-linux-gnu-thread-multi
[19-01-14 13:50:28.7395] Plugins::CastBridge::Plugin::initPlugin (42) $VAR1 = {
'isDebian' => 1,
'binArch' => 'i386-linux',
'uid' => 'squeezeboxserver',
'os' => 'Linux',
'osArch' => 'x86_64-linux',
'osName' => 'Debian'
};
[19-01-14 13:50:28.7604] Plugins::SugarCube::Breakout::init (226) Initialising SugarCube Database
[19-01-14 13:50:28.7733] Plugins::TrackStat::Storage::refreshTracks (1242) TrackStat: Synchronizing TrackStat data, please wait...
[19-01-14 14:06:27.3258] Plugins::TrackStat::Storage::refreshTracks (1891) TrackStat: Synchronizing TrackStat data finished
[19-01-14 14:11:40.5088] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-14 14:14:19.7113] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-14 14:20:06.0213] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.

Sugarcube is disabled for the particular player I'm testing it with, DSTM with Spotify recommendations enabled ...

bakker_be
2019-01-14, 06:34
Or it's because it started as a Random mix , that's a possibility as well ...


[19-01-14 13:50:27.8196] main::init (387) Starting Logitech Media Server (v7.9.2, 1547382380, Sun Jan 13 13:47:26 CET 2019) perl 5.026001 - x86_64-linux-gnu-thread-multi
[19-01-14 13:50:28.7395] Plugins::CastBridge::Plugin::initPlugin (42) $VAR1 = {
'isDebian' => 1,
'binArch' => 'i386-linux',
'uid' => 'squeezeboxserver',
'os' => 'Linux',
'osArch' => 'x86_64-linux',
'osName' => 'Debian'
};
[19-01-14 13:50:28.7604] Plugins::SugarCube::Breakout::init (226) Initialising SugarCube Database
[19-01-14 13:50:28.7733] Plugins::TrackStat::Storage::refreshTracks (1242) TrackStat: Synchronizing TrackStat data, please wait...
[19-01-14 14:06:27.3258] Plugins::TrackStat::Storage::refreshTracks (1891) TrackStat: Synchronizing TrackStat data finished
[19-01-14 14:11:40.5088] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-14 14:14:19.7113] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-14 14:20:06.0213] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.

Sugarcube is disabled for the particular player I'm testing it with, DSTM with Spotify recommendations enabled ...
OK, confirmed it's incompatible with using the Random Mix function. Picked a song myself and then it works ...

mherger
2019-01-14, 06:56
> OK, confirmed it's incompatible with using the Random Mix function.
> Picked a song myself and then it works ...

It should work as long as RandomPlay is not supposed to add new tracks
automatically. This can be disabled in the mix settings.

--

Michael

bakker_be
2019-01-14, 09:52
> OK, confirmed it's incompatible with using the Random Mix function.
> Picked a song myself and then it works ...

It should work as long as RandomPlay is not supposed to add new tracks
automatically. This can be disabled in the mix settings.

--

Michael

Confirmed, that way it does work.

d6jg
2019-01-14, 13:32
Thanks for the pointer Michael. I now have a Random Song Mix based on Genres which creates a 5 track playlist and doesn’t add more but instead lets DSTM do its stuff. I can save it as a Favourite which in turn means I can assign a preset.
But I can only have one such “random seed” it seems and basing the choice solely on Genres makes it a bit wide.
Thanks all

bakker_be
2019-01-15, 01:33
Thanks for the pointer Michael. I now have a Random Song Mix based on Genres which creates a 5 track playlist and doesn’t add more but instead lets DSTM do its stuff. I can save it as a Favourite which in turn means I can assign a preset.
But I can only have one such “random seed” it seems and basing the choice solely on Genres makes it a bit wide.
Thanks all

Why do you add 5 songs? AFAIK DSTM only looks at the last song playing, so a 1-song mix would give you a quicker view on what it's mixing in, thus enabling you to restart the mix if the result doesn't immediately strike your fancy. That's how I do it with SugarCube.

mherger
2019-01-15, 01:49
DSTM does give the mixer as many tracks as the mixer requests. That’s usually more than one. Eg. Spotty‘s mixer would use five tracks as a seed, as this is the maximum Spotify would accept.

d6jg
2019-01-15, 03:52
DSTM does give the mixer as many tracks as the mixer requests. That’s usually more than one. Eg. Spotty‘s mixer would use five tracks as a seed, as this is the maximum Spotify would accept.
I’m using in conjunction with LastMix does that make a difference?

mherger
2019-01-15, 04:01
I’m using in conjunction with LastMix does that make a difference?

No, LastMix uses 5 tracks, too.

bakker_be
2019-01-15, 04:14
DSTM does give the mixer as many tracks as the mixer requests. That’s usually more than one. Eg. Spotty‘s mixer would use five tracks as a seed, as this is the maximum Spotify would accept.

I didn't know that. Thanks for the info.

kidstypike
2019-01-15, 07:53
Writing to server log a few seconds after every track change:


[19-01-15 13:53:50.0093] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 13:58:20.0055] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 13:58:20.0090] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:01:51.0067] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:01:51.0102] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:06:08.0088] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:06:08.0118] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:10:18.0085] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:10:18.0121] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:13:48.0096] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:13:48.0131] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:18:39.0049] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:18:39.0090] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:24:12.0081] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:24:12.0116] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:28:30.0048] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:28:30.0083] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:32:22.0076] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:32:22.0111] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:36:51.0068] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:36:51.0102] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:41:36.0075] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:41:36.0110] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:46:05.0064] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:46:05.0098] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.

Latest 7.9.2 on RPi.

d6jg
2019-01-15, 08:28
Ok. I now a Random Song mix based on Genre that is limited to 5 tracks and saved as a Favourite called "Random Rock" and attached to a Radio preset. This and DSTM/Lastmix produces a nice Rock based playlist for me which is great!

However the feature request sort of still stands though in that I'd like to have a range of these (70s Classic Rock, 50s Jazz etc) and a little more control over the seed tracks that LMS selects (Genre & Years would be good).

As far as I can tell I can only have one Random Song Mix defined at any one time - is that correct?

bakker_be
2019-01-15, 09:28
Writing to server log a few seconds after every track change:


[19-01-15 13:53:50.0093] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 13:58:20.0055] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 13:58:20.0090] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:01:51.0067] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:01:51.0102] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:06:08.0088] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:06:08.0118] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:10:18.0085] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:10:18.0121] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:13:48.0096] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:13:48.0131] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:18:39.0049] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:18:39.0090] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:24:12.0081] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:24:12.0116] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:28:30.0048] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:28:30.0083] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:32:22.0076] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:32:22.0111] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:36:51.0068] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:36:51.0102] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:41:36.0075] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:41:36.0110] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:46:05.0064] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 14:46:05.0098] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.

Latest 7.9.2 on RPi.

You have to uncheck the checkbox to keep adding tracks. It's just above the genre list.

kidstypike
2019-01-15, 11:36
You have to uncheck the checkbox to keep adding tracks. It's just above the genre list.

I'm just playing a normal "Random Song" mix, unchecking the box didn't stop the logging, and the playlist ended at the last track, DSTM didn't kick in.

I managed to stop the logging by restarting LMS.

Rechecked the box, started a normal "Song Mix" with a few genres selected, and the logging is back, I've never seen this behaviour before.:(


[19-01-15 17:30:37.3864] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 17:33:27.8580] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 17:33:37.4451] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 17:34:53.0361] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 17:38:24.0048] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 17:43:07.0081] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 17:57:04.6353] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 18:06:30.1482] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 18:10:35.0107] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 18:13:26.0072] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 18:18:12.0083] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 18:23:46.0068] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 18:29:22.0076] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 18:29:22.0116] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 18:32:33.0035] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 18:32:33.0074] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.

bakker_be
2019-01-15, 13:14
I'm just playing a normal "Random Song" mix, unchecking the box didn't stop the logging, and the playlist ended at the last track, DSTM didn't kick in.

I managed to stop the logging by restarting LMS.

Rechecked the box, started a normal "Song Mix" with a few genres selected, and the logging is back, I've never seen this behaviour before.:(


[19-01-15 17:30:37.3864] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 17:33:27.8580] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 17:33:37.4451] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 17:34:53.0361] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 17:38:24.0048] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 17:43:07.0081] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 17:57:04.6353] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 18:06:30.1482] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 18:10:35.0107] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 18:13:26.0072] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 18:18:12.0083] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 18:23:46.0068] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 18:29:22.0076] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 18:29:22.0116] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 18:32:33.0035] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
[19-01-15 18:32:33.0074] Slim::Plugin::DontStopTheMusic::Plugin::onPlaylist Change (183) Found RandomPlay or SugarCube active - I'm not going to interfere with them.
Unchecking that box stops the logging and let's DSTM work on my LMS. With the box ticked I don't get any mix results either.

d6jg
2019-01-15, 13:43
Have you got Sugarcube active on the player?
Pretty sure DSTM doesnt work if it is.

kidstypike
2019-01-15, 14:00
Have you got Sugarcube active on the player?
Pretty sure DSTM doesnt work if it is.

No, I don't use sugarcube, never have done, ever!

My concern is all this logging, this is something new. Yes, unticking the box stops the logging.

Has something changed?

OK, I select a few genres.
I untick the box directly above the genres list.
I have DSTM set to "Song Mix (limited to current genres)".
For speed I set Now Playing will show 3 upcoming songs and 3 recently played songs.
Midway through the second track a "Song Mix" item is added to the playlist.
When the 3rd track finishes, the "Song Mix" adds 3 new tracks.
Midway through the second track a "Song Mix" item is added to the playlist.
When the 3rd track finishes, the "Song Mix" adds 3 new tracks . . rinse & repeat . . this is new behaviour for me. Is it supposed to work like this?

d6jg
2019-01-15, 14:03
Try it with DSTM set to something other than Song Mix.
Do you have Spotty for example or LastMix

kidstypike
2019-01-15, 14:14
Try it with DSTM set to something other than Song Mix.
Do you have Spotty for example or LastMix

I just want to play random songs from my local library without all that logging going on. I think I can do this by setting DSTM to "Disabled" and using random mix as I have done for the last 12 years.

Sorry for all the noise.

d6jg
2019-01-15, 14:25
I just want to play random songs from my local library without all that logging going on. I think I can do this by setting DSTM to "Disabled" and using random mix as I have done for the last 12 years.

Sorry for all the noise.

Install Michael’s LastMix plugin and set DSTM to LastMix (local only)

Add an Album to the playlist. Jump forward to the penultimate track and see what happens.

When you don’t add stuff to your playlist DSTM will do it for you. LastMix makes it relevant to what you were playing.

This thread is about selecting Random Seeds for DSTM to do its stuff.

d6jg
2019-01-15, 14:30
I just want to play random songs from my local library without all that logging going on. I think I can do this by setting DSTM to "Disabled" and using random mix as I have done for the last 12 years.

Sorry for all the noise.

I think your logging issue is because you are seeding DSTM with a Random Mix to play the same Random Mix and the logic of that isn’t quite right.

kidstypike
2019-01-15, 14:44
I think your logging issue is because you are seeding DSTM with a Random Mix to play the same Random Mix and the logic of that isn’t quite right.

Thanks for your concern.

I've installed Michael's LastMix plugin, unticked the box, set DSTM to "LastMix" (local files only)", started a single track, 5 track have been added, and no logging.

I'll see how it goes. :)

d6jg
2019-01-15, 14:53
Thanks for your concern.

I've installed Michael's LastMix plugin, unticked the box, set DSTM to "LastMix" (local files only)", started a single track, 5 track have been added, and no logging.

I'll see how it goes. :)

What LastMix gives that the other DSTM options don’t is relevance.

You can now use Random Song Mix as described earlier as your Seed for a LastMix generated playlist but you inadvertently tripped over an inconsistency that no doubt Michael will address in some way.

mherger
2019-01-15, 22:34
> My concern is all this logging, this is something new. Yes, unticking
> the box stops the logging.

Yes, the logging is new :-). The mechanism to not interfere with
RandomPlay and Sugarcube has been there for a long time, though.
Somebody asked me to log when DSTM decided not to work. Maybe I should
not consider it an error and tone it down a bit.


--

Michael

mherger
2019-01-22, 05:50
> Walk up to Radio and press a preset which is a special playlist.

Ok, playlist assignment still is a problem... that's probably the next
plugin I should tackle :-)

> The playlist contains no tracks but LMS has an instruction based upon
> predefined genre / year etc to generate a handful of tracks into the
> playlist to act as seed tracks for DSTM to takeover and do its stuff,
> You could have multiple such random seed playlists eg Classic 70s Rock,
> 50s Jazz etc

Please update to the latest 7.9.2 and try stuff like:

randomplay://track?genres=pop,rock&dontContinue=1

"genres" would be a comma separated list of URI escaped genre names
("Hard Rock" -> "Hard%20Rock"). "dontContinue=1" tells RandomPlay to add
a bunch of tracks, then stop its own activity. This would allow DSTM to
pick up the tracks and continue according to your DSTM settings.

But as I said: there's currently no nice way to assign this URI to a
preset. You'd have to manipulate the player's prefs file manually...

--

Michael

d6jg
2019-01-22, 06:24
>
Ok, playlist assignment still is a problem... that's probably the next
plugin I should tackle :-)


Please update to the latest 7.9.2 and try stuff like:

randomplay://track?genres=pop,rock&dontContinue=1

"genres" would be a comma separated list of URI escaped genre names
("Hard Rock" -> "Hard%20Rock"). "dontContinue=1" tells RandomPlay to add
a bunch of tracks, then stop its own activity. This would allow DSTM to
pick up the tracks and continue according to your DSTM settings.

But as I said: there's currently no nice way to assign this URI to a
preset. You'd have to manipulate the player's prefs file manually...

--

Michael

Brilliant. I will update later and advise.

You can assign the playlist Michael. You just have to save it as a Favourite and then assign that. This also has the advantage that you can name the Favourite whatever you like.

d6jg
2019-01-22, 06:58
That almost works perfectly.

I have updated LMS and set up 4 Favourites as follows with a count of 5 tracks each

1) randomplay://track?genres=Reggae&dontContinue=1
2) randomplay://track?genres=Rock,Reggae&dontContinue=1
3) randomplay://track?genres=Jazz,Reggae&dontContinue=1
4) randomplay://track?genres=Reggae,Rock&dontContinue=1

1) is a single genre - it does not choose Reggae but instead a standard Random Song mix presumably from the current Random Mix settings
2) plays Rock
3) plays Jazz
4) plays Reggae

It looks to me that the way you have coded it that genres= needs to be more than 1 in the array but where it is 2 (or more?) only the first is included (but perhaps this is being governed by the "5" tracks limit in Random Mix settings?)

As I say to get this to a preset its only a case of saving as a Favourite and then applying that to a preset on a Radio.

Many many thanks

mherger
2019-01-23, 04:02
> 1) randomplay://track?genres=Reggae&dontContinue=1
> 2) randomplay://track?genres=Rock,Reggae&dontContinue=1
> 3) randomplay://track?genres=Jazz,Reggae&dontContinue=1
> 4) randomplay://track?genres=Reggae,Rock&dontContinue=1
>
> 1) is a single genre - it does not choose Reggae but instead a standard
> Random Song mix presumably from the current Random Mix settings
> 2) plays Rock
> 3) plays Jazz
> 4) plays Reggae

This certainly should work as expected. I did most of the testing with a
single genre for simplicity's sake, but did test with multiple genres,
too. But please keep in mind that to RandomPlay there's always some
randomness to be expected: while you can ask it to pick from multiple
genres, random picks can be from all the same genre. In particular with
a small number like five tracks. For the testing please remove the
dontContinue parameter and double check whether even after a while no
track matching both genres would be added.

And is Reggae a genre you have tracks for?... just asking! :-)

--

Michael

d6jg
2019-01-23, 06:22
> 1) randomplay://track?genres=Reggae&dontContinue=1
> 2) randomplay://track?genres=Rock,Reggae&dontContinue=1
> 3) randomplay://track?genres=Jazz,Reggae&dontContinue=1
> 4) randomplay://track?genres=Reggae,Rock&dontContinue=1
>
> 1) is a single genre - it does not choose Reggae but instead a standard
> Random Song mix presumably from the current Random Mix settings
> 2) plays Rock
> 3) plays Jazz
> 4) plays Reggae

This certainly should work as expected. I did most of the testing with a
single genre for simplicity's sake, but did test with multiple genres,
too. But please keep in mind that to RandomPlay there's always some
randomness to be expected: while you can ask it to pick from multiple
genres, random picks can be from all the same genre. In particular with
a small number like five tracks. For the testing please remove the
dontContinue parameter and double check whether even after a while no
track matching both genres would be added.

And is Reggae a genre you have tracks for?... just asking! :-)

--

Michael

Have done some more testing on a different LMS and yes looks good.

I think on reflection that my single genre example failed because the Favourite may have been cached.

And yes I do have some Reggae. I chose it for testing because I thought it would be obviously not Rock or Jazz!

This has effectively created Genre based "radios" as per Spotify Genres and Moods and whatever other streaming services call it.

I assume when we say genres=Rock,Reggae we mean where genres is either Rock or Reggae - would it be possible to extend the function and do something like this

randomplay://tracks?genres=Rock,Reggae&genres!=Christmas

where != means does not equal

I suspect I am not alone in using multi tagging for genres.

Great stuff. You are a star.

PS Testing this yesterday is how I noticed Tune in URL & manual Favourites was missing in Material BTW.

d6jg
2019-01-23, 09:35
26615

Random Mix is set to produce 5 tracks.
Choosing one of the above kicks off a single random mix of 5 tracks of the chosen Genre and then lets DSTM/Lastmix do it's stuff.
Once added as a Favourite it can then be assigned to a preset on Radio or Boom

mherger
2019-01-23, 09:45
> Once added as a Favourite it can then be assigned to a preset on Radio
> or Boom
FWIW: I committed a simple Preset Editor today. Go to Settings/Player
and you'd be able to assign/edit any URL you want to one of the presets.

--
--

Michael

d6jg
2019-01-23, 10:18
> Once added as a Favourite it can then be assigned to a preset on Radio
> or Boom
FWIW: I committed a simple Preset Editor today. Go to Settings/Player
and you'd be able to assign/edit any URL you want to one of the presets.

--
--

Michael

Brilliant

Since these Random Seeds are Genre based what might be really neat would be to expose them under More when you select a Genre from the Genre menu so you could start them from there ie they were available as standard with the continue and no in playlist determined from the Random Mix Settings. Just an idea

mherger
2019-01-23, 22:56
> Since these Random Seeds are Genre based what might be really neat would
> be to expose them under More when you select a Genre from the Genre menu
> so you could start them from there ie they were available as standard
> with the continue and no in playlist determined from the Random Mix
> Settings. Just an idea

You're using the Material skin? Yeah, it's missing there. I don't know
why, because that choice has been in the Genres menu "forever". Check
with a Touch/Radio, or even the Default skin.

https://github.com/CDrummond/lms-material/issues/64

--

Michael

d6jg
2019-01-24, 02:18
> Since these Random Seeds are Genre based what might be really neat would
> be to expose them under More when you select a Genre from the Genre menu
> so you could start them from there ie they were available as standard
> with the continue and no in playlist determined from the Random Mix
> Settings. Just an idea

You're using the Material skin? Yeah, it's missing there. I don't know
why, because that choice has been in the Genres menu "forever". Check
with a Touch/Radio, or even the Default skin.

https://github.com/CDrummond/lms-material/issues/64

--

Michael

I am using both Skins. Another thing I have learned about LMS! Only been using it about 10 years!

ralphy
2019-01-24, 05:29
> Once added as a Favourite it can then be assigned to a preset on Radio
> or Boom
FWIW: I committed a simple Preset Editor today. Go to Settings/Player
and you'd be able to assign/edit any URL you want to one of the presets.

--
--

Michael

Used it to cleanup several player presets today. No more server.prefs editing required, Yeah!

Thank you!

d6jg
2019-01-24, 06:49
Used it to cleanup several player presets today. No more server.prefs editing required, Yeah!

Thank you!

@Michael
I think this is worth announcing as otherwise it will slip under the radar

d6jg
2019-01-24, 07:54
@Michael

I have got to ask - why are there 10 presets for a Radio or Boom when both devices only have 6 buttons to my knowledge ?

schoeppi
2019-01-24, 15:54
On Tue, Jan 22, 2019 at 01:58:01PM +0000, d6jg wrote:
>2) randomplay://track?genres=Rock,Reggae&dontContinue=1

I've saved this also as a favourite and it works. My players settings
for don't stop the music is set to Lastmix....

Every random mix starts with at least a title from my local library and
when the localy saved titles are finished Lastmix takes over and
titles form e.g. Tidal are played, thats how it works in my case. Can I
create a random mix for e.g. a single genre that starts directly with
music from a streaming service or is always at least one localy saved
title played?

Ciao,

Schoepp

kidstypike
2019-01-24, 16:04
@Michael

I have got to ask - why are there 10 presets for a Radio or Boom when both devices only have 6 buttons to my knowledge ?

I think this goes back to the days when you could assign a favourite to a IR remote number button. Memory is a bit vague how this worked, it wasn't something I ever used, it was a bit iffy! A little more from "mnyb" here:

https://forums.slimdevices.com/showthread.php?103726-My-Presets-adding-to-deleting&p=820406&viewfull=1#post820406

mherger
2019-01-24, 22:54
> I have got to ask - why are there 10 presets for a Radio or Boom when
> both devices only have 6 buttons to my knowledge ?

Remote controls can have presets on their buttons 0-9.

--

Michael

mherger
2019-01-24, 22:55
> I think this goes back to the days when you could assign a favourite to
> a IR remote number button.

It's actually a very recent addition: ralphy extended the six to ten
only a few months ago :-)

--

Michael

mherger
2019-01-24, 23:00
> Every random mix starts with at least a title from my local library and
> when the localy saved titles are finished Lastmix takes over and
> titles form e.g. Tidal are played, thats how it works in my case. Can I
> create a random mix for e.g. a single genre that starts directly with
> music from a streaming service or is always at least one localy saved
> title played?

No, random play is 100% based on your local music. The concept of genres
hardly even exists with music services. I can't remember one which would
allow you to browse or search music by genre.

--

Michael

kidstypike
2019-01-25, 01:50
> I think this goes back to the days when you could assign a favourite to
> a IR remote number button.

It's actually a very recent addition: ralphy extended the six to ten
only a few months ago :-)

--

Michael

When I got my first squeezebox in 2006 (a SlimDevices SB3 with the IR remote with number buttons), you could make any track, radio station, etc. a favourite and assign it to an IR remote number button. I'm sure many of the old-timers here will remember this?

mherger
2019-01-25, 01:57
> When I got my first squeezebox in 2006 (a SlimDevices SB3 with the IR
> remote with number buttons), you could make any track, radio station,
> etc. a *favourite* and assign it to an IR remote number button. I'm sure
> many of the old-timers here will remember this?

Wow... I at first didn't. Then I was wondering why the heck we removed
this feature. And now I remember: these presets then were global, not
per device. With Boom's buttons we moved to the per-device model, but
never did a GUI to configure them. "It must be as easy as setting a
station on your car radio!" was the paradigm then. But you need to have
a rather old car nowadays to remember those radios...

--

Michael

mherger
2019-01-25, 01:59
> I think this is worth announcing as otherwise it will slip under the
> radar

Yeah... but then a minor release should not come with new features.
People might ask why I didn't move to 7.10.0 instead :-).

--

Michael

mherger
2019-02-03, 02:34
Every random mix starts with at least a title from my local library and
when the localy saved titles are finished Lastmix takes over and
titles form e.g. Tidal are played, thats how it works in my case. Can I
create a random mix for e.g. a single genre that starts directly with
music from a streaming service or is always at least one localy saved
title played?

I extended my LastMix plugin to do something similar independently of your local music. See https://forums.slimdevices.com/showthread.php?110132. It allows you to create a seed based on Last.fm tags.