Classic Shell
http://www.classicshell.net/forum/

How to create "Play all" icon/command
http://www.classicshell.net/forum/viewtopic.php?f=8&t=7632
Page 1 of 1

Author:  Rosco [ Mon May 22, 2017 8:07 pm ]
Post subject:  How to create "Play all" icon/command

I've recently switched over from Windows 7 to Win10. In both OS's there's an option to "play all" with the default media player if the folder contains music. I used to use this in Win7 but it's part of the ribbon now in Win10 and I've hidden the ribbon now that I'm using Classic Explorer. I only have about 10 icon shortcuts now but would like to know how to add a "Play all" icon for my music (if possible). One of the icons I now have is "Select all", so while it would be an extra step to select all and then play all I could deal with that. Currently I need to select all and then right click on the files and play all with my media player.
Thanks in advance! :)

Author:  Gaurav [ Tue May 23, 2017 1:18 am ]
Post subject:  Re: How to creat "Play all" icon/command

The way "Play All" is implemented by Microsoft in Explorer is a disaster. It sends a ShellExecute command to every file. If your folder contains hundreds of files, your PC will freeze as it tries to open them all at once to queue them in the media player's playlist.

If your media player supports command line switches (e.g. I use Media Player Classic Home Cinema), you can create a custom Explorer toolbar button as follows. In the Command field of the Custom button, specify:

mpchc.exe "%1"

I am using MPC-HC as an example. %1 is the path of the current folder.

Usually, if your media player accepts a directory as a path to play all files inside it, it should work. It works for VLC too. For VLC, the button command should be:

"C:\Program Files\VideoLAN\VLC\vlc.exe" "%1".

Which media player are you using?

Author:  Rosco [ Tue May 23, 2017 10:08 pm ]
Post subject:  Re: How to create "Play all" icon/command

Currently I'm using AIMP, I may go back to my old trusty Winamp soon though. :) Thanks for you're help, I'll try your solution in the next day or 2 and get back to you.

Author:  Gaurav [ Wed May 24, 2017 5:07 am ]
Post subject:  Re: How to create "Play all" icon/command

Well I tried just now with both AIMP and Winamp. For Winamp it works only for local paths but fails for network paths even if you have mapped a drive letter.

For AIMP 4, it works the same as VLC or MPC-HC.

Author:  Rosco [ Wed May 24, 2017 7:33 pm ]
Post subject:  Re: How to create "Play all" icon/command

Awesome Gaurav! It looks like it's working like I want it to in AIMP. Thank you!! :)

Author:  Gaurav [ Wed May 24, 2017 9:57 pm ]
Post subject:  Re: How to create "Play all" icon/command

If you have tested and it works for more media players including those who can play video, do let us know. Unfortunately, Windows Media Player doesn't work. It uses DelegateExecute to enqueue files.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/