Skip to content

Commit 8ba0213

Browse files
committed
check for ~/.mythtv/mysql.txt (Chris Pinkham <cpinkham*bc2va.org>)
1 parent 06764ff commit 8ba0213

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

trunk/nuvexport

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ format and use Microsoft's Windows Media Encoder to encode a WMV file.
193193

194194
# Read the mysql.txt file in use by MythTV.
195195
# could be in a couple places, so try the usual suspects
196-
open(CONF, "/usr/share/mythtv/mysql.txt")
196+
open(CONF, "$ENV{HOME}/.mythtv/mysql.txt")
197+
or open(CONF, "/usr/share/mythtv/mysql.txt")
197198
or open(CONF, "/usr/local/share/mythtv/mysql.txt")
198199
or die ("Unable to open /usr/share/mythtv/mysql.txt: $!\n\n");
199200
while (my $line = <CONF>) {

0 commit comments

Comments
 (0)