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

下载视频命名问题 #48

Open
meadlai opened this issue Aug 15, 2021 · 6 comments
Open

下载视频命名问题 #48

meadlai opened this issue Aug 15, 2021 · 6 comments
Assignees
Labels
IDEA 好点纸,我要说说

Comments

@meadlai
Copy link

meadlai commented Aug 15, 2021

在下载教学视频的时候,发现视频命名没有带P1,P2,导致文件排序乱掉了。
譬如:
https://www.bilibili.com/video/BV194411R7oy
本身的排序是 P1-01,P1-02,P1-03

下载下来之后的顺序是下面的命名,可否下载文件名前面带P1,P?
01_how-do-we-get-started-with-calculus.flv
01_how-fast-does-a-ball-move.flv
01_how-fast-does-a-ball-move.flv.aria2
01_morally-what-is-the-limit-of-a-sum.flv
01_what-are-some-real-world-examples-of-functions.flv
01_what-is-a-function.flv
01_what-is-the-limit-of-a-product.flv
01_why-is-calculus-going-to-be-so-much-fun.flv
02_how-is-this-course-structured.flv
02_what-is-the-domain-of-square-root.flv
02_what-is-the-limit-of-a-quotient.flv
02_what-is-the-limit-of-sin-1-x.flv
02_when-are-two-functions-the-same.flv
03_how-can-more-functions-be-made.flv
03_what-is-the-limit-of-sin-x-x.flv
04_what-is-the-limit-of-x-2-1-x-1.flv

@meadlai meadlai added the IDEA 好点纸,我要说说 label Aug 15, 2021
@kengwang
Copy link
Owner

已经收到,可能需要一段时间后再修改

@kengwang kengwang self-assigned this Aug 15, 2021
@meadlai
Copy link
Author

meadlai commented Aug 15, 2021

AV.cs#288行改成下面的就好了。
DownloadObject dobject = new DownloadObject(aid, cid, selectedquality, savedir, name, "p_" +pid +"_"+ name, "av" + aid + "?p=" + pid);

@kengwang
Copy link
Owner

嗯,我之后会在课程哪里专门弄这个序号. 这个地方改了的话所有的视频都有前缀了.

@yeezylife
Copy link

+1. 因为播放软件自动添加文件的顺序,只能按文件名顺序添加;
就算我自己在文件夹内调整成了按照创建时间排序,播放软件里还是乱的(按文件名顺序添加的)
最好只能自己手动一个个改..

@hollowpencil
Copy link

谢谢大佬的软件!终于找到可以下载字幕的。
我是下载普通的列表视频,生成的文件名没有按照1、2、3、这样简单的数字排序,有时候会有点乱。
谢谢大佬!

@kengwang
Copy link
Owner

国庆节将开始重构, 重构之后会修复已知问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IDEA 好点纸,我要说说
Projects
None yet
Development

No branches or pull requests

4 participants