PDA

View Full Version : Previewing media files in Windows Explorer


Paradoxdb3
November 4th 04, 05:59 PM
I recently discovered that I can preview my audio and video files in Windows
explorer by editing the text in the FOLDER.HTT file found in C:\WINDOWS\WEB.
I edited the line:

var wantMedia = false;

to read:

var wantMedia = true;

My question is this. How can I get it to play MP3 files? Right now, it
only plays WAV and MIDI files. Thanks.


--
I'm stuck inside this thing!

Bill Blanton
November 5th 04, 12:56 AM
"Paradoxdb3" > wrote in message ...
> I recently discovered that I can preview my audio and video files in Windows
> explorer by editing the text in the FOLDER.HTT file found in C:\WINDOWS\WEB.
> I edited the line:
>
> var wantMedia = false;
>
> to read:
>
> var wantMedia = true;
>
> My question is this. How can I get it to play MP3 files? Right now, it
> only plays WAV and MIDI files. Thanks.

Try adding the extension to this line of code (line 284 in my folder.htt)
'mp3' must be lower case, as dictated by a previous code line.

} else if (ext == 'aif' || ext == 'aifc' || ext == 'aiff' || ext == 'au' || ext == 'mid' || ext == 'rmi' || ext == 'snd' || ext ==
'wav') {

Cjange it to...

} else if (ext == 'aif' || ext == 'aifc' || ext == 'aiff' || ext == 'au' || ext == 'mid' || ext == 'rmi' || ext == 'snd' || ext ==
'wav' || ext == 'mp3') {

I guess you saw the warning comment next to the var wantMedia..

Bill Blanton
November 5th 04, 01:03 AM
"Bill Blanton" > wrote in message ...

} else if (ext == 'aif' || ext == 'aifc' || ext == 'aiff' || ext == 'au' || ext == 'mid' || ext == 'rmi' || ext == 'snd' || ext ==
'wav' || ext == 'mp3') {

Of course, that should be one line..

Paradoxdb3
November 5th 04, 03:12 AM
Yes, I did see that warning line...what exactly does it mean? Does it refer
to editing the song through Nero express or changing the E.Q. settings? I
suppose if it does something I do not want it to, I can always change the
value of the wantMedia back to FALSE, right? Thanks.

"Bill Blanton" wrote:

> "Paradoxdb3" > wrote in message ...
> > I recently discovered that I can preview my audio and video files in Windows
> > explorer by editing the text in the FOLDER.HTT file found in C:\WINDOWS\WEB.
> > I edited the line:
> >
> > var wantMedia = false;
> >
> > to read:
> >
> > var wantMedia = true;
> >
> > My question is this. How can I get it to play MP3 files? Right now, it
> > only plays WAV and MIDI files. Thanks.
>
> Try adding the extension to this line of code (line 284 in my folder.htt)
> 'mp3' must be lower case, as dictated by a previous code line.
>
> } else if (ext == 'aif' || ext == 'aifc' || ext == 'aiff' || ext == 'au' || ext == 'mid' || ext == 'rmi' || ext == 'snd' || ext ==
> 'wav') {
>
> Cjange it to...
>
> } else if (ext == 'aif' || ext == 'aifc' || ext == 'aiff' || ext == 'au' || ext == 'mid' || ext == 'rmi' || ext == 'snd' || ext ==
> 'wav' || ext == 'mp3') {
>
> I guess you saw the warning comment next to the var wantMedia..
>
>
>
>

Bill Blanton
November 5th 04, 03:53 AM
Yeah, you can change it back. An htt file is similar to an html
file and is only interpreted by the browser. In this case, Windows
explorer instead of Internet explorer.

I don't know, but by, "// cool, but may hinder media file manipulation"
they might be talking about doing file ops (rename, move, copy, etc...) via
explorer or possibly editing the file. Sounds like it is an "open file" issue.
If it's "open" in the preview pane, it may hinder...? Try it. You can always
revert back. Restoring the htt, and a possible reboot, at the most should
be all that is needed if there is a problem..I don't see that code corrupting
the file in any way.



"Paradoxdb3" > wrote in message ...
> Yes, I did see that warning line...what exactly does it mean? Does it refer
> to editing the song through Nero express or changing the E.Q. settings? I
> suppose if it does something I do not want it to, I can always change the
> value of the wantMedia back to FALSE, right? Thanks.
>
> "Bill Blanton" wrote:
>
> > "Paradoxdb3" > wrote in message ...
> > > I recently discovered that I can preview my audio and video files in Windows
> > > explorer by editing the text in the FOLDER.HTT file found in C:\WINDOWS\WEB.
> > > I edited the line:
> > >
> > > var wantMedia = false;
> > >
> > > to read:
> > >
> > > var wantMedia = true;
> > >
> > > My question is this. How can I get it to play MP3 files? Right now, it
> > > only plays WAV and MIDI files. Thanks.
> >
> > Try adding the extension to this line of code (line 284 in my folder.htt)
> > 'mp3' must be lower case, as dictated by a previous code line.
> >
> > } else if (ext == 'aif' || ext == 'aifc' || ext == 'aiff' || ext == 'au' || ext == 'mid' || ext == 'rmi' || ext == 'snd' || ext
==
> > 'wav') {
> >
> > Cjange it to...
> >
> > } else if (ext == 'aif' || ext == 'aifc' || ext == 'aiff' || ext == 'au' || ext == 'mid' || ext == 'rmi' || ext == 'snd' || ext
==
> > 'wav' || ext == 'mp3') {
> >
> > I guess you saw the warning comment next to the var wantMedia..
> >
> >
> >
> >

Paradoxdb3
November 5th 04, 04:41 AM
Thanks for the valuable help! It s much appreciated.

"Bill Blanton" wrote:

> Yeah, you can change it back. An htt file is similar to an html
> file and is only interpreted by the browser. In this case, Windows
> explorer instead of Internet explorer.
>
> I don't know, but by, "// cool, but may hinder media file manipulation"
> they might be talking about doing file ops (rename, move, copy, etc...) via
> explorer or possibly editing the file. Sounds like it is an "open file" issue.
> If it's "open" in the preview pane, it may hinder...? Try it. You can always
> revert back. Restoring the htt, and a possible reboot, at the most should
> be all that is needed if there is a problem..I don't see that code corrupting
> the file in any way.
>
>
>
> "Paradoxdb3" > wrote in message ...
> > Yes, I did see that warning line...what exactly does it mean? Does it refer
> > to editing the song through Nero express or changing the E.Q. settings? I
> > suppose if it does something I do not want it to, I can always change the
> > value of the wantMedia back to FALSE, right? Thanks.
> >
> > "Bill Blanton" wrote:
> >
> > > "Paradoxdb3" > wrote in message ...
> > > > I recently discovered that I can preview my audio and video files in Windows
> > > > explorer by editing the text in the FOLDER.HTT file found in C:\WINDOWS\WEB.
> > > > I edited the line:
> > > >
> > > > var wantMedia = false;
> > > >
> > > > to read:
> > > >
> > > > var wantMedia = true;
> > > >
> > > > My question is this. How can I get it to play MP3 files? Right now, it
> > > > only plays WAV and MIDI files. Thanks.
> > >
> > > Try adding the extension to this line of code (line 284 in my folder.htt)
> > > 'mp3' must be lower case, as dictated by a previous code line.
> > >
> > > } else if (ext == 'aif' || ext == 'aifc' || ext == 'aiff' || ext == 'au' || ext == 'mid' || ext == 'rmi' || ext == 'snd' || ext
> ==
> > > 'wav') {
> > >
> > > Cjange it to...
> > >
> > > } else if (ext == 'aif' || ext == 'aifc' || ext == 'aiff' || ext == 'au' || ext == 'mid' || ext == 'rmi' || ext == 'snd' || ext
> ==
> > > 'wav' || ext == 'mp3') {
> > >
> > > I guess you saw the warning comment next to the var wantMedia..
> > >
> > >
> > >
> > >
>
>
>