@ -70,7 +70,7 @@ class Scanner(Plugin):
codecs = {
codecs = {
' audio ' : [ ' DTS ' , ' AC3 ' , ' AC3D ' , ' MP3 ' ] ,
' audio ' : [ ' DTS ' , ' AC3 ' , ' AC3D ' , ' MP3 ' ] ,
' video ' : [ ' x264 ' , ' H264 ' , ' DivX ' , ' Xvid ' ]
' video ' : [ ' x264 ' , ' H264 ' , ' x265 ' , ' H265 ' , ' DivX' , ' Xvid ' ]
}
}
resolutions = {
resolutions = {
@ -106,7 +106,7 @@ class Scanner(Plugin):
}
}
clean = ' ([ _ \ , \ . \ ( \ ) \ [ \ ] \ -]|^)(3d|hsbs|sbs|half.sbs|full.sbs|ou|half.ou|full.ou|extended|extended.cut|directors.cut|french|fr|swedisch|sw|danish|dutch|nl|swesub|subs|spanish|german|ac3|dts|custom|dc|divx|divx5|dsr|dsrip|dutch|dvd|dvdr|dvdrip|dvdscr|dvdscreener|screener|dvdivx|cam|fragment|fs|hdtv|hdrip ' \
clean = ' ([ _ \ , \ . \ ( \ ) \ [ \ ] \ -]|^)(3d|hsbs|sbs|half.sbs|full.sbs|ou|half.ou|full.ou|extended|extended.cut|directors.cut|french|fr|swedisch|sw|danish|dutch|nl|swesub|subs|spanish|german|ac3|dts|custom|dc|divx|divx5|dsr|dsrip|dutch|dvd|dvdr|dvdrip|dvdscr|dvdscreener|screener|dvdivx|cam|fragment|fs|hdtv|hdrip ' \
' |hdtvrip|webdl|web.dl|webrip|web.rip|internal|limited|multisubs|ntsc|ogg|ogm|pal|pdtv|proper|repack|rerip|retail|r3|r5|bd5|se|svcd|swedish|german|read.nfo|nfofix|unrated|ws|telesync|ts|telecine|tc|brrip|bdrip|video_ts|audio_ts|480p|480i|576p|576i|720p|720i|1080p|1080i|hrhd|hrhdtv|hddvd|bluray|x264|h264|xvid|xvidvd|xxx|www.www|hc| \ [.* \ ])(?=[ _ \ , \ . \ ( \ ) \ [ \ ] \ -]|$) '
' |hdtvrip|webdl|web.dl|webrip|web.rip|internal|limited|multisubs|ntsc|ogg|ogm|pal|pdtv|proper|repack|rerip|retail|r3|r5|bd5|se|svcd|swedish|german|read.nfo|nfofix|unrated|ws|telesync|ts|telecine|tc|brrip|bdrip|video_ts|audio_ts|480p|480i|576p|576i|720p|720i|1080p|1080i|hrhd|hrhdtv|hddvd|bluray|x264|h264|x265|h265|x vid|xvidvd|xxx|www.www|hc| \ [.* \ ])(?=[ _ \ , \ . \ ( \ ) \ [ \ ] \ -]|$) '
multipart_regex = [
multipart_regex = [
' [ _ \ .-]+cd[ _ \ .-]*([0-9a-d]+) ' , #*cd1
' [ _ \ .-]+cd[ _ \ .-]*([0-9a-d]+) ' , #*cd1
' [ _ \ .-]+dvd[ _ \ .-]*([0-9a-d]+) ' , #*dvd1
' [ _ \ .-]+dvd[ _ \ .-]*([0-9a-d]+) ' , #*dvd1
@ -520,7 +520,7 @@ class Scanner(Plugin):
p = enzyme . parse ( filename )
p = enzyme . parse ( filename )
# Video codec
# Video codec
vc = ( ' H264 ' if p . video [ 0 ] . codec == ' AVC1 ' else p . video [ 0 ] . codec )
vc = ( ' H264 ' if p . video [ 0 ] . codec == ' AVC1 ' else ' x265 ' if p . video [ 0 ] . codec == ' HEVC ' else p . video [ 0 ] . codec )
# Audio codec
# Audio codec
ac = p . audio [ 0 ] . codec
ac = p . audio [ 0 ] . codec