LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices

Reply
 
Search this Thread
Old 04-15-2003, 04:00 PM   #1
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
lazy man watching porns shellscript


i was watching movie clips(5-20sec length) today morning
i was so tired and didn't want to wait inbetween movies
so i just downloaded all movies and wrote a shellscript to watch it successively

here it is..

#!/usr/bin/bash

if [ -z "$1" ]; then
echo usage: $0 extension
exit
fi

extension=$1
files=`ls -rt *.$extension`

for i in $files;do
mplayer -vo xv -ao oss $i
done

rm $files


after doing this i thought that it would be cool, if a gui player can takes links from browsers
or even bookmark manager that i can just drag and drop links from browser..

well i'm lazy


by mouse drag and drop

Last edited by trickykid; 04-15-2003 at 04:06 PM.
 
Old 04-15-2003, 04:07 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
you're serious? that's an awful way to do it. you'd just use a playlist, or at least play with a wildcard.
 
Old 04-15-2003, 04:07 PM   #3
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Can we please leave out the graphic words that were used in your post, its really unecessary. And this belongs more in the Success forum, been moved.
 
Old 04-15-2003, 05:31 PM   #4
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Original Poster
Rep: Reputation: 30
haha

does mplayer *.mpg works ?
i guessed it will pop up several windows

anyway i had fun haha.
i don' htave gmplayer to use playlist =(
 
Old 04-15-2003, 05:33 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
playlist works from a command line, rtfm
 
Old 04-15-2003, 05:37 PM   #6
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Original Poster
Rep: Reputation: 30
hehe
.. thanks

=)
 
Old 04-30-2003, 06:11 PM   #7
Whitehat
Senior Member
 
Registered: Feb 2003
Location: The Cold North
Distribution: SuSE 9.1
Posts: 1,289

Rep: Reputation: 45
Um.....Porn...?

Geeeez.

Do something else....

Porn is such a waste of time...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Shellscript paraiso Linux - Newbie 7 05-12-2005 07:25 AM
shellScript help paraiso Linux - Newbie 2 05-10-2005 07:09 PM
ShellScript sharadgana Programming 1 12-16-2004 01:16 PM
LAZY man gudie (like me) for mplayer starking Linux - Newbie 1 07-12-2004 10:06 AM
I know I am lazy but... Vlad_M Linux - General 6 09-24-2002 04:47 PM


All times are GMT -5. The time now is 03:20 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration