diff -r 3b459aedfce7 -r 7dfd742a02eb gst-plugins-mythtv/src/gstmythtvsrc.c --- a/gst-plugins-mythtv/src/gstmythtvsrc.c Fri Apr 13 22:41:14 2007 +0100 +++ b/gst-plugins-mythtv/src/gstmythtvsrc.c Tue Apr 17 14:42:18 2007 +0100 @@ -712,12 +712,16 @@ goto init_failed; } + /* Check if the file is local to this specific client renderer */ if ( gmyth_uri_is_local_file(gmyth_uri) ) ret = gmyth_file_local_open( GMYTH_FILE_LOCAL(src->file) ); else ret = gmyth_file_transfer_open( GMYTH_FILE_TRANSFER(src->file), src->spawn_livetv->uri != NULL ? gmyth_uri_get_path(src->spawn_livetv->uri) : src->spawn_livetv->proginfo->pathname->str ); + + /* sets the mythtvsrc "location" property */ + g_object_set (src, "location", gmyth_file_get_uri (src->file), NULL); if ( !ret ) { @@ -727,14 +731,17 @@ goto init_failed; } } else { - + + /* Check if the file is local to this specific client renderer, and tries to open + * a local connection + */ if ( gmyth_uri_is_local_file(gmyth_uri) ) { src->file = GMYTH_FILE(gmyth_file_local_new(src->backend_info)); ret = gmyth_file_local_open ( GMYTH_FILE_LOCAL( src->file ) ); } else { src->file = GMYTH_FILE(gmyth_file_transfer_new(src->backend_info)); - ret = gmyth_file_transfer_open ( GMYTH_FILE_TRANSFER(src->file), src->uri_name); + ret = gmyth_file_transfer_open ( GMYTH_FILE_TRANSFER(src->file), src->uri_name ); } } /* if (else) - recorded FileTransfer */