New binding: {subt} for subtitle language/category extension (e.g. ".eng.forced")

This commit is contained in:
Reinhard Pointner 2016-03-24 15:18:01 +00:00
parent 8a533f8d47
commit 5bc9a3737c
3 changed files with 3 additions and 3 deletions

View File

@ -518,7 +518,7 @@ public class MediaBindingBean {
return releaseInfo.getReleaseGroup(filenames);
}
@Define("sub")
@Define("subt")
public String getSubtitleTags() throws Exception {
if (!SUBTITLE_FILES.accept(getMediaFile())) {
return null;

View File

@ -2,4 +2,4 @@
parameter.exclude: ^StreamKind|^UniqueID|^StreamOrder|^ID|Count$
# preview expressions (keys are tagged so they can be sorted alphabetically)
expressions: n,y,s,e,es,sxe,s00e00,t,d,startdate,absolute,special,episode,series,primaryTitle,alias,movie,tmdbid,imdbid,az,music,artist,albumArtist,album,pi,pn,lang,actors,director,collection,genre,genres,languages,certification,rating,vc,ac,cf,vf,hpi,af,channels,resolution,dim,ws,sdhd,source,tags,s3d,group,original,fn,ext,mediaType,file,file.name,folder,folder.name,gigabytes,crc32,info,info.runtime,info.status,omdb.rating,omdb.votes,localize.German.title,age,duration,seconds,minutes,media,media.title,media.overallBitRateString,video,video.codecID,video.frameRate,video.displayAspectRatioString,video.scanType,audio,audio.bitRateString,audio.language,audios,audios.language,text,text.codecInfo,text.language,texts,texts.language
expressions: n,y,s,e,es,sxe,s00e00,t,d,startdate,absolute,special,episode,series,primaryTitle,alias,movie,tmdbid,imdbid,pi,pn,lang,subt,az,music,album,artist,albumArtist,actors,director,collection,genre,genres,languages,certification,rating,vc,ac,cf,vf,hpi,af,channels,resolution,dim,ws,sdhd,source,tags,s3d,group,original,fn,ext,mediaType,file,file.name,folder,folder.name,gigabytes,crc32,info,info.runtime,info.status,omdb.rating,omdb.votes,localize.German.title,age,duration,seconds,minutes,media,media.title,media.overallBitRateString,video,video.codecID,video.frameRate,video.displayAspectRatioString,video.scanType,audio,audio.bitRateString,audio.language,audios,audios.language,text,text.codecInfo,text.language,texts,texts.language

View File

@ -21,7 +21,7 @@ episode.example[3]: {n.space('.').lower()}.{s}{e.pad(2)}
episode.example[4]: {n}/{'Season '+s}/{n} - {s00e00} - {t}
# simple name/year
movie.example[0]: {n} ({y}){' CD'+pi}{'.'+lang}
movie.example[0]: {n} ({y}){' CD'+pi}{subt}
# name/year and media info
movie.example[1]: {n} ({y}, {director}) {vf} {af}
# name/year and ratings