diff options
| author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2026-01-07 23:25:48 -0800 |
|---|---|---|
| committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2026-01-07 23:25:48 -0800 |
| commit | 44644dfb4e3e19438c6499a6b49458fc8b382ac1 (patch) | |
| tree | e3697a8d8cef0bfe7e72450346b15b75e4a34abd /xc.lua | |
| parent | 8fd7556551ee6eeb353ac8e6815cdc78b361682b (diff) | |
| download | mpv-iptv-menu-44644dfb4e3e19438c6499a6b49458fc8b382ac1.tar.gz mpv-iptv-menu-44644dfb4e3e19438c6499a6b49458fc8b382ac1.tar.xz | |
more images cleanup
Diffstat (limited to 'xc.lua')
| -rw-r--r-- | xc.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31,7 +31,7 @@ function mt:get(path, params) capture_stdout = true, playback_only = false, }) - if res.status == 0 then + if res and res.status == 0 then return res.stdout end end @@ -103,7 +103,7 @@ json.dump( capture_stdout = true, playback_only = false, }) - if res.status == 0 then + if res and res.status == 0 then return mp_utils.parse_json(res.stdout) end end |
