More > JRiver Media Center 33 for Windows
New function request - timestamp (updated)
lepa:
Yeah, used "wrongly" it would be a little dangerous like the grouping or IO expressions
markf2748:
Consider a naming scheme similar to that used for List manipulation functions:
PlaylistAdd(...)
PlaylistRemove(...)
This way a new family of Playlist manipulation functions could be built up over time if there is future interest, analogous to List functions:
PlaylistShuffle(...)
PlaylistCombine(...)
PlaylistClean(...)
PlaylistSort(...)
PlaylistCount(...)
etc.
There are many such options already available in the Playlist RMB context menu. The functions would just add programmability.
zybex:
PlaylistAddFile() and PlaylistRemoveFile() to avoid ambiguous meaning.
Matt:
A little bit of a left turn from the original request!
But here's what I was thinking about the add function.
PlaylistAddFile(
Key of the file to add,
Playlist path or ID,
Whether you're using a playlist path (default 0) or playlist ID (1),
No duplicates (default to 0),
Position in playlist (defaults to -1 which means end))
Example adding the current file to the top hits playlist if it's not already there:
PlaylistAddFile(FileKey(), Playlist Group\Top Hits, 0, 1)
Thoughts? Thanks.
markf2748:
Maybe an optional position parameter, for example:
0 or not specified = add to bottom of the list (default)
1 = add to top of Playlist
N = insert as Nth entry, or last if N > (length of Playlist) +1
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version