Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Mouse

Pages: 1 2 [3] 4
41
Off Topic / I Need Help Creating A M3u Playlist.
« on: March 21, 2004, 09:37:18 PM »
Quote
so.. you either need to set the number of files retrieved and time of last run as variables, or in a file
I *think* for variables you do export Varname "files"

so you could do..
export numfiles "some way to get # of files"
export lastrun "the date"
Then probably
echo "Mp3: " & numfiles & " files added to playlist at " & lastrun;
You just have to figure out setting variables and getting the number of files - the easy way is probably just get the number of lines in the file - then you dont even have to set a variable
Yea, but that isn't the hard part. To find the number of mp3s in the m3u file all i have to do is:

Code: [Select]
grep -c .*\.mp3$ m3u.m3u
As for when the last time it was run all I have to do is return %4. Because `date` was set just before the file was created.

As mentioned above the script is in a loop. How do I interupt the loop, make it so that it preforms the task and doesn't start another instance of the script?

[edit] I just remember that my professor wanted us to use the TRAP command in order to interrupt the script... but from the 2 text book and some google searches for some more information I can't seem to figure out how i'm supposed to get it to work like he wants us to :( [/edit]

42
Off Topic / Kids
« on: March 21, 2004, 02:27:06 PM »
I find Diablus' story a little hard to believe.  :ph34r:  What I find hard to believe is that his friends were able to open the floppy disk in sucha way that they were able to both 1) open insert a piece of sand paper into the disk so that it spun (it would have had to spin if it were to cause sparks) and 2) (which i find to be the most unbelieveable part) beable to get the ruind floppy into the disk drive itself.  <_<

43
Off Topic / I Need Help Creating A M3u Playlist.
« on: March 21, 2004, 02:13:24 PM »
Lets assume that the script above was named Mp3_Archive and that I have it setup so that the Mp3_Archive script starts in the background at startup. What if I wanted to beable to type: Mp3_Archive status and the script would give back the last time it wrote the m3u file and how many files were in it. Is there something speical I need to do in order to bring the program back out of the background, have it preform the task and then go back into the background to continue what it was doing?

44
Off Topic / I Need Help Creating A M3u Playlist.
« on: March 21, 2004, 01:53:20 PM »
Quote
Try the new m3u.. It will probably work - windows seems to treat \ as equal to /
Well I'll be darned... It bloody worked!!!  :o  :blink: Now if only I had known that this worked before...  :angry:

Quote
Why are the slashes backwards AND forwards?
The reason is because when I used the fprintf option and that was formating the output to look like: "\\Tachikoma\" followed by the path and file name. With linux the way that the file structure is describes is the opposite of windows, "/home/user/documents". When the find command found a mp3 file it didn't edit the path it just slapped it into the output. So when the find command was finished I had a bunch a files in a wierd hybrid file structure, which oddly enough didn't seem to matter at all...

[edit] Anyway, does anyone know why winamp accepted the "/"?  :huh: [/edit]

45
Off Topic / I Need Help Creating A M3u Playlist.
« on: March 20, 2004, 11:37:41 PM »
Quote
Why are you creating a *winamp* playlist for linux? :p

I know theres a command that lets you replace things like that..
anyway, try this instead find \Tachikoma\Music\ | grep *.mp3 > m3u.m3u
I cant quite remember the output of find.. It *may* give paths..

if not,
find \ | grep *.mp3 > m3u.m3u
will give you paths.. I'm sure of that
I'm not creating a winamp playlist for linux. I'm creating a winamp playlist using linux for use on a Windows system.  <_< it's ok null, we still love you <3

No matter how you toss the weighted die you're still gonna come up with 6's. Both commands will give me some kinda error or just return no results. Reasons being that linux file structure use "/" to seprate the file directories as apposed to the "\" that windows uses. And it seems like you're not using the grep command correctly. In anycase I'd still have to use some command or script to change "/" to "\". From what I can tell your find command will do the same thing mine does but with out the "\\Tachikoma" which is the NetBEUI identifier in the prefix.

I did a google search on string subsitution and it came up with a command called awk or gawk, it's gnu counterpart. I can't for the life of me figure how how the heck to use it. :(

[edit] I tried both commands fixing them a little to try and get them to work. Didn't happen.  :ph34r:  Still at square one. Please advise.  :(  :help: [/edit]

46
Off Topic / I Need Help Creating A M3u Playlist.
« on: March 20, 2004, 01:02:52 PM »
So I have a Linux server with all of my mp3s. I want to beable to have a script that will create an updated winamp playlist every 5 hours. There is no real pracitlcal reason right now for me to create a new one every 5 hours since I rarely get new mp3s. The reason why I'm really doing this is because my Linux professor wants us to create a Linux script that does something every so often and have it run in the background and also have it start on startup.

So anway, in a winamp generated playlist files that are queued over a network look like this:

Quote
\\Tachikoma\Music\Anime\Ghost in the Shell\Innocence OST (320CBR)\GitS Innocence - 07 - Kugutsuuta aratayo ni kamutsudo hite.mp3
\\Tachikoma\Music\Anime\Ghost in the Shell\Innocence OST (320CBR)\GitS Innocence - 08 - The Doll House I.mp3
\\Tachikoma\Music\Anime\Ghost in the Shell\Innocence OST (320CBR)\GitS Innocence - 09 - The Doll House II.mp3
\\Tachikoma\Music\Anime\Ghost in the Shell\Innocence OST (320CBR)\GitS Innocence - 10 - Kugutsuuta kagirohi ha yomi ni mata muto.mp3
\\Tachikoma\Music\Anime\Ghost in the Shell\Innocence OST (320CBR)\GitS Innocence - 11 - Tohokami emi tame.mp3
\\Tachikoma\Music\Anime\Ghost in the Shell\Innocence OST (320CBR)\GitS Innocence - 12 - Follow Me.mp3
\\Tachikoma\Music\Rock\Godsmack - Awake.mp3
\\Tachikoma\Music\Rock\Godsmack - Get Up, Get Out.mp3
\\Tachikoma\Music\Rock\Godsmack - Voodoo.mp3
\\Tachikoma\Music\Rock\Godsmack - Whatever.mp3
\\Tachikoma\Music\Alternative\Goo Goo Dolls - Big Machine.mp3
\\Tachikoma\Music\Rock\Foo Fighters - Big Me.mp3
\\Tachikoma\Music\Rock\Foo Fighters - Everlong.MP3
\\Tachikoma\Music\Rock\Foo Fighters - Learn To Fly.mp3
\\Tachikoma\Music\Rock\Foo Fighters - Monkey Wrench.mp3
\\Tachikoma\Music\Rock\Foo Fighters - My Hero.mp3
\\Tachikoma\Music\Rock\Foo Fighters - Stacked Actors.mp3
\\Tachikoma\Music\Rock\Foo Fighters - Times Like These (Acoustic).mp3

Here's my script that will find all the mp3s on the server, put them into a file and then repeat every 5 hours:

Code: [Select]
#!/bin/bash
#
# Script will compile a list of all the mp3s in the sub directories and
# then compile a new winamp play list.

exec 1> mp3_list

while [ 1 eq 1]
do
set `date`
# Output list of mp3 files on server into a file.
find -iregex .*\.mp3 -fprintf mp3_list.$2.$3.$6 \\\\\\\\Tachikoma\\\\%P\\n
# Wait for 5 hours and repeat.
sleep 18000
done
exit 0

The script yeilds the following output:

Quote
\\Tachikoma\Techno/DJ Sammy/DJ Sammy - Sunlight.mp3
\\Tachikoma\Techno/DJ Sammy/DJ Sammy - The Boys of Summer.mp3
\\Tachikoma\Techno/DJ Sammy/DJ Sammy - Unbreakable.mp3
\\Tachikoma\Techno/DJ Sammy/DJ Sammy - You're My Angel.mp3
\\Tachikoma\Techno/DJ Mangoo/DJ Mangoo - Eurodancer.mp3
\\Tachikoma\Techno/DJ Mangoo/DJ Mangoo - Goodbye.mp3
\\Tachikoma\Techno/DJ Mangoo/DJ Mangoo - Inside You Part 1.mp3
\\Tachikoma\Techno/DJ Mangoo/DJ Mangoo - You are my fantasy.mp3
\\Tachikoma\Techno/DJ Encore/DJ Encore - I See Right Through To You  [Extendend Version].mp3
\\Tachikoma\Techno/DJ Encore/DJ Encore - I See Right Through To You.mp3
\\Tachikoma\Techno/DJ Boom Boom/Dj Boom Boom - Ecstasy.mp3
\\Tachikoma\Techno/DJ Boom Boom/DJ Boom Boom - Magic Orgasm (Club 69 Mix).mp3
\\Tachikoma\Techno/DJ Boom Boom/DJ Boom Boom - Up & Down(Remix).mp3
\\Tachikoma\Techno/Daniel Beddingfield/Daniel Beddingfield - Gotta Get Through This.mp3
\\Tachikoma\Techno/Daniel Beddingfield/Daniel Bedingfield - Gotta Get Thru This (Acoustic).mp3
\\Tachikoma\Techno/Aura/Aura - Endless.mp3
\\Tachikoma\Techno/Aura/Aura - The Source of Trance - Cry (Remix).mp3
\\Tachikoma\Techno/Aura/Aura - The Source of Trance - Hold my hand.mp3

Now if you compair the output from the script and the winamp generated you'll notice that the slashes in the script output differ from the winamp generated. From what I can tell from the find documentation is that there is no string subsitution. :( So I was wondering if any one knows of a way to do string subsitution within a script or if there is a command that I can use in order to complete what I need to do.

There also might be a slight complication with the newline character that is placed at the end of each line. I dont think that'll be sucha huge problem, and if it is I'll cross that bridge when I come to it.

Inanycase any useful information, feedback or insightful comments are apprecaited.

47
Off Topic / Starcraft Players List
« on: March 04, 2004, 08:54:04 AM »
Hey you forgot me! :(

Llama_Mouse - Mouse

48
General / The Fate Of LM And FSD
« on: February 25, 2004, 09:49:32 AM »
"unless it's costing more" well... does paying for the connection but the server not being used hardly at all signify it costing more? seems kinda pointless... I dunno if about other ppl but some times i get confused... on what version i'm playing when i keep going back and forth between the servers  <_< it's probably just me. I think it's not fair to LB in a sense that he's maintaining a server that isnt played in very much, so I vote to give it the ol' marine BOOT!

49
Off Topic / Dreamweaver Question
« on: February 16, 2004, 06:57:01 PM »
That would be fine if it were only couple files. But that one sample html file was 1 chapter. There are about 6-7 chapters per volume and there are 30 volumes that i need to create and then convert. I dont remember exactly how many chapters there are but there is 100+, which gets mundain if I have to change each in wordpad/word. I'd like to if at all possible make it quick and painless as much as possible.  o_O

50
Off Topic / Dreamweaver Question
« on: February 16, 2004, 04:43:31 PM »
Ok I have this slight problem. I want to beable to create an html file such as this:

Code: [Select]
<html>
<head>
<title>Rurouni Kenshin: Volume 2, Chapter 10</title>
</head>
<body>
<center>
<a href="Chapter09.html">Previous Chapter</a> - <a href="Chapter11.html">Next Chapter</a><br><hr>
<img src="RK010-00.jpg" align="left">
<img src="RK010-01.jpg"><br><hr>
<img src="RK010-02.jpg" align="left">
<img src="RK010-03.jpg"><br><hr>
<img src="RK010-04.jpg" align="left">
<img src="RK010-05.jpg"><br><hr>
<img src="RK010-06.jpg" align="left">
<img src="RK010-07.jpg"><br><hr>
<img src="RK010-08.jpg" align="left">
<img src="RK010-09.jpg"><br><hr>
<img src="RK010-10.jpg" align="left">
<img src="RK010-11.jpg"><br><hr>
<img src="RK010-12.jpg" align="left">
<img src="RK010-13.jpg"><br><hr>
<img src="RK010-14.jpg" align="left">
<img src="RK010-15.jpg"><br><hr>
<img src="RK010-16.jpg" align="left">
<img src="RK010-17.jpg"><br><hr>
<img src="RK010-18.jpg"><br><hr>
<a href="Chapter09.html">Previous Chapter</a> - <a href="Chapter11.html">Next Chapter</a>
</body>
</html>

Without having to copying, pasting, and then finding & replacing the text I want to change in notepad.  I want to change "01" of "RK001-49.jpg" on each line.  It  would be nice if there was a way to look at a directory and add or subtract lines depending on how many jpg's are in a the directory.

Is dreamweaver capable of completing such a task through templates(or some other feature)? or should I continue to worth through notepad?  <_< If dreamweaver cant, is there another program that would beable to do this for me? :help:

51
General / Connection Tweaking Script
« on: February 16, 2004, 12:57:02 PM »
If you wanna be able to change your cl_updaterate and cl_cmdrate in real time without having to type it out in the console this is the script for you!  :D

Code: [Select]
//      ULTIMATE Tweek Net Settings
//   == - - - - - - - - - - - - - - - - - - - ==
alias udrr "udr90"
alias udr10 "cl_updaterate 10; alias udrr udr20; developer 1; echo Update rate 20; developer 0;"
alias udr20 "cl_updaterate 20; alias udrr udr30; developer 1; echo Update rate 30; developer 0;"
alias udr30 "cl_updaterate 30; alias udrr udr40; developer 1; echo Update rate 40; developer 0;"
alias udr40 "cl_updaterate 40; alias udrr udr50; developer 1; echo Update rate 50; developer 0;"
alias udr50 "cl_updaterate 50; alias udrr udr60; developer 1; echo Update rate 60; developer 0;"
alias udr60 "cl_updaterate 60; alias udrr udr70; developer 1; echo Update rate 70; developer 0;"
alias udr70 "cl_updaterate 70; alias udrr udr80; developer 1; echo Update rate 80; developer 0;"
alias udr80 "cl_updaterate 80; alias udrr udr90; developer 1; echo Update rate 90; developer 0;"
alias udr90 "cl_updaterate 90; alias udrr udr10; developer 1; echo Update rate 10; developer 0;"

alias cmrr "cmr90"
alias cmr10 "cl_cmdrate 10; alias cmrr cmr20; developer 1; echo Command rate 20; developer 0;"
alias cmr20 "cl_cmdrate 20; alias cmrr cmr30; developer 1; echo Command rate 30; developer 0;"
alias cmr30 "cl_cmdrate 30; alias cmrr cmr40; developer 1; echo Command rate 40; developer 0;"
alias cmr40 "cl_cmdrate 40; alias cmrr cmr50; developer 1; echo Command rate 50; developer 0;"
alias cmr50 "cl_cmdrate 50; alias cmrr cmr60; developer 1; echo Command rate 60; developer 0;"
alias cmr60 "cl_cmdrate 60; alias cmrr cmr70; developer 1; echo Command rate 70; developer 0;"
alias cmr70 "cl_cmdrate 70; alias cmrr cmr80; developer 1; echo Command rate 80; developer 0;"
alias cmr80 "cl_cmdrate 80; alias cmrr cmr90; developer 1; echo Command rate 90; developer 0;"
alias cmr90 "cl_cmdrate 90; alias cmrr cmr10; developer 1; echo Command rate 10; developer 0;"

After you put this into your autoexec.cfg then all you have to do is bind udrr and cmrr to a keys. Hopefully LB wont turn on the !scripting(anti-scripting) var in 3.0 final  o_O

52
General / The Big *** THANK YOU LB! *** Thread
« on: February 13, 2004, 08:06:34 AM »
I'm not gonna add to the frustration of making this jpeg card. Sorry Uranium. Good idea but they way you had people sign it was just a little primitive. o_O  :ph34r:

LB: I'm sure I speak for everyone when I say: "Thank You", for putting up with all the crap, whining, b***hing, crying, that happens on & off the server (weither we do it or not) while continuing to host our favorite playing and gathering spot. much <3 to the LB. j00 r0x0rz!  ^_^

53
General / Waiting On Next Beta Patch?
« on: February 04, 2004, 02:42:17 PM »
I won't, it the non-regs that im afraid of  o_O

54
Off Topic / Meandering from the Pic thread
« on: February 03, 2004, 09:19:02 PM »
Quote
Me in your FAEC
is it me... or does that "FAEC" look like a monkey?  :ph34r:  :help:

55
Off Topic / Discuss Your Silly Keyboard Config Here
« on: February 03, 2004, 09:09:59 PM »
Quote
Quote
I posted a walk script on the ns forums somewhere.. I think Im going to have to bind it to w now :)
Walk script:

bind shift +speed
^ Uranium's extent of scripting

*quickly runs away*

56
Off Topic / Anime
« on: February 03, 2004, 03:51:05 PM »
Though my viewing of anime is has been someone limited by some standards, I'd be more then happy to suggest some anime. Is there any genre you'd want to shoot for? These are not in any specific order. These are anime that I have seen and have enjoyed.  <3 If you'd like more information on these series I've linked each to their respective description at animenfo.com. Enjoy.  ;)

Neon Genesis Evangelion, also known as Eva for short, is debatably one of the best. (Action, Drama, Mecha, Science-Fiction) Series (26 ep), Movie, OVA

Rurouni Kenshin is also a very good one. I recommend the first 2 seasons, since after which they diverge from the manga (Action, Adventure, Comedy, Historical Settings) Also if you like this series then or maybe want something a little less comical the 6 OVA Episodes (Action, Drama, Historical Settings, Romance) are excellent and I HIGHLY suggest watching these even if you don't watch the series. The first 4 OVA episodes give backstory of Himura Kenshin and the last 2 give a summary of the series and what the anime series follow from the manga. Series (24 ep per season, i think slightly over 100 ep all together), Movie, OVA

X the movie & X the series, also known as X 1999 in the states, dispite the name they are not ecchi or hentai, aka porno. The Movie was completed before CLAMP, the creators of the manga, finished the manga. I'd suggest this to anyone, but it is a quite graphic. Much like Eva it's the story of the end of the world. (Action, Fantasy, Magic, Super Power) Series (23 ep), Movie

Naruto is probably THE most popular series that is current being aired in Japan right now. The series takes a little bit to get into but if you hold out long enough it'll have you hooked. The draw back in this series is that it has times that it goes very slow, this is mainly due to the fact that the manga is still being released and they want to stay and hold true to the manga. You can only get it through fan subs atm. (Action, Adventure, Comedy, Magic, Martial Arts) Series (68 ep, 3 seasons worth)

Full Metal Alchemist is a very new seires. In fact it's still being released in Japan. And another series only avilable through fan subs(Action, Adventure, Comedy, Science-Fiction) Series (ep ?)

Scrapped Princess is fairly new anime series. A VERY popular series. (Drama, Fantasy) Series (24 ep)

Serial Experiments Lain is an exceptional Sci-Fi anime. (Drama, Science-Fiction) Series (13 ep),

Trigun (Action, Comedy, Science-Fiction) Series (26 ep)

Love Hina (Comedy, Ecchi, Romance, Schoolkids) Series (24 eq), OVA (3 ep), and 2 Specials)

