Ticket #1721: mc.ext.diff
File mc.ext.diff, 2.8 KB (added by birdie, 13 years ago) |
---|
-
mc.ext.in
old new 403 403 Include=image 404 404 405 405 include/image 406 Open=if [ "$DISPLAY" = "" ]; then zgv %f; else ( gqview %f&); fi406 Open=if [ "$DISPLAY" = "" ]; then zgv %f; else (xdg-open %f >/dev/null 2>&1 &); fi 407 407 View=%view{ascii} identify %f 408 408 #View=%view{ascii} asciiview %f 409 409 … … 411 411 ### Sound files ### 412 412 413 413 regex/\.([wW][aA][vV]|[sS][nN][dD]|[vV][oO][cC]|[aA][uU]|[sS][mM][pP]|[aA][iI][fF][fF]|[sS][nN][dD])$ 414 Open=if [ "$DISPLAY" = "" ]; then play %f; else (xmms %f >/dev/null 2>&1 &); fi 414 Include=audio 415 415 416 416 regex/\.([mM][oO][dD]|[sS]3[mM]|[xX][mM]|[iI][tT]|[mM][tT][mM]|669|[sS][tT][mM]|[uU][lL][tT]|[fF][aA][rR])$ 417 418 417 Open=mikmod %f 418 #Open=tracker %f 419 419 420 420 regex/\.([wW][aA][wW]22)$ 421 421 Open=vplay -s 22 %f 422 422 423 regex/\.([mM][pP]3)$ 424 Open=if [ "$DISPLAY" = "" ]; then mpg123 %f; else (xmms %f >/dev/null 2>&1 &); fi 425 View=%view{ascii} mpg123 -vtn1 %f 2>&1 | sed -n '/^Title/,/^Comment/p;/^MPEG/,/^Audio/p' 426 427 regex/\.([oO][gG][gG|aA|vV|xX])$ 428 Open=if [ "$DISPLAY" = "" ]; then ogg123 %f; else (xmms %f >/dev/null 2>&1 &); fi 429 View=%view{ascii} ogginfo %s 430 431 regex/\.([sS][pP][xX]|[fF][lL][aA][cC])$ 423 regex/\.([sS][pP][xX])$ 432 424 Open=if [ "$DISPLAY" = "" ]; then play %f; else (xmms %f >/dev/null 2>&1 &); fi 433 425 434 426 regex/\.([mM][iI][dD][iI]?|[rR][mM][iI][dD]?)$ 435 427 Open=timidity %f 436 428 437 regex/\.([wW][mM][aA])$ 438 Open=mplayer -vo null %f 439 View=%view{ascii} mplayer -quiet -slave -frames 0 -vo null -ao null -identify %f 2>/dev/null | tail +13 || file %f 429 regex/\.([wW][mM][aA]|[aA][pP][eE]|[aA][aA][cC]|[wW][vV]|[mM]4[aA]|[fF][lL][aA][cC]|[fF][lL][aA]|[mM][pP]3|[oO][gG][gG|aA|xX])$ 430 Include=audio 431 432 include/audio 433 Open=if [ -z "$DISPLAY" ]; then mplayer -vo null %f; else (xdg-open %f >/dev/null 2>&1 &); fi 434 View=%view{ascii} mplayer -quiet -slave -frames 0 -vo null -ao null -identify %f 2>/dev/null | grep ID_ | sed 's/ID_//' || file %f 435 440 436 441 437 442 438 ### Play lists ### 443 439 444 440 regex/\.([mM]3[uU]|[pP][lL][sS])$ 445 Open=if [ -z "$DISPLAY" ]; then mplayer -vo null -playlist %f; else (x mms -p%f >/dev/null 2>&1 &); fi441 Open=if [ -z "$DISPLAY" ]; then mplayer -vo null -playlist %f; else (xdg-open %f >/dev/null 2>&1 &); fi 446 442 447 443 448 444 ### Video ### 449 445 446 regex/\.(3[gG][pP])$ 447 Include=video 448 450 449 regex/\.([aA][vV][iI])$ 451 450 Include=video 452 451 … … 478 477 regex/\.([fF][lL][iIcCvV])$ 479 478 Include=video 480 479 481 regex/\.([oO][gG][mM ])$480 regex/\.([oO][gG][mM|vV])$ 482 481 Include=video 483 482 484 483 regex/\.([rR][aA]?[mM])$ … … 486 485 487 486 include/video 488 487 Open=(mplayer %f >/dev/null 2>&1 &) 488 View=%view{ascii} mplayer -quiet -slave -frames 0 -vo null -ao null -identify %f 2>/dev/null | grep ID_ | sed 's/ID_//' || file %f 489 489 #Open=(gtv %f >/dev/null 2>&1 &) 490 490 #Open=(xanim %f >/dev/null 2>&1 &) 491 491