1fad49ee35
Apparently it seems pretty common for subtitles to be put in a subdirectory called "Subs", rather than in the same directory as the media file itself. This covers that usecase, by checking the returned listing for a directory called "Subs" to exist. If it does, its child nodes are added to the list before they're being passed to mediaWithResources, allowing these subtitles to be discovered automatically. |
||
---|---|---|
.. | ||
data | ||
dlnaflags | ||
testdata/files | ||
upnpav | ||
cds.go | ||
cms.go | ||
dlna.go | ||
dlna_test.go | ||
dlna_util.go | ||
LICENSE.anacrolix | ||
mrrs.go |