// currently no video metadata supported
function addVideo(obj) {
// define the parent dir
parent = 'downloads';
var location = obj.location.split('/');
chain = new Array();
isSubPath = false;
// iterate the dirs
for (i = 0; i < location.length-1; i++){
if (! isSubPath && location[i] == parent)
isSubPath = true;
if(isSubPath)
chain.push(location[i]);
}
addCdsObject(obj, createContainerChain(chain));
}
fredag den 6. februar 2009
mediatomb movie java script
A little script that arranges Mediatomb movies in a directory structure similar to the original location of the file on your HD. The code is an improvement to the excellent tutorial posted here.
Abonner på:
Kommentarer til indlægget (Atom)
Ingen kommentarer:
Send en kommentar