DABDig Forums register | my profile | my bookmarks | my notifications | search | faqs |
|
Note: You must be registered in order to post a topic or reply.
To register, click here. Registration is FREE!
Post reply to topic: Redirect Recordings to different dirs?
Does anyone know if it's possible (or even easy) to direct recordings to a directory depending on it's category (in DigiGuide)? i.e. send all Films to c:\Movies\ OK - good. I made an official release - 253b17. When you run it first time you will see a few warnings about having unexpected settings in your dabdig.ini Don't worry about it. I always remove some of the experimental things when I make an official release. The messages will only come up once and do not effect your stuff. DABDig creator Tried latest build (b16) with both WinTVCap & WinTVPVR, and they're both working as expected! That's it by the look of it! Thanks! New field ... CategoryKeep Put in there a comma-delimited list of categories that you do want to have in their own folder - others will go to whatever you have in DefaultCategory e.g. CategoryKeep=Film,Sport DABDig creator That's brilliant Paul, thanks! By all means, shelve it for a while, because I initially was asking this as a query, not expecting such a swift positive response, thanks again! And yes, that sounds like an even better idea. If I understand you correctly, you're thinking of specifying the (possible) path for each Category (FILM=\Films, DRAMA=\Dramas) then everything else not specified would drop into the default? Nice one! I guess I could put in a mapping for Categories so that you could send different categories to specific locations and send unmapped categories to a default location. However, I think that you will have to do without it for now as I want to freeze this code and make an official release and then get back to putting some stuff in for time overlaps. If I can see an easy way to do it this weekend then you'll get it. DABDig creator Yes, that works nicely, for both WinTVCap & WinTVPVR. Tested it loads of times & behaves as expected. For your reference, if I turn off "OutputTargetCreate" WinTVPVR will run okay & still create the directory, but WinTVCap will bomb out. While doing a load of tests, I notice that I'm left with loads of different directories with the relevant recordings in them, like SOAP, SPORT, SCI FI, DRAMA etc. I know you said it'd be a much more difficult thing to code for, but would this make sense? Having a section of all the default DigiGuide Categories & making each of them choosable by turning on/off which ones that are to be redirected to another directory (i.e. FILM)...just a thought! Fergus. DABDig creator Yep, they do arrive in the directory, but ONLY if it exists already. Plane delayed ... and airport has free wireless access ... so just modified the code so that it can create the output directory (at least ... assuming that the parent directory already exists). To use this facility you will have to make some changes to your dabdig.ini I had to change the way that OutputTarget works. What you would do is this: OutputTarget=c:\recordings\$CT OutputTargetCreate=1 WinTVPVRCmdP2=$OT\ WinTVCapCmdP2=$OT\ Don't try it without the new code though - and I can't send you that until I get home late tonight. DABDig creator Edited by Paul Webster on Wednesday, February 23, 2005 - 5:38:01 PM With WinTVCap ... do they arrive there OK if the directory already exists? DABDig creator I'd installed it but it didn't pick up the new marker for some reason. Removed the old marker(s) in the dir & then it picked up the new one okay, and the new setup works grand now. Films now go into the \Film dir etc, but only with WinTV2k.exe not while using WinTVcap.exeFerguds Paul Webster
Paul WebsterFerguds Paul Webster
Paul WebsterFerguds Paul Webster
Paul WebsterFerguds Ferguds
With WinTVCap ... do they arrive there OK if the directory already exists?
Paul WebsterPaul Webster
Paul WebsterPaul Webster
Paul WebsterFerguds