[rygel/wip/739692: 5/7] server, media-export: Make function name more clear
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/wip/739692: 5/7] server, media-export: Make function name more clear
- Date: Tue, 11 Nov 2014 21:25:35 +0000 (UTC)
commit d3357844ad306778e9a0068bdbe2af2a15fb6703
Author: Jens Georg <mail jensge org>
Date: Tue Nov 11 10:50:57 2014 +0100
server,media-export: Make function name more clear
Rename search_media_art_for_file to add_external to make clear we are
adding art to the store from an external source.
Signed-off-by: Jens Georg <mail jensge org>
src/librygel-server/rygel-media-art-store.vala | 2 +-
.../rygel-media-export-item-factory.vala | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/librygel-server/rygel-media-art-store.vala b/src/librygel-server/rygel-media-art-store.vala
index b469881..a5b1b7f 100644
--- a/src/librygel-server/rygel-media-art-store.vala
+++ b/src/librygel-server/rygel-media-art-store.vala
@@ -115,7 +115,7 @@ public class Rygel.MediaArtStore : GLib.Object {
}
}
- public void search_media_art_for_file (MediaItem item, File file) {
+ public void add_external (MediaItem item, File file) {
if (this.media_art_process == null) {
return;
}
diff --git a/src/plugins/media-export/rygel-media-export-item-factory.vala
b/src/plugins/media-export/rygel-media-export-item-factory.vala
index d6df025..3171493 100644
--- a/src/plugins/media-export/rygel-media-export-item-factory.vala
+++ b/src/plugins/media-export/rygel-media-export-item-factory.vala
@@ -293,7 +293,7 @@ namespace Rygel.MediaExport.ItemFactory {
// Nothing embedded. Do some media art guessing using files located
// next to our media file.
if (sample == null) {
- store.search_media_art_for_file (item, file);
+ store.add_external (item, file);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]