tracker r2441 - in trunk: . src/tracker-extract
- From: mottela svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2441 - in trunk: . src/tracker-extract
- Date: Mon, 3 Nov 2008 19:17:57 +0000 (UTC)
Author: mottela
Date: Mon Nov 3 19:17:57 2008
New Revision: 2441
URL: http://svn.gnome.org/viewvc/tracker?rev=2441&view=rev
Log:
Added a default value for Video:PlayCount
Modified:
trunk/ChangeLog
trunk/src/tracker-extract/tracker-extract-gstreamer.c
Modified: trunk/src/tracker-extract/tracker-extract-gstreamer.c
==============================================================================
--- trunk/src/tracker-extract/tracker-extract-gstreamer.c (original)
+++ trunk/src/tracker-extract/tracker-extract-gstreamer.c Mon Nov 3 19:17:57 2008
@@ -894,6 +894,7 @@
if (!g_hash_table_lookup (metadata, "Audio:Genre")) {
g_hash_table_insert (metadata, g_strdup ("Audio:Genre"), g_strdup ("tracker:unknown"));
}
+
if (!g_hash_table_lookup (metadata, "Audio:PlayCount")) {
g_hash_table_insert (metadata, g_strdup ("Audio:PlayCount"), g_strdup ("0"));
}
@@ -905,6 +906,10 @@
if (!g_hash_table_lookup (metadata, "Video:Author")) {
g_hash_table_insert (metadata, g_strdup ("Video:Author"), g_strdup ("tracker:unknown"));
}
+
+ if (!g_hash_table_lookup (metadata, "Video:PlayCount")) {
+ g_hash_table_insert (metadata, g_strdup ("Video:PlayCount"), g_strdup ("0"));
+ }
}
/* Also clean up */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]