Subversion Repositories cheapmusic

Rev

Rev 58 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 58 Rev 78
Line 2... Line 2...
2
require_once('php/XmlStreamer.php');
2
require_once('php/XmlStreamer.php');
3
require_once('php/tools.php');
3
require_once('php/tools.php');
-
 
4
require_once('php/constants.php');
4
ini_set("memory_limit", "256M");
5
ini_set("memory_limit", "256M");
5
 
6
 
6
$cnt = 0;
7
$cnt = 0;
7
 
8
 
8
class ArtistsXmlStreamer extends XmlStreamer
9
class ArtistsXmlStreamer extends XmlStreamer
Line 89... Line 90...
89
 
90
 
90
		return true;
91
		return true;
91
	}
92
	}
92
}
93
}
93
 
94
 
94
$xmlfile = "./in/discogs_20190801_artists.xml.gz";
95
$xmlfile = "./in/discogs_" . XMLFILEDATE . "_artists.xml.gz";
95
 
96
 
96
$fh = fopen("out/artists.load", "w+");
97
$fh = fopen("out/artists.load", "w+");
97
$fhVariations = fopen("out/artistVariations.load", "w+");
98
$fhVariations = fopen("out/artistVariations.load", "w+");
98
$fhAlias = fopen("out/artistAliases.load", "w+");
99
$fhAlias = fopen("out/artistAliases.load", "w+");
99
$fhGroups = fopen("out/artistGroups.load", "w+");
100
$fhGroups = fopen("out/artistGroups.load", "w+");