-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Alternative solution for issue #4787 #5527
Comments
I have been using this python script that I wrote for merging the files that youtube-dl failed to. I'm currently looking into how to integrate it into youtube-dl but since I am not familiar with the code yet it will probably take me some time. If someone else wishes to do so, go ahead. |
Hi, @maleficarium You also need to consider the path name. Thus i'm starting to see some drawbacks in the # 2 solution. You can't really rename the whole path, Also, we should consider the # 3 solution suggested by dstftw. |
@MrS0m30n3 I finaly got some time to work on this. Even using youtube-dl.exe -f bestvideo+bestaudio https://www.youtube.com/watch?v=XXXXX -o "C:/週連続/%(title)s-%(id)s.%(ext)s" will process the files properly and store them in whatever your system interprets C:/週連続/ as (C:/###/ in my case). This is an issue with unicode support in command line and it's the users responsibility to use valid paths when using -o. I will send a pull request for this fix: maleficarium/youtube-dl@21aa58a. |
I will be happy if someone could fix this. |
Why just not to add transliteration option? For instance, Чернобыль will be transliterated to Chernobyl, and almost everyone understands transliteration. This could make people from #8529 #5982 #8641 and many other issues happy. |
@tushevorg how will you transliterate non-cyrillic Unicode? |
@dstftw Japanese language has romaji, Greek language also has its own system. I'm not a python developer, but afaik there are modules for this already, like https://pypi.python.org/pypi/transliterate/1.7.6 |
Unicode is not bound to languages' characters only. |
@dstftw then nothing changes - it simply drops the characters as it does now |
@phihag
Currently the # 1 3a0d2f5 solution provided by @dstftw is not the best in my opinion since it does not completly solves the encoding problems.
On Windows you lose part of the filename which for most users is not ok.
See issues (#5045, #5182, etc..) and on my repository MrS0m30n3/youtube-dl-gui#39
Can we implement the # 2 solution suggested from @dstftw? (#4787)
This way we can completly fix those issues.
You can assign me in this issue if you want.
The text was updated successfully, but these errors were encountered: