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.


Topics - Mouse

Pages: [1]
1
General / Closed Beta
« on: November 21, 2010, 09:49:48 AM »
People that got access to the alpha are they able to play in the closed beta? If so is anyone in the closed beta? How is it? Is it as sexy as it looks in the vids?

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

3
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:

4
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

Pages: [1]