I had this problem with a server, running a well known operating system,
hosting a number of programme files which would not respond to rdcatch
but worked fine from the command line.
Forensic examination of the audio files and RD logging failed to
determine a root cause. It may have been the filenames or it may have
been the tags or it may have been the mp3 encoding by a proprietary
system used at the network.
running a script fixed it. I use cron rather then macro carts. I use
wget in preference to curl. wget seems to be able to do the transaction
with the server better. If there are gaps in the filename use '%20'
This is run as a cron job with output directed to a log file.
The renaming meets local protocol for audio files.
-------------------------------------------------code-------------------------------------------
#!/bin/bash
dateline=$(date +%h%d-%H)
$dateline
#this uses wget to get a file from the server which rdcatch would not
retrieve
wget -O /home/rd/dropbox/newscheck.mp3
http://xxx.xxx.xxx.xxx/products/NETWORK%203AM%20NEWS.MP3
# note the use of '%20' for spaces rather than '\ '
# once you have the file you can use rdimport either as part of this script
# or separately We use separate in case download this hour fails.
-------------------------------------------------code-------------------------------------------
regards
Robert Jeffares
On 17/06/16 06:06, Rob Landry wrote:
Tell rdcatch to run a macro cart; set up the macro cart to run a shell
script. Since your URL will work in a terminal window, it will
probably work in the shell script.
It's a little bit more complicated than one would like, but it should
work.
Rob
_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
--
*Big Valley Radio*
64 Warner Park Avenue
Laingholm
Auckland 0604
09 8176358
0221693124
06 650 6087
_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev