xan1242 / NFS_CustomJukebox

NFS Custom Playlist Plugin
MIT License
4 stars 0 forks source link

New playlist ini format idea #1

Closed xan1242 closed 1 year ago

xan1242 commented 1 year ago

Instead of having playlist entries per-file, use a single big ini as a playlist containing the event IDs as keys.

Example:

Instead of this:

Filename: 0105E11E.ini

[Entry]
Index = 39
Name = My Song Name
Artist = My Song Artist
Album = My Song Album
Playability = 3

We make this:

Filename: myplaylist.ini

[0x0105E11E]
Index = 39
Name = My Song Name 1
Artist = My Song Artist 1
Album = My Song Album 1
Playability = 3

[0x0105E11F]
Index = 40
Name = My Song Name 2
Artist = My Song Artist 2
Album = My Song Album 2
Playability = 3

That way we can keep a single file containing the info without confusing the users too much.

xan1242 commented 1 year ago

Done in https://github.com/xan1242/NFS_CustomJukebox/commit/d8fca47fe58dec1059cd018250dd53c05311f646