Comments (6)
You can do this by replacing youtube-dl with yt-dlp in requirements.txt and replace all instances of youtube_dl with yt_dlp in app.py before building from source
They are interchangeable
from youtube-dl-server.
You can do this by replacing youtube-dl with yt-dlp in requirements.txt and replace all instances of youtube_dl with yt_dlp in app.py before building from source They are interchangeable
It's not that easy... I'm currently working on converting it to yt-dlp myself. but it's requiring some debugging as variables were renamed.
from youtube-dl-server.
It is that easy. What issues are you running into? Every bug report helps. I've been using this config since at least September, i'll be posting my changes here in a little while to my fork seeing as OP is redoing this project in a completely different language, check back in a day if you want and it should be up to date with my changes
from youtube-dl-server.
I may have just fixed a bug unrelated to my work so excuse my response.
While the flag can exist, the "album" metadata tag is being assumed it exists and this is causing the filenames to fallback to the "default plain file name."
If you look at https://github.com/katznboyz1/youtube-dl-server/blob/master/app.py#L1058, you see a try / catch for collecting the meta data. While this may work for music, it doesn't work for normal videos / channels. I needed to change this line, funny enough, from "album" to "playlist" in order for the file names to work.
I also found that https://github.com/katznboyz1/youtube-dl-server/blob/master/app.py#L1117 caused the merging of the files to never complete because the "default" video format doesn't support AAC. If you remove -c:a aac
completely, ffmpeg is able to complete. Without, it RC 1's after failing. Error given in logs stated Only VP8 or VP9 or AV1 video and Vorbis or Opus audio and WebVTT subtitles are supported for WebM.
I was attempting to download https://www.youtube.com/watch?v=H1dIGNSV9Ho / using this channel as my subscription test.
from youtube-dl-server.
Ah gotcha. Just a bug with implementation, those would be outside the conversion to yt-dlp. I'll test those changes and add them to my repo. thanks for the info.
from youtube-dl-server.
Ah gotcha. Just a bug with implementation, those would be outside the conversion to yt-dlp. I'll test those changes and add them to my repo. thanks for the info.
Np. I'm updating this project for myself to add a few things anyways
from youtube-dl-server.
Related Issues (17)
- [INFO] Missing application dependencies HOT 1
- [BUG] Gunicorn install issue HOT 5
- [Feature] Add an API
- [BUG] Make startup.sh executable
- [Improvement] Improve subscription-daemon.py by adding a flag to youtube-dl object
- [Feature] Trigger subscription-download via GUI
- [Bug] 4 gunicorn processes in Docker setup pick up the same job
- [Bug] exec: "./startup.sh": permission denied: unknown. HOT 2
- [Feature] Default download folder & adding new folders manual/back-end only HOT 2
- [Feature] Failure log / info stored per failed download and accessible from web HOT 3
- [Feature] Clear History HOT 2
- [BUG] Mobile site menu item hides behind Title HOT 1
- [BUG] Sites other than YouTube not supported albeit supported by YouTube-dl HOT 3
- [Feature] Pass youtube-dl commands HOT 4
- [Feature] SQL User Authentication HOT 6
- [Feature]Manually edit metadata HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from youtube-dl-server.