<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-14249</id>
	<title>Nabble - Edna</title>
	<updated>2008-01-11T15:40:14Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/Edna-f14249.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Edna-f14249.html" />
	<subtitle type="html">&lt;a href=&quot;http://edna.sourceforge.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna&lt;/a&gt;&amp;nbsp;is an MP3 streaming server.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-14767661</id>
	<title>edna search patch</title>
	<published>2008-01-11T15:40:14Z</published>
	<updated>2008-01-11T15:40:14Z</updated>
	<author>
		<name>brandonld23</name>
	</author>
	<content type="html">I have been using edna for quite some time, but could never implement the search patch. Is anyone running 0.6 with the search patch. If anyone could tell me how to implement this it would be greatly appreciated. I am currently running enda on a windows 2003 server platform.</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/edna-search-patch-tp14767661p14767661.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-13372443</id>
	<title>Re: hmmm new edna error, can anyone help??</title>
	<published>2007-10-23T14:24:49Z</published>
	<updated>2007-10-23T14:24:49Z</updated>
	<author>
		<name>pburma</name>
	</author>
	<content type="html">So I do not know if this is everyone's problem but I was able to solve this myself. 
&lt;br&gt;&lt;br&gt;The exception message occured on my end whenever I had a folder that ended in a .foo where foo was a music file extension. For example &amp;quot;Some Artist - Some Album.mp3&amp;quot;. 
&lt;br&gt;&lt;br&gt;After I removed all the .mp3 text from my folder names I never saw the exception message again. Now what is strange about this error is sometimes the page listing the folders came up, but usually it did not. So it was a little quirky. 
&lt;br&gt;&lt;br&gt;My guess is that someone (Python or Edna) is reading the .mp3 as a file when it is a directory hence the exception gets thrown as it is not a readable file but in fact a directory. 
&lt;br&gt;&lt;br&gt;Here is my exact message in case anyone cares. 
&lt;br&gt;&lt;br&gt;Traceback (most recent call last):
&lt;br&gt;&amp;nbsp; File &amp;quot;/tmp/python.6884/usr/lib/python2.5/SocketServer.py&amp;quot;, line 464, in process_request_thread
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.finish_request(request, client_address)
&lt;br&gt;&amp;nbsp; File &amp;quot;/tmp/python.6884/usr/lib/python2.5/SocketServer.py&amp;quot;, line 254, in finish_request
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.RequestHandlerClass(request, client_address, self)
&lt;br&gt;&amp;nbsp; File &amp;quot;/tmp/python.6884/usr/lib/python2.5/SocketServer.py&amp;quot;, line 522, in __init__
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.handle()
&lt;br&gt;&amp;nbsp; File &amp;quot;/tmp/python.6884/usr/lib/python2.5/BaseHTTPServer.py&amp;quot;, line 316, in handle
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.handle_one_request()
&lt;br&gt;&amp;nbsp; File &amp;quot;/tmp/python.6884/usr/lib/python2.5/BaseHTTPServer.py&amp;quot;, line 299, in handle_one_request
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.raw_requestline = self.rfile.readline()
&lt;br&gt;&amp;nbsp; File &amp;quot;/tmp/python.6884/usr/lib/python2.5/socket.py&amp;quot;, line 346, in readline
&lt;br&gt;&amp;nbsp; &amp;nbsp; data = self._sock.recv(self._rbufsize)
&lt;br&gt;error: (104, 'Connection reset by peer')
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;MaxSteel wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;cool! let me know if you need a beta tester!
&lt;br&gt;&lt;br&gt;On 6/11/07, Christophe Kalt &amp;lt;edna@klb.taranis.org&amp;gt; wrote:
&lt;br&gt;&amp;gt; On Jun 11, MaxSteel wrote:
&lt;br&gt;&amp;gt; | It's too bad, that the tag information isn't stored/cached.. but I
&lt;br&gt;&amp;gt; | guess that could take a loooong time to perform on a large collection.
&lt;br&gt;&amp;gt; | I liked having song length, and size in my listing, but alas, not a
&lt;br&gt;&amp;gt; | deal breaker now that edna is FASST without it turned on.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; it would be &amp;quot;against&amp;quot; edna's style.
&lt;br&gt;&amp;gt; Been thinking about rewriting edna to address this and other
&lt;br&gt;&amp;gt; issues, have a prototype, but lacking time.
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; edna mailing list
&lt;br&gt;&amp;gt; edna@lyra.org
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;edna@lyra.org
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/hmmm-new-edna-error%2C-can-anyone-help---tp10997883p13372443.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-11243454</id>
	<title>edna search results (using xspf)</title>
	<published>2007-06-21T17:06:36Z</published>
	<updated>2007-06-21T17:06:36Z</updated>
	<author>
		<name>MaxSteel</name>
	</author>
	<content type="html">I was thinking, the search works great.. but there's something missing.
&lt;br&gt;&lt;br&gt;The option to click on the folder for each found mp3 so that you can
&lt;br&gt;see what else is in that folder...
&lt;br&gt;&lt;br&gt;has anyone done anything to allow this? &amp;nbsp;So far each mp3 result is one
&lt;br&gt;full continuous line, showing what dir it's in (which is great), but
&lt;br&gt;it'd be nice to click on either the mp3 to start playing, or the
&lt;br&gt;folder it's in to see what else is in there.
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;.\\ax
&lt;br&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=11243454&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/edna-search-results-%28using-xspf%29-tp11243454p11243454.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-11072084</id>
	<title>Re: hmmm new edna error, can anyone help??</title>
	<published>2007-06-11T20:43:11Z</published>
	<updated>2007-06-11T20:43:11Z</updated>
	<author>
		<name>MaxSteel</name>
	</author>
	<content type="html">cool! let me know if you need a beta tester!
&lt;br&gt;&lt;br&gt;On 6/11/07, Christophe Kalt &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=11072084&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Jun 11, MaxSteel wrote:
&lt;br&gt;&amp;gt; | It's too bad, that the tag information isn't stored/cached.. but I
&lt;br&gt;&amp;gt; | guess that could take a loooong time to perform on a large collection.
&lt;br&gt;&amp;gt; | I liked having song length, and size in my listing, but alas, not a
&lt;br&gt;&amp;gt; | deal breaker now that edna is FASST without it turned on.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; it would be &amp;quot;against&amp;quot; edna's style.
&lt;br&gt;&amp;gt; Been thinking about rewriting edna to address this and other
&lt;br&gt;&amp;gt; issues, have a prototype, but lacking time.
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; edna mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=11072084&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=11072084&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/hmmm-new-edna-error%2C-can-anyone-help---tp10997883p11072084.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-11071264</id>
	<title>Re: Bare-Bones Search</title>
	<published>2007-06-11T18:44:22Z</published>
	<updated>2007-06-11T18:44:22Z</updated>
	<author>
		<name>Christophe Kalt-5</name>
	</author>
	<content type="html">On Apr 26, James Fraumeni wrote:
&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp;I just submitted a patch for a bare-bones search.
&lt;br&gt;&lt;br&gt;i haven't looked at your submission (and am not sure why SF
&lt;br&gt;didn't notify me), but i already committed a search
&lt;br&gt;implementation in CVS a while back.
&lt;br&gt;&lt;br&gt;Did you take a look at it?
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp;I also made a trivial patch to add a chosen favicon.ico and will submit
&lt;br&gt;| that shortly.
&lt;br&gt;&lt;br&gt;Sure, why not.
&lt;br&gt;Looks like i need to check SF, ugh.. SF.
&lt;br&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=11071264&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Bare-Bones-Search-tp10213092p11071264.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-11071258</id>
	<title>Re: hmmm new edna error, can anyone help??</title>
	<published>2007-06-11T18:42:34Z</published>
	<updated>2007-06-11T18:42:34Z</updated>
	<author>
		<name>Christophe Kalt-5</name>
	</author>
	<content type="html">On Jun 11, MaxSteel wrote:
&lt;br&gt;| It's too bad, that the tag information isn't stored/cached.. but I
&lt;br&gt;| guess that could take a loooong time to perform on a large collection.
&lt;br&gt;| I liked having song length, and size in my listing, but alas, not a
&lt;br&gt;| deal breaker now that edna is FASST without it turned on.
&lt;br&gt;&lt;br&gt;it would be &amp;quot;against&amp;quot; edna's style.
&lt;br&gt;Been thinking about rewriting edna to address this and other
&lt;br&gt;issues, have a prototype, but lacking time.
&lt;br&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=11071258&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/hmmm-new-edna-error%2C-can-anyone-help---tp10997883p11071258.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-11070373</id>
	<title>Re: Fwd: Problem with Edna on Windows: can play locally, but doesn't work on remote computer</title>
	<published>2007-06-11T13:12:28Z</published>
	<updated>2007-06-11T13:12:28Z</updated>
	<author>
		<name>MaxSteel</name>
	</author>
	<content type="html">Have you checked firewall settings? &amp;nbsp;software? hardware/router?
&lt;br&gt;&lt;br&gt;I haven't heard of this problem before. &amp;nbsp;But since it works fine on
&lt;br&gt;the local machine, it's not really an edna issue.
&lt;br&gt;&lt;br&gt;Are there any errors that come up on the edna &amp;quot;log&amp;quot; screen when it
&lt;br&gt;stutters/buffers that you can copy paste into a reply?
&lt;br&gt;&lt;br&gt;That'd be a definate help for us to assist..
&lt;br&gt;.\\ax
&lt;br&gt;&lt;br&gt;On 6/6/07, Stas Oskin &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=11070373&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stas.oskin@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I just discovered Edna and think this is exactly what I need. Problem is I
&lt;br&gt;&amp;gt; can't quite get it work:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; * It works perfectly when play music on the same computer where is Edna
&lt;br&gt;&amp;gt; running.
&lt;br&gt;&amp;gt; * When I'm trying to connect from a remote computer, it plays only the first
&lt;br&gt;&amp;gt; song. Afterwards it skips many songs with [BUFFERING] message (which is left
&lt;br&gt;&amp;gt; visible in the playlist). It recovers only on the second album.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any idea what can be causing this?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Stas.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; edna mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=11070373&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=11070373&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Problem-with-Edna-on-Windows%3A-can-play-locally%2C-but-doesn%27t-work-on-remote-computer-tp10995247p11070373.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-11070651</id>
	<title>Re: hmmm new edna error, can anyone help??</title>
	<published>2007-06-11T13:08:44Z</published>
	<updated>2007-06-11T13:08:44Z</updated>
	<author>
		<name>MaxSteel</name>
	</author>
	<content type="html">Thanks for replying Yoni!
