Skip to content
Snippets Groups Projects
Commit fd5e21bd authored by Gleb Popov's avatar Gleb Popov
Browse files

net/minidlna: Teach minidlna to handle .ass subtitle format.

parent c996e21d
No related branches found
No related tags found
No related merge requests found
PORTNAME= minidlna
PORTVERSION= 1.3.2
PORTREVISION= 2
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= net multimedia www
MASTER_SITES= SF
......
--- metadata.c.orig 2022-08-30 05:42:54 UTC
+++ metadata.c
@@ -146,6 +146,11 @@ check_for_captions(const char *path, int64_t detailID)
strcpy(p, ".smi");
ret = access(file, R_OK);
}
+ if (ret != 0)
+ {
+ strcpy(p, ".ass");
+ ret = access(file, R_OK);
+ }
if (ret == 0)
{
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment