
How can cache audio/video files from mozilla-temp-files for offline use?
Hello everyone,
to archieve some good old games, I use an special version of Firefox. Firefox (MyPal): 29.2.0, with Adobe Flash preinstalled, Disk-Cache
For most games it will suffice: After loading all content online, it will be available offline too. But... some audio/video files will be saved in memory cache - %temp%\mozilla-temp-files\*[random-auffix] - instead of in disk cache. After closing session they get deleted and after restart they are saved again, with another suffix.
Sample file: http://arcaneonlinegame.epizy.com/Arcane/frames_files/midi/Ophelia's Journal.mp3 that is shipped with http://arcaneonlinegame.epizy.com/Arcane/Arcane.htm
How can I tell Firefox to permanent save streamed audio/video files, like Firefox does with everything else? In the end the music should play if I open the browser offline too.
Thank you in advance for your help. Drago
Επιλεγμένη λύση
I get around this problem in a very complicated way: First I had to manually save all elements that were loading in pressing CRTL+S every few secconds, because content never fully preloaded. At next I used a web crawler and the internet archive to add files that were ignored by step before (web crawlers rarely work at all, I tested nearly every tool). At the end I had to edit every HTM file to make the sources directs to existing (and local) paths.
So, I think the issue can be closed now.
Ανάγνωση απάντησης σε πλαίσιο 👍 0Όλες οι απαντήσεις (7)
On a few sites, I just use CTRL+I to get the page info. The video and or audio are there to save. see screenshot
Τροποποιήθηκε στις
This is only another way to save the video/audio file as single file. But I dont need it to be played with music player but it should be added to disk cache for later offline use.
My URLs + images shows the problem (you'll need old browser with Shockwave Flash to test it!): http://arcaneonlinegame.epizy.com/Arcane/Arcane.htm needs the audio file from http://arcaneonlinegame.epizy.com/Arcane/frames_files/midi/Ophelia's Journal.mp3 To get HTM loads mp3, you have to load seccond URL first to temporary/memory cache it and then the first URL will play the game with music.
How I make Firefox save the mp3 permanent and in path .\Data\profile\cache2\entries\ along with the other encrypted files?
CRTL+I show info about the page and allows you to download.
Lika I said, CRTL+I is not helpful since I do not want to download the file regular as mp3. Firefox needs them to be cached on disc by its own engine (see my attachments for details). Cached file names are generated by algorithm (the content is not encrypted) - manually adding does not work since I do not know which encrypted name to use and without indexing Firefox will ignore them though.
Maybe you can understand my situation better now. Do you have an idea for it?
Τροποποιήθηκε στις
The media cache is not reconcilable with the regular cache and cannot be used for permanent storage.
The media cache is not persistent. It does not currently allow data from one load to be used by other loads, either within the same browser session or across browser sessions. The media cache file is marked "delete on close" so it will automatically disappear in the event of a browser crash or shutdown.
From MediaCache.h.
You would need to run a local HTTP server to recreate the online experience.
Thank you for your answer. It does not help me much, but I appreciate your help.
Επιλεγμένη λύση
I get around this problem in a very complicated way: First I had to manually save all elements that were loading in pressing CRTL+S every few secconds, because content never fully preloaded. At next I used a web crawler and the internet archive to add files that were ignored by step before (web crawlers rarely work at all, I tested nearly every tool). At the end I had to edit every HTM file to make the sources directs to existing (and local) paths.
So, I think the issue can be closed now.