Page 1 of 2

remove the trigger of stream file

Posted: Thu Oct 23, 2014 4:43 am
by enOehTsIsihT
"Play" is the trigger of stream file.
There is some reason for removing the trigger of stream file.
If user click "play",neoloader enable stream file automatically.
1.
When neoloader enable stream file, it can reduce download speed.
2.
User only can preview the first few parts of file.

I think "preview file" and "stream file" have some difference.
Let user have the choice of stream file.

Posted: Tue Nov 11, 2014 3:46 am
by enOehTsIsihT
There is the other feature requests.
1.
If file's first and last piece doesn't be completed ,let play be disabled(gray).

2.
If file is in the shared tab,let user can double click to open file.

Posted: Wed Nov 12, 2014 11:35 am
by DavidXanatos
I will remove the stream option as a switch entirely, instead I will use a request based trigger for chunk selection.
That means, if the user hits play a VLC player will open or whatever player was configured and instead of getting a local path to the temp file (what is a problem as currently in that case completion fails as it cant move the file) it will get a http://localhost:1600/... url to play the file from neo's stream server, here Neo understands the range requests of the player and downloads this parts the player have requested, such that you can even seek through a just started movie file for example.
When the player quits the streaming status will be reset back to normal request behavior.


Sorry for not responding to this request for so long but this feature was in the pipeline for quite some time now and in will be finished in the next beta.

About the first last chunk option this will remain as it is now since we generally can not use streaming in ed2k as it is far to slow.

About graying out play, for torrents that's pointless you can usually start watching the torrent right away no need to wait for first last part. So I will need to look for a more complex indication for graying out the play button.


About opening files thats not so simple as you can connect a neo gui on one machine to a core on an other machine,
so i wil have to implement it such that if the two neos are on different devices double click wil not trigger an open but a http download of said file.

Posted: Thu Nov 13, 2014 6:24 am
by enOehTsIsihT
After playing,Neoloader doesn't enable stream file of download management.
In fact,neoloader still stream file.

Posted: Thu Nov 13, 2014 11:52 am
by DavidXanatos
Yes, sorry for the confusion,
the beta with that is not yet released.

EDIT: Next beta wil also contain open/download file by doubleclick

I would leave the play command enabled even if no first last part is yet available, is that ok?

Posted: Thu Nov 13, 2014 3:25 pm
by DavidXanatos
new beta uploaded

Posted: Fri Nov 14, 2014 8:31 am
by enOehTsIsihT
DavidXanatos wrote:Yes, sorry for the confusion,
the beta with that is not yet released.

EDIT: Next beta wil also contain open/download file by doubleclick

I would leave the play command enabled even if no first last part is yet available, is that ok?

yes,it's ok.
The play command is always enabled,but color can be changed.
Some publishers block file's first and last piece.
When file can be previewed,It help user to know.

--------------------------------------------------------------------
I can't find stream file' option.
Does it be removed?
I think it shouldn't be removed,because some users want the feature.

Posted: Fri Nov 14, 2014 9:32 am
by DavidXanatos
It is removed as its now not needed,
you just play the file and neo starts streaming as soon as the player starts requesting file data.
What for a separated streaming option would be needed?

Posted: Fri Nov 14, 2014 9:54 am
by enOehTsIsihT
DavidXanatos wrote:It is removed as its now not needed,
you just play the file and neo starts streaming as soon as the player starts requesting file data.
What for a separated streaming option would be needed?

After playing,neoloader doesn't stream file now.
Some users need the feature(stream file),but I don't.
Let user have the choice.

Posted: Fri Nov 14, 2014 10:00 am
by DavidXanatos
ok i readded the option in the public release 0.49

Fatal: Not able to open ./cache/data_global.php