Question
Problems with FLV directories
I am having some problems getting to the videos in my
AppsDir. I have been searching the forums and documents for an
answer, but no luck. Any help would be greatly appreciated!
In this file
C:\Program Files\Macromedia\Flash Media Server 2\conf\_defaultRoot_\_defaultVHost_\Vhost.xml
There is a line I modified:
<AppsDir>${VHOST.APPSDIR};E:\videos</AppsDir>
I just added the ";E:\videos" to the ${VHOST.APPSDIR} that was already there. ${VHOST.APPSDIR} applies to the first directory listed directly below
Picks up movies here
C:\Program Files\Macromedia\Flash Media Server 2\applications\Test1\streams\_definst_
and here
E:\videos\Test2\streams\_definst_
just fine
I can get to a movie called "C:\Program Files\Macromedia\Flash Media Server 2\applications\Test1\streams\_definst_\testrt.flv" like:
<track>
<title>Rob hill climbing - SAN</title>
<location>rtmp://127.0.0.1/Test1</location>
<identifier>testrt</identifier>
<meta rel="type">rtmp</meta>
</track>
and I can get to a movie called "E:\videos\Test2\streams\_definst_\testrt.flv":
<track>
<title>Rob hill climbing - SAN</title>
<location>rtmp://127.0.0.1/Test2</location>
<identifier>testrt</identifier>
<meta rel="type">rtmp</meta>
</track>
These both work just fine, however here is how my e:\videos directory looks:
e:\videos\0212\VidArchive\JOESCHMOE\02\12\07
which is translated
e:\videos\[2 digit YEAR][2 digit MONTH]\VidArchive\[AUTHOR]\[2 digit YEAR]\[2 digit MONTH]\[2 digit DAY]
This is an idea of what the directories look like, they are all different. The bottom line is how do you get rid of the "streams\_definst_\" Is there a way around it?
In this file
C:\Program Files\Macromedia\Flash Media Server 2\conf\_defaultRoot_\_defaultVHost_\Vhost.xml
There is a line I modified:
<AppsDir>${VHOST.APPSDIR};E:\videos</AppsDir>
I just added the ";E:\videos" to the ${VHOST.APPSDIR} that was already there. ${VHOST.APPSDIR} applies to the first directory listed directly below
Picks up movies here
C:\Program Files\Macromedia\Flash Media Server 2\applications\Test1\streams\_definst_
and here
E:\videos\Test2\streams\_definst_
just fine
I can get to a movie called "C:\Program Files\Macromedia\Flash Media Server 2\applications\Test1\streams\_definst_\testrt.flv" like:
<track>
<title>Rob hill climbing - SAN</title>
<location>rtmp://127.0.0.1/Test1</location>
<identifier>testrt</identifier>
<meta rel="type">rtmp</meta>
</track>
and I can get to a movie called "E:\videos\Test2\streams\_definst_\testrt.flv":
<track>
<title>Rob hill climbing - SAN</title>
<location>rtmp://127.0.0.1/Test2</location>
<identifier>testrt</identifier>
<meta rel="type">rtmp</meta>
</track>
These both work just fine, however here is how my e:\videos directory looks:
e:\videos\0212\VidArchive\JOESCHMOE\02\12\07
which is translated
e:\videos\[2 digit YEAR][2 digit MONTH]\VidArchive\[AUTHOR]\[2 digit YEAR]\[2 digit MONTH]\[2 digit DAY]
This is an idea of what the directories look like, they are all different. The bottom line is how do you get rid of the "streams\_definst_\" Is there a way around it?
