mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 08:48:51 -05:00
New binding: {subt} for subtitle language/category extension (e.g. ".eng.forced")
This commit is contained in:
parent
8a533f8d47
commit
5bc9a3737c
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user