Enlightenment CVS committal
Author : chaos
Project : e17
Module : apps/evfs
Dir : e17/apps/evfs/src/demo
Modified Files:
evfs_demo.c
Log Message:
Ok, lotsa changes:
* Abstracted out the plugin architecture. Two plugins types now: Filesystem,
and metadata provider
* Added audio tagger metadata provider (based on e_taggerd by CodeWarrior). Be
warned - metadata provider file type is hardcoded to go to this plugin for now
- more later, including libextract)
* A few bug fixes, whatever ended up in this commit cycle
===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/demo/evfs_demo.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- evfs_demo.c 28 Mar 2006 07:42:33 -0000 1.25
+++ evfs_demo.c 21 Apr 2006 15:10:16 -0000 1.26
@@ -38,6 +38,18 @@
ref->file_type);
}
+ } else if (data->type == EVFS_EV_METADATA) {
+ Ecore_List* keys;
+ char* key;
+
+ printf("Received metadata:\n");
+
+ printf("Artist: '%s'\n", ecore_hash_get(data->meta->meta_hash,
"artist"));
+ printf("Title: '%s'\n", ecore_hash_get(data->meta->meta_hash,
"title"));
+ printf("Length: '%s'\n", ecore_hash_get(data->meta->meta_hash,
"length"));
+
+
+
}
/*if (mon_current == 2) {
@@ -131,6 +143,8 @@
evfs_client_dir_list(con, dir_path->files[0]);
} else if (!strcmp(cmd, "STAT")) {
evfs_client_file_stat(con, dir_path->files[0]);
+ } else if (!strcmp(cmd, "META")) {
+ evfs_client_metadata_retrieve(con, dir_path->files[0]);
}
ecore_main_loop_begin();
evfs_disconnect(con);
-------------------------------------------------------
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
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs