Reinoud Elhorst wrote:
> Today I tried to get beacon up and running on my Gentoo system. I ran
> into some troubles, some discussed on the list before, some not. 

I will add some more doc to the README later. Thanks for the detailed
report.

> Next, it complained about connecting to the dbus. Starting the dbus
> deamon (/etc/init.d/dbus) fixed this, however now it's complaining
> about not being able to find org.freedesktop.Hal in any .services
> file.  Emerging hal and hal-device-manager and (re)starting the hal
> and dbus daemons took care of this problem (I could imagine dbus and
> hal only being used to notice a new cd/dvd being inserted, so beacon
> might run without it, I just don't want to risk any cascading error
> from this).

There is some fallback cd/dvd detection code. But with dbus you should
also detect usb sticks. But this doesn't work always (e.g. usb hd are
not detected as removable, see doc in dbus.py)

> And now beacon runs without an error showing, and I can monitor and
> read directories.
>
>
> The attached patch handles 3 problems in kaa.beacon:
> - Calling list(True) on a file to get a recursive list, didn't work,
>   because the if statement is handled in the wrong order
> - The function is called list (and not list-dir as mentioned in the doc)
> - The doc doesn't mention that list(False) does return files
>   regardless of whether they have been scanned, while list(True) only
>   returnes scanned files.
>
> The updated doc should, after being approved, also be merged into the wiki.

Thanks, done. BTW, since you looked at the API, do you plan to use
beacon in a project outside freevo?


Dischi

-- 
Freedom of speech is wonderful - right up there with the freedom not to
listen.

Attachment: pgp4XhW2vHgxa.pgp
Description: PGP signature

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to