mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-11-11 20:43:00 +01:00
playvid: don't try to play json files
This commit is contained in:
parent
541a490206
commit
70bc8877de
1 changed files with 3 additions and 0 deletions
|
@ -67,6 +67,9 @@ fn findVideoFile(alloc: std.mem.Allocator, out_buf: []u8) ![]const u8 {
|
|||
while (try iter.next()) |entry| {
|
||||
switch (entry.kind) {
|
||||
.file => {
|
||||
if (std.mem.endsWith(u8, entry.name, ".live_chat.json"))
|
||||
continue;
|
||||
|
||||
try files.append(try fname_arena.allocator().dupe(u8, entry.name));
|
||||
},
|
||||
else => {},
|
||||
|
|
Loading…
Reference in a new issue