<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.datagirl.xyz/w/index.php?action=history&amp;feed=atom&amp;title=Steam_Music_Database</id>
	<title>Steam Music Database - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.datagirl.xyz/w/index.php?action=history&amp;feed=atom&amp;title=Steam_Music_Database"/>
	<link rel="alternate" type="text/html" href="https://wiki.datagirl.xyz/w/index.php?title=Steam_Music_Database&amp;action=history"/>
	<updated>2026-06-02T21:06:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://wiki.datagirl.xyz/w/index.php?title=Steam_Music_Database&amp;diff=232&amp;oldid=prev</id>
		<title>Flurry: Created page with &quot;{{WIP|Literally any information other than the SQL schema}}  Found in &lt;code&gt;$STEAM_HOME/music/_database/musicdatabase_XXXX.db&lt;/code&gt;. Not sure what determines the &lt;code&gt;XXXX&lt;/code&gt; yet, but mine is &lt;code&gt;0016&lt;/code&gt;.  &lt;syntaxhighlight lang=&quot;sql&quot;&gt; CREATE TABLE localartist (     artistid INTEGER PRIMARY KEY,     artistname TEXT,     artistsortname TEXT,     artistinsertname TEXT ); CREATE INDEX artistid_index ON localartist ( artistid ); CREATE INDEX artistname_index ON lo...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.datagirl.xyz/w/index.php?title=Steam_Music_Database&amp;diff=232&amp;oldid=prev"/>
		<updated>2023-07-14T02:25:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{WIP|Literally any information other than the SQL schema}}  Found in &amp;lt;code&amp;gt;$STEAM_HOME/music/_database/musicdatabase_XXXX.db&amp;lt;/code&amp;gt;. Not sure what determines the &amp;lt;code&amp;gt;XXXX&amp;lt;/code&amp;gt; yet, but mine is &amp;lt;code&amp;gt;0016&amp;lt;/code&amp;gt;.  &amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt; CREATE TABLE localartist (     artistid INTEGER PRIMARY KEY,     artistname TEXT,     artistsortname TEXT,     artistinsertname TEXT ); CREATE INDEX artistid_index ON localartist ( artistid ); CREATE INDEX artistname_index ON lo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{WIP|Literally any information other than the SQL schema}}&lt;br /&gt;
&lt;br /&gt;
Found in &amp;lt;code&amp;gt;$STEAM_HOME/music/_database/musicdatabase_XXXX.db&amp;lt;/code&amp;gt;. Not sure what determines the &amp;lt;code&amp;gt;XXXX&amp;lt;/code&amp;gt; yet, but mine is &amp;lt;code&amp;gt;0016&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
CREATE TABLE localartist (&lt;br /&gt;
    artistid INTEGER PRIMARY KEY,&lt;br /&gt;
    artistname TEXT,&lt;br /&gt;
    artistsortname TEXT,&lt;br /&gt;
    artistinsertname TEXT&lt;br /&gt;
);&lt;br /&gt;
CREATE INDEX artistid_index ON localartist ( artistid );&lt;br /&gt;
CREATE INDEX artistname_index ON localartist ( artistid, artistname );&lt;br /&gt;
&lt;br /&gt;
CREATE TABLE localalbum (&lt;br /&gt;
    albumid INTEGER PRIMARY KEY,&lt;br /&gt;
    albumdirectory TEXT,&lt;br /&gt;
    albumname TEXT,&lt;br /&gt;
    artistname TEXT,&lt;br /&gt;
    albumsortname TEXT,&lt;br /&gt;
    artistsortname TEXT,&lt;br /&gt;
    trackcount INTEGER,&lt;br /&gt;
    discnumber INTEGER,&lt;br /&gt;
    multipleartist INTEGER,&lt;br /&gt;
    addedtime INTEGER&lt;br /&gt;
);&lt;br /&gt;
CREATE INDEX albumid_index ON localalbum( albumid );&lt;br /&gt;
CREATE INDEX albumdirectory_index ON localalbum( albumdirectory, albumname, discnumber );&lt;br /&gt;
&lt;br /&gt;
CREATE TABLE localtrack (&lt;br /&gt;
    trackid INTEGER PRIMARY KEY,&lt;br /&gt;
    trackfile TEXT,&lt;br /&gt;
    trackposition INTEGER,&lt;br /&gt;
    lasttouchedtime INTEGER,&lt;br /&gt;
    trackname TEXT,&lt;br /&gt;
    albumname TEXT,&lt;br /&gt;
    artistname TEXT,&lt;br /&gt;
    albumartist TEXT,&lt;br /&gt;
    trackyear INTEGER,&lt;br /&gt;
    tracktrack INTEGER,&lt;br /&gt;
    lengthinmilliseconds INTEGER,&lt;br /&gt;
    bitrate INTEGER,&lt;br /&gt;
    samplerate INTEGER,&lt;br /&gt;
    channels INTEGER,&lt;br /&gt;
    discnumber INTEGER,&lt;br /&gt;
    genre TEXT,&lt;br /&gt;
    playcount INTEGER,&lt;br /&gt;
    lastplayedtime INTEGER,&lt;br /&gt;
    trackalbum INTEGER REFERENCES localalbum( albumid ) ON UPDATE CASCADE,&lt;br /&gt;
    trackartist INTEGER REFERENCES localartist( artistid ) ON UPDATE CASCADE,&lt;br /&gt;
    trackalbumartist INTEGER REFERENCES localartist( artistid ) ON UPDATE CASCADE,&lt;br /&gt;
    providescover INTEGER,&lt;br /&gt;
    coverurl TEXT&lt;br /&gt;
);&lt;br /&gt;
CREATE INDEX trackid_index ON localtrack( trackid );&lt;br /&gt;
CREATE INDEX trackfile_index ON localtrack( trackfile, trackname, lengthinmilliseconds, lasttouchedtime );&lt;br /&gt;
&lt;br /&gt;
CREATE TABLE localplaylist (&lt;br /&gt;
    playlistid INTEGER PRIMARY KEY,&lt;br /&gt;
    playlistname TEXT,&lt;br /&gt;
    position INTEGER,&lt;br /&gt;
    tag TEXT,&lt;br /&gt;
    totaltime INTEGER,&lt;br /&gt;
    trackcount INTEGER,&lt;br /&gt;
    playcount INTEGER,&lt;br /&gt;
    lastplayedtime INTEGER&lt;br /&gt;
);&lt;br /&gt;
CREATE INDEX playlistid_index ON localplaylist( playlistid );&lt;br /&gt;
CREATE INDEX playlistname_index ON localplaylist( playlistname );&lt;br /&gt;
&lt;br /&gt;
CREATE TABLE localplaylist_localtrack (&lt;br /&gt;
    id INTEGER PRIMARY KEY,&lt;br /&gt;
    playlistid INTEGER REFERENCES localplaylist( playlistid ) ON UPDATE CASCADE,&lt;br /&gt;
    trackfile TEXT,&lt;br /&gt;
    position INTEGER,&lt;br /&gt;
    active INTEGER,&lt;br /&gt;
    providescover INTEGER&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Flurry</name></author>
	</entry>
</feed>