Nicholas Ruddick wrote:
> Here is my situation,
>
> I have a freevo box that is networked to 4 windows computers. There are
> four directories in movies, music and pictures mapping to each users
> computer share. I am using automount to access each share beacuse that
> is the only way I know how to accomadate machines turning on and off and
> still being able to access them when they come back on again.
interesting setup
> The problem is that when I select music or movies or pictures freevo
> tries to check whether each directory has a custom a image for it
> and what size/free space is left. If one of the machines is not on
> this can take up to 2 minutes before automount times out and then it
> shows the directories. So, is there anyway of freevo not checking
> for directory sizes or images?
The directory size is checked because the default skin wants to show
it. Use a different skin and it should be gone. But you can't turn off
the directory cover search.
> Idealy I would wirte a plugin that would show what machines are on/off
> by pinging them and showing them in the idlebar greyed out or not and in
> the movies/music/pictures only the machines that are on would show the
> directories.
Draft for a plugin:
MainMenuPlugin:
def __init__(self, dirlist):
with dirlist a list of computer, local_dir
items(self):
i = []
for computer,directory in self.dirlist:
if computer is alive:
i.append(DirItem(directory)
return i
put it in the globalplugin dir and load it with the different groups:
plugin.activate('name', type='video',
arg=[(('comp1', 'dir1'), ('comp2', 'dir2') ...)])
plugin.activate('name', type='audio', ....
If you need help, there is a plugin howto in the docs dir of Freevo
and ask on the list. If you finished, please upload the plugin so
others can use it (http://freevo.sourceforge.net/addons/ is a good
point).
Dischi
--
C.O.B.O.L - Completely Obsolete Boring Old Language.
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users