Several questions concerning media- and scriptlibraries

You have a question or need an advice about how to do something? Ask it here!
Post Reply
rockoruud
Posts: 1
Joined: 14 Jun 2017 15:08
Several questions concerning media- and scriptlibraries

Post by rockoruud »

Hi Bernd,
I'm a newbe working with PF less then a month. I've got a question now.

I've created a media library folder with several subfolders example :
- folder 1 with 150 tracks "old"
- folder 2 with 170 tracks "new"
- folder 3 with 140 tracks "hot"
- folder 4 with 120 tracks "1965-1995"
I've set the history on -1, sorting 'none' and autowatch 'on'
Then I created a script : execute modus 'sequential', max.history '0', all other fields are left empty or zero.
In the scriptlines: line 1 mode 'random', entry 'folder 1 with 150 tracks old', count '1', options 'none', filter 'none', comment 'none'
same with the other 3 folders.
My question : does the script now play every track once until all tracks in the folder are played, and if it doesn't how to do it right

Kind regards,
rockoruud
User avatar
radio42
Site Admin
Posts: 8329
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Several questions concerning media- and scriptlibraries

Post by radio42 »

I would recommend to set the media library history to 0!
And instead use the 'LeastTimesPlayed' (or 'LeastRecentlyPlayed') script-line mode.
This is almost the best random mode, as it at least gives you some variations (as the least played tracks, with e.g. the same play count are then randomly picked).

If you really want to play a track again only if really ALL other tracks are played, use the 'Sequential' script-line mode.
But this effectively means you are playing all tracks always in exactly the same order... (sequential = play every track once until all tracks).
Bumperke
Posts: 243
Joined: 21 Nov 2016 09:31
Re: Several questions concerning media- and scriptlibraries

Post by Bumperke »

Hi Benrd, we did that see
Schermafdruk 2017-06-15 16.06.13.png
Now it shows this
Schermafdruk 2017-06-15 16.06.13.png
Is there something wrong are are there no worries?
I see the PrtScn are double ?
Will
Attachments
Schermafdruk 2017-06-15 16.06.55.png
User avatar
radio42
Site Admin
Posts: 8329
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Several questions concerning media- and scriptlibraries

Post by radio42 »

The Warnings are warning.
And they 'tell' you, that you global history settings are higher then the number of tracks contained in the media libs used in the given script-line.
E.g. if your global history count is set to 50, this means 50 tracks are kept in the history.
If you are now using a media lib with only 30 tracks in it - the above Warning will be given.
This is because, it might now be very likely, that the history check mightbe violated for ALL media library tracks - and as a result the script-line might be skipped.
As said, it is only a warning.
If you want to force the script to pick a track regardless, you might suppress the history check, by selecting the 'SuppressHistoryCheck' option in the script-line's Option column!

See here for details:
viewtopic.php?f=9&t=1861

Post Reply