> Very, very strange. Let's try to find this. Open src/util/mediainfo.py
> and search for the function __get_filename__. This first line says
> cachefile = ... After that line, add
>
> print '-%s-' % cachefile

That gives me "-/freevo/cache/vfs/freevo/freevo/freevo.cache-"

I got the following set
OVERLAY_DIR = '/freevo/cache/vfs'
OS_CACHEDIR = '/freevo/cache'


/dev/cdrom      /cdrom          iso9660 noauto,ro 0 0


(around line 284)
    def get(self, filename, create=True):
        """
        get info about a file
        """
        fullname  = filename

        # we know this are absolute paths, so we speed up
        # by not using the os.path functions.
        dirname  = filename[:filename.rfind('/')]
        filename = filename[filename.rfind('/')+1:]

        print dirname
        print filename
        print fullname
        print self.current_cachedir

Gives the following

 (empty line)
cdrom
/cdrom
None

No existing cache or vfs exists nor have freevo cache been run, aka a clean
new install.

An ugly ugly hack into mediainfo-py line 284 stops that error
        if dirname == '':
            dirname = fullname

But it results in the error instead..
item.py (327): unable to store info for 'Cdrom'

And nothing is stored in vfs/disc as it should... but when I enter it
manually... well then it works and stores as it should

If noone have said it before this is starting Freevo with an cdrom in the
drive.

Joakim




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to