[svn r181] Changed the gmyth_backend_info API, in order to use the path field of the URI. trunk
authorrosfran
Sat Dec 02 04:23:43 2006 +0000 (2006-12-02)
branchtrunk
changeset 18060033c7d3bab
parent 179 47b1aba5dc0c
child 181 d9628018e9f7
[svn r181] Changed the gmyth_backend_info API, in order to use the path field of the URI.
libgnomevfs2-mythtv/modules/mythtv-method.c
     1.1 --- a/libgnomevfs2-mythtv/modules/mythtv-method.c	Sat Dec 02 03:56:04 2006 +0000
     1.2 +++ b/libgnomevfs2-mythtv/modules/mythtv-method.c	Sat Dec 02 04:23:43 2006 +0000
     1.3 @@ -90,6 +90,8 @@
     1.4          gnome_vfs_uri_get_host_name (uri),
     1.5  	    NULL, NULL, NULL,
     1.6  	    gnome_vfs_uri_get_host_port (uri));
     1.7 +	    
     1.8 +	  gmyth_backend_info_set_path ( backend_info, gnome_vfs_uri_get_path (uri) );
     1.9  
    1.10      /* Connect to the backend */
    1.11      myth_handle->file_transfer = gmyth_file_transfer_new (backend_info);
    1.12 @@ -97,7 +99,7 @@
    1.13      g_return_val_if_fail (myth_handle->file_transfer != NULL, GNOME_VFS_ERROR_NOT_OPEN);
    1.14  
    1.15      /* sets the Playback monitor connection */
    1.16 -    ret = gmyth_file_transfer_open (myth_handle->file_transfer, gnome_vfs_uri_get_path (uri));
    1.17 +    ret = gmyth_file_transfer_open (myth_handle->file_transfer);
    1.18      if (ret == FALSE) {
    1.19          g_warning ("Mythtv FileTransfer open error\n");
    1.20          return GNOME_VFS_ERROR_NOT_OPEN;