<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.shoutirc.com/index.php?action=history&amp;feed=atom&amp;title=Plugin%3ASimpleDJ%3AQueue_MySQL</id>
	<title>Plugin:SimpleDJ:Queue MySQL - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.shoutirc.com/index.php?action=history&amp;feed=atom&amp;title=Plugin%3ASimpleDJ%3AQueue_MySQL"/>
	<link rel="alternate" type="text/html" href="https://wiki.shoutirc.com/index.php?title=Plugin:SimpleDJ:Queue_MySQL&amp;action=history"/>
	<updated>2026-04-29T01:50:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.shoutirc.com/index.php?title=Plugin:SimpleDJ:Queue_MySQL&amp;diff=4292&amp;oldid=prev</id>
		<title>Indy: Text replacement - &quot;{{ircbot}}&quot; to &quot;{{radiobot}}&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.shoutirc.com/index.php?title=Plugin:SimpleDJ:Queue_MySQL&amp;diff=4292&amp;oldid=prev"/>
		<updated>2013-10-24T04:22:36Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;{{ircbot}}&amp;quot; to &amp;quot;{{radiobot}}&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:SimpleDJ Plugins|MySQL Queue]]&lt;br /&gt;
This is a [[Plugins|plugin]] for [[Plugin:SimpleDJ|SimpleDJ]] which keeps your playlist and ID3 cache in a MySQL database. This plugin provides a few benefits over the memory queue, including less memory usage and easier integration with WebRequest systems.&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
 See the [[Configuration]] page.&lt;br /&gt;
&lt;br /&gt;
==Database Schema==&lt;br /&gt;
Note: You do not need to create the table yourself, the plugin will do it automatically.&amp;lt;br /&amp;gt;&lt;br /&gt;
Here is the SQL query needed to create the AutoDJ table:&lt;br /&gt;
&lt;br /&gt;
 CREATE TABLE `AutoDJ` (&lt;br /&gt;
  `ID` int(10) unsigned NOT NULL,&lt;br /&gt;
  `Path` varchar(255) NOT NULL,&lt;br /&gt;
  `FN` varchar(255) NOT NULL,&lt;br /&gt;
  `mTime` int(11) NOT NULL,&lt;br /&gt;
  `LastPlayed` int(11) NOT NULL,&lt;br /&gt;
  `PlayCount` int(11) NOT NULL,&lt;br /&gt;
  `LastReq` int(11) NOT NULL,&lt;br /&gt;
  `ReqCount` int(11) NOT NULL,&lt;br /&gt;
  `Title` varchar(255) NOT NULL,&lt;br /&gt;
  `Artist` varchar(255) NOT NULL,&lt;br /&gt;
  `Album` varchar(255) NOT NULL,&lt;br /&gt;
  `Genre` varchar(255) NOT NULL,&lt;br /&gt;
  `SongLen` int(11) NOT NULL,&lt;br /&gt;
  PRIMARY KEY  (`ID`)&lt;br /&gt;
 );&lt;br /&gt;
&lt;br /&gt;
==Field Descriptions==&lt;br /&gt;
&lt;br /&gt;
 ID - The file ID.&lt;br /&gt;
  On Windows, this is the CRC of the full path and filename in lower case.&lt;br /&gt;
  On Linux/other, this is the CRC of the full path and filename, but not converted to lowercase first since those systems filesystems are case sensitive.&lt;br /&gt;
&lt;br /&gt;
 Path - The folder the file is in. &lt;br /&gt;
 FN - The filename of the file (without the path).&lt;br /&gt;
  Note: If you want the full path and filename in a query, you can use CONCAT(Path,FN)&lt;br /&gt;
&lt;br /&gt;
 mTime - The file&amp;#039;s last modification time in standard C time() style. AutoDJ uses this to know whether it should re-read the file&amp;#039;s meta tags.&lt;br /&gt;
&lt;br /&gt;
 LastPlayed - The timestamp of the last time the file was queued for playback.&lt;br /&gt;
&lt;br /&gt;
 PlayCount - The number of times the file has been queued for playback.&lt;br /&gt;
&lt;br /&gt;
 LastReq - This field will hold the last time the file was requested. Currently AutoDJ doesn&amp;#039;t fill this in for !request, etc., but should in the future.&lt;br /&gt;
&lt;br /&gt;
 ReqCount - This field will hold how many times the file has been requested. Currently AutoDJ doesn&amp;#039;t fill this in for !request, etc., but should in the future.&lt;br /&gt;
&lt;br /&gt;
 Title/Artist/Album/Genre - Holds the meta info read from the file, it should be obvious which is which.&lt;br /&gt;
&lt;br /&gt;
 SongLen - The length of the song in seconds, if available.&lt;br /&gt;
&lt;br /&gt;
{{radiobot}}&lt;/div&gt;</summary>
		<author><name>Indy</name></author>
	</entry>
</feed>