* 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
|
// 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.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
|
// Complete or session rename history
|
||||||
|
|
|
@ -1222,6 +1222,7 @@ Kurai-Subs
|
||||||
Kuth
|
Kuth
|
||||||
KyF
|
KyF
|
||||||
KYR
|
KYR
|
||||||
|
kyussone
|
||||||
Kyuubi
|
Kyuubi
|
||||||
L-F
|
L-F
|
||||||
L-S
|
L-S
|
||||||
|
@ -1378,6 +1379,7 @@ MRShanku
|
||||||
MS
|
MS
|
||||||
mSD
|
mSD
|
||||||
MsR
|
MsR
|
||||||
|
mthodmn101
|
||||||
MUSiX
|
MUSiX
|
||||||
MuSt
|
MuSt
|
||||||
mV4U
|
mV4U
|
||||||
|
@ -1603,6 +1605,7 @@ PORNOHOLiCS
|
||||||
PorphyriA
|
PorphyriA
|
||||||
PosTX
|
PosTX
|
||||||
PoT
|
PoT
|
||||||
|
PotentPortables
|
||||||
PoTuS
|
PoTuS
|
||||||
PP
|
PP
|
||||||
PPQ
|
PPQ
|
||||||
|
|
Loading…
Reference in New Issue