<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Having trouble with Lostify&#8217;s iTunes integration?</title>
	<atom:link href="http://lostify.com/2008/02/11/having-trouble-with-lostifys-itunes-integration/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostify.com/2008/02/11/having-trouble-with-lostifys-itunes-integration/</link>
	<description>Mac MP4 Metadata Editor for iTunes, iPod, iPhone, Front Row and Apple TV</description>
	<pubDate>Fri, 05 Sep 2008 23:55:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Josh</title>
		<link>http://lostify.com/2008/02/11/having-trouble-with-lostifys-itunes-integration/#comment-180</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Thu, 06 Mar 2008 23:36:35 +0000</pubDate>
		<guid isPermaLink="false">http://lostify.com/2008/02/11/having-trouble-with-lostifys-itunes-integration/#comment-180</guid>
		<description>Metafreshen is a great little script. I spent a ton of time using Lostify to add my tags and long descriptions how ever due to running out of drive space I migrated a bunch of files to a larger drive and I was dismayed when my long descriptions were missing.  Metafreshen saved me a ton of time by not having to rerun Lostify to fix something that was already there.</description>
		<content:encoded><![CDATA[<p>Metafreshen is a great little script. I spent a ton of time using Lostify to add my tags and long descriptions how ever due to running out of drive space I migrated a bunch of files to a larger drive and I was dismayed when my long descriptions were missing.  Metafreshen saved me a ton of time by not having to rerun Lostify to fix something that was already there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://lostify.com/2008/02/11/having-trouble-with-lostifys-itunes-integration/#comment-175</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Thu, 14 Feb 2008 20:03:24 +0000</pubDate>
		<guid isPermaLink="false">http://lostify.com/2008/02/11/having-trouble-with-lostifys-itunes-integration/#comment-175</guid>
		<description>It'd like to request a feature which trashes the created file after it is added to iTunes. I have set iTunes so that it automatically manages my library, i.e. it copies all files which are added to the iTunes Music folder. This means that the files Lostify just created can be trashed after being added to iTunes.</description>
		<content:encoded><![CDATA[<p>It&#8217;d like to request a feature which trashes the created file after it is added to iTunes. I have set iTunes so that it automatically manages my library, i.e. it copies all files which are added to the iTunes Music folder. This means that the files Lostify just created can be trashed after being added to iTunes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NONfinis</title>
		<link>http://lostify.com/2008/02/11/having-trouble-with-lostifys-itunes-integration/#comment-174</link>
		<dc:creator>NONfinis</dc:creator>
		<pubDate>Thu, 14 Feb 2008 14:41:03 +0000</pubDate>
		<guid isPermaLink="false">http://lostify.com/2008/02/11/having-trouble-with-lostifys-itunes-integration/#comment-174</guid>
		<description>Roughly speaking, I have about 6200 items in my library (music+tv shows+movies).

One thing I noticed, which may or may not be of any use:  the problem with lostify not working in iTunes (ie having that error pop up) seems to always happen with newly added items to the library.  Occasionally it seems to work with items that I have added but haven't gotten around to tagging until I've added more things into the library (making those first added things no longer the most recently added item).

I hope that garbled mess of words made sense.

- Jeff/NONfinis</description>
		<content:encoded><![CDATA[<p>Roughly speaking, I have about 6200 items in my library (music+tv shows+movies).</p>
<p>One thing I noticed, which may or may not be of any use:  the problem with lostify not working in iTunes (ie having that error pop up) seems to always happen with newly added items to the library.  Occasionally it seems to work with items that I have added but haven&#8217;t gotten around to tagging until I&#8217;ve added more things into the library (making those first added things no longer the most recently added item).</p>
<p>I hope that garbled mess of words made sense.</p>
<p>- Jeff/NONfinis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lowell</title>
		<link>http://lostify.com/2008/02/11/having-trouble-with-lostifys-itunes-integration/#comment-173</link>
		<dc:creator>lowell</dc:creator>
		<pubDate>Tue, 12 Feb 2008 06:50:48 +0000</pubDate>
		<guid isPermaLink="false">http://lostify.com/2008/02/11/having-trouble-with-lostifys-itunes-integration/#comment-173</guid>
		<description>NONfinis... if you don't mind my asking, approximately how many items do you have in your iTunes library?</description>
		<content:encoded><![CDATA[<p>NONfinis&#8230; if you don&#8217;t mind my asking, approximately how many items do you have in your iTunes library?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lowell</title>
		<link>http://lostify.com/2008/02/11/having-trouble-with-lostifys-itunes-integration/#comment-172</link>
		<dc:creator>lowell</dc:creator>
		<pubDate>Tue, 12 Feb 2008 06:48:24 +0000</pubDate>
		<guid isPermaLink="false">http://lostify.com/2008/02/11/having-trouble-with-lostifys-itunes-integration/#comment-172</guid>
		<description>has... thanks for the great information!  It hadn't occurred to me that the database IDs might be overrunning a 30-bit integer. Can that really be true? Of course I have no idea how iTunes assigns these IDs internally, but perhaps some user actions (consolidating or moving your library, etc.) could conceivably cause iTunes to reassign database IDs in such a way that the numbers could climb a lot bigger than the number of items in your library. Me personally, I don't think I've seen any database IDs in my library over 6 digits (which would fit in 20 bits).  Do database IDs for some users really exceed 1,073,741,842?

Another reason this never occurred to me was that the database IDs typically reported in the error messages (can't get track 1 of library playlist 1 whose database ID = xxxxx) were usually just 4- or 5-digit numbers, nothing even close to any limits. Maybe these numbers were actually incorrect, the result of some truncation that happened internally when I coerced a really large value into an AppleScript integer?  Never thought of that.

At any rate, I've been doing some performance testing on the idea of using the newer "Persistent ID" instead of the "Database ID" for these lookups.  On my machine (2.4 GHz Core 2 Duo w/2GB RAM) and with my iTunes database (7000+ items), lookups by Database ID via AppleScript take about 0.11 seconds average.  Lookups by Persistent ID appear to take about 60% longer -- on average about 0.18 seconds.  So not quite as quick, but still better than most other ways of looking up tracks via AppleScript.  I guess I'll try using the Persistent ID in the next release.  Thanks again, has.</description>
		<content:encoded><![CDATA[<p>has&#8230; thanks for the great information!  It hadn&#8217;t occurred to me that the database IDs might be overrunning a 30-bit integer. Can that really be true? Of course I have no idea how iTunes assigns these IDs internally, but perhaps some user actions (consolidating or moving your library, etc.) could conceivably cause iTunes to reassign database IDs in such a way that the numbers could climb a lot bigger than the number of items in your library. Me personally, I don&#8217;t think I&#8217;ve seen any database IDs in my library over 6 digits (which would fit in 20 bits).  Do database IDs for some users really exceed 1,073,741,842?</p>
<p>Another reason this never occurred to me was that the database IDs typically reported in the error messages (can&#8217;t get track 1 of library playlist 1 whose database ID = xxxxx) were usually just 4- or 5-digit numbers, nothing even close to any limits. Maybe these numbers were actually incorrect, the result of some truncation that happened internally when I coerced a really large value into an AppleScript integer?  Never thought of that.</p>
<p>At any rate, I&#8217;ve been doing some performance testing on the idea of using the newer &#8220;Persistent ID&#8221; instead of the &#8220;Database ID&#8221; for these lookups.  On my machine (2.4 GHz Core 2 Duo w/2GB RAM) and with my iTunes database (7000+ items), lookups by Database ID via AppleScript take about 0.11 seconds average.  Lookups by Persistent ID appear to take about 60% longer &#8212; on average about 0.18 seconds.  So not quite as quick, but still better than most other ways of looking up tracks via AppleScript.  I guess I&#8217;ll try using the Persistent ID in the next release.  Thanks again, has.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NONfinis</title>
		<link>http://lostify.com/2008/02/11/having-trouble-with-lostifys-itunes-integration/#comment-171</link>
		<dc:creator>NONfinis</dc:creator>
		<pubDate>Tue, 12 Feb 2008 05:17:08 +0000</pubDate>
		<guid isPermaLink="false">http://lostify.com/2008/02/11/having-trouble-with-lostifys-itunes-integration/#comment-171</guid>
		<description>Hi!  Thanks again for looking into this!  I was one of the ones that mentioned this problem awhile back (I've been busy and unable to respond or post more about it - sorry!)

I thought the problem was solved when I installed Leopard, but sadly it came back.  Sometimes it comes and goes, and seems to be whenever I want to Lostify something newly added to iTunes.

If there's any info I can add that would help, please let me know (though I'm a total newb at much of this.)

And again, thanks for a truly wonderful app!</description>
		<content:encoded><![CDATA[<p>Hi!  Thanks again for looking into this!  I was one of the ones that mentioned this problem awhile back (I&#8217;ve been busy and unable to respond or post more about it - sorry!)</p>
<p>I thought the problem was solved when I installed Leopard, but sadly it came back.  Sometimes it comes and goes, and seems to be whenever I want to Lostify something newly added to iTunes.</p>
<p>If there&#8217;s any info I can add that would help, please let me know (though I&#8217;m a total newb at much of this.)</p>
<p>And again, thanks for a truly wonderful app!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: has</title>
		<link>http://lostify.com/2008/02/11/having-trouble-with-lostifys-itunes-integration/#comment-170</link>
		<dc:creator>has</dc:creator>
		<pubDate>Mon, 11 Feb 2008 23:15:53 +0000</pubDate>
		<guid isPermaLink="false">http://lostify.com/2008/02/11/having-trouble-with-lostifys-itunes-integration/#comment-170</guid>
		<description>"these users begin getting errors like “Can’t get track 1 of library playlist 1 whose database ID of it = xxxxx”."

Older versions of iTunes used a 64-bit integer for database IDs. This isn't a problem for languages such as Python and Ruby that can represent integers of any size. AppleScript integers are limited to 30-bit, however, and anything larger gets coerced to an AppleScript real, which only has 50-bit precision so there's often some loss of accuracy that renders numerical database IDs completely useless.

Solutions:

1. Make sure you're using iTunes 7.5 or later. iTunes 7.5+ represents database IDs as hex strings which AppleScript can't screw up.

2. Switch to Python/Ruby/ObjC and appscript (see my sig), which provides non-lossy mappings between native and Apple event integer types.

3. Rewrite your AppleScript so that it doesn't use the 'database ID' property.

HTH 

has 
-- 
http://appscript.sourceforge.net 
http://rb-appscript.rubyforge.org</description>
		<content:encoded><![CDATA[<p>&#8220;these users begin getting errors like “Can’t get track 1 of library playlist 1 whose database ID of it = xxxxx”.&#8221;</p>
<p>Older versions of iTunes used a 64-bit integer for database IDs. This isn&#8217;t a problem for languages such as Python and Ruby that can represent integers of any size. AppleScript integers are limited to 30-bit, however, and anything larger gets coerced to an AppleScript real, which only has 50-bit precision so there&#8217;s often some loss of accuracy that renders numerical database IDs completely useless.</p>
<p>Solutions:</p>
<p>1. Make sure you&#8217;re using iTunes 7.5 or later. iTunes 7.5+ represents database IDs as hex strings which AppleScript can&#8217;t screw up.</p>
<p>2. Switch to Python/Ruby/ObjC and appscript (see my sig), which provides non-lossy mappings between native and Apple event integer types.</p>
<p>3. Rewrite your AppleScript so that it doesn&#8217;t use the &#8216;database ID&#8217; property.</p>
<p>HTH </p>
<p>has<br />
&#8211;<br />
<a href="http://appscript.sourceforge.net" rel="nofollow">http://appscript.sourceforge.net</a><br />
<a href="http://rb-appscript.rubyforge.org" rel="nofollow">http://rb-appscript.rubyforge.org</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
