Jump to content

mfoland

Members
  • Posts

    23
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Dayton, Ohio
  • Age
    25

mfoland's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I looked at that site, but didn't have the albumart. Would be nice to know how to code it in with titles fetched from the shoutcast server. I have a script that fetches them no sweat.. but it's integrating the artwork haha
  2. I know apple also has a way to retrieve album artwork. Any help would be appreciated. Thanks!
  3. Hello, I have an Internet Radio station and I use Shoutcast. I have a function that allows me to grab the song and artist information such as Del Amitri - Roll To Me and show it on my website, and automatically changing when the songs change. I show the now playing, and last three songs. I'm wondering How I can get it to also pull in album artwork from Last.FM or Amazon such as this website: BIG 106.5 - Dayton's 70s & 80s Hits (move over the black bar and drop down). You will be able to see something such that I would want to accomplish. Not sure if this merely Javascript, or if there's also PHP.. but then again, I'd think Javascript for it to automatically change when a new song plays. Here is the file I currently have setup...which pulls the information from my shoutcast stream. I would love to incorporate album art from Amazon and/or an internal database that I have setup.. Here is what the file currently looks like. I also have stuff commented out for which I am not using ATTM. It pulls the song like artist - title <!--<html> <head>--> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js" type="text/javascript"></script> <script src="http://wlqtdb.com/wayne/pollstation.js" type="text/javascript"></script> <!--</head> <body>--> Now Playing on WLQT-DB: <!--<div id="currentsong"> </div>--> <span id="currentsong"></span> Recently Played: <!--<table> <tr><th>Recently Played Songs</th></tr> <tr><td><img id='prevsong1' alt=""><span id="prevsong1"></span></td></tr> <tr><td><span id="prevsong2"></span></td></tr> <tr><td><span id="prevsong3"></span></td></tr>--> <span id="prevsong1"></span> <span id="prevsong2"></span> <span id="prevsong3"></span> <!--<tr><td><span id="prevsong4"></span></td></tr> <tr><td><span id="prevsong5"></span></td></tr> <tr><td><span id="prevsong6"></span></td></tr> <tr><td><span id="prevsong7"></span></td></tr> <tr><td><span id="prevsong8"></span></td></tr> <tr><td><span id="prevsong9"></span></td></tr> <tr><td><span id="prevsong10"></span></td></tr>--> <!-- </table> Testing: <? echo "$currentsong"; ?> </body> </html>--> Any help would be greatly appreciated. As you can see with this result, I do the Current playing song, then it does the last 3 songs. Thanks
  4. Hello, I am attempting to work with a map that I want to do, and get points from a database such as 39.22 -85.1741.12 -83.0541.12 -80.3639.22 -82.55 and I was going to use my map http://severewx.mradio105fm.com/map-img/basemap_white2.gif as the background image. I'm wanting to do something with using those coords to generate a parallegram with any color based on a value. Lets say if tornado then 255,0,0 severe some dark blue. those coords if looking on the map sould be in much of Ohio and SE Indiana. In that bottom left box, If I can remember using coords to put text there..I want to put an updated by, and then yes, you can put a thank you notice on there. I am stuck at what to do. I've tried, and it will not put a box on there to save my life.. Thanks!
  5. Pagination is figured out.. Just the date problem needs fixed!
  6. And back to the pagination on that link on page one that was playlist.html You see numbers like this at the bottom: 1-20 21-40 , etc and since it's no net or if net=1 it bolds that.. That's the pagination i'm trying to do. Do I count my artists in my songlist table or how am I doing that? It's new to me Excerpt of how that pagination on that page is.. If you click the links, you can see how it works! 1-20 21-40 41-60 61-80 81-100 101-120 121-140 141-160 161-180 181-200 201-220 221-240 241-260 261-280 281-293 oh and I believe it's doing the date selected. How should I echo to have it do the today's date? That might be the problem with that!
  7. I don't think I've ever messed with the date function like that. In that drop down I do the date - 1 2 or 3 days so it works to that aspect, but they're able to keep going back 3 days or whatever.
  8. http://www.mradio105fm.com/iplaylist/mediabase/history.php On there, I have a drop down that says select date, I can go back to three days, and when I click on previous days, I can continue going back in days, but I want it so after the 3 days they can't go anymore. Like if you keep playing with the drop down, you'll notice what it's doing.
  9. I was messing around with the date thing and got it going to where I could do -3 days, etc.. However, the problem is I can keep going to 3 more days, and I'm not stoo sure how to do that part. Can I do something like $mindate or something?
  10. Would I be able to echo say 1-20? I do my rows by 20.
  11. Woah! Hey thanks for your help! I got another question on pagination.. http://www.lite945.com/iplaylist/playlist.html take a look at the bottom.. See how that is. I'm trying to figure out how to get that. I know how to get the results from the database, for what I'm doing, but pagination is a whole nother thing haha.. Any help is greatly appreciated. Thanks again!
  12. I tried the search date and I got a blank page Correction -- It won't display the data for the search date.
  13. Thank you so much! Now if I wanted to say history.php?date=2012-11-23 would I replace CURDATE with something? I know I can do curdate -1 if I wanted to eventually.. Thanks again!
  14. And i've tried the date $sql = "SELECT * FROM historylist WHERE `songtype` = 'S' AND `date_played` = 'date(Y-m-d)"; and no go. I had something to where I got only the time and that worked, but I can't get the SQL to get songs by the current date.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.