playlistview: cut/copy/paste of rows
-
Currently there's no efficient method to quickly move/copy songs between playlist without using drag and drop to the different tabs, which is a bit painful.
I would like to hack the playlistview a bit to allow me to copy/cut and paste selections instead of the current implementation, which just copies the visible columns of the last row in the selection.
What would be the correct behavior with cutting? To remove the selection immediately, or to remove it on pasting? I feel like the latter option is a bit more tricky since that would require keeping track of which items to remove when pasting, which may have moved to different rows since cutting.
I think the idea would be to grab the URL of each row, which would be file path, and put these into the clipboard using setMimeData() and then handle these upon pasting.
Does this make sense at all?