Looks promising - I don;t know about USb bus attached drives - so this
is unknown.

I think the following may work but it is a paper exercise so there may
be other changes needed.  Also when testing turn on logging for
plugin.cdplayer - set to DEBUG.

In the file CDhandler.pm file - there is the following code.

Code:
--------------------
    
  sub cdromstatus
  {
        my $cdromdevice = shift;
        my $filehandle;
        my $drivestatus;
        my $diskstatus;
  
  #
  # For non Unix systems - return success.
  #
        if ($osdetected ne 'unix') {    
                return (1,undef,undef);
        }
  
--------------------


Change the OS detection lines by adding a "#" to 2 of the lines.  This
will disable the checking using /dev/cdrom. 

Code:
--------------------
    
  #     if ($osdetected ne 'unix') {    
                return (1,undef,undef);
  #     }
  
--------------------


After changing code - you need to restart SC.


-- 
bpa
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=47288

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to