PlaylistGeneratorPro command line switch behaviour

karlisma

New member
What is wrong with the switch [ -s] here?

run PlaylistGeneratorPro.exe "-preset=NIGHT|MORNING|DAY" [B]-s=00|01|06 -n=1|5|1[/B]"-out=D:\PLAYLIST\night_%nn.m3u8|morning_%nn.m3u8|day_%nn.m3u8"

-n=1|5|1 works as intended [creates exact amount of playlists from each preset]
-s=00|01|06 does not work [every preset's playlist numbering restarts with 00]


so the result I now get is (wrong %nn values)

00_night.m3u8
00_morning.m3u8
01_morning.m3u8
02_morning.m3u8
03_morning.m3u8
04_morning.m3u8
00_day.m3u8
instead of (%nn values can be then loaded with ?hh mask)
00_night.m3u8
[B]01_[/B]morning.m3u8
[B]02_[/B]morning.m3u8
[B]03_[/B]morning.m3u8
[B]04_[/B]morning.m3u8
[B]05_[/B]morning.m3u8
[B]06_[/B]day.m3u8
actually would like to use much simplier file names
run PlaylistGeneratorPro.exe "-preset=NIGHT|MORNING|DAY" -s=00 -n=1|5|1"-out=D:\PLAYLIST\[B]playlist_%nn[/B].m3u8"
But that makes PlGen Error: 4 (preset and file name count mismatch)
 
The -s option doesn't support multiple parameters via |.

You can have different file name for presets by specifying multiple file names in the -out parameter e.g.:
"-out=D:\Playlists\Weekday%n.m3u8|Weekend%n.m3u8"
 
The -s option doesn't support multiple parameters via |.

You can have different file name for presets by specifying multiple file names in the -out parameter e.g.:
"-out=D:\Playlists\Weekday%n.m3u8|Weekend%n.m3u8"
so, i found this previous conversation here
What do You mean with single command?

is it possible to get 24 playlists while:
1. keeping "no repeat rules" to whole generation process,​
2. keep file numbering right, so it is playlist_00.m3u8 to playlist_23.m3u8​
3. while using daypart presets?​
or... numbering will definately start from 00 on switching presets during process?

Is a commad line like this possible:
run PlaylistGeneratorPro.exe "-preset=NIGHT|MORNING|DAY|EVENING|NIGHT"-s=00 -n=5|4|8|4|3"-out=D:\PLAYLIST\playlist_%nn.m3u8"
?

 
is it possible to get 24 playlists while:
1. keeping "no repeat rules" to whole generation process,2. keep file numbering right, so it is playlist_00.m3u8 to playlist_23.m3u83. while using daypart presets?or... numbering will definately start from 00 on switching presets during process?
The numbering process goes onwards.

Is a commad line like this possible:
I think, yes. It's easier to generate the command from the UI in the playlist generator, click the arrow near the Generate button and configure everything there, it will create a valid command for you.
 
The numbering process goes onwards.


I think, yes. It's easier to generate the command from the UI in the playlist generator, click the arrow near the Generate button and configure everything there, it will create a valid command for you.
:(
Numbering resets to 00 for each PRESET change.
run PlaylistGeneratorPro.exe "-preset=SLEEP|MOSTIES|DIENA|LULLYBY|LATE" "-out=D:\PLAYLIST\SLEEP_%nn.m3u8|MOSTIES_%nn.m3u8|DIENA_%nn.m3u8|LULLYBY_%nn.m3u8|LATE_%nn.m3u8" -n=9|3|8|2|2 -s=00

results in
SLEEP_00.m3u8 SLEEP_01.m3u8..... SLEEP_08.m3u8
MOSTIES_00.m3u8 MOSTIES_01.m3u8 MOSTIES_02.m3u8
and so on.

if:
run PlaylistGeneratorPro.exe "-preset=SLEEP|MOSTIES|DIENA|LULLYBY|LATE" "-out=D:\PLAYLIST\playlist_%nn.m3u8" -n=9|3|8|2|2 -s=00

ends with: PlGen Error: 4 (preset and file name count mismatch)


Somehow nothing is working.
 
Yes I see, previously the number was not reset but then (some years ago) it was made to reset for each new preset (set to the value specified in -s switch).

What is the point of keeping this number increasing?
 
..

1. Because -s does not support 00|07|12|18|21 type of input;
2. Because i would like to create 24 (twenty four) one hour long playlists using different presets for different dayparts and create them in single generator.ex2e run;
3. I would like to get output [00.m3u8... 01.m3u8...... 23.m3u8] from ?nn.m3u8
alltogether 24 playlists for 24 hours of day;
4. Then i would like to call them into main laylist window with single load:playlist task and point it to ?hh.m3u8 file.


Increase the same way the clock works..

From 00 to 23, so we get 24 basic playlist files.
If increase did work we could get files from 00 to 23.m3u8 without calling them inappropriate names (an be used with single command load:playlist pointing to just ?hh.m3u8)
 
Back
Top