zeya team mailing list archive
-
zeya team
-
Mailing list archive
-
Message #00077
Re: zeya bug?
On Fri, Jul 30, 2010 at 7:26 AM, Jason <kachaffeous@xxxxxxxxx> wrote:
> All,
>
> Hi first off I want to thank you for zeya. It is a pretty awesome streamer
> (replacing gnump3d).
>
> This is what I am seeing, not sure if it is by design or a bug.
>
> I have my music setup into two different dirs the first is my itunes
> directory and the second is new music I haven't added to itunes yet. I have
> both of these dirs symlinked under /var/music (that is how gnump3d was
> setup).
>
> ls -al /var/music
>
> Library -> /really/long/path/iTunes Music/
> Downloads -> /diff/long/path/downloads/
>
> If I try to start zeya with just /var/music it starts but finds 0 tracks.
> root@blazin:/var/music# /usr/bin/zeya --path=/var/music --port=8888
> --basic_auth_file=/etc/lighttpd/.basic
> Using 'dir' backend.
> Scanning for music in '/var/music'...
> Loading library...
> WARNING: no tracks were found. Check that you've specified the right
> backend/path.
> Using Basic Auth Handler...
> Listening on port 8888
>
> If i start zeya with /var/music/Library or /var/music/Downloads it works
> fine. So my bug I guess is that zeya can't see into two symlinked
> directories under the --path directory.
Theres a trivial fix - attached. The problem with that trivial fix is
that it won't handle detect infinite recusive paths. In that case,
zeya just hangs on startup, and zeya.db just grows and grows. I'll try
and look into a better fix this weekend.
-Samson
Attachment:
follow_symlink.patch
Description: Binary data
Follow ups
References