Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread

 

By: Doga Armangil
RE: Code modification [ reply ]  
2007-07-17 15:23
Hi,
Version 3.0.0 introduces the --cachedir option. You can now use this option instead of hacking the podcatcher code.

By: Doga Armangil
RE: Code modification [ reply ]  
2007-01-17 19:42
Hi,
Yes, you can modify the cache directory by changing that line. Do not change it to "@cache_dir = opt.dir", though, because podcatcher would then erase the history file and other important state files when it needs to make place for new content.

My recommendation: let @cache_dir point to a directory that is outside opt.dir (this directory is specified by the --dir option), like so:
@cache_dir = Pathname.new '/path/to/cache'

I hope this helps.


By: Forrest Blank
Code modification [ reply ]  
2007-01-15 23:09
I'm looking to tweek podcatcher. I'm using MythTV and all the podcatchers out there don't do what I want them to do, except podcatcher. My programming skills are limited to BASIC but I think I understand ruby enough to really mess things up. I don't like the destination directory using 'cache'. If I change line 1010 to drop the +"cache" and use the -p switch it should drop them in the destination directory and not the destionation/cache directory, right?