digimezzo/dopamine

Does not play double-clicked files on Mac

Closed this issue · 12 comments

If I want to open a file that is not in the library by double clicking it does not start. Only by dragging from the folder into the player it is played.

@trifon81 Thanks for the video. This problem seems to be limited to Mac. I'll try to solve that in the next preview.

@trifon81 Could you try to reproduce the problem once more and after that, send me the log file? You'll find the log by going to Advanced > Log file and clicking on "View log":

image

Note to self, for Mac we might have to do something different: https://stackoverflow.com/questions/50935292/argv1-returns-unexpected-value-when-i-open-a-file-on-double-click-in-electron

Unfortunately, I'm not good at these codes and I don't know how to do it.

Maybe if you write the exact code that I just enter in the terminal, it will work.

@trifon81 I've created a possible fix, but I don't have a Mac to try it out. Could you try out this build and let me know if files play when double-clicking? The build is here: https://github.com/digimezzo/dopamine/releases/tag/v3.0.0-preview.32-mac-double-click-fix

I've created a possible fix, but I don't have a Mac to try it out. Could you try out this build and let me know if files play when double-clicking? The build is here:

No improvement, same thing.

Too bad. Thanks for trying it out. I'll keep looking for a fix.

If you need to send it again, I'll try it.

If you need to send it again, I'll try it.

Thanks! I got my hands on a virtual mac test machine. That should hopefully make debugging and testing easier. I'm preparing to release Preview 33 today. Then for Preview 34, the mac port will get full attention. This issue will be handled in preview 34.