* morituri/common/Makefile.am:
* morituri/common/drive.py (added): Add drive module.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2009-05-23 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* morituri/common/Makefile.am:
|
||||
* morituri/common/drive.py (added):
|
||||
Add drive module.
|
||||
|
||||
2009-05-23 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* morituri/program/cdparanoia.py:
|
||||
|
||||
@@ -7,6 +7,7 @@ morituri_PYTHON = \
|
||||
accurip.py \
|
||||
checksum.py \
|
||||
common.py \
|
||||
drive.py \
|
||||
log.py \
|
||||
logcommand.py \
|
||||
renamer.py \
|
||||
|
||||
27
morituri/common/drive.py
Normal file
27
morituri/common/drive.py
Normal file
@@ -0,0 +1,27 @@
|
||||
# -*- Mode: Python; test-case-name: morituri.test.test_common_drive -*-
|
||||
# vi:si:et:sw=4:sts=4:ts=4
|
||||
|
||||
# Morituri - for those about to RIP
|
||||
|
||||
# Copyright (C) 2009 Thomas Vander Stichele
|
||||
|
||||
# This file is part of morituri.
|
||||
#
|
||||
# morituri is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# morituri is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with morituri. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import pycdio
|
||||
import cdio
|
||||
|
||||
def getAllDevicePaths():
|
||||
return cdio.get_devices_with_cap(pycdio.FS_AUDIO, False)
|
||||
Reference in New Issue
Block a user