&lt;br&gt;&lt;br&gt;Hmm, well I found out why my listings were pausing, it's because I had
&lt;br&gt;the disk intensive &amp;quot;retrieve tag info&amp;quot; bit set. &amp;nbsp;I've since turned it
&lt;br&gt;off, because directories with more than 100
&lt;br&gt;songs (ie: compilations) were taking too long to display (including searching).
&lt;br&gt;&lt;br&gt;It's too bad, that the tag information isn't stored/cached.. but I
&lt;br&gt;guess that could take a loooong time to perform on a large collection.
&lt;br&gt;&amp;nbsp;I liked having song length, and size in my listing, but alas, not a
&lt;br&gt;deal breaker now that edna is FASST without it turned on.
&lt;br&gt;&lt;br&gt;As for the errors, I still get them randomly, since you've pointed out
&lt;br&gt;that it's network I'll do some digging. &amp;nbsp;I mostly use edna internally
&lt;br&gt;(intranet) as the searching is super fast, and it works great (plus
&lt;br&gt;when other people are using it, they can't accidentally delete a
&lt;br&gt;song..etc).
&lt;br&gt;&lt;br&gt;I'll play with some network stuff, it could be the windows xp
&lt;br&gt;firewall.. I'll start there..
&lt;br&gt;&lt;br&gt;.\\ax
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 6/6/07, Yoni Samlan &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=11070651&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yoni@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://trout.snt.utwente.nl/ubbthreads/ubbthreads.php?ubb=showflat&amp;Number=38665&amp;site_id=1#import&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://trout.snt.utwente.nl/ubbthreads/ubbthreads.php?ubb=showflat&amp;Number=38665&amp;site_id=1#import&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm not going to look too deeply into edna's base http serving, but my
&lt;br&gt;&amp;gt; thoughts: it probably has to do with either the network connection at your
&lt;br&gt;&amp;gt; edna server or the connection at your client. Edna's less-than-robust
&lt;br&gt;&amp;gt; basic-http-server implementation may play a part, but if your connection is
&lt;br&gt;&amp;gt; anything like this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; windows XP machine running Edna on a random port --&amp;gt; XP firewall or Norton
&lt;br&gt;&amp;gt; IS --&amp;gt; router --&amp;gt; cable modem --&amp;gt; Comcast --&amp;gt; internet cafe's T1 --&amp;gt;
&lt;br&gt;&amp;gt; internet cafe's hardware firewall --&amp;gt; wireless AP --&amp;gt; ZoneAlarm --&amp;gt; Internet
&lt;br&gt;&amp;gt; Explorer...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; well, suffice it to say a lot of things could be causing a software abort
&lt;br&gt;&amp;gt; like that. That thread i linked to has more information as it relates to
&lt;br&gt;&amp;gt; IRC, but some of the suggestions apply and might fix your problem. Do you
&lt;br&gt;&amp;gt; ever get that problem when the two PCs are on the same local network with
&lt;br&gt;&amp;gt; software firewalling off? On a different port with a different web browser /
&lt;br&gt;&amp;gt; mp3 player? Not sure if your problem is with Edna pages, mp3s served into a
&lt;br&gt;&amp;gt; winamp m3u, or the XSPF inline player, but your browser, music player, and
&lt;br&gt;&amp;gt; whatnot might factor into those cases as well.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Someone with more socket lib experience might have other ideas, but a
&lt;br&gt;&amp;gt; firewall/internet connection issue seems possible.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -yoni
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 6/6/07, MaxSteel &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=11070651&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxsteel@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Lately, edna is pausing and then giving an error (As such) and then
&lt;br&gt;&amp;gt; &amp;gt; continuing on as normal. &amp;nbsp;I don't know why? &amp;nbsp;I wouldn't know there was
&lt;br&gt;&amp;gt; &amp;gt; a problem if it didn't hang there for a min or so.. as the results do
&lt;br&gt;&amp;gt; &amp;gt; come back..
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; any thoughts?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; error example:
&lt;br&gt;&amp;gt; &amp;gt; ----------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; Exception happened during processing of request from ('207.161.21.225',
&lt;br&gt;&amp;gt; 2822)
&lt;br&gt;&amp;gt; &amp;gt; Traceback (most recent call last):
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 463, in
&lt;br&gt;&amp;gt; process_request_thread
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.finish_request(request, client_address)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 254, in
&lt;br&gt;&amp;gt; finish_request
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.RequestHandlerClass(request, client_address, self)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 521, in
&lt;br&gt;&amp;gt; __init__
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.handle()
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\BaseHTTPServer.py&amp;quot;, line 314, in
&lt;br&gt;&amp;gt; handle
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.handle_one_request()
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\BaseHTTPServer.py&amp;quot;, line 308, in
&lt;br&gt;&amp;gt; handle_one_request
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; method()
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 361, in do_GET
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self._perform_GET()
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 606, in _perform_GET
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.display_page(title, subdirs, pictures, plainfiles, songs,
&lt;br&gt;&amp;gt; playlists)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 722, in display_page
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; template.generate(self.wfile, data)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 117, in generate
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self._execute(self.program, fp, ctx)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 124, in _execute
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; step[0](step[1], fp, ctx)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 134, in _cmd_if_any
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self._do_if(value, t_section, f_section, fp, ctx)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 158, in _do_if
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self._execute(section, fp, ctx)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 124, in _execute
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; step[0](step[1], fp, ctx)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 168, in _cmd_for
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self._execute(section, fp, ctx)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 124, in _execute
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; step[0](step[1], fp, ctx)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 128, in _cmd_print
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; fp.write(_get_value(refname, ref, ctx))
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 1045, in write
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; return self.wfile.write(s_buf)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\socket.py&amp;quot;, line 256, in write
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.flush()
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\socket.py&amp;quot;, line 243, in flush
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self._sock.sendall(buffer)
&lt;br&gt;&amp;gt; &amp;gt; error: (10053, 'Software caused connection abort')
&lt;br&gt;&amp;gt; &amp;gt; ----------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt; edna mailing list
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=11070651&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=11070651&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/hmmm-new-edna-error%2C-can-anyone-help---tp10997883p11070651.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-11001432</id>
	<title>Re: hmmm new edna error, can anyone help??</title>
	<published>2007-06-06T16:04:25Z</published>
	<updated>2007-06-06T16:04:25Z</updated>
	<author>
		<name>Yoni Samlan</name>
	</author>
	<content type="html">&lt;a href=&quot;http://trout.snt.utwente.nl/ubbthreads/ubbthreads.php?ubb=showflat&amp;amp;Number=38665&amp;amp;site_id=1#import&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://trout.snt.utwente.nl/ubbthreads/ubbthreads.php?ubb=showflat&amp;amp;Number=38665&amp;amp;site_id=1#import&lt;/a&gt;
