From 6e839ee5c65fad25f0dda9681c2a4bde6e99385f Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 11 Mar 2016 17:14:03 +0000 Subject: [PATCH] Remove useless mediainfo from bindings mediainfo viewer --- source/net/filebot/ui/analyze/MediaInfoTool.java | 4 +--- source/net/filebot/ui/rename/BindingDialog.properties | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/source/net/filebot/ui/analyze/MediaInfoTool.java b/source/net/filebot/ui/analyze/MediaInfoTool.java index a194b089..5c3f3350 100644 --- a/source/net/filebot/ui/analyze/MediaInfoTool.java +++ b/source/net/filebot/ui/analyze/MediaInfoTool.java @@ -30,7 +30,7 @@ import net.miginfocom.swing.MigLayout; class MediaInfoTool extends Tool { - private JTable table = new JTable(); + private JTable table = new JTable(new MediaInfoTableModel()); public MediaInfoTool() { super("MediaInfo"); @@ -51,8 +51,6 @@ class MediaInfoTool extends Tool { setLayout(new MigLayout("insets 0, fill")); add(new LoadingOverlayPane(scrollPane, this), "grow"); - - setModel(new MediaInfoTableModel()); } @Override diff --git a/source/net/filebot/ui/rename/BindingDialog.properties b/source/net/filebot/ui/rename/BindingDialog.properties index b734157b..9eccc5cf 100644 --- a/source/net/filebot/ui/rename/BindingDialog.properties +++ b/source/net/filebot/ui/rename/BindingDialog.properties @@ -1,5 +1,5 @@ # exclude pattern for media info dialog -parameter.exclude: ^StreamKind|Count$ +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