projects
/
living-lab-site.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cis: bugs fixed; start / stop / remove torrents commands implemented
[living-lab-site.git]
/
cis
/
config.py
diff --git
a/cis/config.py
b/cis/config.py
index
c68d05c
..
094e552
100644
(file)
--- a/
cis/config.py
+++ b/
cis/config.py
@@
-3,8
+3,8
@@
import logger
# Make here all necessary imports required for API classes.
import logger
# Make here all necessary imports required for API classes.
-from api import
avhandlin
g
-from api import f
ile_transfer
+from api import
ffmpe
g
+from api import f
tp
# === GENERAL CONFIGURATIONS ===
# === GENERAL CONFIGURATIONS ===
@@
-15,34
+15,35
@@
START_DOWNLOADS_INTERVAL = 24 * 3600.0 # Once a day
# === FILE TRANSFER CONFIGURATIONS ===
# Path from the Web Server where the raw input video file is stored.
# === FILE TRANSFER CONFIGURATIONS ===
# Path from the Web Server where the raw input video file is stored.
-WS_UPLOAD_PATH = '
tmp
/data/upload'
+WS_UPLOAD_PATH = '
devel
/data/upload'
# Path from the Web Server where the output torrent files will be stored.
# Path from the Web Server where the output torrent files will be stored.
-WS_TORRENTS_PATH = '
tmp
/data/torrents'
+WS_TORRENTS_PATH = '
devel
/data/torrents'
# Path from the Web Server where the output thumbnail image files will be
# stored.
# Path from the Web Server where the output thumbnail image files will be
# stored.
-WS_THUMBS_PATH = '
tmp
/data/thumbs'
+WS_THUMBS_PATH = '
devel
/data/thumbs'
# === BITTORRENT CONFIGURATIONS ===
#BT_TRACKER = "http://p2p-next-10.grid.pub.ro:6969/announce"
# === BITTORRENT CONFIGURATIONS ===
#BT_TRACKER = "http://p2p-next-10.grid.pub.ro:6969/announce"
-BT_TRACKER = 'http://
localhost
:6969/announce'
+BT_TRACKER = 'http://
p2p-next-10.grid.pub.ro
:6969/announce'
RAW_VIDEOS_PATH = 'tmp/raw'
MEDIA_PATH = 'tmp/media'
THUMBS_PATH = 'tmp/thumbs'
RAW_VIDEOS_PATH = 'tmp/raw'
MEDIA_PATH = 'tmp/media'
THUMBS_PATH = 'tmp/thumbs'
-TORRENTS_PATH = 'tmp/torrents' # In a distributed file system for multi-CIS
+# In a distributed file system for multi-CIS.
+TORRENTS_PATH = '/home/p2p/export/p2p-tube/torrents'
# === EXTERNAL PROGRAMS API CLASSES ===
# API class for a prgram which retrives audio/video information, like duration.
# === EXTERNAL PROGRAMS API CLASSES ===
# API class for a prgram which retrives audio/video information, like duration.
-AVINFO_CLASS =
avhandlin
g.FFprobeAVInfo
+AVINFO_CLASS =
ffmpe
g.FFprobeAVInfo
# API class for a prgram which transcodes an audio/video file.
# API class for a prgram which transcodes an audio/video file.
-TRANSCODER_CLASS =
avhandlin
g.FFmpegTranscoder
+TRANSCODER_CLASS =
ffmpe
g.FFmpegTranscoder
# API class for a prgram which extracts thumbnail images from a file.
# API class for a prgram which extracts thumbnail images from a file.
-THUMB_EXTRACTOR_CLASS =
avhandlin
g.FFmpegThumbExtractor
+THUMB_EXTRACTOR_CLASS =
ffmpe
g.FFmpegThumbExtractor
# API class for a prgram which transfers files between Web Server and CIS.
# API class for a prgram which transfers files between Web Server and CIS.
-FILE_TRANSFERER_CLASS = f
ile_transfer
.FTPFileTransferer
+FILE_TRANSFERER_CLASS = f
tp
.FTPFileTransferer
# === EXTERNAL PROGRAMS BINARY FILES ===
# === EXTERNAL PROGRAMS BINARY FILES ===