0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-26 21:53:54 +01:00

modularize playlist change

This commit is contained in:
Kuba
2025-10-11 17:29:56 +02:00
parent e7219c5770
commit cf4f3137bd
5 changed files with 46 additions and 29 deletions

View File

@@ -13,8 +13,4 @@ The files are parsed with glob, thus you can add such entries as `/home/user/mix
Each lines starting with `@` is taken as a import, meaning after the `@` a file path to a text file with the same format is expected (yes, you can import in imports too)
Lines which start with `;` are considered comments and will not be processed
Lines containing `|` will be split into two parts, the first part will be treated as the file itself, and the argument part will be treated as arguments for that file, if the file name is empty then those arguments will be treated as global
The arguments shall have a `a=b` format, multiple arguments are seperated with a `;`, example: `a=b;c=d`
As of now these arguments are defined:
`no_shuffle` - Global argument, does not shuffle the playlist if it is 0
`multiplier` - File argument, integer which duplicates the file(s)
The arguments shall have a `a=b` format, multiple arguments are seperated with a `;`, example: `a=b;c=d`