Chobits (Comedy, Drama, Science-Fiction) Series (26 ep)

Jin-Roh this is an SUPERB movie. (Action, Drama, Science-Fiction) Movie

Rahxephon (Action, Mecha, Science-Fiction) Series (26 ep), Movie

Vision of Escaflowne (Action, Adventure, Comedy, Fantasy, Mecha, Romance) Series (26 ep), Movie

57
Off Topic / Discuss Your Silly Keyboard Config Here
« on: February 03, 2004, 02:30:22 PM »
I'm disapointed to see that no one is using the keypad...  o_O  :help:

kp_arrowup = forward
5 = back
kp_arrowleft = strife left
kp_arrowright = strife right

kp_home = slot1
kp_pgup = slot2
kp_pgdn = slot3
kp_end = slot4

kp_enter = reload
kp_slash = use // i think i might go with null and make a use toggle script... OheMGee h4x!  :huh:
kp_plus = speed // i need to nail myself down and write a walk toggle script... OheMGee h4x! <_<
kp_minus = flashlight
* and capslock = voicerecord

F1 = jointeamone
F2 = jointeamtwo
F3 = autoassign
F4 = readyroom

58
Off Topic / Verily, Another Irc Log
« on: January 28, 2004, 09:12:45 AM »
Quote
Chapter was "Three is Company" ;)
Hear that? I think it's the sound of an over achiever...   :ph34r:  :help:

