Code Monkey home page Code Monkey logo

youtube-dl-front's People

Contributors

agneevx avatar thebros35 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

youtube-dl-front's Issues

database.json and settings.json missing when mounting /youtube-dl-front/config to host instead of using volume in docker

This gets created fine when using volumes, but defeats the purpose of having static data mounted outside of docker for persistence on container recreation.

Workaround is easy enough to pull the files from git or simply create them, but would be good to have these files generated on container creation if they are missing in case the config dir is mounted instead of using volumes.

Not sure if this would be better for the front end application to create these, but it would probably be easier to have a check within run.sh and if the files aren't there, have it create them.

Error: Cannot find module '../config/settings.json'

Require stack:

- /youtube-dl-front/server/app.js

    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:925:15)

    at Function.Module._load (node:internal/modules/cjs/loader:769:27)

    at Module.require (node:internal/modules/cjs/loader:997:19)

    at require (node:internal/modules/cjs/helpers:92:18)

    at Object.<anonymous> (/youtube-dl-front/server/app.js:1:18)

    at Module._compile (node:internal/modules/cjs/loader:1108:14)

    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)

    at Module.load (node:internal/modules/cjs/loader:973:32)

    at Function.Module._load (node:internal/modules/cjs/loader:813:14)

    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12) {

  code: 'MODULE_NOT_FOUND',

  requireStack: [ '/youtube-dl-front/server/app.js' ]```

Docker image uses very old version of youtube-dl binary

Looks like this is being pulled directly from the alpine repo via APT.
`ENV APK_ADD="git bash youtube-dl ffmpeg"

bash-5.0# youtube-dl --version 2019.11.28

This should probably have a script on container startup to pull the latest binary directly from youtube-dl instead of adding it through ENV APK_ADD in the dockerfile.

No Docker Image

There is no docker image built for this. I will work off of the current codebase and try to create one. If I haven't posted back in a few days consider that I failed :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.