Eisa01 / mpv-scripts

This repository contain scripts I have made for mpv media player...
BSD 2-Clause "Simplified" License
505 stars 35 forks source link

SimpleHistory stopped working #133

Closed plissken1138 closed 5 months ago

plissken1138 commented 5 months ago

SimpleHistory worked well but at some point last month or so it stopped logging titles.

I tried deleting the log content to see if it will create a new one and it doesn't. I tried deleting the log file to see if it will create a new one and it doesn't.

Always using the latest shinchiro mpv build., 1.1.6 lua and 1.1.5. conf. Win10 Edu 22H2

Eisa01 commented 5 months ago

Please share your mpv logs after opening a video, so that i can see what's happening

plissken1138 commented 5 months ago

https://pastebin.com/WvpqQP2E

to my layman eye, seems there's some issue with 'history_blacklist'

[ 1.315][f][SimpleHistory] Lua error: C:/Program Files/mpv/mpv/scripts/SimpleHistory.lua:1961: attempt to index field 'history_blacklist' (a nil value)

Eisa01 commented 5 months ago

Can you revert to default config for the script and check?

plissken1138 commented 5 months ago

Ah, the culprit is identified! One of blacklisted entries had single \ instead double \ in folder structure... I was almost positive that it was working after I added that entry, but I guess it's by bad :)

Eisa01 commented 5 months ago

Glad that it is sorted :)