# Place this file next to the streama-[version].war and rename to application.yml with your own settings environments: production: dataSource: # driverClassName: 'com.mysql.jdbc.Driver' # url: jdbc:mysql://localhost/streama # username: root # password: driverClassName: 'org.h2.Driver' url: jdbc:h2:./streama;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE username: root password: server: port: 8080 streama: regex: movies: ^(?.*)[._ ]\(\d{4}\).* shows: - ^(?.+)[._ ][Ss](?\d{2})[Ee](?\d{2,3}).* # example: "House.MD.S03E04.h264.mp4" - ^(?.+)[._ ](?\d{1,2})x(?\d{2,3}).* # example: "House.MD.03x04.h264.mp4" - ^(?\d{2})-(?\d{2,3})-(?.*?)-.* # example: "02-05-Dr. House-Tanz_ums_Feuer-cineonws.mp4" - ^(?.*?)(?\d{1,3})x(?\d{2}).* # example: "Castle4x06DaemonsWebdl480pOktober242011rC.mkv(jkuzt).mp4"