I had the same problem, for some reason &quot;scan for new music&quot; does not (completely) remove files in the database that have been moved.&nbsp;I have the impression that cleaning up also speeds up the Mythmusic &quot;edit playlist&quot; interface.<div>
<br></div><div>Regards,</div><div><br></div><div>Ronald<br><div><br><div class="gmail_quote">On Sat, Mar 24, 2007 at 11:27 PM, Tom Gutwin <span dir="ltr">&lt;<a href="mailto:tgutwin@webarts.bc.ca">tgutwin@webarts.bc.ca</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I had the same problem.<br>
<br>
I fixed it by deleting all the entries from the following table:<br>
music_albums<br>
<br>
Delete From music_artists<br>
Delete From music_genres<br>
Delete From music_songs<br>
<br>
I did not have any playlists setup so I got away with only those tables<br>
<br>
It worked perfectly. The next time I went to MythMusic it rescanned my files with the new<br>
names.<br>
<br>
tom<br>
<div><div></div><div class="Wj3C7c"><br>
David Campbell wrote:<br>
&gt; matt lutz wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hey all,<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m having a bit of a problem with the music database. &nbsp;I use iTunes to<br>
&gt;&gt; handle my music collection, and I recently had to re-install. &nbsp;When that<br>
&gt;&gt; happened, a new version of iTunes changed some of the filenames around.<br>
&gt;&gt; In order to update myth, I ran a &quot;scan for new music&quot;, and it ended up<br>
&gt;&gt; showing a bunch of duplicates in there. &nbsp;I wanted to just start over, so<br>
&gt;&gt; I changed my music path to /tmp and then re-scanned. &nbsp;What&#39;s strange is<br>
&gt;&gt; that it won&#39;t remove all of the entries... there were still a bunch in<br>
&gt;&gt; there (but many were deleted). &nbsp;Then, if I restore to the correct path &amp;<br>
&gt;&gt; rescan, there are even more duplicates.<br>
&gt;&gt;<br>
&gt;&gt; How do I just start over? &nbsp;Can I just delete a table in the mythconverg<br>
&gt;&gt; database? &nbsp;Any help is greatly appreciated.<br>
&gt;<br>
&gt; Deleting the table would be a bad thing if you wanted to use mythmusic<br>
&gt; again.<br>
&gt;<br>
&gt; I think you need to truncate the following tables to start afresh<br>
&gt;<br>
&gt; &nbsp; music_albums<br>
&gt; &nbsp; music_artists<br>
&gt; &nbsp; music_genres<br>
&gt; &nbsp; music_playlists<br>
&gt; &nbsp; music_smartplaylist_categories<br>
&gt; &nbsp; music_smartplaylist_items<br>
&gt; &nbsp; music_smartplaylists<br>
&gt; &nbsp; music_songs<br>
&gt; &nbsp; music_stats<br>
&gt; &nbsp; musicmetadata<br>
&gt; &nbsp; musicplaylist<br>
&gt;<br>
&gt; syntax is<br>
&gt;<br>
&gt; DELETE FROM TABLENAME<br>
&gt;<br>
&gt; to delete all the data but retain the table structure<br>
&gt;<br>
&gt; TRUNCATE TABLE TABLENAME<br>
&gt;<br>
&gt; would also work.<br>
&gt;<br>
&gt; You might want to wait for someone a bit more knowledgable about the<br>
&gt; mythmusic before doing this &nbsp;- your call.<br>
&gt;<br>
&gt; Dave<br>
&gt; _______________________________________________<br>
&gt; mythtv-users mailing list<br>
&gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
&gt; <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
&gt;<br>
<br>
</div></div>--<br>
--------------------- &nbsp; &nbsp; WebARTS Design &nbsp; &nbsp; &nbsp;---------------------<br>
Tom Gutwin &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+1-604-626-9242<br>
<a href="mailto:tgutwin@webarts.bc.ca">tgutwin@webarts.bc.ca</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.webarts.bc.ca" target="_blank">http://www.webarts.bc.ca</a><br>
GPG/pgp Pub Key: <a href="http://www.webarts.bc.ca/docs/tbgGPGPubKey.gpg.asc" target="_blank">http://www.webarts.bc.ca/docs/tbgGPGPubKey.gpg.asc</a><br>
--------- &nbsp; &nbsp; Engineering Your Computer Solutions... &nbsp; &nbsp; &nbsp;---------<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Try our Free Ogg Vorbis Player<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://jOggPlayer.webarts.bc.ca" target="_blank">http://jOggPlayer.webarts.bc.ca</a><br>
<div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br></div></div>