1.1 --- a/libgnomevfs2-mythtv/modules/mythtv-method.c Mon Apr 30 18:54:25 2007 +0100
1.2 +++ b/libgnomevfs2-mythtv/modules/mythtv-method.c Thu May 03 16:07:36 2007 +0100
1.3 @@ -108,6 +108,11 @@
1.4 tmp_str1 = gnome_vfs_uri_to_string (uri, GNOME_VFS_URI_HIDE_NONE);
1.5 tmp_str2 = gnome_vfs_unescape_string (tmp_str1, "");
1.6
1.7 + gchar *tmp_str3 = strstr (tmp_str2, ".nuv.avi");
1.8 + if (tmp_str3 != NULL) {
1.9 + tmp_str3[4] = '\0';
1.10 + }
1.11 +
1.12 (*method_handle)->backend_info = gmyth_backend_info_new_with_uri (tmp_str2);
1.13 (*method_handle)->gmyth_uri = gmyth_uri_new_with_value (tmp_str2);
1.14 g_free (tmp_str1);