open files - #272
Conversation
|
Thanks @tbo47 — this is the follow-up to #265, and moving to a right-click menu is the right call. A process point first, then the things still open before it can go in. The title and description need to describe everything the PR does. The title ("open files") is vague, and neither the title nor the description mentions that this PR also adds a Delete menu item that permanently removes files from disk. Please always spell out in the title and the PR text what the change does — reviewers, and the changelog/history later, rely on that. Right now the Delete addition is invisible unless you read the diff. Please split the Delete feature into its own PR. It's unrelated to opening/playing a file, and as written it permanently deletes the file from disk ( Then the points from #265 that are still open: 1. Don't duplicate the preview logic — factor it out. 2. Non-media files should use the OS default opener, not the browser. They currently go through 3. Gate Play to the monolithic app. Delete is correctly wrapped in Thanks for iterating on this! |
|
One more, on the macOS change in The comment justifies it with "on macOS aMule can't guess a video player from file associations the way Given that, the hardcoded prefill isn't worth its downsides:
Please drop the prefill and rely on the existing |
|
Thanks @got3nks , I will divide it in different PRs. I'm closing it for now. |
Summary
From the Shared Files tab, right click Play opens the file with the Video Player for audio and video.
On MacOs, if the Video Player is not set and
/opt/homebrew/bin/vlcis available, it uses it as the video player