Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 12 months ago.
Improve this question
There are some mp4 files (and a few flv ones) on a server that I want to stream (using VLC) while also saving a copy of to my hard drive simultaneously. So I start to download the file using chrome to a known location, creating a video.mp4.crdownload file there. I then use VLC to start playing the partially downloaded file. What used to happen is that the file would continue downloading while I watched it, then when the download got to the end the little Chrome download widget would say "Download failure, system busy" or something to that effect. But! The full file had been downloaded to my hard drive, it just remained an .mp4.crdownload file that I would then manually change to an .mp4 file later. And meanwhile, I could go on watching the crdownload file to completion in VLC.
When I tried to employ the same process more recently, it does not work. If the file gets fully downloaded and is being played by VLC as the download finished, Chrome does not indicate a download failure. Rather, it erases the completed crdownload file, and starts downloading it again from the beginning. So not only do I end up downloading the file twice (exactly what I was trying to avoid), but the VLC playback stops automatically when the download restarts, because the .crdownload file VLC was playing is overwritten by the new download attempt.
What changed? And is there any way to get the old behaviour back? (If there are any other suggestions for simultaneously pseudo-streaming and downloading in one go, that is fine too, just note that it would need to be in a program like VLC that allows playback at different speeds of both flv and mp4 files. And I also am intellectually curious about what changed, not just a solution to my situation.)
As a workaround, you can set the file being downloaded to read-only; the download will still reach its end but Chrome will then be unable to delete and restart the download (insufficient permissions), hence preventing the download restart loop.
As mentioned here, https://productforums.google.com/forum/#!topic/chrome/n8JqBz5Q2_I ,
go to Chrome://flags and disable Download resumption option.
the only work around is after the download starts, right click on the crdownload file and make it read only. Once it hit 100. Chrome will say it failed instead of restarting meaning you can still stream will downloading with out worries it will restart at 100. Sucks but it works
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
Suppose the cache files have been deleted by pressing shift+ctrl+delete on chrome. the files starting with f_* are removed and the data_* files data_0, data_1... are reduced. So we can not use chrome cache viewer because the files are away. I tried with commercial and free undelete softwares (easeus, recuva, puran, activeundelete) they find the deleted f_ and data_ files but when i recover them and use with nirsoft google chrome cace viewer, i see corrupted results. I need both the urls and the files in the cache before delete operation. Is there any other way? DNS cache is not an option, computer has been reset. google my activity will not help because it only contains the visited urls (history), but the external urls visitied by the first url.
#benchpresser : -"yes you still have an opportunity get your cache files back. i did this before"(As you said chance of getting the files currupted is more but still if you use power data recocvery its the best option to find files with small size..dont use easeUS in this case then..and still you having the chance of getting the uincode of files you lost you can have a try in that way too.)
Requirements
1.Data recovery tool (Power-data recovery, EaseUS Data Recovery etc)
2.OS:- Windows
Step 1. Select the disk storage location where you want to recover from Google Chrome cache files and click "Scan".
Step 2.Data Recovery will start a scan first. After the scan completes, a deep scan will automatically launch in order to find more files.
Step 3. Choose the file(s) you want to recover by file types from the scanning results. Click "Recover" button to recover the selected files. Here you should save all the recovered files on a different drive or memory card in case of data recovery failure.
i hope this will help
You can't restore cleared cache, history or cookies if DNS cache has been cleared. Unfortunately, I believe you are out of luck.
Is there any way to monitor the loading of the crossdomain.xml file?
I'd like report the load times of this file, since it seems to be intermittently taking longer than expected. There doesn't seem to be an event from URLLoader and Security.loadPolicyFile() doesn't allow any event listeners.
How can I get the load time for a crossdomain.xml file without requiring additional loads of the file?
When I ran into issues with crossdomain.xml, I read some basic stuff about what it was and how you can work with it. This is a "heavily simplified/not entirely true version of it" but it might serve as a guideline.
Crossdomain.xml-loading is owned by 'browser/flash initialization' and tells browser if 'any code' should be allowed to execute or not. Hence you can't really measure it since it's loaded prior to your code and in another environment.
There might be some way of finding it, it might have changed since I last tried to do that several years ago... but...
You can always measure it in another way, last app I used to troubleshoot issues in this area was Charles Web Debugging Proxy.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I'm currently working on making an Icecast2 server with multiple users. At some points, I will have to reload the configuration file, but I don't want to disrupt any currently ongoing streams. Is this possible?
Use that command:
/etc/init.d/icecast2 reload
This will not disrupt any currently ongoing streams.
But, in my experience, not all configuration changes will be applied, using that command. For example, I could succesfully update the <mount></mount> list (add new mount points), but in order to update some other settings, like <burst-size> I needed to restart the Icecast server completely using:
/etc/init.d/icecast2 restart
Icecast will reload its configuration on SIGHUP on all Unix/Linux systems. (For Windows reloading it will be possible starting with 2.5 through web interface)
Please note, that you should ensure that the configuration file is valid.
You might also want to have a look at URL authentication and default mountpoints in version 2.4.1
http://icecast.org/docs/icecast-2.4.1/auth.html#url
It allows you to offload many aspects to a back end system.
I know this is old but I've just discovered something that is a bit flawed with regards to reload config files...
/etc/init.d/icecast2 reload
...will indeed reload your config file without breaking the audio stream, and it will also update the mount points, but what it doesn't do is cut off anybody that was connected to a previously existing mount point still using an old password.
I have a situation where I'm generating a different icecast config file for each live dj.
/live is the mount point in the the config and this never changes, but the password does every time I reload the config file.
If a previous dj is connected using password1 on /live and then the new config is loaded changing the password of /live to password2, it won't automatically disconnect the previous dj still using password1.
The only way to do it is by...
/etc/init.d/icecast2 restart
... which as I'm sure you're all aware is horrible as it introduces a 1 -2 second break in the audio stream while it restarts.
I know this is an old thread, but the command "/etc/init.d/icecast2 restart" did not produce a break in the audio for me using icecast 2.4.4. Perhaps this was an improvement made since last year when this discussion was happening. Also, my server has a very light load (only me listening at the moment) so I'm sure your mileage may vary if you have to restart a heavily loaded server.
I have numerous programs that launch the current web browser on constructed HTML files, and it needs to open in a new window. Many places in the registry reference chrome.exe. There are so many it's hit or miss editing each to have "--new-window". I renamed chrome.exe to chrome_original.exe and replaced chrome.exe with a program I made. What my program does is pass command line arguments to chrome_original.exe, adding "--new-window" if not already present. A config file is read for options. For instance I can keep a log of invocations. There are times when adding "--new-window" is not appropriate, which can be determined by examining the log.
On my development machine the strategy works excellent, but on other machines it doesn't. On the other machines chrome loads, but just sits there with the wheel spinning. Does it test to see if the exe being run is chrome.exe? Why does it work on my development machine?
If chrome updates itself with a new version, putting things back like they were, when I redeploy my exe it will take care of that.
I need to get this working if anyone has an idea why chrome will just sit with the wheel spinning and not load a page. Thanks
To analyze the problem I recommend that you install Process Explorer from www.sysinternals.com.
There should be no Chrome "sitting around with the wheel spinning".
In Process Explorer find out which is the process, double click it and in the first tab in the window that opens you see the command line.
Compare it with the command line on the computer where it works.
Process Explorer gives you much more information, like for example the environment variables. I saw in the case of Firefox that Environment variables may be very relevant. For example when you start Firefox by your program and do not set the working directory correctly it may hang.
I resolved my issue. Chrome also runs as a background process, sitting in the tray, utilizing the same exe. When loaded, the exe file is not held open. Having the exe already loaded as one file name, then loading again as a different file name, no doubt causes confusion. What was already loaded needed to be unloaded, first. In addition, the auto start registry key value needed to be updated with the new exe file name.
I have yet to see what will happen when chrome updates itself automatically with a new version. There's a good chance the launching utility will be overwritten. Some tweaking will need to be done.
Using a launcher for chrome to intercept invocations works really well and is a good approach to always having a new window when one is wanted.
I have an HTML5 app that has a large manifest file, containing, among other things, a lot of PDFs. On the first visit, the cache downloads over several minutes and applies properly.
When I make changes and update the manifest accordingly, it reportedly downloads the cache again, however much more quickly, suggesting that it's not actually fetching the files. I'm monitoring the cache events and everything completes without error but none of the changes are made.
If I remove the bulk of the PDFs from the manifest it behaves as it should so I know it's a space issue. Is there a way to programmatically clear the cache before downloading the new files? I'm guessing the fetch isn't happening because it's out of space, but no error event is raised.
The manifest behavior is vague, if it encounters any problem then the download will interrupt abruptly.
If the content of the manifest file is not changed to the previous version then it will never download any file even if we have modified the listed file. So we use to place a commented line with date time stamp.
If any of the files listed in the manifest is not available in the server, then the download will be stopped, it wont throw any error. Guess in your case, the filename should be wrong or the file doesn't exist.
Hope it helps...