ShephedProject / shepherd

Shepherd delivers reliable, high-quality Australian TV guide data (EPG).
Other
20 stars 14 forks source link

custom output directory and filename #34

Open polyboi opened 2 months ago

polyboi commented 2 months ago

Is it possible for the output xml go to a different directory and with a different name? I tried playing with the $output_filename and it worked but shepherd is now reporting that it's tainted and I got a "Use of uninitialized value in string eq at /usr/bin/tv_grab_au line 5176" message. Is there a best practice in how to implement this? Should I just be using a symlink in the location where I want the output to go?

willat8 commented 2 months ago

Try using shepherd --component-set shepherd:output=output.xmltv.

polyboi commented 1 month ago

Thank you. I have set it up a bit differently now and wish to only output to STDOUT. Is there an option for this or will I need to modify the script?

willat8 commented 1 month ago

Not sure if setting the output to /dev/stdout as per the above would work.