# CD/DVD/USB/HDD Disc Identification rules
############################################
# monitor mount devices
[/dev/cd*]
Callout = CD_MEDIA_IOBLK
Argument = 1000,2000
Priority = 11,10
Start Rule = MOUNT
Stop Rule = UNMOUNT
############################################
# monitor pathes
[/mnt/hbmedia/entertainmentserver/]
Callout = PATH_MEDIA_SCAN
Argument = 2000
Priority = 11,10
Start Rule = INSERTED
Stop Rule = EJECTED
[/mnt/hbdata/IBA]
Callout = PATH_MEDIA_SCAN
Argument = 2000
Priority = 11,10
Start Rule = INSERTED
Stop Rule = EJECTED
[/mnt/hbnavi/update/]
Callout = PATH_MEDIA_SCAN
Argument = 2000
Priority = 11,10
Start Rule = NAVI_UPDATE_MOUNT
Stop Rule = NAVI_UPDATE_UNMOUNT
[/fs/cd*]
Callout = PATH_MEDIA_PROCMGR
Argument = /proc/mount
Priority = 11,12
Start Rule = DVD_OR_CD
Stop Rule = EJECTED
[/mnt/umass*]
Callout = PATH_MEDIA_PROCMGR
Argument = /proc/mount
Priority = 11,12
Start Rule = USB_INSERTED
Stop Rule = EJECTED
[/fs/usb*]
Callout = PATH_MEDIA_SCAN
Argument = 2000
Priority = 11,12
Start Rule = INSERTED
Stop Rule = EJECTED
[/fs/ipod*]
Callout = PATH_MEDIA_PROCMGR
Argument = /proc/mount
Priority = 11,12
Start Rule = INSERTED
Stop Rule = EJECTED
[/fs/pfs*]
Callout = PATH_MEDIA_PROCMGR
Argument = /proc/mount
Priority = 11,12
Start Rule = INSERTED
Stop Rule = EJECTED
[/dev/vdev-mpegts]
Callout = PATH_MEDIA_SCAN
Argument = 2000
Priority = 11,10
Start Rule = INSERTED
Stop Rule = EJECTED
############################################
# device mounting rules
[MOUNT]
Callout = MOUNT_FSYS
Argument = /etc/fstab
#Match Rule = DVD_OR_CD
[UNMOUNT]
Callout = UNMOUNT_FSYS
#Match Rule = EJECTED
############################################
# USB detection rules
[USB_INSERTED]
Match Rule = NAVI_UPDATE_USB_MOUNT
#[USB_EJECTED]
#Match Rule = EJECTED
############################################
# DVD/CD detection rules
[DVD_OR_CD]
Callout = DVD_OR_CD
Match Rule = DVD_AUDIO
Fail Rule = CD_AUDIO
[DVD_AUDIO]
Callout = FNAME_MATCH
Argument = /AUDIO_TS/AUDIO_TS.IFO
Match Rule = INSERTED
Fail Rule = DVD_VIDEO
[DVD_VIDEO]
Callout = FNAME_MATCH
Argument = /VIDEO_TS/VIDEO_TS.IFO
Match Rule = INSERTED
Fail Rule = VIDEO_CD
[CD_AUDIO]
Callout = CD_AUDIO
Match Rule = INSERTED
Fail Rule = VIDEO_CD
[VIDEO_CD]
Callout = FNAME_MATCH
Argument = /VCD/INFO.VCD,/MPEGAV/AVSEQ01.DAT,/MPEGAV/MUSIC01.DAT
Match Rule = INSERTED
Fail Rule = SVIDEO_CD
[SVIDEO_CD]
Callout = FNAME_MATCH
Argument = /SVCD/INFO.SVD,/MPEGAV/AVSEQ01.MPG,/MPEG2/AVSEQ01.MPG
Match Rule = INSERTED
Fail Rule = SW_UPDATE
############################################
# path/DVD/CD content detection rules
[SW_UPDATE]
Callout = FNAME_MATCH
Argument = /hbautorun.sh
Fail Rule = NAVI_UPDATE
[NAVI_UPDATE]
Callout = FNAME_MATCH
Argument = /config.nfm
Fail Rule = GRACENOTE_DB_UPDATE
[GRACENOTE_DB_UPDATE]
Callout = FNAME_MATCH
Argument = /Gracenote/ecddb.mdt
Fail Rule = MIXED_AV
[MIXED_AV]
#Callout = FNAME_PATTERN
#Argument = *.MP4,*.mp4,*.MP3,*.mp3,*.WMV,*.wmv,*.WMA,*.wma,*.AAC,*.aac,*.MPG,*.mpg
Match Rule = INSERTED
[INSERTED]
[EJECTED]
[AVAILABLE]
[NAVI_UPDATE_MOUNT]
Callout = FNAME_MATCH
Argument = /config.nfm
[NAVI_UPDATE_UNMOUNT]
[NAVI_UPDATE_USB_MOUNT]
Callout = FNAME_MATCH
Argument = /config.nfm
[NAVI_UPDATE_USB_UNMOUNT]