Sorry, now I understand.
Shaun Jackman wrote:
#285715: freeguide initialization fails if ~/.xmltv does not exist
Works for me.
If I remove .xmltv, "Download Listings" gives...
Commands:
$tv_grab_na_dd --config-file "/home/sjackman/.xmltv/tv_grab_na_dd.conf"...
Output:
*ERROR* Username not specified. Please run --configure
This should never happen since the user will normally choose channels
during the First Time Wizard, or will configure xmltv manually.
If I then "Choose Channels", it gives...
Commands:
$tv_grab_na_dd --config-file
"/home/sjackman/.xmltv/tv_grab_na_dd.conf" --configure --gui
Output:
Use of uninitialized value in pattern match (m//) at
/usr/bin/tv_grab_na_dd line 505.
Fetched 33 k/bytes in 2 seconds
Adding new channel: 8 CHANM
...
Adding new channel: 91 CFTM
ERROR: can't open config file: /home/sjackman/.xmltv/tv_grab_na_dd.conf
If I create the .xmltv directory manually first, "Choose Channels"
works as expected.
This is definitely a bug: before we choose channels we should check the
directory exists.
If "Download Listings" sees it is missing the xmltv
config file, it could first run "Choose Channels", which should create
create the directory in which it will be putting the xmltv config
file.
This could probably be done, but it is tricky since FreeGuide would have
to understand the error message spewed by each XMLTV grabber. I guess
just noticing "Please run --configure" would do it.
I've added it to my TODO, but don't hold your breath!
Andy
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]