X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=cis%2Fconfig.py;h=fcc629bd437e6b91db374ef19f5134e74c951c91;hb=2aecadba1f242a0dcf68614a6aa602282f020b41;hp=3e9ff6911dbbe1af3cf1105c4283de8824a2b29a;hpb=3cf4f616f7d4095623ad5eae5db9fb1149ee1238;p=living-lab-site.git diff --git a/cis/config.py b/cis/config.py index 3e9ff69..fcc629b 100644 --- a/cis/config.py +++ b/cis/config.py @@ -7,21 +7,22 @@ from api import file_transfer # === FILE TRANSFER CONFIGURATIONS === # Path from the Web Server where the raw input video file is stored. -INPUT_PATH = 'upload' +INPUT_PATH = 'Downloads' # Path from the Web Server where the output torrent files will be stored. -OUTPUT_TORRENTS_PATH = 'torrents' +OUTPUT_TORRENTS_PATH = 'Downloads/tmp1' # Path from the Web Server where the output thumbnail image files will be # stored. -OUTPUT_THUMBS_PATH = 'thumbs' +OUTPUT_THUMBS_PATH = 'Downloads/tmp2' # === BITTORRENT CONFIGURATIONS === -BT_TRACKER = "http://p2p-next-10.grid.pub.ro:6969/announce" +#BT_TRACKER = "http://p2p-next-10.grid.pub.ro:6969/announce" +BT_TRACKER = "http://localhost:6969/announce" # === EXTERNAL PROGRAMS API CLASSES === # API class for a prgram which retrives audio/video information, like duration. -AVINFO_CLASS = avhandling.FFmpegAVInfo +AVINFO_CLASS = avhandling.FFprobeAVInfo # API class for a prgram which transcodes an audio/video file. TRANSCODER_CLASS = avhandling.FFmpegTranscoder # API class for a prgram which extracts thumbnail images from a file. @@ -30,7 +31,7 @@ THUMB_EXTRACTOR_CLASS = avhandling.FFmpegThumbExtractor FILE_TRANSFERER_CLASS = file_transfer.FTPFileTransferer -# === EXTERNAL PROGRAMS BINARY FILES +# === EXTERNAL PROGRAMS BINARY FILES === # Set this values to None if you want default values provided by the API # class to be used. # Binary of a prgram which retrives audio/video information, like duration.