* helpers for creating a MediaBindingBean objects to make it easy to access extended metadata
This commit is contained in:
parent
f68170c243
commit
2bdf60d19b
|
@ -188,9 +188,13 @@ List.metaClass.watch = { c -> createWatchService(c, delegate, true) }
|
|||
|
||||
|
||||
// FileBot MetaAttributes helpers
|
||||
import net.sourceforge.filebot.media.MetaAttributes
|
||||
import net.sourceforge.filebot.media.*
|
||||
import net.sourceforge.filebot.format.*
|
||||
import net.sourceforge.filebot.web.*
|
||||
|
||||
File.metaClass.getMetadata = { net.sourceforge.filebot.Settings.useExtendedFileAttributes() ? new MetaAttributes(delegate) : null }
|
||||
File.metaClass.getMediaBinding = { new MediaBindingBean(delegate.metadata, delegate, null) }
|
||||
Movie.metaClass.getMediaBinding = Episode.metaClass.getMediaBinding = { new MediaBindingBean(delegate, null, null) }
|
||||
|
||||
|
||||
// Complete or session rename history
|
||||
|
|
|
@ -1222,6 +1222,7 @@ Kurai-Subs
|
|||
Kuth
|
||||
KyF
|
||||
KYR
|
||||
kyussone
|
||||
Kyuubi
|
||||
L-F
|
||||
L-S
|
||||
|
@ -1378,6 +1379,7 @@ MRShanku
|
|||
MS
|
||||
mSD
|
||||
MsR
|
||||
mthodmn101
|
||||
MUSiX
|
||||
MuSt
|
||||
mV4U
|
||||
|
@ -1603,6 +1605,7 @@ PORNOHOLiCS
|
|||
PorphyriA
|
||||
PosTX
|
||||
PoT
|
||||
PotentPortables
|
||||
PoTuS
|
||||
PP
|
||||
PPQ
|
||||
|
|
Loading…
Reference in New Issue