sghpjuikit / player

Audio player and management application.
22 stars 2 forks source link

Add Play option to Dir Viewer #70

Closed xeruf closed 5 years ago

xeruf commented 6 years ago

Since this is in the end still a music player, the Dir Viewer should have an option (in the rightclick menu) to play the file in the player if it is an audiofile.

sghpjuikit commented 6 years ago

The appropriate changes can be done in the CoreMenus.kt file. I welcome PR for this. Note that it is necessary toadd the play option for File and List using add and addMany methods. As to how play the file, there already are other play menus, so reuse the code. Use runIf {} to create the menu conditionally.

sghpjuikit commented 5 years ago

Implemented.

xeruf commented 5 years ago

Fixed in https://github.com/sghpjuikit/player/commit/b2fcd1f6eedba35c411e4dfcbe145c7683a1d7d6

Please remember to always mention the commit for archiving purposes.

sghpjuikit commented 5 years ago

Right, I apologize. Keep forgetting. Always remind me if I mess up. I'll make it a habit.