On Tuesday 14 November 2006 15:07, Andy Kelk wrote:
> Hello,
>
> I'm adding playlist editing support to the Amarok Karma plugin. This is all
> going well except that some of the functions I intend to use from
> playlist.c are not in lkarma.h and hence can't be used by my code. Is this
> by design or omission?

I've tested the playlist creation/editing and have had no problems after 
adding the attached patch to lkarma.h.
Could someone apply it? Hopefully there'll be a libkarma release with it in at 
some point so I can get playlist support going in Amarok :-)

Andy


--- lkarma.h.orig	2006-11-15 12:34:25.000000000 +0700
+++ lkarma.h	2006-11-15 12:33:53.000000000 +0700
@@ -183,6 +183,11 @@
 int          lk_playlist_set_item        (playlist * pl, unsigned int n,
                                           uint32_t fid,
                                           uint32_t fid_generation);
+playlist *   lk_playlist_create          (char * name);
+int          lk_playlist_clear           (playlist * pl);
+int          lk_playlist_append          (playlist * pl, uint32_t fid,
+                                          uint32_t fid_generation);
+int          lk_playlist_write           (playlist * pl, int karma); 
 
 
 /*
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-karma-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-karma-devel

Reply via email to