Skip to content

fixes handling of audiofiles. - #57

Open
lethliel wants to merge 1 commit into
voc:masterfrom
lethliel:fix_audio_file_handling
Open

fixes handling of audiofiles.#57
lethliel wants to merge 1 commit into
voc:masterfrom
lethliel:fix_audio_file_handling

Conversation

@lethliel

@lethliel lethliel commented Jun 21, 2023

Copy link
Copy Markdown

Now in the __init__.py of the projects a audiofile can be given to the Rendertask:

For example:

queue.put(Rendertask(
    infile = 'intro.svg',
    audiofile = 'intro.mpg',
    outfile = str(event['id'])+".ts",
    sequence = introFrames,
    parameters = {
        '$ID': event['id'],
        '$TITLE': event['title'],
        '$SUBTITLE': event['subtitle'],
        '$SPEAKER': event['personnames']
         }
    ))

Now in the __init__.py of the projects a audiofile can be given to the Rendertask:

For example:

queue.put(Rendertask(
    infile = 'intro.svg',
    audiofile = 'intro.mpg',
    outfile = str(event['id'])+".ts",
    sequence = introFrames,
    parameters = {
        '$ID': event['id'],
        '$TITLE': event['title'],
        '$SUBTITLE': event['subtitle'],
        '$SPEAKER': event['personnames']
         }
    ))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant