2006-09-06: EV dixit:
> Lkarmafs-0.1.9 is not ready yet.  May be along the weekend...

It is almost there.  I hope to post it this evening.

Meanwhile, I've found and fixed a minor error in the error
returns of lk_is_karma_mountpoint() and, as agreeded some time
ago, I've changed in libkarma the MODE_PROPERTY (needed for
lkarmafs chmod) from 'play_count_limit' to 'bpm'.

Please find the HG patch attached.

Best,
EV.
# HG changeset patch
# User [EMAIL PROTECTED]
# Node ID 7d1e0167531b792500acb8be1b002ea308727beb
# Parent  57c7b2660ee7b4c35924ba12594431f17c315cef
Changed MODE_PROPERTY to 'bpm'; Fixed err return in is_karma_mountpoint

diff -r 57c7b2660ee7 -r 7d1e0167531b ChangeLog
--- a/ChangeLog Wed Sep  6 05:38:24 2006
+++ b/ChangeLog Sun Sep 10 13:37:20 2006
@@ -1,11 +1,13 @@
 0.0.6:
+       * Changed MODE_PROPERTY from 'play_count_limit' to 'bpm'
        * Fixed bad length & duration yield by lk_rio_update_props_from_tags()
        * Added lk_rio_update_props_from_tags() to get correct rids in lkarmafs
+       * Added support for calculating rids correctly in lkarmafs
        * Changed sorting tracks by artist to match "Rescan music" functionality
        * Changed device settings: don't use properties not held in smalldb
-        * Re-implemented fdb support and made it functional
-        * Fixed rio_rw error handling and several other bugs
-        * Added lk_rio_update_props_from_tags() to help lkarmafs file upload
+       * Re-implemented fdb support and made it functional
+       * Fixed rio_rw error handling and several other bugs
+       * Added lk_rio_update_props_from_tags() to help lkarmafs file upload
        * Get file type from its contents rather than the suffix.
        * Use the rid property to (optionally) avoid multiple uploaded copies
 0.0.5:
diff -r 57c7b2660ee7 -r 7d1e0167531b src/lkarma.h
--- a/src/lkarma.h      Wed Sep  6 05:38:24 2006
+++ b/src/lkarma.h      Sun Sep 10 13:37:20 2006
@@ -188,7 +188,8 @@
 /*
  * rio_rw
  */
-#define MODE_PROPERTY "play_count_limit"  /* for taxi files chmod in lkarmafs 
*/
+/* #define MODE_PROPERTY "play_count_limit" */
+#define    MODE_PROPERTY "bpm"            /* for taxi files chmod in lkarmafs 
*/
 
 int lk_rio_read_playlist(int rio, uint32_t fid, const char * filename);
 int lk_rio_read(int rio, uint32_t fid, const char * filename);
diff -r 57c7b2660ee7 -r 7d1e0167531b src/util.c
--- a/src/util.c        Wed Sep  6 05:38:24 2006
+++ b/src/util.c        Sun Sep 10 13:37:20 2006
@@ -215,7 +215,7 @@
     len = strlen(mountpoint);
     str = malloc(len+strlen(RK_SMALLDB)+1);
     if (!str)
-        return 1;
+        return -1;
     memcpy(str, mountpoint, len);
     memcpy(str+len, RK_SMALLDB, strlen(RK_SMALLDB)+1);
     ret = stat(str, &st);
@@ -231,6 +231,6 @@
   err:
     if (str)
         free(str);
-    return 1;
-}
-
+    return -1;
+}
+
-------------------------------------------------------------------------
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
_______________________________________________
linux-karma-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-karma-devel

Reply via email to