• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    playlistview: cut/copy/paste of rows

    Scheduled Pinned Locked Moved
    Development
    1
    1
    300
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sktt
      last edited by

      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?

      1 Reply Last reply Reply Quote 1
      • First post
        Last post
      Powered by NodeBB | Contributors