Tech Support > Computer Hardware > Desktops > Play All Videos In Folder
Play All Videos In Folder
Posted by EdwardATeller on April 15th, 2007


Here is a desktop video question for you. I'd like to be able to
easily play all the videos in any folder on my desktop XP computer.
"Play All" from Windows Explorer is a joke, opening every video at
once. I want them to play one after the other. I thought to write a
Perl or VB script that creates a Media Player Classic (excellent
player, BTW) playlist, and then launches MPC to play it. But why
reinvent the wheel if it already exists? Does anybody know of a good
way to do this? Thanks.

Download MPC here:

http://sourceforge.net/project/showf...ckage_id=84358

Posted by Richard Crowley on April 15th, 2007


"EdwardATeller" wrote ...

Actually r.v.d was chartered for discussion of video editing,
not general-purpose video players. If you check the official
charter it says "This group will exist to serve as a forum for
users of the increasingly affordable computer-based video
editing systems..."

While there may be one of more people here who might
have a suggestion for you, other newsgroups that deal
with media players and operating systems may get you
a wider audience of people with similar interests. Even
news:microsoft.public.multimedia.windows.mediaplay er
might be a place where this question has already been
asked (and answered). Searching for a key phrase on
Google Groups archive might also prove fruitful.

Posted by Fishface on April 15th, 2007


EdwardATeller wrote:
Well, MPC has command line options.

mplayerc.exe /h

So you can do something like:

mplayerc.exe e:\*.avi /play /fullscreen



Posted by Ken Maltby on April 15th, 2007



"EdwardATeller" <sorry_no_email@yahoo.com> wrote in message
news:1176596068.233683.141780@n76g2000hsh.googlegr oups.com...
MPC is indeed a great player. In fact, you should get
acquainted with its Command line Switches. ( Click on
"Help")

Here is a little trick to make a shortcut that plays a
directory;

Right-click on your desktop and open the "New"
pop-up list and select "Shortcut".

--Now the trick--
Browse... to the directory you want to have MPC
play, once it is highlighted - Ctrl-C it.

Then browse to the MPC .exe; it should now be
highlighted.

Move your cursor to the end of the highlighted
part, add a space and a Quotation mark.

Now use Ctrl-V to add the "pathname" you stored
away with Ctrl-C ; then add the closing Quotation
mark.

You can then add any switches you may want like
/play (so you can use /close)
/close (Close the player after playback)
/shutdown (Shutdown the OS after playback)
/fullscreen (Start in full-screen mode)
/minimized (Start in minimized mode)
/fixedsize w,h (Set fixed window size [in pixels])
/monitor N (Start on monitor N)

Or don't add any more switches and it will just
play the files in the specified directory.

You would give the shortcut a name to reflect
the material it will be playing.

Luck;
Ken

P.S. My MMB menus play video files using MPC
command line switches.

Like
C:\MMB Menus\mplayerc.exe "M:\Andromeda\Season 1\
Andromedia_S1_E07.mp4" /play /fixedsize 1280,720 /close

http://photos.yahoo.com/kmaltby@sbcglobal.net




Posted by Ken Maltby on April 15th, 2007



"Fishface" <invalid@ddress.ok?> wrote in message
news:rmhUh.678$xL6.214@trnddc05...
Actually that would be:
mplayer.exe "E:\*.avi" /fullscreen

You need the quotes but only need /play
with certain options.

Luck;
Ken



Posted by Fishface on April 15th, 2007


Ken Maltby wrote:
But of course it worked for a path without spaces
when I tried it.



Posted by Fishface on April 15th, 2007


Ken Maltby wrote:
That "trick" to paste a path does not work for me on Win2k
or XP. I do have the "SendToX" Powertoy installed and can
select "Clipboard as Name "from the "Send To" context menu,
though. Do you have some third-party shell extension installed
that allows you to do this?



Posted by Ken Maltby on April 15th, 2007



"Fishface" <invalid@ddress.ok?> wrote in message
news:ByrUh.1771$xP.654@trnddc04...
It should work in XP, if you were following the steps I
laid out. The "Browse" function provides the highlighted
path. The normal copy to clipboard function of XP ( the
Ctrl-C) works on whatever text is highlighted. The Ctrl-V
(Paste) works from wherever the active text input cursor is.

I do have the free Multi Clipboard "MiniCLIP" utility from
www.mediachance.com (The DVDLab and MMB guys.)
installed, but it shouldn't be effecting the Ctrl-C Ctrl-V XP
commands. I do have its "Auto focus" set so that may be
having an impact on the automatic highlighting that occurs
in the "Browse" function. ( If that's the case, just use your
mouse to do the highlighting.) But the Auto focus is supposed
to only be for going between Mclip and the program you are
working in, not when you are staying in your program.

Luck;
Ken




Posted by EdwardATeller on April 15th, 2007


On Apr 15, 12:16 am, "Ken Maltby" <kmal...@sbcglobal.net> wrote:
Thanks for the replies. Once again, rec.video.desktop comes through
with the answer. Still need to implement it, but it seems
straightforward enough.


Posted by Fishface on April 15th, 2007


Ken Maltby wrote:
Your words:

Browse... to the directory you want to have MPC
play, once it is highlighted - Ctrl-C it.

I was trying to copy the highlighted folder in the browse dialog
instead of browsing to it and choosing "OK." That is what I
thought you were saying to do.

Found it, here's the link:
http://www.mediachance.com/free/miniclip.htm
Interesting utility. I have a little utility I wrote years ago called
Clipsaver. It's just an edit window which remains minimized
and captures all text copied to the clipboard. It has user
selectable text to separate the entries. I can then save things
easily for future use, like code snippets and useful tweaks.
I even have a "saved search" shortcut on my start menu to
search inside my clipsaver folder. When zoomed, it ceases
its capture to facilitate copying from itself, and will optionally
stay on top of other windows. When minimized, it returns the
caret to the end and resumes monitoring the clipboard.



Posted by Ken Maltby on April 15th, 2007



"Fishface" <invalid@ddress.ok?> wrote in message
news:H0uUh.924$Qp.888@trnddc07...
OK, I see what you mean. I should have said "once it
is highlighted in the "Type the location of the item:" box,
Ctrl-C it." My Bad.




Posted by EdwardATeller on April 16th, 2007


On Apr 15, 12:16 am, "Ken Maltby" <kmal...@sbcglobal.net> wrote:
I wrote an AutoHotKey script that does the trick. Details can be
found here:

http://www.autohotkey.com/forum/view...=116165#116165

Thanks again for the help.


Posted by Bill's News on April 16th, 2007



"EdwardATeller" <sorry_no_email@yahoo.com> wrote in message
news:1176596068.233683.141780@n76g2000hsh.googlegr oups.com...
Drag multiple files or a folder on to an MPC shortcut or an open
copy of MPC! Play begins. The Playlist is filled with the
video content of the dragged item(s) but no subfolders, nor
their content, are listed. However, dragging other folders onto
the open player appends their content to the playlist.

The only problem I have with this, and it may be true likewise
of filling the playlist under MPC's control, is that MPC (v
6.4.9.0) hangs whenever I PgDn a number of (arbitrarily >= 4)
times to get to a much deeper selection.




Similar Posts