summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-12-08 11:25:52 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-12-08 11:29:50 (GMT)
commit3012f89fff0ee185c11dca56d8172c04c4a1987f (patch)
tree1469f51ed2087c9756ffb5163e82ee862664162a /test
parenta6b29b342a73582a7f02877dda648d8d7a44ec57 (diff)
fetcher parses SourceUri and selects right fetcher function
Diffstat (limited to 'test')
-rw-r--r--test/simple1.json2
-rw-r--r--test/simple2.json12
2 files changed, 13 insertions, 1 deletions
diff --git a/test/simple1.json b/test/simple1.json
index 0aeec7d..3083de7 100644
--- a/test/simple1.json
+++ b/test/simple1.json
@@ -8,5 +8,5 @@
"NORMALIZATION_LEVEL": -1200,
"AUTOTRIM_LEVEL": 0,
"USE_METADATA": true,
- "SOURCE_URI": "http://example.com/files/sendung.mp3"
+ "SOURCE_URI": "https://example.com/files/sendung.mp3"
}
diff --git a/test/simple2.json b/test/simple2.json
new file mode 100644
index 0000000..6f8735d
--- /dev/null
+++ b/test/simple2.json
@@ -0,0 +1,12 @@
+{
+ "LOGIN_NAME": "heslinki",
+ "PASSWORD": "123456",
+ "GROUP_NAME": "test",
+ "CART_NUMBER": 10000,
+ "CUT_NUMBER": 1,
+ "CHANNELS": 2,
+ "NORMALIZATION_LEVEL": -1200,
+ "AUTOTRIM_LEVEL": 0,
+ "USE_METADATA": true,
+ "SOURCE_URI": "local:///path/to/sendung.mp3"
+}