59
General / Half Life 2 Ns Mod?¿?
« on: January 25, 2004, 10:33:14 PM »
One word for j00 all!

Mechs!!!  <3

Not the panzy HAs in the current version of NS but huge 20 ft tall Mechs! In order to battle the HUGE Oni herds.  o_O

I'd be nice to go out side of the space stations and walk around it and such... but thats more of from a map point of view.

I'd be cool to beable to activate certain "strands" of DNA in alien in order to get more customization of aliens. Such that a if you were a skulk you could select a feature where'd you grow wings... and earn the abilty to fly. Some combos would work and other wouldnt, mainly a flying onos... unless it dropped a lot of weight or grew HUGE wings (sorry MonkeY). Thought this would probably create a modeling nightmare with all the possibilities... but it'd be hella cool  >:D


I remember reading an interview with Flayra before 2.0 was released and one of the questions touched on this very subject. Flayra expressed what seemed some intrest but seemed conserned of having to start over from scratch because none of the old code could be brought over from the HL 1 engine.  <_< Not sure how much of that is true but if it is converted I'd be one of the first in line to get that MOD. ^_^

60
Off Topic / Explain Your Name
« on: January 15, 2004, 06:56:42 PM »
Mine is rather boring and short compaired to other "stores"...  o_O

I was playing CS and heard that people where playing with higher mouse sensitivity then the default (3). I decide to play around with it and didnt wanna screw my stats up (yes at one time i was a stat... well... you know...) so i changed my name... to Mouse. It kinda grew on me...  <_<

Pages: 1 2 [3] 4