INTERACT FORUM

More => Old Versions => JRiver Media Center 26 for Windows => Topic started by: Jamil on June 16, 2020, 04:16:52 pm

Title: Smartlist Help
Post by: Jamil on June 16, 2020, 04:16:52 pm
I have a Smartlist I created to select Electronica music I want to hear.  It combines the genres of Electronic and Industrial.  It looks like this:

(https://dl.dropboxusercontent.com/s/25fr0xkjrqe41zq/Smartlist.png)

Here it is exported:

Code: [Select]
[Last Played]=>3w -[Album]=[Music For Yoga],[Time/-Lapse Volume 1],[Time/-Lapse Volume 2: meditations],[Time/-Lapse Volume 3: ASMR],[Time/-Lapse Volume 4: Sleep Music],[5 Minute Meditations],[20XX Volume I: A Tribute To The Music of Mega Man X /(Full/-Length Edition/)],[20XX Volume II: A Tribute To The Music of Mega Man X],[Future Past: A Tribute Collection],[Syndicate: The Heist],[Stalker: Scenes From A Slasher Film],[Stalker: The Final Cut] [Duration]=>90 [Rating]=>3 -[Album Artist]=[Kraftwerk],[DJ Venom] [Genre]=[Electronic],[Industrial] ~sort=Random ~limit=-1,3,[Album Artist]
This Smartlist works nicely, but it has one major issue I have not figured out how to resolve.  It frequently selects music I have already heard more often than it selects music never before played.  What I wish to do is increase the rate of selection for music never played.  I could do this easily if I could use mix to select from two different Smartlists with a 50% selection rate.  It does not look like mix will support a Smartlist as source though.

Any thoughts to improve my selection criteria?

Thanks.
Title: Re: Smartlist Help
Post by: Jamil on June 16, 2020, 06:54:30 pm
I found a fix.  This resolves the issue:

(https://dl.dropboxusercontent.com/s/e0qzui2so06cr9q/Smartlist_Fix.png)

The tricky part of getting this to work correctly was placing parenthesis around the custom rule.  Without parenthesis, it does not work correctly and breaks.

As soon as I added this smartlist, my contents immediately shows never before played selections:

(https://dl.dropboxusercontent.com/s/lorcheyq3krtc56/Smartlist_Fix_screenie.png)

Without this change, this smartlist was almost always selecting the same played tracks.
Title: Re: Smartlist Help
Post by: marko on June 16, 2020, 11:41:04 pm
If you hover the mouse just outside the left and right ends of each entry, you will find an interactive area where the cursor changes to a 'clicky-hand'...
These allow you to wrap rules in parens to "OR" them :)

https://yabb.jriver.com/interact/index.php?topic=46456.0
Title: Re: Smartlist Help
Post by: Doof on June 17, 2020, 12:16:26 am
That's probably MC's most obscure feature. I don't even see any mention of it in the wiki.

But yeah, you can do the same thing by putting in two separate rules and then clicking in the margin area to the sides of the rules. It should end up looking like this:
Title: Re: Smartlist Help
Post by: Jamil on June 19, 2020, 01:14:56 am
Thanks for the responses.

My Smartlist works perfectly now with a single Add to Playing Now context menu click.  This will add 100 to 300 random selections of music to play.  After all music gets played, I must click Add to Playing Now again to add more content.

If I attempt to queue up more than one set of Smartlist entries for longer play time, I end up with duplicate songs in Playing Now.  This is why my feature request I posted here would help: 

https://yabb.jriver.com/interact/index.php/topic,125736.0.html
Title: Re: Smartlist Help
Post by: EnglishTiger on June 19, 2020, 01:52:46 am
Jamil - Like all smartlists yours is looking for Tracks that satisfy your rules/criteria, however there is no way that I know of to get a smartlist to ignore any tracks that are sitting in "Playing Now" waiting to be played. Therefore if you re-run the smartlist before all the previously selected tracks are played those un-played tracks will continue to satisfy the rules/criteria - hence the Duplicate Entries you are seeing in the Playing Now list.
Title: Re: Smartlist Help
Post by: Jamil on June 19, 2020, 02:03:38 am
Jamil - Like all smartlists yours is looking for Tracks that satisfy your rules/criteria, however there is no way that I know of to get a smartlist to ignore any tracks that are sitting in "Playing Now" waiting to be played. Therefore if you re-run the smartlist before all the previously selected tracks are played those un-played tracks will continue to satisfy the rules/criteria - hence the Duplicate Entries you are seeing in the Playing Now list.

I know there is no way.  That is why I made the Feature Request.

This thread is my use case.

There is no need to post more for this.

Feature Request.
Title: Re: Smartlist Help
Post by: marko on June 19, 2020, 06:11:54 am
There's an isinplayingnow expression function. Bet you could crowbar that in there somehow. Will look at it over the weekend for you if you haven't sussed it beforehand.
Title: Re: Smartlist Help
Post by: Jamil on June 19, 2020, 06:50:05 am
I never used this expressions.  I cannot seem to get it to work though:

(https://dl.dropboxusercontent.com/s/wp3r0sx2picm3w8/Smartlist_IsInPlayingNow_filter.png)

This matched my above custom filter.  It returns no results when used as above.

I also tried removing all spacing before and after the =.  Still no luck.  It looks like the rule does not support this particular expression correctly.  I thought it would just like my conditions I added, but it is not.

I also tried all these variations with no success:

Code: [Select]
[IsInPlayingNow()]=0
[IsInPlayingNow()=0]
Title: Re: Smartlist Help
Post by: marko on June 19, 2020, 09:14:24 am
You need an equals inside the first bracket too ;)
Title: Re: Smartlist Help
Post by: marko on June 19, 2020, 12:37:55 pm
I thought you might need to make a library field for it first, but, no... at it's most simple, it's working fine as-is...

(https://mpw.scot/pics/ia/26/snap-043.jpg)
Title: Re: Smartlist Help
Post by: wer on June 19, 2020, 01:11:25 pm
That's pretty clever, Marko!  And to think a bird did it...  :P
Title: Re: Smartlist Help
Post by: Jamil on June 19, 2020, 03:02:29 pm
Thank you.

Holy heck that was tricky.
Title: Re: Smartlist Help
Post by: marko on June 20, 2020, 03:54:26 am
That's pretty clever, Marko!  And to think a bird did it...  :P
It's a peregrine falcon. They are stunning creatures.... and so fast too. (https://kottke.org/13/05/peregrine-falcon-killing-a-duck-in-mid-air)

I know there is no way.  That is why I made the Feature Request.

This thread is my use case.

There is no need to post more for this.
This is why Media Center is as good as it is. Who knows how many other people would want this? It doesn't matter if it's only you, because JRiver have provided you a means to get it to do what you want. The playing field does have boundaries, but it is huge, and it's not too often you bump into them.

Thank you.

Holy heck that was tricky.
All working nicely now then?

-marko
Title: Re: Smartlist Help
Post by: Jamil on June 20, 2020, 04:48:56 am
All working nicely now then?

I am now able to add more music to queue manually that prevents me from having to do it so often.  This helps.  However, my requested feature would eliminate this manual need.  It helps but automation would be better.

I know many are going with music streaming services.  This is not me (I commented on this on these forums before).  I have a large enough library of all music I want to hear that beats any streaming service currently available.  For nonstop playback of music, streaming has that covered.  MC26 doesn't offer automation for this, so this relatively easy to implement feature would bring more value to the product.

Title: Re: Smartlist Help
Post by: marko on June 20, 2020, 05:35:35 am
For non stop music playback, I use Play Doctor. It is absolutely amazing. Skip tracks you're not in the mood for, and with a half dozen skips or so, it'll play for hours without irritation or intervention. After JRemote in the car, it's our most used feature.
Title: Re: Smartlist Help
Post by: Jamil on June 20, 2020, 05:39:21 am
Again, this is manual intervention that I want to avoid.  I want to simply press play to hear music I want to hear nonstop.  I do not want to manually skip anything, and my Smartlist is configured that I never have to.  My Smartlist has exact logic for the perfect play list.  I do not even know what logic Play Doctor uses for this.  I doubt it is as good as my custom criteria though (otherwise whoever coded it is simply brilliant :D
Title: Re: Smartlist Help
Post by: marko on June 20, 2020, 05:50:32 am
You should try it and see. You might be surprised. These are our Play Doctor rules....
(https://mpw.scot/pics/ia/26/snap-044.jpg)

The trick is to try and keep the scope as wide as possible. We use it via a button in Theater View that doesn't use a seed track, hence the need for initial skipping.

Our Theater View button calls a bat file that does this....
Code: [Select]
@echo off

MC26.exe "/MCWS/v1/Playback/Stop?Zone=-1&ZoneType=ID"
MC26.exe "/MCWS/v1/Playback/SetZone?Zone=Player&ZoneType=Name"
MC26.exe "/MCWS/v1/Playback/PlayDoctor?Zone=Player&ZoneType=Name"
Title: Re: Smartlist Help
Post by: RoderickGI on June 20, 2020, 10:13:05 pm
As the questions raised here seem to have been answered, I've posted a response in the Feature Request thread Jamil: https://yabb.jriver.com/interact/index.php/topic,125736.msg872232.html#msg872232