Quoting Tiersten <[EMAIL PROTECTED]>: > > kdf Wrote: > > This depends on someone with some expertise on shorten having a > > willingness to help. so far, the only well-known way to extract > > information about a given shorten file (info needed for slimserver to > > play the file) is to quickly uncompress it to /dev/null. /dev/null, > > for the non-unix types, is basically a fake device for sending data off > > into nothingness. This technique lets the server read the WAV header > > contained in the shorten file and get bitrate, duration, etc. the > > problem is /dev/null doesn't exist for windows. > > > > Can't you use NUL? Thats the equiv of /dev/null for Windows. It > exists in every directory as a hidden special file.
That's the first I've ever heard of it, aside from being a constant. Does it take redirects? The current method uses the following command line as a filehandle: "shorten -x \Q$file\E - 2>/dev/null|" very unixy, and even at that it doesn't seem 100% reliable. Many shorten files that I've run into fail to work even with this. Any that I've made myself seem to be ok. -kdf _______________________________________________ Discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
