theguy0000 Posted June 3, 2008 Share Posted June 3, 2008 (edited) Note: This must be used with AuCGI. It will not work with the old method of Web apps. Get the latest version of AuCGI, along with instructions for installation, here.You may have to change the extensions of the files from auw to ahp or au3, depending on what extension you normally use for web applications.music_player.zipBEFORE YOU START:Put all of your mp3's you want to play in a directory named "files" which must be in the same directory as the two scripts. This script does not search recursively, so all of the files you want played must be in that folder, no subfolders are allowed. Also, go to lines 33 and 38 in play.auw. Find "music.theguy0000.com" in both and replace with the url to wherever the scripts are located.I wanted to be able to play my mp3 collection on other computers, so this is what I came up with. You put these files on your website (home server with AuCGI installed). Browse to index.auw from any browser (flash must be enabled). Pick a song, and it will play with a flash mp3 player from Odeo.When the song is over, it will automatically go to the next song.Flaw: The script cannot "know" when the song is over. It simply waits for the length of the song, then goes to the next one. This means that if you pause, rewind, or fast forward through a song, it will cause it to go to the next song earlier or later than it should. I'm trying to find a way to fix this.Note:If you would like a more colorful player, go to line 38 in play.auw and replace "black" with "gray".For an example, go to http://music.theguy0000.com/ (my little mp3 collection...For example only. Please do not use this as your own. I have bandwidth limits too.)Sorry if this seems like a little more work than it's worth, but I made this in mind of my own website, I did not plan on releasing it publicly. I just thought I would share.Also, there may be other programs already out there to do this, but I usually like to write my own solutions to problems like these. It's more customizable... and fun. Edited June 5, 2008 by theguy0000 The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
BillLuvsU Posted June 3, 2008 Share Posted June 3, 2008 I love you. [center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw Link to comment Share on other sites More sharing options...
theguy0000 Posted June 3, 2008 Author Share Posted June 3, 2008 I love you.As your name would imply. The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
PantZ4 Posted June 4, 2008 Share Posted June 4, 2008 Oh sweet! Now I just need to buy a host, but the idea is awesome. Link to comment Share on other sites More sharing options...
NELyon Posted June 4, 2008 Share Posted June 4, 2008 Oh sweet!Now I just need to buy a host, but the idea is awesome.You'll never find a host with AuCGI installed. I literally mean never.@TheGuy0000Welcome baaaaaaaaacccckkkk Link to comment Share on other sites More sharing options...
nobbe Posted June 4, 2008 Share Posted June 4, 2008 (edited) i just hope the music industry wont find out about the public display of mp3s.. Edited June 4, 2008 by nobbe Link to comment Share on other sites More sharing options...
NELyon Posted June 4, 2008 Share Posted June 4, 2008 i just hope the music industry wont find out about the public display of mp3s.. What about places like RadioBlogClub? I'm sure they would go for bigger names like that instead of small opensource programs like this. I'm sure it shouldn't be too much of a worry. Link to comment Share on other sites More sharing options...
ptrex Posted June 4, 2008 Share Posted June 4, 2008 @theguy0000 Very nice again !! I came up with an other solution for this. It let's you map a drive over HTTP and you can run the MP3's on your machine, which are stored on the server in an ISO file. I'll see that I can post an wrapper for this, some time soon. Anyway I still love your AuCGI !! Regards ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
nobbe Posted June 5, 2008 Share Posted June 5, 2008 What about places like RadioBlogClub? I'm sure they would go for bigger names like that instead of small opensource programs like this. I'm sure it shouldn't be too much of a worry.its not about a little open source program but his files were visible publically , im shure thats not a too good idea - maybe better use a PW protected login and secure the server Link to comment Share on other sites More sharing options...
theguy0000 Posted June 5, 2008 Author Share Posted June 5, 2008 Thanks for the feedback everyone. @nobbe: I really doubt that anyone would care about this... Or that anyone who cared would even find it, really. The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
James Posted June 5, 2008 Share Posted June 5, 2008 It says the file does not exist. I know it does, I put it there. It's reading from my C:\ drive Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
theguy0000 Posted June 5, 2008 Author Share Posted June 5, 2008 It says the file does not exist. I know it does, I put it there. It's reading from my C:\ drive You changed $path in both index.auw and play.auw? The file is in C:\, no subdirectories? The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now