po5 / mpv_sponsorblock

mpv script to skip sponsored segments of YouTube videos
GNU General Public License v3.0
531 stars 29 forks source link

mtime of database does not seem to be updated #58

Closed FichteFoll closed 1 year ago

FichteFoll commented 1 year ago

Even though I have sponsor segments for videos that are older than the mtime of my db file, the file does not appear to be updated according to its mtime.

~/.config/mpv/scripts/sponsorblock_shared ∇ stat *.db
  File: sponsorblock.db
  Size: 977641472   Blocks: 1909464    IO Block: 4096   regular file
Device: 254,0   Inode: 6690398     Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/     fichte)   Gid: ( 1000/     fichte)
Access: 2022-08-24 13:21:22.390665683 +0200
Modify: 2021-08-24 11:34:57.215487190 +0200
Change: 2021-08-24 11:34:57.238819758 +0200
 Birth: 2021-08-24 11:33:26.218823081 +0200
FichteFoll commented 1 year ago

Never mind, appears to be caused by #54 #31 since removing the file does not actually redownload it and instead shows errors in the log.