<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica; font-size: small; "><font color="#660066">&gt;On 03/22/2012 02:39 PM, Craig Treleaven wrote:&nbsp;<br></font><font color="#007777">&gt;&gt; Hi:&nbsp;<br>&gt;&gt;&nbsp;<br>&gt;&gt; I was trying out 0.25-RC today (Mac OS X 10.6.8, Myth compiled from&nbsp;<br>&gt;&gt; source yesterday with osx-packager.pl). Most things work great but I&nbsp;<br>&gt;&gt; noticed what appears to be a problem with metadata. Attached screen&nbsp;<br>&gt;&gt; shot show the 'Artwork and Metadata Sources Setup' screen. I presume&nbsp;<br>&gt;&gt; there ought to be a Metadata Source input box for Movie and TV media&nbsp;<br>&gt;&gt; but it shows as a gaping blank spot on the screen:&nbsp;<br>&gt;&gt;&nbsp;<br>&gt;&gt;&nbsp;<a href="http://dl.dropbox.com/u/26787680/0.25metadataSetup.png" rel="nofollow" target="_blank" style="color: rgb(0, 0, 187); ">http://dl.dropbox.com/u/26787680/0.25metadataSetup.png</a>&nbsp;<br>&gt;&gt;&nbsp;<br>&gt;&gt; Didn't see anything useful in the log output for either the frontend&nbsp;<br>&gt;&gt; or backend.&nbsp;<br>&gt;&gt;&nbsp;<br>&gt;&gt; Thought I'd double check before filing a bug report...&nbsp;<br>&gt;&gt;&nbsp;<br></font><font color="#660066"><br></font></span></div><div><br></div><div>This thread was originally started in mythtv-users, but it probably belongs here instead...</div><div><br></div>It looks like python always adds the current directory to the search path for modules. I quickly tried to make a symlink to the MythTV bindings from the metadata/Television directory and ran the ttvdb.py script successfully. However, I ran into some issues because recently the bindings were changed to use the select.poll() functionality which is not supported by the native MacOS python. &nbsp;The solution is to install the official python binary.<div><br></div><div>I've modified the osx-packager-qtsdk.pl script to add the mythmetadatalookup binary to the MythBackend.app, along with the metadata scripts and the python bindings, with the proper symlinks. I was then able to run mythmetadatalookup from the app bundle even if the python bindings weren't installed on my system. It looks promising.</div><div><br></div><div>I've attached a diff, if anyone wants to try it. The only thing I need to resolve is that python bindings get installed in build/lib/python2.7 which I imagine would be different if the python version changed.</div><div><br></div><div><br></div></body></html>