-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathitdb.config.example
More file actions
33 lines (28 loc) · 843 Bytes
/
itdb.config.example
File metadata and controls
33 lines (28 loc) · 843 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[iTunes]
; the location of your xml file
xmlfile=iTunes Music Library.xml
#xmlfile=/Users/ark/Music/iTunes/iTunes Music Library.xml
; if your xml has 'weird' charcters in it it must be cleaned. yes/no
clean=yes
; database connection (this used to be called mysql but now it's client)
; this will work with MySQLdb.connect(read_default_file=dbconfig)
; this will work with mysql.connector.connect(read_default_file=dbconfig)
[client]
host=localhost
database=itdb
user=itdb
password=itdb
[user]
; userid's allow you to store more than one user's data in the same database
id=2
[html]
dir=~/code/ark_itdb_ex
; the base part of the urls (with no trailing /)
base=/itdb
script=itdb.cgi
[templates]
dir=~/code/ark_itdb_ex/templates
[remapping]
; remap some urls to other urls
s1=file://localhost/Volumes/Data/Music/
d1=http://somesite.com/mp3/