Different languages subs are downloaded with the same name
Bug #1076336 reported by
Shoham Peller
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SubDownloader |
Triaged
|
Low
|
Shoham Peller |
Bug Description
SubDownloader 2.0.14
When the user downloads a couple of subtitles files for the same video, because they are in different languages or for any other reason, subDownlaoder downloads them with the same name, hence failing and asking user to replace the previously downloaded file, or to pick a new name for the new file.
This can easily be fixed by writing some file-name-
Possible solutions are to name files:
<video-
or:
<video-
Changed in subdownloader: | |
status: | New → Triaged |
Changed in subdownloader: | |
assignee: | nobody → Shoham Peller (shoham-peller) |
importance: | Undecided → Wishlist |
importance: | Wishlist → Low |
To post a comment you must log in.
Well , digging through the code a bit, I've seen that the program's settings allow to add the language or the uploader to the filename. That solves it. Could have been smarter to check the settings before :\
I still think it can be done better, by never overwriting, but to append a counter to the filename in case the file exists. That's what the video player BSPlayer does. I'll make the neccessary changes in my branch: /code.launchpad .net/~shoham- peller/ subdownloader/ filename- gererator
https:/