Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: [Feature Req] Set Operations on Playlists (Read 2882 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[Feature Req] Set Operations on Playlists

Hi,

It is possible to do the "union" of two playlists simply by copying and pasting the contents of the two into a new playlist.

It would be nice if we could generate the intersection or set-difference of playlists easily. These features would be very useful in managing the media library.

For example, set-difference could be used to physically remove the duplicates from the media library:
Step 1: Start with a playlist A.
Step 2: Create a clone of playlist A, call it B
Step 3: "Remove Duplicates" on B
Step 4: Difference of A and B contains the duplicate items. Delete all items from the "difference" playlist.

I'm sure there would be more uses of such features.

[Feature Req] Set Operations on Playlists

Reply #1
Perhaps you can use the "Edit > Remove Clipboard Tracks" command to do get the difference.
Full-quoting makes you scroll past the same junk over and over.

[Feature Req] Set Operations on Playlists

Reply #2
foo_utils has a context menu command that allows you to remove an arbitrary set of tracks from an arbitrary playlist: Edit other/Remove from playlist/<insert playlist name>.

Perhaps you can use the "Edit > Remove Clipboard Tracks" command to do get the difference.
That is another (main menu) command from foo_utils.

 

[Feature Req] Set Operations on Playlists

Reply #3
foo_utils has a context menu command that allows you to remove an arbitrary set of tracks from an arbitrary playlist:


Wow that is exactly what i need. Thank you so much.