Re: rygel no plugin found
- From: Andy Leiserson <andy leiserson org>
- To: rygel-list gnome org
- Subject: Re: rygel no plugin found
- Date: Sat, 25 Aug 2012 17:39:10 -0700
I'm a little late to this, but FWIW, I also ran into this problem while
building rygel for OpenWrt. I made the following change to detect
libraries by extension rather than mime type, to avoid having to install
the mime info.
--- a/src/rygel/rygel-plugin-loader.vala
+++ b/src/rygel/rygel-plugin-loader.vala
@@ -126,13 +126,12 @@
foreach (var info in infos) {
var file = dir.get_child (info.get_name ());
FileType file_type = info.get_file_type ();
- string content_type = info.get_content_type ();
- string mime = ContentType.get_mime_type (content_type);
+ string file_name = info.get_name ();
if (file_type == FileType.DIRECTORY) {
// Recurse into directories
this.load_modules_from_dir.begin (file);
- } else if (mime == "application/x-sharedlib") {
+ } else if (file_name.has_suffix (Module.SUFFIX)) {
// Seems like we found a module
this.load_module_from_file (file);
}
On Wed, Jul 04, 2012 at 07:32:55PM +0800, Soho Soho123 wrote:
>Dears,
>
>I un-tar a original tarboll of rygel, and do configure again with new option.
>rygel still get no plugin yet.
>
>I install librygel-gst-launch.so, and librygel-playbin.so in the path
>/usr/lib/rygel-1.0
>I install rygel config file in the path
>/etc
>I install shared-mime-info in the path
>/usr/share/locale
>/usr/share/mime
>
>the plugin can not detect by rygel.
>and the comment that you mentioned:
>"Wherever your copy of glib expects it to be",
>how about the meaning?
>for example :
>in locale folder:
>af/LC_MESSAGES/glib20.mo
>af/LC_MESSAGES/rygel.mo
>af/LC_MESSAGES/shared-mime-info.mo, they should be put together, right?
>
>but
>shared-mime-info do not have /locale/af, it has /locale/ar.
>it is different with glib
>
>do you have any idea about rygel can not find plugin?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]