[Hpr] progress being made on python hpr lib

Mike Dupont jamesmikedupont at googlemail.com
Wed Nov 6 16:26:09 PST 2013

I am a long time perl programmer but am doing python at work so I also
do python scripts on my free time to keep up to shape.
Of course the tags names should be cleaned up and made more canonical
with upper case and underscores.

On Wed, Nov 6, 2013 at 8:49 AM, Dave Morriss <dave.morriss at gmail.com> wrote:
> 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

James Michael DuPont
Member of Free Libre Open Source Software Kosova http://flossk.org
Saving wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com
Contributor FOSM, the CC-BY-SA map of the world http://fosm.org
Mozilla Rep https://reps.mozilla.org/u/h4ck3rm1k3
Free Software Foundation Europe Fellow http://fsfe.org/support/?h4ck3rm1k3

More information about the Hpr mailing list