Bug 344938

Summary: File name change to server name instead of the defined name
Product: [Applications] kget Reporter: Ichigo Kurosaki <bleach.zangetsu05>
Component: generalAssignee: KGet authors <kget>
Status: RESOLVED WORKSFORME    
Severity: minor CC: david.narvaez, justin.zobel, rdieter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
URL: https://r10---sn-25ge7ned.googlevideo.com/videoplayback?requiressl=yes&shardbypass=yes&cmbypass=yes&id=409813c55eb1d5d2&itag=18&source=picasa&ip=87.24.56.164&ipbits=0&expire=1428305405&sparams=cmbypass,expire,id,ip,ipbits,itag,mm,ms,mv,pl,requiressl,shardbypass,source&signature=359F0E6E02104F2AAA242905FA878BBDF9BE3E4D.3E64381FC1C7AF44061DDA225D2FE1F059B001E0&key=cms1&cms_redirect=yes&mm=30&ms=nxu&mt=1425729052&mv=u&pl=20
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: First dialog of Kget with the right filename
KGet main window with the wrong filename for the download
The rename operation to get the right filename for the download

Description Ichigo Kurosaki 2015-03-07 12:21:47 UTC
I try to download several videos from the site kissanime.com,
i use konqueror and kget to make it simple and quick, but i 
found an annoying problem, after i set the name of the file 
and where to download, kget use the filename sent by the server
and not the filename i chosen first, in this case "videoplayback"
and not nameoftheanime-episode.mp4. 
In the end i need to go in the transfer settings dialog and rename the file again.

Another problem related on this, is the situation if i put more file in queue,
first kget keep the name i defined while waiting, but when the download
start, it use the server name of the file and leave in the directory an empty
file with the name set by me, and in this case kget cannot permit to rename
the file with the name until you go in the directory and delete the empty file.


Reproducible: Always

Steps to Reproduce:
1. Try to download the link i reported with kget 
2. Set a name of the file
3. After it start you'll find in kget that the file name is "videoplayback"


Expected Results:  
That Kget use the filename that i decided and not the filename sent by the server
and a complete use of the "queue" nature of KGet.

The only workaround is to rename the file with the transfer settings dialog and download
one file at time.
Comment 1 Ichigo Kurosaki 2015-03-07 12:24:02 UTC
Created attachment 91464 [details]
First dialog of Kget with the right filename

In this image you can see that i define a name for the file.
Comment 2 Ichigo Kurosaki 2015-03-07 12:25:31 UTC
Created attachment 91465 [details]
KGet main window with the wrong filename for the download
Comment 3 Ichigo Kurosaki 2015-03-07 12:26:19 UTC
Created attachment 91466 [details]
The rename operation to get the right filename for the download
Comment 4 Ichigo Kurosaki 2015-03-07 12:27:49 UTC
The version of KGet is:
Version 2.14.4
Using KDE Development Platform 4.14.4

From fedora repository of the 21 version.
Comment 5 Ichigo Kurosaki 2015-03-17 12:25:39 UTC
Any news ??
Comment 6 Ichigo Kurosaki 2015-04-09 07:06:04 UTC
One month without an answer, great! 
I'm a fan of KDE but this is really piss me off...
Is there a mantainer for the KGet software ?!?!?!
Is there a mantainer for the bugs here ?!?!?!?!
At least may i have the email of the developers, so i can contact 
them ?
Comment 7 Ichigo Kurosaki 2015-04-20 16:21:12 UTC
Any news?
Comment 8 Lukas Appelhans 2015-04-21 17:45:03 UTC
Sorry, I don't have time to work on KGet currently. You can take a look to fix it yourself though if you are interested! I'd be happy to help you in this case.

Lukas
Comment 9 Ichigo Kurosaki 2015-04-21 22:59:02 UTC
My skills on c++ isn't so good to make this kind of change.
I just take a look on the source and find some possible point 
where to take a look, but have no idea how to change to make it works.

OT: i have also a problem with quanta but here there is no way to 
fill a bug on quanta or kdewebdev, am i wrong?
Comment 10 Ichigo Kurosaki 2015-04-21 23:32:58 UTC
Host: bleach-E15.nb.soulsociety.org 01:27:22 22/04/15 PATH: ~/develop/kget
kurosaki{306}$ cat README 
KGET README

KGet is included in the kdenetwork module.
If you just want to install KGet alone, please read
the instructions below.

* Install kdelibs from trunk.
* svn co -N svn://anonsvn.kde.org/home/kde/trunk/KDE/kdenetwork
* cd kdenetwork
* svn up cmake kget
* mkdir build
* cd build
* cmake -DCMAKE_INSTALL_PREFIX=/path/to/kde4 ..
* make
* make install

With this outdated instruction in the kget repository isn't possibile even to make a 
stand alone version to build/test/change... 

Host: bleach-E15.nb.soulsociety.org 01:32:27 22/04/15 PATH: ~/develop/kget
kurosaki{309}$ svn co -N svn://anonsvn.kde.org/home/kde/trunk/KDE/kdenetwork
svn: E170000: URL 'svn://anonsvn.kde.org/home/kde/trunk/KDE/kdenetwork' doesn't exist

Can you help me ?
Comment 11 Ichigo Kurosaki 2015-04-22 00:50:07 UTC
Ok i find the way to build it standalone so i can try to fix this problem.
Comment 12 Rex Dieter 2015-04-22 00:52:31 UTC
project is referenced here,
https://projects.kde.org/projects/kde/kdenetwork/kget

which includes a link to it's code repository.
Comment 13 David E. Narvaez 2015-04-22 15:37:56 UTC
Ichigo, go to Settings -> Configure KGet -> Plugins and disable the Multisegment KIO then try again.
Comment 14 Ichigo Kurosaki 2015-04-22 15:44:02 UTC
Ohhh yes, it works! So the problem is between kget and the plugin for multidownload.
Thanks David.
Comment 15 Justin Zobel 2020-11-24 02:20:40 UTC
Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I've set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 16 Bug Janitor Service 2020-12-09 04:34:03 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 17 Bug Janitor Service 2020-12-24 04:34:51 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!