[Hpr] progress being made on python hpr lib

Dave Morriss dave.morriss at gmail.com
Wed Nov 6 06:49:15 PST 2013


On 06/11/13 13:07, Mike Dupont wrote:
> Hi there,
> just wanted to let fellow hackers know about the python lib I am working on.
> basic idea is to include all show data in the flac metadata file,
> using also custom fields and then to combine that with a template to
> produce html show notes. The intro and outtro are also added to the
> file. So in the end, all you need to do is produce one flac file and
> process it. basic ftp upload is working, I am using a temp dir on the
> ftp server for testing.
> 
> example of  basic code working
> https://github.com/h4ck3rm1k3/hacker-public-radio-publisher/blob/master/example.py
> 
> still need to populate the templates
> https://github.com/h4ck3rm1k3/hacker-public-radio-publisher/blob/master/templates/shownotes.tpl
> 
> here is an example audcity tag file :
> https://github.com/h4ck3rm1k3/hacker-public-radio-publisher/blob/master/Tags.xml
> 
> the tags are read and available in the template tool  by this function :
> https://github.com/h4ck3rm1k3/hacker-public-radio-publisher/blob/master/hacker_public_radio.py#L160
> 
> more to come,
> 
> mike

This looks brilliant!

I had written myself some notes about how to organise and upload a show
and was planning some Perl scripts to automate aspects of the process.
Your design far surpasses my plans - plus it's already well under way :-)

Dave





More information about the Hpr mailing list