2012-11-30, 12:48 AM
Hi does anyone know how
RecordingService.ArchiveRecording()
works exactly?
I'm wanting to be able to move a entire group of recordings (ie all recordings in a folder, like "Stargate") to another recording directory. This directory might contain 10 (or 100 or whatever) recordings.
Can I just call RecordingService.ArchiveRecording() for every item to move, and that will queue them up to be moved?
Also if that is the case, what happens if during the move I request they be moved again?
eg first I move 10 Stargate recordings to "Tv Shows" recording directory
then I decide I want to move them to "SciFI Tv Shows" whilst its moving number 5.
Does it just wait until that move is finish then reprocess the 10 to move again? (or just add the new 10 to the list of moves, so it has 15 moves in the list, 5 of which will be to the old location)
I noticed there is a .CurrentlyArchiving() method which returns true/false which I could use if ArchiveRecording doesnt work that way at all (ie make my own queue and call .CurrentlyArchiving() every few seconds to move to the next item to move).
TIA
RecordingService.ArchiveRecording()
works exactly?
I'm wanting to be able to move a entire group of recordings (ie all recordings in a folder, like "Stargate") to another recording directory. This directory might contain 10 (or 100 or whatever) recordings.
Can I just call RecordingService.ArchiveRecording() for every item to move, and that will queue them up to be moved?
Also if that is the case, what happens if during the move I request they be moved again?
eg first I move 10 Stargate recordings to "Tv Shows" recording directory
then I decide I want to move them to "SciFI Tv Shows" whilst its moving number 5.
Does it just wait until that move is finish then reprocess the 10 to move again? (or just add the new 10 to the list of moves, so it has 15 moves in the list, 5 of which will be to the old location)
I noticed there is a .CurrentlyArchiving() method which returns true/false which I could use if ArchiveRecording doesnt work that way at all (ie make my own queue and call .CurrentlyArchiving() every few seconds to move to the next item to move).
TIA