# HG changeset patch # User renatofilho # Date 1178126801 -3600 # Node ID fd06870216b8d25dfaf9cd26a68385da7e063bd5 # Parent 88001a25ab5a58143591edb2019ba6085ec02d74 [svn r625] workaround for support play on osso player diff -r 88001a25ab5a -r fd06870216b8 libgnomevfs2-mythtv/modules/mythtv-method.c --- a/libgnomevfs2-mythtv/modules/mythtv-method.c Wed May 02 16:11:14 2007 +0100 +++ b/libgnomevfs2-mythtv/modules/mythtv-method.c Wed May 02 18:26:41 2007 +0100 @@ -108,6 +108,11 @@ tmp_str1 = gnome_vfs_uri_to_string (uri, GNOME_VFS_URI_HIDE_NONE); tmp_str2 = gnome_vfs_unescape_string (tmp_str1, ""); + gchar *tmp_str3 = strstr (tmp_str2, ".nuv.avi"); + if (tmp_str3 != NULL) { + tmp_str3[4] = '\0'; + } + (*method_handle)->backend_info = gmyth_backend_info_new_with_uri (tmp_str2); (*method_handle)->gmyth_uri = gmyth_uri_new_with_value (tmp_str2); g_free (tmp_str1);