&lt;br&gt;&lt;br&gt;I&amp;#39;m not going to look too deeply into edna&amp;#39;s base http serving, but my thoughts: it probably has to do with either the network connection at your edna server or the connection at your client. Edna&amp;#39;s less-than-robust basic-http-server implementation may play a part, but if your connection is anything like this:
&lt;br&gt;&lt;br&gt;windows XP machine running Edna on a random port --&amp;gt; XP firewall or Norton IS --&amp;gt; router --&amp;gt; cable modem --&amp;gt; Comcast --&amp;gt; internet cafe&amp;#39;s T1 --&amp;gt; internet cafe&amp;#39;s hardware firewall --&amp;gt; wireless AP --&amp;gt; ZoneAlarm --&amp;gt; Internet Explorer...
&lt;br&gt;&lt;br&gt;well, suffice it to say a lot of things could be causing a software abort like that. That thread i linked to has more information as it relates to IRC, but some of the suggestions apply and might fix your problem. Do you ever get that problem when the two PCs are on the same local network with software firewalling off? On a different port with a different web browser / mp3 player? Not sure if your problem is with Edna pages, mp3s served into a winamp m3u, or the XSPF inline player, but your browser, music player, and whatnot might factor into those cases as well.
&lt;br&gt;&lt;br&gt;Someone with more socket lib experience might have other ideas, but a firewall/internet connection issue seems possible.&lt;br&gt;&lt;br&gt;-yoni&lt;br&gt;&lt;br&gt;&lt;div&gt;&lt;span class=&quot;gmail_quote&quot;&gt;On 6/6/07, &lt;b class=&quot;gmail_sendername&quot;&gt;MaxSteel
&lt;/b&gt; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=11001432&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxsteel@...&lt;/a&gt;&amp;gt; wrote:&lt;/span&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Lately, edna is pausing and then giving an error (As such) and then
&lt;br&gt;continuing on as normal.&amp;nbsp;&amp;nbsp;I don&amp;#39;t know why?&amp;nbsp;&amp;nbsp;I wouldn&amp;#39;t know there was&lt;br&gt;a problem if it didn&amp;#39;t hang there for a min or so.. as the results do&lt;br&gt;come back..&lt;br&gt;&lt;br&gt;any thoughts?&lt;br&gt;&lt;br&gt;error example:&lt;br&gt;
----------------------------------------&lt;br&gt;Exception happened during processing of request from (&amp;#39;&lt;a href=&quot;http://207.161.21.225&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;207.161.21.225&lt;/a&gt;&amp;#39;, 2822)&lt;br&gt;Traceback (most recent call last):&lt;br&gt;&amp;nbsp;&amp;nbsp;File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 463, in process_request_thread
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self.finish_request(request, client_address)&lt;br&gt;&amp;nbsp;&amp;nbsp;File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 254, in finish_request&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self.RequestHandlerClass(request, client_address, self)&lt;br&gt;&amp;nbsp;&amp;nbsp;File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 521, in __init__
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self.handle()&lt;br&gt;&amp;nbsp;&amp;nbsp;File &amp;quot;C:\Python24\lib\BaseHTTPServer.py&amp;quot;, line 314, in handle&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self.handle_one_request()&lt;br&gt;&amp;nbsp;&amp;nbsp;File &amp;quot;C:\Python24\lib\BaseHTTPServer.py&amp;quot;, line 308, in handle_one_request&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;method()&lt;br&gt;&amp;nbsp;&amp;nbsp;File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 361, in do_GET&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self._perform_GET()&lt;br&gt;&amp;nbsp;&amp;nbsp;File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 606, in _perform_GET&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self.display_page(title, subdirs, pictures, plainfiles, songs, playlists)
&lt;br&gt;&amp;nbsp;&amp;nbsp;File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 722, in display_page&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;template.generate(self.wfile, data)&lt;br&gt;&amp;nbsp;&amp;nbsp;File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 117, in generate&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self._execute(self.program, fp, ctx)
&lt;br&gt;&amp;nbsp;&amp;nbsp;File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 124, in _execute&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;step[0](step[1], fp, ctx)&lt;br&gt;&amp;nbsp;&amp;nbsp;File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 134, in _cmd_if_any&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self._do_if(value, t_section, f_section, fp, ctx)
&lt;br&gt;&amp;nbsp;&amp;nbsp;File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 158, in _do_if&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self._execute(section, fp, ctx)&lt;br&gt;&amp;nbsp;&amp;nbsp;File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 124, in _execute&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;step[0](step[1], fp, ctx)&lt;br&gt;&amp;nbsp;&amp;nbsp;File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 168, in _cmd_for
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self._execute(section, fp, ctx)&lt;br&gt;&amp;nbsp;&amp;nbsp;File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 124, in _execute&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;step[0](step[1], fp, ctx)&lt;br&gt;&amp;nbsp;&amp;nbsp;File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 128, in _cmd_print&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fp.write(_get_value(refname, ref, ctx))
&lt;br&gt;&amp;nbsp;&amp;nbsp;File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 1045, in write&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return self.wfile.write(s_buf)&lt;br&gt;&amp;nbsp;&amp;nbsp;File &amp;quot;C:\Python24\lib\socket.py&amp;quot;, line 256, in write&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self.flush()&lt;br&gt;&amp;nbsp;&amp;nbsp;File &amp;quot;C:\Python24\lib\socket.py&amp;quot;, line 243, in flush
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self._sock.sendall(buffer)&lt;br&gt;error: (10053, &amp;#39;Software caused connection abort&amp;#39;)&lt;br&gt;----------------------------------------&lt;br&gt;_______________________________________________&lt;br&gt;edna mailing list&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=11001432&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=11001432&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/hmmm-new-edna-error%2C-can-anyone-help---tp10997883p11001432.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-11001177</id>
	<title>Re: Problem with Edna on Windows: can play locally, but doesn't work on remote computer</title>
	<published>2007-06-06T14:35:45Z</published>
	<updated>2007-06-06T14:35:45Z</updated>
	<author>
		<name>MaxSteel</name>
	</author>
	<content type="html">Hmm.. What is your upload bandwidth?
&lt;br&gt;&lt;br&gt;On 6/5/07, Stas Oskin &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=11001177&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stas.oskin@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I just discovered Edna and think this is exactly what I need. Problem is I
&lt;br&gt;&amp;gt; can't quite get it work:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; * It works perfectly when play music on the same computer where is Edna
&lt;br&gt;&amp;gt; running.
&lt;br&gt;&amp;gt; * When I'm trying to connect from a remote computer, it plays only the first
&lt;br&gt;&amp;gt; song. Afterwards it skips many songs with [BUFFERING] message (which is left
&lt;br&gt;&amp;gt; visible in the playlist). It recovers only on the second album.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any idea what can be causing this?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Stas.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; edna mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=11001177&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=11001177&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Problem-with-Edna-on-Windows%3A-can-play-locally%2C-but-doesn%27t-work-on-remote-computer-tp10995247p11001177.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-11000807</id>
	<title>Fwd: Problem with Edna on Windows: can play locally, but doesn't work on remote computer</title>
	<published>2007-06-06T11:45:48Z</published>
	<updated>2007-06-06T11:45:48Z</updated>
	<author>
		<name>Stas Oskin-2</name>
	</author>
	<content type="html">&lt;span class=&quot;gmail_quote&quot;&gt;&lt;/span&gt;Hi.&lt;br&gt;&lt;br&gt;I just discovered Edna and think this is exactly what I need. Problem is I can&amp;#39;t quite get it work:&lt;br&gt;&lt;br&gt;* It works perfectly when play music on the same computer where is Edna running.
&lt;br&gt;* When I&amp;#39;m trying to connect from a remote computer, it plays only the first song. Afterwards it skips many songs with [BUFFERING] message (which is left visible in the playlist). It recovers only on the second album.
&lt;br&gt;&lt;br&gt;Any idea what can be causing this?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;&lt;span class=&quot;sg&quot;&gt;Stas.&lt;br&gt;
&lt;/span&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=11000807&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Problem-with-Edna-on-Windows%3A-can-play-locally%2C-but-doesn%27t-work-on-remote-computer-tp10995247p11000807.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-10997883</id>
	<title>hmmm new edna error, can anyone help??</title>
	<published>2007-06-05T22:57:44Z</published>
	<updated>2007-06-05T22:57:44Z</updated>
	<author>
		<name>MaxSteel</name>
	</author>
	<content type="html">Lately, edna is pausing and then giving an error (As such) and then
&lt;br&gt;continuing on as normal. &amp;nbsp;I don't know why? &amp;nbsp;I wouldn't know there was
&lt;br&gt;a problem if it didn't hang there for a min or so.. as the results do
&lt;br&gt;come back..
&lt;br&gt;&lt;br&gt;any thoughts?
&lt;br&gt;&lt;br&gt;error example:
&lt;br&gt;----------------------------------------
&lt;br&gt;Exception happened during processing of request from ('207.161.21.225', 2822)
&lt;br&gt;Traceback (most recent call last):
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 463, in process_request_thread
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.finish_request(request, client_address)
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 254, in finish_request
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.RequestHandlerClass(request, client_address, self)
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 521, in __init__
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.handle()
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\Python24\lib\BaseHTTPServer.py&amp;quot;, line 314, in handle
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.handle_one_request()
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\Python24\lib\BaseHTTPServer.py&amp;quot;, line 308, in handle_one_request
&lt;br&gt;&amp;nbsp; &amp;nbsp; method()
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 361, in do_GET
&lt;br&gt;&amp;nbsp; &amp;nbsp; self._perform_GET()
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 606, in _perform_GET
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.display_page(title, subdirs, pictures, plainfiles, songs, playlists)
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 722, in display_page
&lt;br&gt;&amp;nbsp; &amp;nbsp; template.generate(self.wfile, data)
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 117, in generate
&lt;br&gt;&amp;nbsp; &amp;nbsp; self._execute(self.program, fp, ctx)
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 124, in _execute
&lt;br&gt;&amp;nbsp; &amp;nbsp; step[0](step[1], fp, ctx)
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 134, in _cmd_if_any
&lt;br&gt;&amp;nbsp; &amp;nbsp; self._do_if(value, t_section, f_section, fp, ctx)
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 158, in _do_if
&lt;br&gt;&amp;nbsp; &amp;nbsp; self._execute(section, fp, ctx)
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 124, in _execute
&lt;br&gt;&amp;nbsp; &amp;nbsp; step[0](step[1], fp, ctx)
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 168, in _cmd_for
&lt;br&gt;&amp;nbsp; &amp;nbsp; self._execute(section, fp, ctx)
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 124, in _execute
&lt;br&gt;&amp;nbsp; &amp;nbsp; step[0](step[1], fp, ctx)
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 128, in _cmd_print
&lt;br&gt;&amp;nbsp; &amp;nbsp; fp.write(_get_value(refname, ref, ctx))
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 1045, in write
&lt;br&gt;&amp;nbsp; &amp;nbsp; return self.wfile.write(s_buf)
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\Python24\lib\socket.py&amp;quot;, line 256, in write
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.flush()
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\Python24\lib\socket.py&amp;quot;, line 243, in flush
&lt;br&gt;&amp;nbsp; &amp;nbsp; self._sock.sendall(buffer)
&lt;br&gt;error: (10053, 'Software caused connection abort')
&lt;br&gt;----------------------------------------
&lt;br&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=10997883&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/hmmm-new-edna-error%2C-can-anyone-help---tp10997883p10997883.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-10995247</id>
	<title>Problem with Edna on Windows: can play locally, but doesn't work on remote computer</title>
	<published>2007-06-05T13:14:30Z</published>
	<updated>2007-06-05T13:14:30Z</updated>
	<author>
		<name>Stas Oskin-2</name>
	</author>
	<content type="html">Hi.&lt;br&gt;&lt;br&gt;I just discovered Edna and think this is exactly what I need. Problem is I can&amp;#39;t quite get it work:&lt;br&gt;&lt;br&gt;* It works perfectly when play music on the same computer where is Edna running.&lt;br&gt;* When I&amp;#39;m trying to connect from a remote computer, it plays only the first song. Afterwards it skips many songs with [BUFFERING] message (which is left visible in the playlist). It recovers only on the second album.
&lt;br&gt;&lt;br&gt;Any idea what can be causing this?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Stas.&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=10995247&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Problem-with-Edna-on-Windows%3A-can-play-locally%2C-but-doesn%27t-work-on-remote-computer-tp10995247p10995247.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-10315386</id>
	<title>Flash player - revisited</title>
	<published>2007-05-03T18:23:22Z</published>
	<updated>2007-05-03T18:23:22Z</updated>
	<author>
		<name>matt bailey-3</name>
	</author>
	<content type="html">Hi everybody,
&lt;br&gt;&lt;br&gt;I thought I'd point out that if you are interested in running an embedded
&lt;br&gt;flash player on your edna pages, this script works amazingly well:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://del.icio.us/help/playtagger&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://del.icio.us/help/playtagger&lt;/a&gt;&lt;br&gt;&lt;br&gt;I briefly had the xspf web music player
&lt;br&gt;(&lt;a href=&quot;http://musicplayer.sourceforge.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://musicplayer.sourceforge.net/&lt;/a&gt;) installed but found that my browser
&lt;br&gt;would freeze while loading a lengthy list of files. Playtagger doesn't have
&lt;br&gt;the same effect and loads exceptionally quickly.
&lt;br&gt;&lt;br&gt;Only drawbacks I've noticed: mp3 only and it doesn't handle special
&lt;br&gt;characters at all (ö,ó,etc) rendering a file that contains these characters
&lt;br&gt;unplayable. Not too big of a deal.
&lt;br&gt;&lt;br&gt;The buttons can be customized a bit as the play and stop buttons are just
&lt;br&gt;small gifs. 
&lt;br&gt;&lt;br&gt;I don't use delicious so I don't know how useful it is in regards to
&lt;br&gt;bookmarking.
&lt;br&gt;&lt;br&gt;Good luck!
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=10315386&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/reading-txt-files..-tp9764305p10315386.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-10213280</id>
	<title>Re: porting edna to gentoo</title>
	<published>2007-04-26T23:07:01Z</published>
	<updated>2007-04-26T23:07:01Z</updated>
	<author>
		<name>James Fraumeni</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; They don't seem to be up to edna version 0.6 yet, but there already are
&lt;br&gt;a few working version 0.5 ebuilds in portage which may help give direction.
&lt;br&gt;Those ebuilds decide to put ezt.py and the templates directory in
&lt;br&gt;/usr/lib/edna/ by default.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;James Fraumeni
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 4/27/07, &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=10213280&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;acidburn027@...&lt;/a&gt; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=10213280&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;acidburn027@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Sorry if this goes in twice I sent it from an email address that wasn't
&lt;br&gt;&amp;gt; on the list the first time.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am working on making an ebuild for the edna 0.6 for gentoo. First I
&lt;br&gt;&amp;gt; have to get it to work and write an init script for it. Currently I am
&lt;br&gt;&amp;gt; getting this error:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Traceback (most recent call last):
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;/usr/bin/edna&amp;quot;, line 47, in ?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; import ezt
&lt;br&gt;&amp;gt; ImportError: No module named ezt
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; does this mean my path to the templates is wrong?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I spent a day looking around on google and thinking about it and I
&lt;br&gt;&amp;gt; haven't found much.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; any thoughts would be appreciated.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Joel Koglin
&lt;/div&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=10213280&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/porting-edna-to-gentoo-tp10213146p10213280.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-10213146</id>
	<title>porting edna to gentoo</title>
	<published>2007-04-26T22:49:19Z</published>
	<updated>2007-04-26T22:49:19Z</updated>
	<author>
		<name>acidburn027@gmail.com</name>
	</author>
	<content type="html">Sorry if this goes in twice I sent it from an email address that wasn't 
&lt;br&gt;on the list the first time.
&lt;br&gt;&lt;br&gt;I am working on making an ebuild for the edna 0.6 for gentoo. First I
&lt;br&gt;have to get it to work and write an init script for it. Currently I am
&lt;br&gt;getting this error:
&lt;br&gt;&lt;br&gt;Traceback (most recent call last):
&lt;br&gt;&amp;nbsp; File &amp;quot;/usr/bin/edna&amp;quot;, line 47, in ?
&lt;br&gt;&amp;nbsp; &amp;nbsp; import ezt
&lt;br&gt;ImportError: No module named ezt
&lt;br&gt;&lt;br&gt;does this mean my path to the templates is wrong?
&lt;br&gt;&lt;br&gt;I spent a day looking around on google and thinking about it and I
&lt;br&gt;haven't found much.
&lt;br&gt;&lt;br&gt;any thoughts would be appreciated.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Joel Koglin
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=10213146&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/porting-edna-to-gentoo-tp10213146p10213146.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-10213092</id>
	<title>Bare-Bones Search</title>
	<published>2007-04-26T22:40:26Z</published>
	<updated>2007-04-26T22:40:26Z</updated>
	<author>
		<name>James Fraumeni</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; &amp;nbsp;I just submitted a patch for a bare-bones search. This patch allows for
&lt;br&gt;searching within your current edna directory and sub-directories. Playlists
&lt;br&gt;requested from search results pages contain only the media displayed on the
&lt;br&gt;search results page.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;As the search takes at least as long as a recursive playlist request,
&lt;br&gt;searching is disabled by default in edna.conf.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I purposely left the search function ( EndaRequestHandler.do_search() ) as
&lt;br&gt;a one-line case-insensitive check for the search string within the sub-path for
&lt;br&gt;each media file.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I intend to extend this myself (for example with boolean logic), but I felt
&lt;br&gt;that there is likely a number of people who would be interested in a bare
&lt;br&gt;search patch to extend with their own search functions.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Searching ID3 tags in particular I believe will be too slow if they must be
&lt;br&gt;re-read for every search but one of the strengths of edna is that it reads the
&lt;br&gt;current filesystem contents.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I also made a trivial patch to add a chosen favicon.ico and will submit
&lt;br&gt;that shortly.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;James Fraumeni
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=10213092&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Bare-Bones-Search-tp10213092p10213092.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-10066891</id>
	<title>Sort by &quot;New Since&quot;..</title>
	<published>2007-04-18T14:34:54Z</published>
	<updated>2007-04-18T14:34:54Z</updated>
	<author>
		<name>MaxSteel</name>
	</author>
	<content type="html">Has anyone played with the idea of sorting the newest folders to the
&lt;br&gt;top (ascending) by New Since, then name?
&lt;br&gt;&lt;br&gt;If so, I'm interested in doing that... I'm just not so good with the
&lt;br&gt;python part...
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;.\\ax
&lt;br&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=10066891&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Sort-by-%22New-Since%22..-tp10066891p10066891.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-9881343</id>
	<title>Re: caching images locally, multipart downloads, and the age of WSGI/CherryPy</title>
	<published>2007-04-06T22:42:24Z</published>
	<updated>2007-04-06T22:42:24Z</updated>
	<author>
		<name>Kumar McMillan</name>
	</author>
	<content type="html">On 3/26/07, Yoni Samlan &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9881343&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yoni@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I guess my point is: Is it time for edna to get with WSGI
&lt;br&gt;&lt;br&gt;I think yes, WSGI is a smart direction. &amp;nbsp;This way it can be used with
&lt;br&gt;a variety of different server implementations.
&lt;br&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9881343&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/caching-images-locally%2C-multipart-downloads%2C-and-the-age-of-WSGI-CherryPy-tp9684421p9881343.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-9861441</id>
	<title>Re: further to funny characters in tags &quot;ÿþ&quot;</title>
	<published>2007-04-05T12:19:57Z</published>
	<updated>2007-04-05T12:19:57Z</updated>
	<author>
		<name>Yoni Samlan</name>
	</author>
	<content type="html">Could be edna, mp3info, or both. See what mp3info.py gives you on its
&lt;br&gt;own by loading it up in a Python console at the command line (assuming
&lt;br&gt;you have a unicode-ready console, not sure how Windows deals with that
&lt;br&gt;stuff); if it looks right then Edna's the one mangling it. If not, you
&lt;br&gt;could try to integrate any one of a half dozen other python id3
&lt;br&gt;readers out there, assuming some of them support unicode:
&lt;br&gt;&lt;a href=&quot;http://sourceforge.net/search/?type_of_search=soft&amp;words=python+id3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/search/?type_of_search=soft&amp;words=python+id3&lt;/a&gt;&amp;nbsp;,
&lt;br&gt;though that's considerably more work than it's probably worth.
&lt;br&gt;&lt;br&gt;I've been toying with integrating
&lt;br&gt;&lt;a href=&quot;http://sourceforge.net/projects/mmpython/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/projects/mmpython/&lt;/a&gt;&amp;nbsp;into the new pylons/WSGI
&lt;br&gt;edna port i've been writing, to provide all kinds of metadata about
&lt;br&gt;all kinds of files (not just mp3s); do you have an example mp3 you
&lt;br&gt;could send me so I can be sure I get that stuff right in my code?
&lt;br&gt;(that's coming along, btw; I already have the xspf mp3 flash player
&lt;br&gt;integrated along with basic library browsing; once i have
&lt;br&gt;authentication, metadata plus a few other new features i have planned,
&lt;br&gt;i'll throw up a demo for people to check out).
&lt;br&gt;&lt;br&gt;-Yoni
&lt;br&gt;&lt;br&gt;On 4/5/07, MaxSteel &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9861441&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxsteel@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; It looks like the current version of edna, or mp3info.py (i'd assume)
&lt;br&gt;&amp;gt; doesn't like unicode data in mp3 ID3v2 tags.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Anyone out there willing, or know how to fix this?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks!
&lt;br&gt;&amp;gt; .\\ax
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; edna mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9861441&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9861441&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/further-to-funny-characters-in-tags-%22%C3%BF%C3%BE%22-tp9861116p9861441.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-9861699</id>
	<title>Re: caching images locally, multipart downloads, and the age of WSGI/CherryPy</title>
	<published>2007-04-05T12:01:26Z</published>
	<updated>2007-04-05T12:01:26Z</updated>
	<author>
		<name>Christophe Kalt-5</name>
	</author>
	<content type="html">On Mar 26, Yoni Samlan wrote:
&lt;br&gt;| One is that the HTTP server doesn't seem to be caching images. I tried
&lt;br&gt;| loading one of my larger folders with a few hundred subfolders, and
&lt;br&gt;| the image file for the identical folder icons was making a new request
&lt;br&gt;| to the edna server each time. slow, inefficient and eating my
&lt;br&gt;| bandwidth for no good reason. Is there an easy fix for this? It seems
&lt;br&gt;| like it'd just be a matter of sending the right headers in the http
&lt;br&gt;| responses.
&lt;br&gt;&lt;br&gt;Yes, i think edna falls a bit short of doing everything needed
&lt;br&gt;for this. &amp;nbsp;It shouldn't be very hard to fix.
&lt;br&gt;&lt;br&gt;as you noted later in your mail, edna suffers from doing all
&lt;br&gt;the HTTP implementation itself.
&lt;br&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9861699&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/caching-images-locally%2C-multipart-downloads%2C-and-the-age-of-WSGI-CherryPy-tp9684421p9861699.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-9861116</id>
	<title>further to funny characters in tags &quot;ÿþ&quot;</title>
	<published>2007-04-05T11:57:59Z</published>
	<updated>2007-04-05T11:57:59Z</updated>
	<author>
		<name>MaxSteel</name>
	</author>
	<content type="html">It looks like the current version of edna, or mp3info.py (i'd assume)
&lt;br&gt;doesn't like unicode data in mp3 ID3v2 tags.
&lt;br&gt;&lt;br&gt;Anyone out there willing, or know how to fix this?
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;.\\ax
&lt;br&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9861116&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/further-to-funny-characters-in-tags-%22%C3%BF%C3%BE%22-tp9861116p9861116.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-9860275</id>
	<title>My Template and some minor bugs</title>
	<published>2007-04-05T11:06:37Z</published>
	<updated>2007-04-05T11:06:37Z</updated>
	<author>
		<name>MaxSteel</name>
	</author>
	<content type="html">Well thanks to everyone's help, Yoni especially, I think I've finished
&lt;br&gt;my 1.0 version of edna.
&lt;br&gt;&lt;br&gt;I now understand what he meant by &amp;nbsp;being a bunch of if statements!
&lt;br&gt;lol, well I was at least able to use it to make mine work. &amp;nbsp;I'll try
&lt;br&gt;and set up an example server so you guys can check it out. &amp;nbsp;And if you
&lt;br&gt;like what I've done, (or in the meantime) just shoot me an email, and
&lt;br&gt;I can zip up my dir and you're more than welcome to test it for
&lt;br&gt;yourself! &amp;nbsp;I think you'd be pleased!
&lt;br&gt;&lt;br&gt;I do have some glitches that I don't understand. &amp;nbsp;I don't think it's
&lt;br&gt;an edna issue. &amp;nbsp;I gave a copy to my buddy (my beta tester) and he has
&lt;br&gt;some mp3 folders where the tags (i'm using the complex template) are
&lt;br&gt;weird -- have weird characters. &amp;nbsp;He's sent me an example file, and it
&lt;br&gt;occurs for me as well. &amp;nbsp;I think it could be something to do with his
&lt;br&gt;mp3 files, but still odd, since it plays fine, and WINAMP tells the
&lt;br&gt;TAG info properly (and other software does too).
&lt;br&gt;&lt;br&gt;Some features I'd like to see, but would be tricky:
&lt;br&gt;Easier feature:
&lt;br&gt;1) an option, when displaying folders, to have the &amp;quot;new since&amp;quot; folders
&lt;br&gt;sorted at the top by date, then all others follow.. &amp;nbsp;any easy way to
&lt;br&gt;do this?..guess time will tell (all help appreciated :)
&lt;br&gt;&lt;br&gt;Harder:
&lt;br&gt;2) I'd really like to figure out the best way to have an enqueue
&lt;br&gt;option.. but from my experience and from my searches, it doesn't look
&lt;br&gt;like it will happen with out a windows hack. &amp;nbsp;for now, I just turned
&lt;br&gt;on /ADD in winamp for .m3u files. &amp;nbsp;Too bad there wasn't a way to send
&lt;br&gt;this param to a media player.. so this feature will probably never
&lt;br&gt;happen.
&lt;br&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9860275&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/My-Template-and-some-minor-bugs-tp9860275p9860275.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-9801720</id>
	<title>Re: reading txt files..</title>
	<published>2007-04-02T17:04:06Z</published>
	<updated>2007-04-02T17:04:06Z</updated>
	<author>
		<name>MaxSteel</name>
	</author>
	<content type="html">What's even more odd is that now the error doesn't come up.. lol
&lt;br&gt;&lt;br&gt;although, now, I do have a weird ? (question mark) on my page that's
&lt;br&gt;displayed.. &amp;nbsp;I can't figure out where it's coming from.. ..although I
&lt;br&gt;haven't tried that much yet.. that'll come next/now :)
&lt;br&gt;&lt;br&gt;Thanks a bunch Yoni, I'm obviously rusty, and wasn't understanding the
&lt;br&gt;code very much, and to be honest, didn't have enough time to really
&lt;br&gt;sit there and figure it out. &amp;nbsp;I just want it to be functional.....then
&lt;br&gt;i'll make it purdy and be done with it (until the next thing i want to
&lt;br&gt;add to it)..
&lt;br&gt;&lt;br&gt;It's definately starting to take shape!
&lt;br&gt;&lt;br&gt;.\\ax
&lt;br&gt;&lt;br&gt;On 4/2/07, Yoni Samlan &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801720&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ysamlan@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; judging from the fact that it's ezt raising the exception, it looks
&lt;br&gt;&amp;gt; like something's wrong in your template or the values going into it.
&lt;br&gt;&amp;gt; Throw some print statements in before you get to the template to be
&lt;br&gt;&amp;gt; sure you're passing the right values over to it, and check your syntax
&lt;br&gt;&amp;gt; in the templates (EZT doesn't really throw useful errors -- the port
&lt;br&gt;&amp;gt; i'm working on for Pylons/WSGI is using Mako for the templates
&lt;br&gt;&amp;gt; instead).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -Yoni
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 4/2/07, MaxSteel &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801720&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxsteel@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; Ok I figured it out fullpath wasn't declared until after that line. &amp;nbsp;I
&lt;br&gt;&amp;gt; &amp;gt; just added a new declaration before &amp;quot;fullpathtemp&amp;quot; and this works:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fullpathtemp = os.path.join(curdir, name)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if plainfiles_extensions.has_key(ext):
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; plainfiles.append(_datablob(href=href, is_new=is_new,
&lt;br&gt;&amp;gt; &amp;gt; text=base, contents=open(fullpathtemp).read()))
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I do now have a weird error coming up on the &amp;quot;server&amp;quot; screen...
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; ----------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; Exception happened during processing of request from ('32.97.110.142', 44182)
&lt;br&gt;&amp;gt; &amp;gt; Traceback (most recent call last):
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 463, in process_request_thread
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.finish_request(request, client_address)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 254, in finish_request
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.RequestHandlerClass(request, client_address, self)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 521, in __init__
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.handle()
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\BaseHTTPServer.py&amp;quot;, line 314, in handle
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.handle_one_request()
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\BaseHTTPServer.py&amp;quot;, line 308, in handle_one_request
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; method()
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 361, in do_GET
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self._perform_GET()
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 606, in _perform_GET
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.display_page(title, subdirs, pictures, plainfiles, songs, playlists)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 722, in display_page
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; template.generate(self.wfile, data)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 117, in generate
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self._execute(self.program, fp, ctx)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 124, in _execute
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; step[0](step[1], fp, ctx)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 134, in _cmd_if_any
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self._do_if(value, t_section, f_section, fp, ctx)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 158, in _do_if
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self._execute(section, fp, ctx)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 124, in _execute
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; step[0](step[1], fp, ctx)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 168, in _cmd_for
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self._execute(section, fp, ctx)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 124, in _execute
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; step[0](step[1], fp, ctx)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 128, in _cmd_print
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; fp.write(_get_value(refname, ref, ctx))
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 1045, in write
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; return self.wfile.write(s_buf)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\socket.py&amp;quot;, line 256, in write
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.flush()
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\socket.py&amp;quot;, line 243, in flush
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self._sock.sendall(buffer)
&lt;br&gt;&amp;gt; &amp;gt; error: (10053, 'Software caused connection abort')
&lt;br&gt;&amp;gt; &amp;gt; ----------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; any idea what is causing this?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks to all!
&lt;br&gt;&amp;gt; &amp;gt; .\\ax
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On 4/2/07, MaxSteel &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801720&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxsteel@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Thanks for replying Yoni.. I tried it.. but got this error:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Traceback (most recent call last):
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 463, in process_request_thread
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.finish_request(request, client_address)
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 254, in finish_request
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.RequestHandlerClass(request, client_address, self)
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 521, in __init__
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.handle()
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\BaseHTTPServer.py&amp;quot;, line 314, in handle
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.handle_one_request()
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\BaseHTTPServer.py&amp;quot;, line 308, in handle_one_request
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; method()
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 361, in do_GET
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self._perform_GET()
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 571, in _perform_GET
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; plainfiles.append(_datablob(href=href, is_new=is_new, text=base, contents=op
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; en(fullpath+name).read()))
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; UnboundLocalError: local variable 'fullpath' referenced before assignment
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; ----------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; You are right, this is &amp;nbsp;a bit confusing.. I'm still plugging away, but
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; if you get the chance in the meantime to assist, it'd be appreciated
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; as usual,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; .\\ax
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; On 3/31/07, Yoni Samlan &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801720&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ysamlan@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; plainfiles starts life as a list of &amp;quot;objects&amp;quot; set in these lines:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; if plainfiles_extensions.has_key(ext):
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; plainfiles.append(_datablob(href=href, is_new=is_new, text=base))
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; inside a loop checking each file in the folder.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; What this does is make a list of 'object-looking things' in datablobs
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; (which i distinctly do not like) that looks something like this:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; file1 -- file1.href = &amp;quot;server/readme.txt&amp;quot; file1.text = &amp;quot;readme&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; and then passes that list to the template rendering code (which is
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; defined at line 691), where the template loops through that list and
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; prints the URL and name for each file.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; If you wanted to output the contents of all text files you'd change it
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; to something like this:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; plainfiles.append(_datablob(href=href, is_new=is_new, text=base,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; contents=open(fullpath+name).read()))
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Then you should be able to access the text from the template (probably
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; default.ezt) and do whatever you need to with it. You should be able
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; to get the value inside this section:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; [for plainfiles]
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; as [plainfiles.contents]. You'll want to put it in a preformatted HTML
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; tag to preserve normal linebreaks and spacing, like so::
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;lt;pre&amp;gt;[plainfiles.contents]&amp;lt;/pre&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; It's a little confusing, and I can't say I entirely like the path
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; getting from a folder URL request to the template, but it's a little
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; less confusing if you just trace it through front to back (maybe with
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; an open Python interpreter to mess about with).
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; -Yoni
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; p.s. I didn't test this. It should more or less work, but I just meant
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; it to help you along, not solve it entirely. Good luck.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; On 3/30/07, MaxSteel &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801720&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxsteel@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I'm trying to create some python code to make it READ the contents of
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; a text [plainfiles.href] file and then display it in the &amp;quot;folder&amp;quot; of
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; an album.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I'm having a difficult time figuring out where &amp;quot;plainfiles.href&amp;quot; is
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; defined. &amp;nbsp;This is the variable name that gets passed to the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; default.ezt to be displayed in html format.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Can anyone assist me? &amp;nbsp;I think the type of python code I'm looking at
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; is something like:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; print open(plainfiles.href).read()
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I'm guessing it'd be better to pass that to another variable:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; plainfilecontent = open(plainfiles.href).read()
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I just dont' know how to do this, nor where to put it in the .py code.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I've been looking at it for a few days, and have become flustered :(
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Please halp!
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; :)
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; Ryan
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; edna mailing list
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801720&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801720&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/reading-txt-files..-tp9764305p9801720.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-9801429</id>
	<title>Re: reading txt files..</title>
	<published>2007-04-02T15:53:16Z</published>
	<updated>2007-04-02T15:53:16Z</updated>
	<author>
		<name>Yoni Samlan-2</name>
	</author>
	<content type="html">judging from the fact that it's ezt raising the exception, it looks
&lt;br&gt;like something's wrong in your template or the values going into it.
&lt;br&gt;Throw some print statements in before you get to the template to be
&lt;br&gt;sure you're passing the right values over to it, and check your syntax
&lt;br&gt;in the templates (EZT doesn't really throw useful errors -- the port
&lt;br&gt;i'm working on for Pylons/WSGI is using Mako for the templates
&lt;br&gt;instead).
&lt;br&gt;&lt;br&gt;-Yoni
&lt;br&gt;&lt;br&gt;On 4/2/07, MaxSteel &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801429&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxsteel@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Ok I figured it out fullpath wasn't declared until after that line. &amp;nbsp;I
&lt;br&gt;&amp;gt; just added a new declaration before &amp;quot;fullpathtemp&amp;quot; and this works:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fullpathtemp = os.path.join(curdir, name)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if plainfiles_extensions.has_key(ext):
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; plainfiles.append(_datablob(href=href, is_new=is_new,
&lt;br&gt;&amp;gt; text=base, contents=open(fullpathtemp).read()))
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I do now have a weird error coming up on the &amp;quot;server&amp;quot; screen...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----------------------------------------
&lt;br&gt;&amp;gt; Exception happened during processing of request from ('32.97.110.142', 44182)
&lt;br&gt;&amp;gt; Traceback (most recent call last):
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 463, in process_request_thread
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; self.finish_request(request, client_address)
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 254, in finish_request
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; self.RequestHandlerClass(request, client_address, self)
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 521, in __init__
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; self.handle()
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\BaseHTTPServer.py&amp;quot;, line 314, in handle
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; self.handle_one_request()
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\BaseHTTPServer.py&amp;quot;, line 308, in handle_one_request
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; method()
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 361, in do_GET
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; self._perform_GET()
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 606, in _perform_GET
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; self.display_page(title, subdirs, pictures, plainfiles, songs, playlists)
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 722, in display_page
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; template.generate(self.wfile, data)
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 117, in generate
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; self._execute(self.program, fp, ctx)
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 124, in _execute
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; step[0](step[1], fp, ctx)
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 134, in _cmd_if_any
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; self._do_if(value, t_section, f_section, fp, ctx)
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 158, in _do_if
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; self._execute(section, fp, ctx)
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 124, in _execute
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; step[0](step[1], fp, ctx)
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 168, in _cmd_for
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; self._execute(section, fp, ctx)
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 124, in _execute
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; step[0](step[1], fp, ctx)
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 128, in _cmd_print
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; fp.write(_get_value(refname, ref, ctx))
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 1045, in write
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; return self.wfile.write(s_buf)
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\socket.py&amp;quot;, line 256, in write
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; self.flush()
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\socket.py&amp;quot;, line 243, in flush
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; self._sock.sendall(buffer)
&lt;br&gt;&amp;gt; error: (10053, 'Software caused connection abort')
&lt;br&gt;&amp;gt; ----------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; any idea what is causing this?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks to all!
&lt;br&gt;&amp;gt; .\\ax
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 4/2/07, MaxSteel &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801429&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxsteel@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; Thanks for replying Yoni.. I tried it.. but got this error:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Traceback (most recent call last):
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 463, in process_request_thread
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.finish_request(request, client_address)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 254, in finish_request
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.RequestHandlerClass(request, client_address, self)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 521, in __init__
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.handle()
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\BaseHTTPServer.py&amp;quot;, line 314, in handle
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self.handle_one_request()
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\BaseHTTPServer.py&amp;quot;, line 308, in handle_one_request
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; method()
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 361, in do_GET
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; self._perform_GET()
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 571, in _perform_GET
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; plainfiles.append(_datablob(href=href, is_new=is_new, text=base, contents=op
&lt;br&gt;&amp;gt; &amp;gt; en(fullpath+name).read()))
&lt;br&gt;&amp;gt; &amp;gt; UnboundLocalError: local variable 'fullpath' referenced before assignment
&lt;br&gt;&amp;gt; &amp;gt; ----------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; You are right, this is &amp;nbsp;a bit confusing.. I'm still plugging away, but
&lt;br&gt;&amp;gt; &amp;gt; if you get the chance in the meantime to assist, it'd be appreciated
&lt;br&gt;&amp;gt; &amp;gt; as usual,
&lt;br&gt;&amp;gt; &amp;gt; .\\ax
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On 3/31/07, Yoni Samlan &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801429&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ysamlan@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; plainfiles starts life as a list of &amp;quot;objects&amp;quot; set in these lines:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; if plainfiles_extensions.has_key(ext):
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; plainfiles.append(_datablob(href=href, is_new=is_new, text=base))
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; inside a loop checking each file in the folder.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; What this does is make a list of 'object-looking things' in datablobs
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; (which i distinctly do not like) that looks something like this:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; file1 -- file1.href = &amp;quot;server/readme.txt&amp;quot; file1.text = &amp;quot;readme&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; and then passes that list to the template rendering code (which is
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; defined at line 691), where the template loops through that list and
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; prints the URL and name for each file.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; If you wanted to output the contents of all text files you'd change it
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; to something like this:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; plainfiles.append(_datablob(href=href, is_new=is_new, text=base,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; contents=open(fullpath+name).read()))
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Then you should be able to access the text from the template (probably
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; default.ezt) and do whatever you need to with it. You should be able
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; to get the value inside this section:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; [for plainfiles]
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; as [plainfiles.contents]. You'll want to put it in a preformatted HTML
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; tag to preserve normal linebreaks and spacing, like so::
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;lt;pre&amp;gt;[plainfiles.contents]&amp;lt;/pre&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; It's a little confusing, and I can't say I entirely like the path
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; getting from a folder URL request to the template, but it's a little
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; less confusing if you just trace it through front to back (maybe with
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; an open Python interpreter to mess about with).
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; -Yoni
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; p.s. I didn't test this. It should more or less work, but I just meant
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; it to help you along, not solve it entirely. Good luck.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; On 3/30/07, MaxSteel &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801429&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxsteel@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; I'm trying to create some python code to make it READ the contents of
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; a text [plainfiles.href] file and then display it in the &amp;quot;folder&amp;quot; of
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; an album.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; I'm having a difficult time figuring out where &amp;quot;plainfiles.href&amp;quot; is
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; defined. &amp;nbsp;This is the variable name that gets passed to the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; default.ezt to be displayed in html format.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Can anyone assist me? &amp;nbsp;I think the type of python code I'm looking at
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; is something like:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; print open(plainfiles.href).read()
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; I'm guessing it'd be better to pass that to another variable:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; plainfilecontent = open(plainfiles.href).read()
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; I just dont' know how to do this, nor where to put it in the .py code.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; I've been looking at it for a few days, and have become flustered :(
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Please halp!
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; :)
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Ryan
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; edna mailing list
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801429&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801429&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/reading-txt-files..-tp9764305p9801429.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-9801240</id>
	<title>Re: reading txt files..</title>
	<published>2007-04-02T14:55:19Z</published>
	<updated>2007-04-02T14:55:19Z</updated>
	<author>
		<name>MaxSteel</name>
	</author>
	<content type="html">Ok I figured it out fullpath wasn't declared until after that line. &amp;nbsp;I
&lt;br&gt;just added a new declaration before &amp;quot;fullpathtemp&amp;quot; and this works:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fullpathtemp = os.path.join(curdir, name)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if plainfiles_extensions.has_key(ext):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; plainfiles.append(_datablob(href=href, is_new=is_new,
&lt;br&gt;text=base, contents=open(fullpathtemp).read()))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue
&lt;br&gt;&lt;br&gt;I do now have a weird error coming up on the &amp;quot;server&amp;quot; screen...
&lt;br&gt;&lt;br&gt;----------------------------------------
&lt;br&gt;Exception happened during processing of request from ('32.97.110.142', 44182)
&lt;br&gt;Traceback (most recent call last):
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 463, in process_request_thread
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.finish_request(request, client_address)
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 254, in finish_request
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.RequestHandlerClass(request, client_address, self)
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 521, in __init__
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.handle()
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\Python24\lib\BaseHTTPServer.py&amp;quot;, line 314, in handle
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.handle_one_request()
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\Python24\lib\BaseHTTPServer.py&amp;quot;, line 308, in handle_one_request
&lt;br&gt;&amp;nbsp; &amp;nbsp; method()
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 361, in do_GET
&lt;br&gt;&amp;nbsp; &amp;nbsp; self._perform_GET()
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 606, in _perform_GET
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.display_page(title, subdirs, pictures, plainfiles, songs, playlists)
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 722, in display_page
&lt;br&gt;&amp;nbsp; &amp;nbsp; template.generate(self.wfile, data)
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 117, in generate
&lt;br&gt;&amp;nbsp; &amp;nbsp; self._execute(self.program, fp, ctx)
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 124, in _execute
&lt;br&gt;&amp;nbsp; &amp;nbsp; step[0](step[1], fp, ctx)
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 134, in _cmd_if_any
&lt;br&gt;&amp;nbsp; &amp;nbsp; self._do_if(value, t_section, f_section, fp, ctx)
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 158, in _do_if
&lt;br&gt;&amp;nbsp; &amp;nbsp; self._execute(section, fp, ctx)
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 124, in _execute
&lt;br&gt;&amp;nbsp; &amp;nbsp; step[0](step[1], fp, ctx)
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 168, in _cmd_for
&lt;br&gt;&amp;nbsp; &amp;nbsp; self._execute(section, fp, ctx)
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 124, in _execute
&lt;br&gt;&amp;nbsp; &amp;nbsp; step[0](step[1], fp, ctx)
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\ezt.py&amp;quot;, line 128, in _cmd_print
&lt;br&gt;&amp;nbsp; &amp;nbsp; fp.write(_get_value(refname, ref, ctx))
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 1045, in write
&lt;br&gt;&amp;nbsp; &amp;nbsp; return self.wfile.write(s_buf)
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\Python24\lib\socket.py&amp;quot;, line 256, in write
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.flush()
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\Python24\lib\socket.py&amp;quot;, line 243, in flush
&lt;br&gt;&amp;nbsp; &amp;nbsp; self._sock.sendall(buffer)
&lt;br&gt;error: (10053, 'Software caused connection abort')
&lt;br&gt;----------------------------------------
&lt;br&gt;&lt;br&gt;any idea what is causing this?
&lt;br&gt;&lt;br&gt;Thanks to all!
&lt;br&gt;.\\ax
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On 4/2/07, MaxSteel &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801240&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxsteel@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks for replying Yoni.. I tried it.. but got this error:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Traceback (most recent call last):
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 463, in process_request_thread
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; self.finish_request(request, client_address)
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 254, in finish_request
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; self.RequestHandlerClass(request, client_address, self)
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 521, in __init__
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; self.handle()
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\BaseHTTPServer.py&amp;quot;, line 314, in handle
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; self.handle_one_request()
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;C:\Python24\lib\BaseHTTPServer.py&amp;quot;, line 308, in handle_one_request
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; method()
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 361, in do_GET
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; self._perform_GET()
&lt;br&gt;&amp;gt; &amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 571, in _perform_GET
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; plainfiles.append(_datablob(href=href, is_new=is_new, text=base, contents=op
&lt;br&gt;&amp;gt; en(fullpath+name).read()))
&lt;br&gt;&amp;gt; UnboundLocalError: local variable 'fullpath' referenced before assignment
&lt;br&gt;&amp;gt; ----------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You are right, this is &amp;nbsp;a bit confusing.. I'm still plugging away, but
&lt;br&gt;&amp;gt; if you get the chance in the meantime to assist, it'd be appreciated
&lt;br&gt;&amp;gt; as usual,
&lt;br&gt;&amp;gt; .\\ax
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 3/31/07, Yoni Samlan &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801240&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ysamlan@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; plainfiles starts life as a list of &amp;quot;objects&amp;quot; set in these lines:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; if plainfiles_extensions.has_key(ext):
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; plainfiles.append(_datablob(href=href, is_new=is_new, text=base))
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; inside a loop checking each file in the folder.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; What this does is make a list of 'object-looking things' in datablobs
&lt;br&gt;&amp;gt; &amp;gt; (which i distinctly do not like) that looks something like this:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; file1 -- file1.href = &amp;quot;server/readme.txt&amp;quot; file1.text = &amp;quot;readme&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; and then passes that list to the template rendering code (which is
&lt;br&gt;&amp;gt; &amp;gt; defined at line 691), where the template loops through that list and
&lt;br&gt;&amp;gt; &amp;gt; prints the URL and name for each file.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; If you wanted to output the contents of all text files you'd change it
&lt;br&gt;&amp;gt; &amp;gt; to something like this:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; plainfiles.append(_datablob(href=href, is_new=is_new, text=base,
&lt;br&gt;&amp;gt; &amp;gt; contents=open(fullpath+name).read()))
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Then you should be able to access the text from the template (probably
&lt;br&gt;&amp;gt; &amp;gt; default.ezt) and do whatever you need to with it. You should be able
&lt;br&gt;&amp;gt; &amp;gt; to get the value inside this section:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; [for plainfiles]
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; as [plainfiles.contents]. You'll want to put it in a preformatted HTML
&lt;br&gt;&amp;gt; &amp;gt; tag to preserve normal linebreaks and spacing, like so::
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;pre&amp;gt;[plainfiles.contents]&amp;lt;/pre&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; It's a little confusing, and I can't say I entirely like the path
&lt;br&gt;&amp;gt; &amp;gt; getting from a folder URL request to the template, but it's a little
&lt;br&gt;&amp;gt; &amp;gt; less confusing if you just trace it through front to back (maybe with
&lt;br&gt;&amp;gt; &amp;gt; an open Python interpreter to mess about with).
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; -Yoni
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; p.s. I didn't test this. It should more or less work, but I just meant
&lt;br&gt;&amp;gt; &amp;gt; it to help you along, not solve it entirely. Good luck.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On 3/30/07, MaxSteel &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801240&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxsteel@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I'm trying to create some python code to make it READ the contents of
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; a text [plainfiles.href] file and then display it in the &amp;quot;folder&amp;quot; of
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; an album.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I'm having a difficult time figuring out where &amp;quot;plainfiles.href&amp;quot; is
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; defined. &amp;nbsp;This is the variable name that gets passed to the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; default.ezt to be displayed in html format.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Can anyone assist me? &amp;nbsp;I think the type of python code I'm looking at
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; is something like:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; print open(plainfiles.href).read()
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I'm guessing it'd be better to pass that to another variable:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; plainfilecontent = open(plainfiles.href).read()
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I just dont' know how to do this, nor where to put it in the .py code.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I've been looking at it for a few days, and have become flustered :(
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Please halp!
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; :)
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Ryan
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; edna mailing list
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801240&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801240&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/reading-txt-files..-tp9764305p9801240.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-9801213</id>
	<title>Re: reading txt files..</title>
	<published>2007-04-02T14:44:47Z</published>
	<updated>2007-04-02T14:44:47Z</updated>
	<author>
		<name>MaxSteel</name>
	</author>
	<content type="html">Thanks for replying Yoni.. I tried it.. but got this error:
&lt;br&gt;&lt;br&gt;Traceback (most recent call last):
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 463, in process_request_thread
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.finish_request(request, client_address)
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 254, in finish_request
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.RequestHandlerClass(request, client_address, self)
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\Python24\lib\SocketServer.py&amp;quot;, line 521, in __init__
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.handle()
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\Python24\lib\BaseHTTPServer.py&amp;quot;, line 314, in handle
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.handle_one_request()
&lt;br&gt;&amp;nbsp; File &amp;quot;C:\Python24\lib\BaseHTTPServer.py&amp;quot;, line 308, in handle_one_request
&lt;br&gt;&amp;nbsp; &amp;nbsp; method()
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 361, in do_GET
&lt;br&gt;&amp;nbsp; &amp;nbsp; self._perform_GET()
&lt;br&gt;&amp;nbsp; File &amp;quot;D:\edna_xspf\edna.py&amp;quot;, line 571, in _perform_GET
&lt;br&gt;&amp;nbsp; &amp;nbsp; plainfiles.append(_datablob(href=href, is_new=is_new, text=base, contents=op
&lt;br&gt;en(fullpath+name).read()))
&lt;br&gt;UnboundLocalError: local variable 'fullpath' referenced before assignment
&lt;br&gt;----------------------------------------
&lt;br&gt;&lt;br&gt;You are right, this is &amp;nbsp;a bit confusing.. I'm still plugging away, but
&lt;br&gt;if you get the chance in the meantime to assist, it'd be appreciated
&lt;br&gt;as usual,
&lt;br&gt;.\\ax
&lt;br&gt;&lt;br&gt;On 3/31/07, Yoni Samlan &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801213&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ysamlan@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; plainfiles starts life as a list of &amp;quot;objects&amp;quot; set in these lines:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; if plainfiles_extensions.has_key(ext):
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; plainfiles.append(_datablob(href=href, is_new=is_new, text=base))
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; continue
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; inside a loop checking each file in the folder.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What this does is make a list of 'object-looking things' in datablobs
&lt;br&gt;&amp;gt; (which i distinctly do not like) that looks something like this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; file1 -- file1.href = &amp;quot;server/readme.txt&amp;quot; file1.text = &amp;quot;readme&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; and then passes that list to the template rendering code (which is
&lt;br&gt;&amp;gt; defined at line 691), where the template loops through that list and
&lt;br&gt;&amp;gt; prints the URL and name for each file.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If you wanted to output the contents of all text files you'd change it
&lt;br&gt;&amp;gt; to something like this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; plainfiles.append(_datablob(href=href, is_new=is_new, text=base,
&lt;br&gt;&amp;gt; contents=open(fullpath+name).read()))
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Then you should be able to access the text from the template (probably
&lt;br&gt;&amp;gt; default.ezt) and do whatever you need to with it. You should be able
&lt;br&gt;&amp;gt; to get the value inside this section:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [for plainfiles]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; as [plainfiles.contents]. You'll want to put it in a preformatted HTML
&lt;br&gt;&amp;gt; tag to preserve normal linebreaks and spacing, like so::
&lt;br&gt;&amp;gt; &amp;lt;pre&amp;gt;[plainfiles.contents]&amp;lt;/pre&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It's a little confusing, and I can't say I entirely like the path
&lt;br&gt;&amp;gt; getting from a folder URL request to the template, but it's a little
&lt;br&gt;&amp;gt; less confusing if you just trace it through front to back (maybe with
&lt;br&gt;&amp;gt; an open Python interpreter to mess about with).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -Yoni
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; p.s. I didn't test this. It should more or less work, but I just meant
&lt;br&gt;&amp;gt; it to help you along, not solve it entirely. Good luck.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 3/30/07, MaxSteel &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801213&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxsteel@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; I'm trying to create some python code to make it READ the contents of
&lt;br&gt;&amp;gt; &amp;gt; a text [plainfiles.href] file and then display it in the &amp;quot;folder&amp;quot; of
&lt;br&gt;&amp;gt; &amp;gt; an album.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I'm having a difficult time figuring out where &amp;quot;plainfiles.href&amp;quot; is
&lt;br&gt;&amp;gt; &amp;gt; defined. &amp;nbsp;This is the variable name that gets passed to the
&lt;br&gt;&amp;gt; &amp;gt; default.ezt to be displayed in html format.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Can anyone assist me? &amp;nbsp;I think the type of python code I'm looking at
&lt;br&gt;&amp;gt; &amp;gt; is something like:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; print open(plainfiles.href).read()
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I'm guessing it'd be better to pass that to another variable:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; plainfilecontent = open(plainfiles.href).read()
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I just dont' know how to do this, nor where to put it in the .py code.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I've been looking at it for a few days, and have become flustered :(
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Please halp!
&lt;br&gt;&amp;gt; &amp;gt; :)
&lt;br&gt;&amp;gt; &amp;gt; Ryan
&lt;br&gt;&amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt; edna mailing list
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801213&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;edna mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9801213&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mailman.lyra.org/mailman/listinfo/edna&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mailman.lyra.org/mailman/listinfo/edna&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/reading-txt-files..-tp9764305p9801213.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-9770199</id>
	<title>Re: embedded flash player - implemented</title>
	<published>2007-03-31T09:38:59Z</published>
	<updated>2007-03-31T09:38:59Z</updated>
	<author>
		<name>MaxSteel</name>
	</author>
	<content type="html">i see you're having the same issue I am with the minimized flash
&lt;br&gt;player hack i mentioned a couple of days ago..
&lt;br&gt;&lt;br&gt;When you hit play, the song wont play.. &amp;nbsp;I can chalk it up to say that
&lt;br&gt;I don't think that little player does not buffer and hence it fails.
&lt;br&gt;It works some-what ok locally, but remotely, not that great.. :(
&lt;br&gt;kinda bad.. i'll see if I can figure out why..
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 3/30/07, &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9770199&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hydatech@...&lt;/a&gt; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9770199&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hydatech@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; my server &lt;a href=&quot;http://kupo.redirectme.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kupo.redirectme.net&lt;/a&gt;&lt;br&gt;&amp;gt; u: edna p: ande
&lt;br&gt;&amp;gt; please don't kill my bandwidth (aka steal tracks)
&lt;br&gt;&amp;gt; -j
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 3/29/07, Justin Kennedy &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9770199&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kennedy101@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks to all for the hard work. I have a quick question. Is transcoding
&lt;br&gt;&amp;gt; built in? I would test but my slack box had a RAID 0 crash a few months ago.
&lt;br&gt;&amp;gt; Anyway, curious if transcoding was built in so that I could listen to my
&lt;br&gt;&amp;gt; collection at work or on the aircard. Thanks!!
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; ----- Original Message -----
&lt;br&gt;&amp;gt; &amp;gt; From: matt
&lt;br&gt;&amp;gt; &amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9770199&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hydatech@...&lt;/a&gt; ; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9770199&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; Sent: Thursday, March 29, 2007 10:44 AM
&lt;br&gt;&amp;gt; &amp;gt; Subject: Re: [edna] embedded flash player - implemented
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; You're welcome to see what I've done:
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.000023.com:666/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.000023.com:666/&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; l:ednalist p:ednalist
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Some features that I have integrated:
&lt;br&gt;&amp;gt; &amp;gt; -search of torrentspy.com
&lt;br&gt;&amp;gt; &amp;gt; -rss news
&lt;br&gt;&amp;gt; &amp;gt; -shoutbox
&lt;br&gt;&amp;gt; &amp;gt; -google search of directory name
&lt;br&gt;&amp;gt; &amp;gt; -mp3 server search
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; ----- Original Message -----
&lt;br&gt;&amp;gt; &amp;gt; From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9770199&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hydatech@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9770199&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edna@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; Sent: Wednesday, March 28, 2007 5:48 PM
&lt;br&gt;&amp;gt; &amp;gt; Subject: Re: [edna] embedded flash player - implemented
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hey guys, set up and &amp;nbsp;ran Yoni's version without a hitch last night, I'm
&lt;br&gt;&amp;gt; really impressed too
&lt;br&gt;&amp;gt; &amp;gt; Though I have to agree with Max that the other flashplayer is much
&lt;br&gt;&amp;gt; nicer/compact
&lt;br&gt;&amp;gt; &amp;gt; What would look good from just a gui perspective is integrating the flash
&lt;br&gt;&amp;gt; player into the existing file structure list.
&lt;br&gt;&amp;gt; &amp;gt; I also noticed there's a bug when using the flash player to play results
&lt;br&gt;&amp;gt; from the search.
&lt;br&gt;&amp;gt; &amp;gt; -j
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; PS can we please have some links of your edna servers running so we can
&lt;br&gt;&amp;gt; see what these things look like?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; PSS ok its been about ten minutes later and it looks like I've gotten
&lt;br&gt;&amp;gt; max's hack to work also
&lt;br&gt;&amp;gt; &amp;gt; I'm gonna keep mine up as a test development server so you guys can check
&lt;br&gt;&amp;gt; it out.
&lt;br&gt;&amp;gt; &amp;gt; please write me back privately for passwords / address so everyone
&lt;br&gt;&amp;gt; doesn't &amp;nbsp;kill my bandwidth.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On 3/28/07, MaxSteel &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9770199&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxsteel@...&lt;/a&gt; &amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Awesome, I got the play now option working! &amp;nbsp;ie: the play button to be
&lt;br&gt;&amp;gt; imbedded.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; How? &amp;nbsp;Well since Yoni pointed me to this site, I dl'd the button
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; version package from
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://musicplayer.sourceforge.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://musicplayer.sourceforge.net/&lt;/a&gt;&amp;nbsp;and extracted
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; the TWO swf's and put them into /resources/
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Then, I inserted this piece of code into default.ezt
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;lt;object type=&amp;quot;application/x-shockwave-flash&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; data=&amp;quot;/resources/musicplayer.swf?&amp;song_url=[songs.href]&amp;&amp;quot;
&lt;br&gt;&amp;gt; width=&amp;quot;17&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; height=&amp;quot;17&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;lt;param name=&amp;quot;movie&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; value=&amp;quot;/resources/musicplayer.swf?&amp;song_url=[
&lt;br&gt;&amp;gt; songs.href]&amp;&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;lt;img src=&amp;quot;noflash.gif&amp;quot; width=&amp;quot;17&amp;quot; height=&amp;quot;17&amp;quot; alt=&amp;quot;&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;lt;/object&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; just before this section:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;lt;a href=&amp;quot;[songs.href ]&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;/resources/save.png&amp;quot; ....
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; voila! &amp;nbsp;Now have TWO play buttons.. one for immediate flash playing,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; and 1 for my default windows media player (winamp).
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; If anyone needs help or more info, just reply!
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; .\\ax
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; On 3/28/07, MaxSteel &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9770199&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxsteel@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Well done Yoni, your zip file also had search included! &amp;nbsp;I haven't had
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; time to look/change my edna in ..well years! &amp;nbsp;I'll I need to do now is
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; incorporate my templates, you did the hard work for me :)
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; The player is great, I just wish it worked when we hit the play
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; button.. &amp;nbsp;one day i'll have the time to play with it.. I still like
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; the &lt;a href=&quot;http://planet.lugradio.org/hashlugradio/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://planet.lugradio.org/hashlugradio/&lt;/a&gt;&amp;nbsp;player
&lt;br&gt;&amp;gt; used here, but
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; this is great too, as it's smart enough to go to the next song
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; automagically :) &amp;nbsp;...now if we could only be able to queue up songs :)
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; PS: what happened to hte info section? &amp;nbsp;I went to the sourceforge site
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; you snagged the code from, there they had it have info on the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; track..etc..
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Great work once again, much appreciated that your shared.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; .\\ax
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; On 3/25/07, Yoni Samlan &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=9770199&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yoni@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; I believe I fixed the problem you were having. It looks like flash 9
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; parses the xspf file differently than flash 7 and 8 - they ignored
&lt;br&gt;