forked from MarcoFleres/tinyMediaManager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
objectdb.conf
81 lines (72 loc) · 3.11 KB
/
objectdb.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!-- ObjectDB Configuration -->
<objectdb>
<general>
<temp path="$temp" threshold="64mb" />
<network inactivity-timeout="0" />
<url-history size="50" user="true" password="true" />
<log path="" max="8mb" stdout="false" stderr="false" />
<log-archive path="" retain="10" />
<logger name="*" level="info" />
</general>
<database>
<size initial="256kb" resize="256kb" page="2kb" />
<recovery enabled="true" sync="false" path="." max="128mb" />
<recording enabled="false" sync="false" path="." mode="write" />
<locking version-check="true" />
<processing cache="64mb" max-threads="10" />
<query-cache results="32mb" programs="500" />
<extensions drop="temp,tmp" />
</database>
<entities>
<enhancement agent="false" reflection="warning" />
<cache ref="weak" level2="0" />
<fetch hollow="false" />
<persist serialization="false" />
<cascade-persist always="auto" on-persist="false" on-commit="true" />
<dirty-tracking arrays="false" />
</entities>
<schema>
<package name="org.tinymediamanager.core">
<class name="MediaEntity" new-name="org.tinymediamanager.core.entities.MediaEntity" />
<class name="MediaFile" new-name="org.tinymediamanager.core.entities.MediaFile" />
<class name="MediaFileAudioStream" new-name="org.tinymediamanager.core.entities.MediaFileAudioStream" />
<class name="MediaFileSubtitle" new-name="org.tinymediamanager.core.entities.MediaFileSubtitle" />
</package>
<package name="org.tinymediamanager.core.movie">
<class name="Movie" new-name="org.tinymediamanager.core.movie.entities.Movie" />
<class name="MovieActor" new-name="org.tinymediamanager.core.movie.entities.MovieActor" />
<class name="MovieProducer" new-name="org.tinymediamanager.core.movie.entities.MovieProducer" />
<class name="MovieSet" new-name="org.tinymediamanager.core.movie.entities.MovieSet" />
</package>
<package name="org.tinymediamanager.core.tvshow">
<class name="TvShow" new-name="org.tinymediamanager.core.tvshow.entities.TvShow" />
<class name="TvShowEpisode" new-name="org.tinymediamanager.core.tvshow.entities.TvShowEpisode" />
<class name="TvShowActor" new-name="org.tinymediamanager.core.tvshow.entities.TvShowActor" />
</package>
<package name="org.tinymediamanager.scraper">
<class name="MediaTrailer" new-name="org.tinymediamanager.core.movie.entities.MovieTrailer" />
</package>
</schema>
<server>
<connection port="6136" max="100" />
<data path="$objectdb/db" />
<!--
<replication url="objectdb://localhost/test.odb;user=admin;password=admin" />
-->
</server>
<users>
<user username="admin" password="admin">
<dir path="/" permissions="access,modify,create,delete" />
</user>
<user username="$default" password="$$$###">
<dir path="/$user/" permissions="access,modify,create,delete">
<quota directories="5" files="20" disk-space="5mb" />
</dir>
</user>
<user username="user1" password="user1" />
</users>
<ssl enabled="false">
<server-keystore path="$objectdb/ssl/server-kstore" password="pwd" />
<client-truststore path="$objectdb/ssl/client-tstore" password="pwd" />
</ssl>
</objectdb>