Khvalovsky / gecko-mediaplayer

Automatically exported from code.google.com/p/gecko-mediaplayer
GNU General Public License v2.0
0 stars 0 forks source link

reads wrong config file #122

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If I run iceweasel with strace, I can see that gecko-mediaplayer tries to read 
unique local config file, for example

~/.mplayer/gecko-mediaplayerlcucok.conf

This path is different all time I run browser (last six letters to prevent 
symlink attacks with mktemp() I believe).

gecko-mediaplayer should read fixed file path, for example

~/.mplayer/gecko-mediaplayer.conf

Original issue reported on code.google.com by ksquirrel.iv@gmail.com on 25 Jan 2011 at 12:42

GoogleCodeExporter commented 8 years ago
mplayer looks for a .conf file with same name as the cache file. This is normal 
behavior and is not a problem.

Original comment by kdeko...@gmail.com on 25 Jan 2011 at 1:40

GoogleCodeExporter commented 8 years ago
Ok, where in this case I should write configuration values for 
gecko-mediaplayer? I read http://mplayerplug-in.sourceforge.net/config.php, but 
this doc seems to be outdated since plugin doesn't try to read local 
mplayerplug-in.conf.

Original comment by ksquirrel.iv@gmail.com on 25 Jan 2011 at 2:26

GoogleCodeExporter commented 8 years ago
No, you do not need to. Configuration files are controlled by gnome-mplayer. In 
fact the file you are seeing is actually opened by mplayer itself (it does this 
for any media file). I would just leave it as is, there is no problem.

Original comment by kdeko...@gmail.com on 25 Jan 2011 at 2:40

GoogleCodeExporter commented 8 years ago
So, where should I set dload-dir?

Original comment by ksquirrel.iv@gmail.com on 25 Jan 2011 at 5:15

GoogleCodeExporter commented 8 years ago
You are using the wrong configuration file documentation.. gecko-mediaplayer is 
not mplayerplug-in. I wrote both of those applications.

dload-dir is no longer an option for gecko-mediaplayer. You can right click on 
the video and choose "Save" and it will allow you to store the video. But there 
is no automatic download and save like mplayerplug-in had.

Original comment by kdeko...@gmail.com on 25 Jan 2011 at 5:18

GoogleCodeExporter commented 8 years ago
Hm.. Is there any other way to cache http video on disk?

Original comment by ksquirrel.iv@gmail.com on 25 Jan 2011 at 6:27

GoogleCodeExporter commented 8 years ago
http video that can be downloaded is stored locally and the size is set
by preferences in the plugin tab of gnome-mplayer. For data that cannot
be downloaded it streamed directly from the site and not cached.

Cached data is stored in ~/.cache/gnome-mplayer/plugin, but when the
site is closed, the data is normally removed.

Kevin

Original comment by kdeko...@gmail.com on 25 Jan 2011 at 7:42