summaryrefslogtreecommitdiff
path: root/bin/textfiles
diff options
context:
space:
mode:
Diffstat (limited to 'bin/textfiles')
-rw-r--r--bin/textfiles/browseAudio.txt21
-rw-r--r--bin/textfiles/browseFolder-aud.txt36
-rw-r--r--bin/textfiles/getGlobals.txt2
-rw-r--r--bin/textfiles/streamAudio.txt2
4 files changed, 38 insertions, 23 deletions
diff --git a/bin/textfiles/browseAudio.txt b/bin/textfiles/browseAudio.txt
deleted file mode 100644
index 2f91c4f..0000000
--- a/bin/textfiles/browseAudio.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "list":
- [
- {
- "type": "folder",
- "name": "album1",
- "path": "/mnt/music/album1"
- },
- {
- "type": "folder",
- "name": "album2",
- "path": "/mnt/music/album2"
- },
- {
- "type": "audio",
- "name": "audiofile.mp3",
- "length": "3.30",
- "path": "/mnt/music/audiofile.mp3"
- }
- ]
-}
diff --git a/bin/textfiles/browseFolder-aud.txt b/bin/textfiles/browseFolder-aud.txt
new file mode 100644
index 0000000..e2e71be
--- /dev/null
+++ b/bin/textfiles/browseFolder-aud.txt
@@ -0,0 +1,36 @@
+{
+ "list":
+ [
+ {
+ "type": "folder",
+ "name": "album1",
+ "path": "/mnt/music/album1"
+ },
+ {
+ "type": "folder",
+ "name": "album2",
+ "path": "/mnt/music/album2"
+ },
+ {
+ "type": "audio",
+ "name": "audiofile.mp3",
+ "number": "1",
+ "length": "3.30",
+ "path": "/mnt/music/audiofile.mp3"
+ },
+ {
+ "type": "audio",
+ "name": "audiofile2.mp3",
+ "number": "2",
+ "length": "2.27",
+ "path": "/mnt/music/audiofile2.mp3"
+ },
+ {
+ "type": "audio",
+ "name": "audiofile3.mp3",
+ "number": "3",
+ "length": "4.03",
+ "path": "/mnt/music/audiofile3.mp3"
+ }
+ ]
+}
diff --git a/bin/textfiles/getGlobals.txt b/bin/textfiles/getGlobals.txt
index 87a9994..d4795e4 100644
--- a/bin/textfiles/getGlobals.txt
+++ b/bin/textfiles/getGlobals.txt
@@ -1,6 +1,6 @@
{
"streamdev_server": "http://127.0.0.1:3000",
"rec_path": "/video/",
- "video_path": "/mnt/media/Video/",
+ "video_path": "/mnt/media/Videos/",
"audio_path": "/mnt/media/Music/"
}
diff --git a/bin/textfiles/streamAudio.txt b/bin/textfiles/streamAudio.txt
index 28cca73..a90d122 100644
--- a/bin/textfiles/streamAudio.txt
+++ b/bin/textfiles/streamAudio.txt
@@ -1,5 +1,5 @@
{
- playlist:
+ track:
[
{
"file": "/istreamdev/playlist/track1.mp3"