Giter Site home page Giter Site logo

Comments (1)

Felzow47 avatar Felzow47 commented on August 20, 2024

I'm trying to do it myself but I block I probably managed to change the audio format but I can't compile the extension in zxp or another format so that it works but I I always have this damn html error... which suddenly blocks me and I can't use it and see if I succeeded...

image

but when i add the file the extension won't show up so im blocked

image
i think the page load ? but the app don't start ?

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>snatch</title>
    <script src="./CSInterface.js"></script>
    <script>
      if (window.__adobe_cep__) window.require = require || cep_node.require;
    </script>
  </head>

  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>

now I have to understand how this page works...

im just dumb
image
Snatch is """working""" but stuck at determining best format... i think my format change does't work :'(
and why im dumb ?

i was trying to make the extension work without doing a build i'm just stupid

let's try to get determining working !

New update :
image

determining best format working and snatching working but not format change 😢 still a shity mp3 not a m4a or a wav....
so i still have this import error....

image
error with error this issue is so long 😂

    outputPath() {
      // @NOTE - Could be replaced with dynamic formats, but it might be too taking things a bit too far
      return `${this.outputFolder}/${this.title}.mp${
        this.audioOnly ? "3" : "4"
      }`;
    },
  },
    } else if (this.audioOnly) {
      let audioFormats = ytdl
      .filterFormats(info.formats, "audioonly")
      .filter(
          (format) =>
            format.container == "m4a" &&
            format.hasVideo == false &&
            format.itag !== 141
      )

I think that one of these two part of code which poses a problem and which makes it download in .mp3 and give me a import error

image
always this import error.... but ! the format of the file is changed!!!!! mp1 😂

image
format change is a sucess but one problem... wav file downloaded with snatch won't go in the timeline...

btw i created a fork

format change is not really a sucess a juste rename the file extension..... but that a improvement

YEEEEEEEEEEEEEEES IT WORK !!!!! FINALY after two days of
after two days! I'm a noob in dev...
but I'm glad I made it.

from snatch.

Related Issues (12)

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.