From: Simon F. <sim...@on...> - 2007-05-03 15:03:53
|
Nico Sabbi wrote: > Simon Farnsworth wrote: > >> How did you fix this? xine 1.1 currently assumes that there's only one >> channels.conf (~/.xine/channels.conf), and as there's only one card in >> our kiosk systems, all we want to do is move the file out of .xine. I >> agree that my patch doesn't improve things at all, but I don't see how >> it makes things worse (or what the better fix would be). > > actually I didn't fix it. > I just ignore that parameter and use the hardcoded > ~/.mplayer/channels.conf.(ter|sat|cbl|atsc) > because I don't see any way to make a multitype system work with a > unique filename > specified by the user > Xine currently assumes ~/.xine/channels.conf; it doesn't change the filename to match the tuner type. I suppose that a sane(ish) fix would be to provide a configuration parameter to provide the directory name, then try channels.conf.(type} and channels.conf in that directory. It's beyond what we need here though, but if someone coded up the filename changing bit, I'd add the code to set the directory name. -- Simon Farnsworth |