Hi folks,
I am currently muddling through freevo 2.0. I have not found out any really 
cool stuff (sorry for that), but I am trying to produce more solutions than 
problems.
Here is my first try.
I have found out, that "short paths" do not work inside freevo. For example, I 
have added something like 
        ('Movies', '/mm') 
to VIDEO_ITEMS in local_conf.py, which caused a crash. For the same reason, I 
could not run freevo as root (i.e. not with -fs either...). It seems freevo 
always tries to access the user's home dir, which is /root for root.
I have made the patch below to get paths with only one '/' working.
Cheers,
        Thorsten


--- freevoCVS/freevo/src/mediadb/listing.py     2005-07-02 18:46:26.000000000 
+0200
+++ freevosrc/mediadb/listing.py        2005-08-23 23:42:18.671581184 +0200
@@ -186,6 +192,10 @@
             else:
                 dirname = f[:f.rfind('/')]
                 basename = f[f[:-1].rfind('/')+1:]
+            #PFE
+            if len(dirname) == 0:
+                dirname = '/'
+            log.debug('Dirname %s, Basename %s' % (dirname, basename))
             try:
                 if not dirname in self.caches:
                     cache = db.get(dirname)


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to