GithubHelp home page GithubHelp logo

Comments (2)

Enderlais avatar Enderlais commented on August 15, 2024 1

it worked, thank you

from advanced-youtube-client-ayc.

adithya-s-sekhar avatar adithya-s-sekhar commented on August 15, 2024

Filenames are hardcoded and complicated at the moment, it's on my todo list.

For now, you need to add %%(playlist_index)s to the front of the filename in resources\scripts\downloader\youtube.bat (assuming it's for youtube), at line 273.

Like this:

Now it looks like this

if %format_chosen% == h264 %youtube_dl% %default_config% %conf% %aria2% %subs% %thumbs% -P home:"%loc%" -o "%%(title).177s-MP4-%%(height).4sp-%%(id).12s.%%(ext)s" %custom_config_youtube% %cookies% "%url%" && set youtube_download_status=1 & goto :EOF

Change it to

if %format_chosen% == h264 %youtube_dl% %default_config% %conf% %aria2% %subs% %thumbs% -P home:"%loc%" -o "%%(playlist_index)s %%(title).177s-MP4-%%(height).4sp-%%(id).12s.%%(ext)s" %custom_config_youtube% %cookies% "%url%" && set youtube_download_status=1 & goto :EOF

This will download all files as 1 xxx.mp4, 2 xxx.mp4...12 xxx.mp4. You can add a '-' between %%(playlist_index)s and %%(title)s if you want hyphens between them.

Also note line 273 is for h264 videos only. VP9 is line 274, AV1 is line 275, M4A is 276 and so on.

If you have any doubts feel free to ask.

from advanced-youtube-client-ayc.

Related Issues (7)

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.