Gargaj / gen-waveseek

Waveform seeker plugin for Winamp
https://getwacup.com/plugins/waveform_seeker/
12 stars 2 forks source link

Add timestamp/size to cache file name? #4

Open Gargaj opened 6 years ago

Gargaj commented 6 years ago

I happen to have a lot of songs in my collection with the same filename but different directory (e.g. album + remaster), or I occasionally update a render of my own songs, but the waveform doesn't change.

dr0biwan commented 6 years ago

This could be a bit of a tricky one as also linking via timestamp / size could cause a re-render on metadata change which is probably ok (re-rendering is cheap enough) but it's not the most user friendliest of actions.

There's also some non-file items which can be processed where that info isn't available (I need to sync back the changes allowing. for that).

So maybe something based off of the path / location (disk or stream based) & accepting that moving will cause a re-render would be the easier option. Probably a simple hashing of the path & checking that.