Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maxDuration #105

Open
Drakone opened this issue Jun 7, 2018 · 2 comments
Open

maxDuration #105

Drakone opened this issue Jun 7, 2018 · 2 comments

Comments

@Drakone
Copy link

Drakone commented Jun 7, 2018

Hi, thank you for your work.

I changed the maximum duration but I still have the error : Your Audiogram must be under 300 seconds.

I used Archlinux (Docker).

{
  "default": {
    "width": 1280,
    "height": 720,
    "framesPerSecond": 20,
    "samplesPerFrame": 128,
    "pattern": "wave",
    "waveTop": 150,
    "maxDuration": 600,
    "waveBottom": 420,
    "captionTop": 470,
    "captionFont": "300 52px 'Source Sans Pro'",
    "captionLineHeight": 52,
    "captionLineSpacing": 7,
    "captionLeft": 200,
    "captionRight": 1080
  },
@richpav
Copy link

richpav commented Jun 27, 2018

The problem when using Docker is when you create the image, it doesn't use the local code you edited. Instead it downloads the original code from Git. I don't know much about Docker but this is what you need to change in the Dockerfile:

> # Clone repo
> RUN git clone https://github.com/nypublicradio/audiogram.git
> WORKDIR /home/audiogram/audiogram
> 

@richpav
Copy link

richpav commented Jun 28, 2018

The BBC has forked the project and has been updating it regularly. It looks like the Dockerfile builds the image using local code. https://github.com/BBC-News-Labs/audiogram

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

No branches or pull requests

2 participants