phileday / whirligig-old-issues

Whirligig Media Player bug tracking
0 stars 0 forks source link

feature request: renaming files #20

Open cheater opened 5 years ago

cheater commented 5 years ago

As title suggests

cheater commented 4 years ago

Wanted to flesh this out a bit. There should be two things that you can do:

  1. on the currently playing file, there should be a binding possible where you press a button, and get a text prompt. The text prompt is pre-filled with the current file name, and it should be possible to edit that and press enter. Once you press enter, the file is renamed but the playback doesn't stop. If the renaming fails, a dialog should pop up with an OK button that lets you know of this and waits for you to acknowledge it. Clicking outside the popup should also close it.

  2. In the playlist and file browser, you should be able to click on a file and rename it using a button present in the UI. Again, a dialog should pop up, and if renaming files then an error should pop up like in 1.

After renaming the file, if we're currently playing from a playlist and that file is part of the playlist, the playlist entry should be changed.

After renaming the file, if you're currently playing the file, and if you're playing from the browser (not from the playlist), when you press the binding to go to the next file and then the previous file (returning to the renamed file), the file should be found and playback should work.