<div>&nbsp;</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 3/24/07, <b class="gmail_sendername">Tom Gutwin</b> &lt;<a href="mailto:tgutwin@webarts.bc.ca">tgutwin@webarts.bc.ca</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">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><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;&nbsp;I use iTunes to<br>&gt;&gt; handle my music collection, and I recently had to re-install.&nbsp;&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;&nbsp;I wanted to just start over, so
<br>&gt;&gt; I changed my music path to /tmp and then re-scanned.&nbsp;&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;&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;&nbsp;Can I just delete a table in the mythconverg<br>&gt;&gt; database?&nbsp;&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;&nbsp; music_albums<br>&gt;&nbsp;&nbsp; music_artists<br>&gt;&nbsp;&nbsp; music_genres<br>&gt;&nbsp;&nbsp; music_playlists<br>&gt;&nbsp;&nbsp; music_smartplaylist_categories
<br>&gt;&nbsp;&nbsp; music_smartplaylist_items<br>&gt;&nbsp;&nbsp; music_smartplaylists<br>&gt;&nbsp;&nbsp; music_songs<br>&gt;&nbsp;&nbsp; music_stats<br>&gt;&nbsp;&nbsp; musicmetadata<br>&gt;&nbsp;&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;&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">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>&gt;<br><br>--<br>---------------------&nbsp;&nbsp;&nbsp;&nbsp; WebARTS Design&nbsp;&nbsp;&nbsp;&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;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.webarts.bc.ca">http://www.webarts.bc.ca</a>
<br>GPG/pgp Pub Key: <a href="http://www.webarts.bc.ca/docs/tbgGPGPubKey.gpg.asc">http://www.webarts.bc.ca/docs/tbgGPGPubKey.gpg.asc</a><br>---------&nbsp;&nbsp;&nbsp;&nbsp; Engineering Your Computer Solutions...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;---------<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Try our Free Ogg Vorbis Player
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://jOggPlayer.webarts.bc.ca">http://jOggPlayer.webarts.bc.ca</a><br><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">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Thanks, that did the trick.</div>
<div>&nbsp;</div>
<div><br>&nbsp;</div>