Permalink
Browse files

Init

  • Loading branch information...
1 parent ae1071d commit a9cf1fb695f3813323341d0eb20cd1b4edede3a4 @longkerdandy committed Dec 29, 2010
Showing with 1,118 additions and 0 deletions.
  1. +1 −0 README
  2. BIN assembly/bin/felix.jar
  3. BIN assembly/bundle/asm-all-3.3.jar
  4. BIN assembly/bundle/commons-collections-3.2.1.jar
  5. BIN assembly/bundle/commons-io-2.0.jar
  6. BIN assembly/bundle/commons-lang-2.5.jar
  7. BIN assembly/bundle/commons-pool-1.5.5.jar
  8. BIN assembly/bundle/derby-10.6.1.0.jar
  9. BIN assembly/bundle/geronimo-j2ee-connector_1.5_spec-2.0.0.jar
  10. BIN assembly/bundle/geronimo-jpa_2.0_spec-1.1.jar
  11. BIN assembly/bundle/geronimo-jta_1.1_spec-1.1.1.jar
  12. BIN assembly/bundle/geronimo-transaction-2.1.3.jar
  13. BIN assembly/bundle/gson-1.6.jar
  14. BIN assembly/bundle/jcl-over-slf4j-1.6.1.jar
  15. BIN assembly/bundle/logback-classic-0.9.26.jar
  16. BIN assembly/bundle/logback-core-0.9.26.jar
  17. BIN assembly/bundle/netty-3.2.3.Final.jar
  18. BIN assembly/bundle/openjpa-2.0.1.jar
  19. BIN assembly/bundle/org.apache.aries.blueprint-0.3-incubating-SNAPSHOT.jar
  20. BIN assembly/bundle/org.apache.aries.jndi-0.3-incubating-SNAPSHOT.jar
  21. BIN assembly/bundle/org.apache.aries.jpa.api-0.3-incubating-SNAPSHOT.jar
  22. BIN assembly/bundle/org.apache.aries.jpa.blueprint.aries-0.3-incubating-SNAPSHOT.jar
  23. BIN assembly/bundle/org.apache.aries.jpa.container-0.3-incubating-SNAPSHOT.jar
  24. BIN assembly/bundle/org.apache.aries.jpa.container.context-0.3-incubating-SNAPSHOT.jar
  25. BIN assembly/bundle/org.apache.aries.transaction.blueprint-0.3-incubating-SNAPSHOT.jar
  26. BIN assembly/bundle/org.apache.aries.transaction.manager-0.3-incubating-SNAPSHOT.jar
  27. BIN assembly/bundle/org.apache.aries.transaction.wrappers-0.3-incubating-SNAPSHOT.jar
  28. BIN assembly/bundle/org.apache.aries.util-0.3-incubating-SNAPSHOT.jar
  29. BIN assembly/bundle/org.apache.felix.bundlerepository-1.6.4.jar
  30. BIN assembly/bundle/org.apache.felix.configadmin-1.2.8.jar
  31. BIN assembly/bundle/org.apache.felix.eventadmin-1.2.6.jar
  32. BIN assembly/bundle/org.apache.felix.fileinstall-3.1.0.jar
  33. BIN assembly/bundle/org.apache.felix.gogo.command-0.6.1.jar
  34. BIN assembly/bundle/org.apache.felix.gogo.runtime-0.6.1.jar
  35. BIN assembly/bundle/org.apache.felix.gogo.shell-0.6.1.jar
  36. BIN assembly/bundle/org.apache.felix.http.jetty-2.0.4.jar
  37. BIN assembly/bundle/org.apache.felix.http.whiteboard-2.0.4.jar
  38. BIN assembly/bundle/org.apache.servicemix.bundles.serp-1.13.1_3.jar
  39. BIN assembly/bundle/slf4j-api-1.6.1.jar
  40. BIN assembly/bundle/snakeyaml-1.7.jar
  41. BIN assembly/bundle/vaadin-6.4.8.jar
  42. +2 −0 assembly/conf/chii2/org.apache.felix.fileinstall-configDir.cfg
  43. +60 −0 assembly/conf/chii2/org.chii2.medialibrary.core.cfg
  44. +7 −0 assembly/conf/chii2/org.chii2.medialibrary.file.cfg
  45. +6 −0 assembly/conf/chii2/org.chii2.medialibrary.provider.tmdb.cfg
  46. +546 −0 assembly/conf/config.properties
  47. +42 −0 assembly/conf/logback.xml
  48. +2 −0 assembly/conf/system.properties
  49. +75 −0 assembly/pom.xml
  50. +377 −0 pom.xml
