[mythtv] [PATCH] mythvideo

Leo Weppelman leo at wau.mis.ah.nl
Fri Jun 4 03:44:48 EDT 2004


On Thu, Jun 03, 2004 at 12:01:41PM +0200, Xavier Hervy wrote:
> Xavier Hervy wrote:
> 
> I have modify this patch, because with the cd, we can't access to hard 
> drive.
> I have fix this bug now.
> I remove too the umount option because this don't work, don't know why, 
> probably the cd monitoring feature made this problem.

I tried the patch yesterday night. Browsing works perfect. Just one
minor nit left (sorry no diff, I  am not at home):

from main.ccp:
> +void handleCDDataMedia(void)
> +{
> +    runVideoTree();
> +    int action = gContext->GetNumSetting("VideoCDActionAfterUse",1);
> +    QString mountpoint = 
> +	gContext->GetSetting("VideoCDMountPoint");
> +    switch (action){
> +	case 0 : break;
> +    	case 1: myth_system(QString("umount %1").arg(mountpoint));break;
  -> delete this one
> +    	case 2: myth_system(QString("eject %1").arg(mountpoint));break;
  -> s/2:/1:/

Leo.


More information about the mythtv-dev mailing list