Re: mplayerplug-in-3.40 and /tmp files
Kevin DeKorte <[email protected]>
| Newsgroups | gmane.comp.mozilla.mplayerplug-in |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dennis Veatch wrote: >> Ok, when the media can be cached, mplayerplug-in downloads it all... so >> have two options.. >> >> 1. Set 'nomediacache=1' this will play everything directly from the >> site with no caching, this could lead to stuttering or early termination >> and so therefore is not recommended for media over the net. On private >> network with diskless clients it works well. > > Yeah, I don't have a good enough broadband connection for that setting. > Yeah, I don't recommend this setting either, it causes problems, such as no rewind/ff and other messes. >> 2. Set the environment var 'TMPDIR' to a directory with more space... >> prior to launching firefox /home/uid/tmp would be an ok choice. I would >> not recommend setting this to /home/uid since you could end up with a >> bunch of crap in your home. >> >> 3. Change the code in mplayerplug-in. There are two places 'tempnam' is >> used and it defaults to '/tmp' if TMPDIR is not set. You can change >> those two locations to whatever location you want them to be. >> > > Maybe item 2 should be the default for item 3? Then a user wouldn't have to > twiddle with source code. That is how it works. If TMPDIR is set then that value is used over the default value of '/tmp'. So you don't have to mess with the code. I just gave you option 3 if you felt like messing with it. > > Well, seems I was falling down thinking cache would to just that and not > download the whole shabang and observe the cache setting I told it to. > Actually, the cache can't work the way you are expecting. It works the way mplayer expects it to. Remember that mplayer works best when the entire file is local on the disk. Mplayerplug-in gets the file into that condition. And actually if you don't have a good broadband connection you would not want this anyway, since there would be lots of stuttering as the media was played back faster than the cache can fill. Especially with huge files like movies. Kevin - -- Get my public GnuPG key from http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Remi - http://enigmail.mozdev.org iD8DBQFGeqxd6w2kMH0L1dERAtQhAJ9g121jGbrcIB+H7H7aCbKnjLN41ACfRXfr Bn1mTbNij9jlR+LD/HtbIDc= =03te -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/