[svn r282] Added character conversion to the URI got from the GnomeVfsURI structure. trunk
authorrosfran
Fri Jan 19 18:39:37 2007 +0000 (2007-01-19)
branchtrunk
changeset 28108c4bc759e7a
parent 280 e5199e48abec
child 282 dde6d4e8b881
[svn r282] Added character conversion to the URI got from the GnomeVfsURI structure.
libgnomevfs2-mythtv/modules/mythtv-method.c
     1.1 --- a/libgnomevfs2-mythtv/modules/mythtv-method.c	Fri Jan 19 18:38:22 2007 +0000
     1.2 +++ b/libgnomevfs2-mythtv/modules/mythtv-method.c	Fri Jan 19 18:39:37 2007 +0000
     1.3 @@ -97,10 +97,12 @@
     1.4      myth_handle->content_size = -1;
     1.5  
     1.6      /* Creates and fills out the backend info structure */    
     1.7 -	  backend_info = gmyth_backend_info_new_with_uri ( gnome_vfs_uri_to_string( uri, GNOME_VFS_URI_HIDE_NONE ) );
     1.8 +	  backend_info = gmyth_backend_info_new_with_uri ( 
     1.9 +	  			gnome_vfs_unescape_string( gnome_vfs_uri_to_string( uri, GNOME_VFS_URI_HIDE_NONE ), "" ) );
    1.10  	  
    1.11  	  /* creates an instance of  */  
    1.12 -	  gmyth_uri = gmyth_uri_new_with_value( gnome_vfs_uri_to_string( uri, GNOME_VFS_URI_HIDE_NONE ) );
    1.13 +	  gmyth_uri = gmyth_uri_new_with_value( 
    1.14 +	  		gnome_vfs_unescape_string( gnome_vfs_uri_to_string( uri, GNOME_VFS_URI_HIDE_NONE ), "" ) );
    1.15  	  
    1.16  	  /* Connect to the backend */	  
    1.17  	  if ( gmyth_uri != NULL && ( is_livetv = gmyth_uri_is_livetv( gmyth_uri ) ) == TRUE ) {