# HG changeset patch # User rosfran # Date 1165033423 0 # Node ID 60033c7d3babe241c109586d517c7b6968d1ad2a # Parent 47b1aba5dc0c5fead855ec01a2f1b3930ccc3bfe [svn r181] Changed the gmyth_backend_info API, in order to use the path field of the URI. diff -r 47b1aba5dc0c -r 60033c7d3bab libgnomevfs2-mythtv/modules/mythtv-method.c --- a/libgnomevfs2-mythtv/modules/mythtv-method.c Sat Dec 02 03:56:04 2006 +0000 +++ b/libgnomevfs2-mythtv/modules/mythtv-method.c Sat Dec 02 04:23:43 2006 +0000 @@ -90,6 +90,8 @@ gnome_vfs_uri_get_host_name (uri), NULL, NULL, NULL, gnome_vfs_uri_get_host_port (uri)); + + gmyth_backend_info_set_path ( backend_info, gnome_vfs_uri_get_path (uri) ); /* Connect to the backend */ myth_handle->file_transfer = gmyth_file_transfer_new (backend_info); @@ -97,7 +99,7 @@ g_return_val_if_fail (myth_handle->file_transfer != NULL, GNOME_VFS_ERROR_NOT_OPEN); /* sets the Playback monitor connection */ - ret = gmyth_file_transfer_open (myth_handle->file_transfer, gnome_vfs_uri_get_path (uri)); + ret = gmyth_file_transfer_open (myth_handle->file_transfer); if (ret == FALSE) { g_warning ("Mythtv FileTransfer open error\n"); return GNOME_VFS_ERROR_NOT_OPEN;