Basic Playlist

Jan 23, 2009 at 10:13am

Basic Playlist

I know that it is probably quite simple, but I am having problems creating a basic player that will cycle through videos in a folder.

I can get the folder populated and play videos manually, but I would like the playlist to loop through the files manually. What am I missing? I have experimented with counter as in the included patch, but when it counter out is connected to the playlist in I get errors.

Any help would be very much appreciated.

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 16 286 37 196617 loop 0;
#P message 47 157 47 196617 populate;
#P message 447 407 14 196617 1;
#P number 405 463 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N counter 6;
#X flags 0 0;
#P newobj 405 434 66 196617 counter 6;
#P button 405 391 15 0;
#P newex 47 129 48 196617 loadbang;
#P number 293 275 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 293 245 74 196617 route populate;
#P newex 136 243 68 196617 prepend read;
#P button 213 316 15 0;
#P window setfont Times 10.;
#P comment 228 276 26 1310730 Play;
#P window setfont “Fixedwidth Serif” 10.;
#P newex 213 295 55 1441802 metro 40;
#P toggle 213 275 15 0;
#P newex 213 367 182 1441802 jit.window Movie 5 41 325 281;
#B color 5;
#P newex 213 345 202 1441802 jit.qt.movie @loopreport 320 240;
#B color 5;
#P window setfont “Sans Serif” 9.;
#P user ubumenu 47 194 188 196617 0 1 1 0;
#X add LMLoops_1_01.mov;
#X add LMLoops_1_02.mov;
#X add LMLoops_1_03.mov;
#X add LMLoops_2_01.avi;
#X add LMLoops_2_02.avi;
#X add LMLoops_2_03.avi;
#X prefix_set 0 1 “PowerBook:/Users/ianalgie/Documents/Algie Stuff/Jitter/PlaylistTests/videos/” 0;
#P fasten 10 0 16 0 52 152 21 152;
#P connect 10 0 15 0;
#P connect 15 0 0 0;
#P connect 0 1 7 0;
#P connect 3 0 4 0;
#P connect 4 0 6 0;
#P connect 6 0 1 0;
#P fasten 7 0 1 0 141 336 218 336;
#P fasten 16 0 1 0 21 339 218 339;
#P connect 1 0 2 0;
#P fasten 0 2 8 0 230 238 298 238;
#P connect 8 0 9 0;
#P connect 1 1 11 0;
#P connect 11 0 12 0;
#P connect 12 0 13 0;
#P connect 14 0 12 3;
#P fasten 9 0 12 4 298 314 466 314;
#P window clipboard copycount 17;

#41898
Jan 23, 2009 at 4:04pm

Algeo wrote:
> I know that it is probably quite simple, but I am having problems creating a basic player that will cycle through videos in a folder.
>
> I can get the folder populated and play videos manually, but I would like the playlist to loop through the files manually. What am I missing? I have experimented with counter as in the included patch, but when it counter out is connected to the playlist in I get errors.
>
> Any help would be very much appreciated.
>
try this:

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 56 136 44 196617 del 100;
#P newex 56 114 20 196617 t b;
#P window setfont “Fixedwidth Serif” 10.;
#P newex 493 508 52 1441802 del 100;
#P newex 492 480 94 1441802 sel loopnotify;
#P window setfont “Sans Serif” 9.;
#P newex 334 361 29 196617 t 0 i;
#P newex 87 66 51 196617 tosymbol;
#P button 87 21 15 0;
#P newex 33 90 64 196617 pak prefix s;
#P user ubumenu 33 219 217 196617 0 1 1 0;
#X add;
#X prefix_set 0 1 0;
#P newex 87 42 76 196617 opendialog fold;
#P newex 334 335 27 196617 – 1;
#P message 56 160 34 196617 count;
#P number 293 427 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N counter 0 0 1;
#X flags 0 0;
#P newobj 293 398 71 196617 counter 0 0 1;
#P number 334 310 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 334 280 61 196617 route count;
#P newex 136 245 68 196617 prepend read;
#P button 210 419 15 0;
#P window setfont Times 10.;
#P comment 225 379 26 1310730 Play;
#P window setfont “Fixedwidth Serif” 10.;
#P newex 210 398 55 1441802 metro 40;
#P toggle 210 378 15 0;
#P newex 210 470 182 1441802 jit.window Movie 5 41 325 281;
#B color 5;
#P newex 210 448 292 1441802 jit.qt.movie @autostart 1 @loop 0
@loopreport 1;
#B color 5;
#P connect 15 0 14 0;
#P fasten 9 0 14 0 298 421 431 421 431 188 38 188;
#P fasten 18 0 14 0 339 386 405 386 405 207 38 207;
#P connect 11 0 14 0;
#P connect 15 0 21 0;
#P connect 21 0 22 0;
#P connect 22 0 11 0;
#P connect 16 0 13 0;
#P connect 13 0 17 0;
#P connect 17 0 15 1;
#P connect 14 1 6 0;
#P connect 7 0 2 0;
#P connect 2 0 3 0;
#P connect 3 0 5 0;
#P connect 5 0 0 0;
#P fasten 6 0 0 0 141 441 215 441;
#P connect 0 0 1 0;
#P fasten 20 0 9 0 498 533 604 533 604 394 298 394;
#P connect 9 0 10 0;
#P connect 14 2 7 0;
#P connect 7 0 8 0;
#P connect 8 0 12 0;
#P connect 12 0 18 0;
#P connect 18 1 9 4;
#P connect 0 1 19 0;
#P connect 19 0 20 0;
#P window clipboard copycount 23;

p

http://pure.test.at
http://www.myspace.com/pvre
http://www.heartchamberorchestra.org

http://www.trblnc.org

#149539
Jan 23, 2009 at 10:29pm

Many thanks, just the ticket.

#149540

You must be logged in to reply to this topic.