problem with playlist

Jun 22, 2011 at 10:39am

problem with playlist

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.

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.

– Pasted Max Patch, click to expand. –
#57715
Jun 22, 2011 at 10:57am

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

#206841
Jun 22, 2011 at 11:16am

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.

any more tips? (thankks a lot jan)

– Pasted Max Patch, click to expand. –
#206842
Jun 22, 2011 at 11:20am

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?

#206843
Jun 22, 2011 at 11:25am

ok, here it comes

whoops wrong file

Attachments:
  1. test2.maxpat
#206844
Jun 22, 2011 at 11:31am

correct one here

#206845
Jun 22, 2011 at 11:49am

cant seem to be able to upload again. strange.

here it comes through dropbox instead:

#206846
Jun 22, 2011 at 11:52am

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].

#206847
Jun 22, 2011 at 11:57am

heres again through dropbox

#206848
Jun 22, 2011 at 12:02pm

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

#206849
Jun 22, 2011 at 12:14pm

solved it. i typed the path wrong

#206850

You must be logged in to reply to this topic.