LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   xine input.file_origin_path? (https://www.linuxquestions.org/questions/linux-software-2/xine-input-file_origin_path-262423/)

sohmc 12-04-2004 04:19 AM

xine input.file_origin_path?
 
I've been trying to find a way to get xine to start it's file browsing in the directory of which the playing file resides.

For example: If I'm playing "/home/user/media_files/simpsons/episode_100.mpg", I'd like it so when I browse the directory when editting the play list, xine opens "/home/user/media_files/simpsons"

So on an so forth for files "/home/user/media_files/futurama/episode_100.mpg" etc...

The only way I can think of is a wrapper script but I'd really not want to do this.

ANyone have any thoughts? Xine used to do this way back when I had fedora 1 and didn't upgrade to fedora 2 and the latest distro of xine.

Looking at the ~/.xine/config file, the variable that holds where to start file browsing is held in "input.file_origin_path". If you comment it out, it starts in the user's home directory. However, when you exit, it saves your last path in the variable.

So xine does re-write the file...any thoughts on making the variable to $PWD?

thanks!

sohmc 12-04-2004 04:24 AM

Okay...nevermind. I answered my own question. Apparently, if you comment out the variable several times, xine finally gets it and doesn't uncomment it.

thanks anyway guys.


All times are GMT -5. The time now is 10:26 PM.