View
1 README
@@ -0,0 +1 @@
+Chii2
View
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
+felix.fileinstall.dir=dropin
+service.factoryPid = org.apache.felix.fileinstall
@@ -0,0 +1,60 @@
+# Configuration for Chii2 Media Library Core Service
+
+# Movie File Name Separator
+# This is used to split file name string, and replaced by white space
+# eg: Harry.Potter.and.the.Order.of.the.Phoenix --> Harry Potter and the Order of the Phoenix
+movie.file.name.separator=[\\._]
+
+# Movie File Parse Patten
+# This is a regexp pattern used to parse movie file name into different useful information
+# These information will be save in the media library and may be used to fetch information from online provider
+# The regexp group are:
+# 1. name --- which will be recognized as movie name (title)
+# 2. year --- which will be recognized as movie released year
+# 3. info --- which will be further parsed into <source> <video_codec> <audio_codec> <resolution> group
+# 4. group --- which will be recognized movie released group (usually 0day group)
+# 5. disk --- which will be recognized as movie file disk number
+# 6. ext --- which will be recognized as movie file extension
+# The regexp must have <name> <ext> group
+# User can define multiple regexp patterns, patterns will be checked in the configuration order
+# Each regexp pattern should be separated by ':'
+#
+# The default pattern:
+# ^(?<name>[\\w\\.\\-\\']+)\\.\\(?(?<year>\\d{4})\\)?(?<info>(\\.\\w+)+)(\\-|\\.)\\[?(?<group>\\w+)\\]?\\.((?<disk>\\w+)\\.)?(?<ext>[\\w\\-]+)$
+# Will match standard 0day (warez) released fle format
+# eg:
+# Harry.Potter.And.The.Philosophers.Stone.2001.HDrip.Xvid.AC3-Prodji.avi
+# Harry.Potter.And.The.Philosophers.Stone.2001.HDrip.Xvid.AC3.Prodji.avi
+# Harry.Potter.And.The.Philosophers.Stone.(2001).HDrip.Xvid.AC3-Prodji.avi
+#
+# The default pattern:
+# ^(?<name>[\\w\\.\\-\\']+)\\.(?<ext>[\\w\\-]+)$
+# Will match all the files and use file name as movie name, so this pattern should always stays at the end
+movie.file.pattern=^(?<name>[\\w\\.\\-\\']+)\\.\\(?(?<year>\\d{4})\\)?(?<info>(\\.\\w+)+)(\\-|\\.)\\[?(?<group>\\w+)\\]?\\.((?<disk>\\w+)\\.)?(?<ext>[\\w\\-]+)$ :\
+^(?<name>[\\w\\.\\-\\']+)\\.(?<ext>[\\w\\-]+)$
+
+# Movie Information Source Parse Pattern
+# This is a regexp pattern used to parsed the <info> block from Movie File Parse Patten
+# And try to get the source type
+movie.file.source.pattern=(?<source>BDRip|BRRip|BluRay|HD-DVD|DVDRip|TVRip|HDTVRip|HDRip|CAM|TS|DVDScr|Scr|R5)
+
+# Movie Information Video Codec Parse Pattern
+# This is a regexp pattern used to parsed the <info> block from Movie File Parse Patten
+# And try to get the movie video codec
+movie.file.video.codec.pattern=(?<video_codec>XviD|DivX|DivX5|H264|X264)
+
+# Movie Information Audio Codec Parse Pattern
+# This is a regexp pattern used to parsed the <info> block from Movie File Parse Patten
+# And try to get the movie audio codec
+movie.file.audio.codec.pattern=(?<audio_codec>AC3|DTS)
+
+# Movie Information Video Resolution Parse Pattern
+# This is a regexp pattern used to parsed the <info> block from Movie File Parse Patten
+# And try to get the movie video resolution
+movie.file.video.resolution.pattern=(?<resolution>\\d+p)
+
+# Movie Online Information Provider
+# The provider is used to fetch movie information and images from internet
+# User can define multiple providers, providers will be checked in the configuration order
+# Each regexp pattern should be separated by ':'
+movie.provider=tmdb
@@ -0,0 +1,7 @@
+# Configuration for Chii2 Media Library File Service
+
+# The Movie Directories
+movie.directory=/home/longkerdandy/Videos
+
+# Acceptable Video File Extensions
+video.extension=3g2:2gp:asf:avi:bsf:divx:dvdmedia:dvr-ms:f4v:flv:hdmov:m2p:m4v:mkv:mov:mp4:mpeg:mpg:ogm:rm:rmvb:swf:trp:ts:vob:vro:wmv:wtv:xvid
@@ -0,0 +1,6 @@
+# Configuration for TMDb Provider
+
+# TMDb API interface type.
+# TMDb provide several api interfaces: XML, YAML, JSON.
+# Currently, TMDb Provider only support YAML interface.
+tmdb.api.parser=yaml
Oops, something went wrong.

0 comments on commit a9cf1fb

Please sign in to comment.