After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 666363 - Path issues of additional folders you want to serve
Path issues of additional folders you want to serve
Status: RESOLVED FIXED
Product: rygel
Classification: Applications
Component: MediaExport plugin
0.12.x
Other Linux
: Normal normal
: ---
Assigned To: Jens Georg
Zeeshan Ali
Depends on:
Blocks:
 
 
Reported: 2011-12-16 13:34 UTC by Age Bosma (IRC: Forage)
Modified: 2012-01-19 18:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
doc: Clarify uris option of MediaExport (1.86 KB, patch)
2012-01-19 17:57 UTC, Jens Georg
committed Details | Review

Description Age Bosma (IRC: Forage) 2011-12-16 13:34:36 UTC
When providing additional paths to folders you want to index, only one style works.

What's not working does give you the following message because of the @VIDEOS@ as one of the URIs.:
"MediaExport-Message: 'file:///home/forage/Videos' harvested"

Though the additional folder will not be served.

Where Rygel is failing, the message above will not be displayed, nor does the "debug" log level give you more, and Rygel is not accessible at all.

*Working*
uris=@VIDEOS@;/home/forage/Downloads/Movie Folder/

*Not Working*
uris=@VIDEOS@;"/home/forage/Downloads/Movie Folder/"
uris=@VIDEOS@;'/home/forage/Downloads/Movie Folder/'

*Failing*
uris=@VIDEOS@;'/home/forage/Downloads/Movie\ Folder/'
uris=@VIDEOS@;"/home/forage/Downloads/Movie\ Folder/"
uris=@VIDEOS@;/home/forage/Downloads/Movie\ Folder/
Comment 1 Jens Georg 2011-12-16 20:27:42 UTC
(In reply to comment #0)

> *Not Working*
> uris=@VIDEOS@;"/home/forage/Downloads/Movie Folder/"
> uris=@VIDEOS@;'/home/forage/Downloads/Movie Folder/'

In this case g_file_new_for_commandline_arg takes the whole string as the name for a file in the current directory which of course fails.

> *Failing*
> uris=@VIDEOS@;/home/forage/Downloads/Movie\ Folder/
> uris=@VIDEOS@;'/home/forage/Downloads/Movie\ Folder/'
> uris=@VIDEOS@;"/home/forage/Downloads/Movie\ Folder/"

In this case GKeyFile has issues getting the value for that key.

There's nothing we can do about that apart from documenting it, I suppose.
Comment 2 Jens Georg 2012-01-19 17:57:53 UTC
Created attachment 205646 [details] [review]
doc: Clarify uris option of MediaExport
Comment 3 Zeeshan Ali 2012-01-19 18:07:11 UTC
Review of attachment 205646 [details] [review]:

ACK!
Comment 4 Jens Georg 2012-01-19 18:48:05 UTC
Attachment 205646 [details] pushed as 8a84291 - doc: Clarify uris option of MediaExport