Skip to content

Lua error: C:/Program Files/mpv/scripts/modernx.lua:2121: attempt to index a nil value #76

@Rochkiller

Description

@Rochkiller

Since a few days, I started to use SponsorBlock which is an awesome script but OSC doesn't show on some videos with this error :

[modernx]
[modernx] stack traceback:
[modernx] mp.defaults:388: in function 'handler'
[modernx] mp.defaults:522: in function 'call_event_handlers'
[modernx] mp.defaults:564: in function 'dispatch_events'
[modernx] mp.defaults:515: in function mp.defaults:514
[modernx] [C]: at 0x7ff67a898f30
[modernx] [C]: at 0x7ff67a897cc0
[modernx] Lua error: C:/Program Files/mpv/scripts/modernx.lua:2121: attempt to index a nil value

This is the launch command :

mpv https://youtu.be/xO_uZ2zzUIk

Remove sponsorblock.lua from scripts folder solve the error but disable SponsorBlock

How to solve this error and keep SponsorBlock enabled ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions