Tenma icon indicating copy to clipboard operation
Tenma copied to clipboard

Caching Question / Refresh From File Button?

Open ianc125 opened this issue 7 years ago • 4 comments

When a comic is loaded into the reader and then the raw comic files are changed the changes dont show in the reader. It only shows the originally cached copy. I think if you had an option on the issue / series page to reload the issue/series from the files similar to what happens when you do the initial import. Similar to how Plex works.

ianc125 avatar Aug 29 '17 01:08 ianc125

I think im off here, it looks like your reading from the raw file everytime anyways now that I've been through the code a bit. I was seeing an intermittent issue with the ComicRack.xml file and the reader that made it seem like it was caching or something. You can ignore this now.

ianc125 avatar Aug 29 '17 05:08 ianc125

No, you're correct. It caches it into a temp directory. I change the file names to be really short so I don't run into the "File path is too long" issue on Windows. I'm going to keep this one open. I can check for page amount pretty easily. If it doesn't match, the cache can be recreated. I'm not sure about how to find file changes though. I'll have to think on that one.

hmhrex avatar Aug 29 '17 13:08 hmhrex

In that case you could do a force refresh Issue/Series button similar to how Plex works for Movies. That would force a reload of the raw files from the Issue/Series back into the cache.

ianc125 avatar Aug 29 '17 13:08 ianc125

I like that! I'm planning on having a refresh button similar to Plex for the library. I'll see if I can fit this in that functionality.

hmhrex avatar Aug 29 '17 13:08 hmhrex