Using RDCatch to download media, the wildcards are expanded with *the 
current values*. So, using date wildcards, you can download the episode 
for December 14th only *on December 14th*. One option is to code the 
*exact name* of the remote file in the RDCatch job, but this is what I 
would call "anti-automation".

As chris cottingham writes, and as far as I know, you'll need to use a 
facility external to Rivendell to do anything else.

   ~David


On 12/17/20 5:50 PM, wa7skg wrote:
> 
> No RSS feed. I tried
> 
> ftp.hostname.com/program/%Y-%m%d/%m%d_program_*.mp3
> 
> but both %d wildcards pull the same day each time. The first one needs
> to keep Monday's date while the second one does Monday through Friday.
> 
> I need to keep this all within rdcatch, no scripts or exotic solutions.
> If it can't be done in rdcatch, then the staff will have to go back to
> manual daily downloads like they were doing prior to Rivendell.
> 
> Michael
> 
> David Klann wrote on 12/17/20 2:32 PM:
>> Hi Michael
>>
>> On 12/17/20 1:02 PM, you wrote:
>>>
>>> Yes, there are more.
>>>
>>> One program I need to download has a troublesome file structure.
>>>
>>> There is a folder for the program, then a folder for each week beginning
>>> on Monday. The weekly folder holds the files for that week. For example:
>>>
>>> ftp.hostname.com/program/2020-1214/1214_program_episode-name.mp3
>>> ftp.hostname.com/program/2020-1214/1215_program_episode-name.mp3
>>> ftp.hostname.com/program/2020-1214/1216_program_episode-name.mp3
>>> ftp.hostname.com/program/2020-1214/1217_program_episode-name.mp3
>>> ftp.hostname.com/program/2020-1214/1218_program_episode-name.mp3
>>>
>>> ftp.hostname.com/program/2020-1221/1221_program_episode-name.mp3
>>> ftp.hostname.com/program/2020-1221/1222_program_episode-name.mp3
>>> ftp.hostname.com/program/2020-1221/1223_program_episode-name.mp3
>>> ftp.hostname.com/program/2020-1221/1224_program_episode-name.mp3
>>> ftp.hostname.com/program/2020-1221/1225_program_episode-name.mp3
>>>
>>
>> This looks to me like:
>>
>> ftp.hostname.com/program/%Y-%m%d/%m%d_program_episode-name.mp3
>>
>> This only works if "program_episode-name" does not change from episode
>> to episode. At this time, Rivendell does not support arbitrary
>> differences in download filenames. Does this program have an RSS feed?
>> If so, I might be able to help with a script I wrote specifically for
>> downloading and ingesting audio from an RSS feed.
>>
>>      ~David Klann
>>
>>> etc.
>>>
>>> I can't figure out how to set up a wildcard to deal with the weekly
>>> folder with Monday's date.
>>>
>>> This is a popular program that quite a few stations carry, so I'm sure
>>> there must be a way to automate it.
>>>
>>> Thanks for any ideas.
>>>
>>> Michael
>>>
>>>
>>> _______________________________________________
>>> Rivendell-dev mailing list
>>> [email protected]
>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>>
>>

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to