]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
dvr: New fmt spec for per-dir seasons and one movie per dir. (#4667)
authorE.Smith <31170571+azlm8t@users.noreply.github.com>
Sun, 27 Jan 2019 23:46:33 +0000 (23:46 +0000)
committerJaroslav Kysela <perex@perex.cz>
Mon, 4 Feb 2019 10:00:40 +0000 (11:00 +0100)
commitb106250c98af2244ca9d011cd0c5081f42eb9630
treee120e7795ffde96b193e793b5ac17c649f9f3849
parent4374948b4328fea952ee0e3b56f816b735d79476
dvr: New fmt spec for per-dir seasons and one movie per dir. (#4667)

Previously the $q format specifier would only output movies as:
tvmovies/title (yyyy).ts

However, a common alternative is to store each movie in its
own sub-directory:
tvmovies/title1 (yyyy)/title1 (yyyy).ts
tvmovies/title2 (yyyy)/title2 (yyyy).ts

Similarly for episodes we output:
tvshows/title/title - SxxEyy.ts

But a common alternative is to have one directory per season:
tvshows/title/Season 1/title - S01Eyy.ts
tvshows/title/Season 2/title - S02Eyy.ts

So we now add a "$3q" to output these common alternatives, as requested
in the forums.

Also add equivalent "$3Q" to output without the "genre" prefix
i.e., without "tvshows/" or "tvmovies/".

Issue: #4667
docs/property/pathname.md
src/dvr/dvr_rec.c