1 | @@ -608,6 +608,7 @@ class FileOps( BECache ):
|
---|
2 | getRecording() - return a Program object for a recording
|
---|
3 | deleteRecording() - notify the backend to delete a recording
|
---|
4 | forgetRecording() - allow a recording to re-record
|
---|
5 | + stopRecording() - stop a recording without deleting the file
|
---|
6 | deleteFile() - notify the backend to delete a file
|
---|
7 | in a storage group
|
---|
8 | getHash() - return the hash of a file in a storage group
|
---|
9 | @@ -650,6 +651,11 @@ class FileOps( BECache ):
|
---|
10 | self.backendCommand(BACKEND_SEP.join(['FORGET_RECORDING',
|
---|
11 | program.toString()]))
|
---|
12 |
|
---|
13 | + def stopRecording(self, program):
|
---|
14 | + """FileOps.stopRecording(program) -> None"""
|
---|
15 | + self.backendCommand(BACKEND_SEP.join(['STOP_RECORDING',
|
---|
16 | + program.toString()]))
|
---|
17 | +
|
---|
18 | def deleteFile(self, file, sgroup):
|
---|
19 | """FileOps.deleteFile(file, storagegroup) -> retcode"""
|
---|
20 | return self.backendCommand(BACKEND_SEP.join(\
|
---|