[svn r625] workaround for support play on osso player trunk
authorrenatofilho
Wed May 02 18:26:41 2007 +0100 (2007-05-02)
branchtrunk
changeset 619fd06870216b8
parent 618 88001a25ab5a
child 620 bc9827e02466
[svn r625] workaround for support play on osso player
libgnomevfs2-mythtv/modules/mythtv-method.c
     1.1 --- a/libgnomevfs2-mythtv/modules/mythtv-method.c	Wed May 02 16:11:14 2007 +0100
     1.2 +++ b/libgnomevfs2-mythtv/modules/mythtv-method.c	Wed May 02 18:26:41 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);