problem with playlist

Per's icon

hi

I have a playlist like this below. but my problem is that I want to set the moviepath where the movies are stored. the files are named 1.mov, 2.mov, 3. mov and 4.mov.

I have stored them in path /klipp/ but I only get the message "cant find file 1.mov" and so on.

Max Patch
Copy patch and select New From Clipboard in Max.

how do I change the moviepath to display them? I find the attribute moviepath in the reference file for jit.qt.movie but cant find it in the list in the program itself.

Jan M's icon

Hi Per,

It's me again. Like always several solutions are possible. One is to write the complete absolute path when opening [read /klipp/1.mov]. Another way is to add the directory where the movie files are into the Max search path. You can do this via the preferences in the menu.

Jan

Per's icon

hi again

ok thanks. the problem is though still there. heres the patch.

I get the errormessage:
cant find the file /klipp/1.mov and so on. but the path should be right cause I can see them in the umenu.

Max Patch
Copy patch and select New From Clipboard in Max.

any more tips? (thankks a lot jan)

Jan M's icon

I can't see your patch here - No Max on that machine. can you send me a .maxpat that i can open with Runtime or a screen-shot?

Per's icon

ok, here it comes

whoops wrong file

2385.test2.maxpat
Max Patch
Per's icon

correct one here

Per's icon

cant seem to be able to upload again. strange.

here it comes through dropbox instead:

Jan M's icon

Here everything works as intended.

Maybe some hints you to look at:

If Max tries to open a file (i.e. with the read message to jit.qt.movie) it first looks for the file in the same location where the patch is located.

If it doesn't find it. It will look for a file in all directories listed in the search path.

In case several file with the same name are found you'll find a message in the max window, which one was opened. In any case you can always specify an absolute path with the filename.

If your path or the filename contains spaces you need to put in to quotes.

"/path with/spaces/file name.mov"

In general check if you have unintended spaces in your message (that happens i.e. if you compose the the filename and the path using i.e. [prepend], [append] or a mesagebox with [$1 $2]. In that case use [sprintf].

Per's icon

heres again through dropbox

Jan M's icon

gotta leave now. will look at it later tonight....

Per's icon

solved it. i typed the path wrong