Changeset 1908

Show
Ignore:
Timestamp:
22/11/08 11:47:49 (7 weeks ago)
Author:
duncan
svm:headrev:

cc3e1ea1-1e01-0410-8d68-8b121e83a9d5:11190
Message:

[ 2323270 ] umount calls mount
Patch from Henne Vogelsang applied

Location:
freevo
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • freevo/ChangeLog

    r1907 r1908  
    4343 * Fixed record server auto re-encode show title (B#2193796) 
    4444 * Fixed record server generic record module to allow a group_type to be given (B#2017200) 
     45 * Fixed ROM drives mounting instead of umounting a disk, also umounts before an eject (B#2323270) 
    4546 * Fixed RTVE video plug-in for changes to the web page (B#2196882) 
    4647 * Fixed tv recordings_manager crashing when deleting a recording (B#2138835) 
  • freevo/src/plugins/rom_drives.py

    r1885 r1908  
    515515            pop = PopupBox(text=_('Ejecting disc in drive %s') % self.drivename) 
    516516            pop.show() 
     517            if util.is_mounted(self.mountdir): 
     518                self.umount() 
    517519            self.open_tray() 
    518520            pop.destroy() 
  • freevo/src/util/fileops.py

    r1834 r1908  
    429429    global mounted_dirs 
    430430    if os.path.ismount(dir): 
    431         p = subprocess.Popen(['mount', dir], stdout=PIPE, stderr=PIPE) 
     431        p = subprocess.Popen(['umount', dir], stdout=PIPE, stderr=PIPE) 
    432432        rc = p.wait() 
    433433        so, se = p.communicate()