meadmkr Posted November 21, 2011 Share Posted November 21, 2011 I'm sure it has been covered before but I've now that I have it working I'd share my way of updating a "Now Playing" textbox on my website with no special software other than 2 simple text files you can copy/paste the code below into. Your paths will change depending where you installed LOR or what files you want to use. My example uses C:LORAUDIOFor each sequence add the Windows commandC:LORAUDIOFTP_CurrentSong.bat the-name-of-the-songThere is a max of 9 words for the song title in the example I've provided.The first file is FTP_CurrentSong.BATNot sure how the site will display this but there are 2 lines.Line 1 writes the currentsong.txt file basedLine 2 FTPs the file to your FTP siteECHO %1 %2 %3 %4 %5 %6 %7 %8 %9>c:loraudiocurrentsong.txtFTP -s:c:loraudioFTP_CurrentSong.txtThe 2nd file is FTP_CurrentSong.txt which is a 'script' used by the Windows FTP program.open ftp.yoursitehere.comyourftpidyourftppasswordcd /lcd c:loraudioput currentsong.txtquit Link to comment Share on other sites More sharing options...
Wayne K Posted December 3, 2011 Share Posted December 3, 2011 I am curious about any more info on this. I would also like to possibly put this on my website. What do you do on the website? Do you create a text box or a html code box with any other info in it? Or what tells it where to go on your web page?ThanksWayne Link to comment Share on other sites More sharing options...
meadmkr Posted December 4, 2011 Author Share Posted December 4, 2011 There are a number of ways you can display the contents; either as part of a script in ASP/PHP/etc or basic HTML such as a frame/inline frame or a server-side include.Part of it will depend on what your ISP provies and depending on the host you might need to change the file extension to get things working properly.I used the server-side include since my ISP enables it and it was the easiest option for me. You can check it out on the left-side of my page at http://www.oxbowmanor.com/ Link to comment Share on other sites More sharing options...
Recommended Posts