MP3 and Lyrics search and download script for mobile? Cant find em.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    MP3 and Lyrics search and download script for mobile? Cant find em.

    ive seen mobile sites with an mp3 and lyrics search engine. Mostly they are a clone of hotscript MP3 Search.. ive search the forum but can find one. Anyone care to share?

    #2
    Whay you dont create your own site?

    Create a database with - id , name of mp3 rows.
    Insert into database : id (autoincrement) and mp3 names.
    Create a directory for mp3's.

    Create script for search.

    Use for search some part of this:

    $query = "select NameOfMp from mp3 WHERE NameOfMp='$search'";

    $result = mysql_db_query("mp3", $query);

    Show the result:

    echo "
    <a href="directory_of_mp3/NameOfMp.mp3">Display NameOfMp</a> ";


    http://ngeo.ro

    Comment


      #3
      lol i once did lyrics script and mp3 for skywalker not sure if thoses scripts are still anywhere though

      Comment


        #4
        lol @ blackhawk.. create a script like than,and ul be uploading mp3's for the rest of ur life.. whereas, if u have a search engine that fetch trough popular site, u can just seat back and enjoy.. btw, i have it.. i fixed sum mp3 search engine script.. ang its working fine..

        Comment


          #5
          Here are some useful mp3 search sites:
          wapmy.ru/musicsearch
          spaces.ru/music
          wap4u.ru/mp3search
          mymp3.name/musicsearch
          azon.mobi/mp3
          matched.ru/mp3
          ...and you find 90% any song ;)
          Last edited by kiss; 07.09.09, 12:08. Reason: ?????not understanding...
          www.inbuzunar.mobi - Your mobile portal pocket

          Comment


            #6
            @kiss we are looking 4 mp3 script here not those site lol any1 wud share?

            Comment


              #7
              Mean mp3 search script lol

              Comment


                #8
                i used to use this sometimes ago,dunno if it still work tho...
                Attached Files

                Comment


                  #9
                  heres a Lyric search script,extracted from my old site,coded by wap2k

                  <?
                  header("Content-Type: text/vnd.wap.wml");
                  echo"<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
                  echo "\n<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"\n\"http://www.wapforum.org/DTD/wml_1.1.xml\">\n<wml>\n";
                  print "<card id=\"card1\" title=\"Lyric Search@wapwarz.skycity.co.za\">";
                  print "<p>";

                  $sid = $_REQUEST["sid"];

                  function myhtmlentities($myents){
                  $myents = str_replace("&","&amp;",$myents);
                  return $myents;
                  }

                  function get_string_between($string, $start, $end){
                  $string = " ".$string;
                  $ini = strpos($string,$start);
                  if ($ini == 0) return "";
                  $ini += strlen($start);
                  $len = strpos($string,$end,$ini) - $ini;
                  return substr($string,$ini,$len);
                  }

                  function extract_URLs($s) {
                  $res = array();
                  preg_match_all('@(<a .*</a>)@Uis', $s, $a);
                  foreach ($a[1] as $x) {
                  $gtpos = strpos($x, '>');
                  $y = substr($x, 0, $gtpos);
                  if ($hrefpos = strpos($x, 'href=')) {
                  $z = substr($y, $hrefpos+5);
                  $z = preg_replace('/^(\S+)\s.*$/U', '$1', $z);
                  if ($z[0] == '"' && substr($z, -1) == '"') $z = substr($z, 1, -1);
                  if ($z[0] == "'" && substr($z, -1) == "'") $z = substr($z, 1, -1);
                  $res[] = array(substr($x, $gtpos+1, -4), $z);
                  }
                  }
                  unset($a);
                  return $res;
                  }

                  $wapsidemode = $_REQUEST["ws"];

                  if(empty($wapsidemode)){
                  print "<b>Browse Artists:</b><br/>";
                  print '<select name="letter" multiple="false">
                  <option value="0">0-9</option>
                  <option value="a">A</option>
                  <option value="b">B</option>
                  <option value="c">C</option>
                  <option value="d">D</option>
                  <option value="e">E</option>
                  <option value="f">F</option>
                  <option value="g">G</option>
                  <option value="h">H</option>
                  <option value="i">I</option>
                  <option value="j">J</option>
                  <option value="k">K</option>
                  <option value="l">L</option>
                  <option value="n">M</option>
                  <option value="n">N</option>
                  <option value="o">O</option>
                  <option value="p">P</option>
                  <option value="q">Q</option>
                  <option value="r">R</option>
                  <option value="s">S</option>
                  <option value="t">T</option>
                  <option value="u">U</option>
                  <option value="v">V</option>
                  <option value="w">W</option>
                  <option value="x">X</option>
                  <option value="y">Y</option>
                  <option value="z">Z</option>
                  </select><br/>';

                  print "<anchor>[-Go-]
                  <go href=\"lyrics.php\" method=\"get\">
                  <postfield name=\"letter\" value=\"$(letter)\"/>
                  <postfield name=\"ws\" value=\"letter\"/>
                  <postfield name=\"sid\" value=\"$sid\"/>
                  </go>
                  </anchor>";
                  }

                  $letit = $_REQUEST["letter"];
                  if($wapsidemode=="letter"){
                  $a = file_get_contents('http://www.lyricsdownload.com/'.$letit.'-full_list.html');
                  $a = get_string_between($a,"<ul imagesrc=\"http://www.lyricsdownload.com/images/arrow_r.gif\" style=\"margin-left: 20\">","</ul>");
                  $a = str_replace("<li><a class=\"txt_1\"","<a ",$a);
                  $a = str_replace("</a>","</a><br/>",$a);
                  $a = str_replace("</li>","",$a);
                  $a = str_replace("<ul imagesrc=\"http://www.lyricsdownload.com/images/arrow_r.gif\" style=\"margin-left: 20\">","",$a);
                  $a = str_replace("</ul>","</a><br/>",$a);
                  $a = str_replace("&","&amp;",$a);
                  $links = extract_URLs($a);
                  $list= "";
                  foreach ($links as $v) {
                  $list .= "<a href=\"lyrics.php?s=".myhtmlentities($v[1])."&amp;ws=singer&amp;sid=".$sid."\">".myhtmlentit ies($v[0])."</a><br/>";
                  }
                  $fulllist = explode("<br/>",$list);
                  $page = $_REQUEST["page"];
                  print "Lyrics ";
                  print ($page - 10)." / ".$page." of ";
                  print count($fulllist)."<br/>------<br/>";
                  for ($i = $page-1; $i < $page+10; $i++) {
                  print $fulllist[$i]."<br/>";
                  }
                  $ppage = $page - 10;
                  $npage = $page + 10;
                  print "------<br/>";
                  print "<a href=\"lyrics.php?letter=".$letit."&amp;page=$npag e&amp;ws=".$ws."&amp;sid=".$sid."\">more...</a><br/>";
                  print "<a href=\"lyrics.php?letter=".$letit."&amp;page=$ppag e&amp;ws=".$ws."&amp;sid=".$sid."\">back...</a><br/>";
                  print "<a href=\"lyrics.php?sid=".$sid."\">Lyrics Index</a>";
                  }
                  $singer = $_REQUEST["s"];
                  if($wapsidemode=="singer"){
                  $sa = file_get_contents('http://www.lyricsdownload.com/'.$singer.'');
                  $sa = str_replace("<ul imagesrc=\"http://www.lyricsdownload.com/images/arrow_r.gif\" style=\"margin-left: 20\">","<ul imagesrc=\"arrow_r.gif\">",$sa);
                  $sa = str_replace("<ul imagesrc=\"http://www.lyricsdownload.com/images/arrow_r.gif\" style=\"margin-left: 5\">","<ul imagesrc=\"arrow_r.gif\">",$sa);
                  $sa = get_string_between($sa,"<ul imagesrc=\"arrow_r.gif\">","</ul>");
                  $links = extract_URLs($sa);
                  $list= "";
                  foreach ($links as $v) {
                  $list .= "<a href=\"lyrics.php?song=".myhtmlentities($v[1])."&amp;ws=viewlyrics&amp;sid=".$sid."\">".myhtmle ntities($v[0])."</a><br/>";
                  }
                  $fulllist = explode("<br/>",$list);
                  $page = $_REQUEST["page"];
                  print "Lyrics ";
                  print ($page - 10)." / ".$page." of ";
                  print count($fulllist)."<br/>------<br/>";
                  for ($i = $page-1; $i < $page+10; $i++) {
                  print $fulllist[$i]."<br/>";
                  }
                  $firstletter = substr($s, 0, 1);
                  $ppage = $page - 10;
                  $npage = $page + 10;
                  print "------<br/>";
                  print "<a href=\"lyrics.php?ws=".$ws."&amp;s=".$s."&amp;page =$npage&amp;sid=".$sid."\">more...</a><br/>";
                  print "<a href=\"lyrics.php?ws=".$ws."&amp;s=".$s."&amp;page =$npage&amp;sid=".$sid."\">back...</a><br/>";
                  print "<a href=\"lyrics.php?ws=".$ws."&amp;letter=".$firstle tter."&amp;sid=".$sid."\">Back to [".$firstletter."]</a><br/>";
                  print "<a href=\"lyrics.php?sid=".$sid."\">Lyrics Index</a>";
                  }
                  $song = $_REQUEST["song"];
                  if($wapsidemode=="viewlyrics"){
                  $saaa = file_get_contents('http://www.lyricsdownload.com/'.$song.'');
                  $saaa = str_replace("\n", "", $saaa);
                  $saaa = str_replace("\t", "", $saaa);
                  $saaa = get_string_between($saaa,"<center><font class=\"txt_1\">","</font>");
                  $saaa = str_replace("<br /><br />","<br/>",$saaa);
                  $saaa = str_replace("<center><font class=\"txt_1\">","",$saaa);
                  $saaa = str_replace("</font></center>","",$saaa);
                  $saaa = str_replace("&","&amp;",$saaa);
                  echo $saaa;
                  $firstletter = substr($song, 0, 1);
                  print "<br/>------<br/><anchor>Back to singer<prev/></anchor><br/>";
                  print "<a href=\"lyrics.php?ws=letter&amp;letter=".$firstlet ter."&amp;sid=".$sid."\">Back to [".$firstletter."]</a><br/>";
                  print "<a href=\"lyrics.php?sid=".$sid."\">Lyrics Index</a>";
                  }
                  ?>
                  </p>
                  <p align="center">
                  <a href="../index.php?action=funm&amp;sid=<? echo $sid; ?>">&#171;Back to Fun Menu</a><br/>
                  <a href="../index.php?action=main&amp;sid=<? echo $sid; ?>"><img src="../images/home.gif" alt="*"/>Home</a>
                  </p>
                  </card>
                  </wml>

                  Comment


                    #10
                    you guys maybe need to recode theses both scripts,to suit your sites..

                    Comment


                      #11
                      Here is my lyrsic script fixed up.......

                      Code:
                      <?php
                      header("Content-Type: text/vnd.wap.wml");
                      echo"<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
                      echo "\n<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"\n\"http://www.wapforum.org/DTD/wml_1.1.xml\">\n<wml>\n";
                      print "<card id=\"card1\" title=\"Lyric\">";
                      print "<p>";
                      
                      $ws    = trim($_REQUEST["ws"]);
                      $letit = trim($_REQUEST["letter"]);
                      $wapsidemode = trim($_REQUEST["ws"]);
                      $page = $_REQUEST["page"];
                      
                      function myhtmlentities($myents){
                      $myents = str_replace("&","&amp;",$myents);
                      return $myents;
                      }
                      
                      function get_string_between($string, $start, $end){
                      $string = " ".$string;
                      $ini = strpos($string,$start);
                      if ($ini == 0) return "";
                      $ini += strlen($start);
                      $len = strpos($string,$end,$ini) - $ini;
                      return substr($string,$ini,$len);
                      }
                      
                      function extract_URLs($s) {
                      $res = array();
                      preg_match_all('@(<a .*</a>)@Uis', $s, $a);
                      foreach ($a[1] as $x) {
                      $gtpos = strpos($x, '>');
                      $y = substr($x, 0, $gtpos);
                      if ($hrefpos = strpos($x, 'href=')) {
                      $z = substr($y, $hrefpos+5);
                      $z = preg_replace('/^(\S+)\s.*$/U', '$1', $z);
                      if ($z[0] == '"' && substr($z, -1) == '"') $z = substr($z, 1, -1);
                      if ($z[0] == "'" && substr($z, -1) == "'") $z = substr($z, 1, -1);
                      $res[] = array(substr($x, $gtpos+1, -4), $z);
                      }
                      }
                      unset($a);
                      return $res;
                      }
                      
                      
                      
                      if(empty($wapsidemode)){
                      print "<b>Browse Artists:</b><br/>";
                      print '<select name="letter" multiple="false">
                      <option value="0">0-9</option>
                      <option value="a">A</option>
                      <option value="b">B</option>
                      <option value="c">C</option>
                      <option value="d">D</option>
                      <option value="e">E</option>
                      <option value="f">F</option>
                      <option value="g">G</option>
                      <option value="h">H</option>
                      <option value="i">I</option>
                      <option value="j">J</option>
                      <option value="k">K</option>
                      <option value="l">L</option>
                      <option value="n">M</option>
                      <option value="n">N</option>
                      <option value="o">O</option>
                      <option value="p">P</option>
                      <option value="q">Q</option>
                      <option value="r">R</option>
                      <option value="s">S</option>
                      <option value="t">T</option>
                      <option value="u">U</option>
                      <option value="v">V</option>
                      <option value="w">W</option>
                      <option value="x">X</option>
                      <option value="y">Y</option>
                      <option value="z">Z</option>
                      </select><br/>';
                      
                      print "<anchor>[-Go-]
                      <go href=\"lyrics.php\" method=\"get\">
                      <postfield name=\"letter\" value=\"$(letter)\"/>
                      <postfield name=\"ws\" value=\"letter\"/>
                      </go>
                      </anchor>";
                      }
                      
                      
                      
                      if($wapsidemode=="letter"){
                      $a = file_get_contents('http://www.lyricsdownload.com/'.$letit.'-full_list.html');
                      $a = get_string_between($a,"<ul imagesrc=\"http://www.lyricsdownload.com/images/arrow_r.gif\" style=\"margin-left: 20\">","</ul>");
                      $a = str_replace("<li><a class=\"txt_1\"","<a ",$a);
                      $a = str_replace("</a>","</a><br/>",$a);
                      $a = str_replace("</li>","",$a);
                      $a = str_replace("<ul imagesrc=\"http://www.lyricsdownload.com/images/arrow_r.gif\" style=\"margin-left: 20\">","",$a);
                      $a = str_replace("</ul>","</a><br/>",$a);
                      $a = str_replace("&","&amp;",$a);
                      $links = extract_URLs($a);
                      $list= "";
                      foreach ($links as $v) {
                      $list .= "<a href=\"lyrics.php?s=".myhtmlentities($v[1])."&amp;ws=singer&amp;sid=".$sid."\">".myhtmlentities($v[0])."</a><br/>";
                      }
                      $fulllist = explode("<br/>",$list);
                      print "Lyrics<br/>";
                      print "Page:".($page-10)." / ".$page."";
                      print count($fulllist)."<br/>******<br/>";
                      for ($i = $page-1; $i < $page+10; $i++) {
                      print $fulllist[$i]."<br/>";
                      }
                      print "------<br/>";
                      print "<a href=\"lyrics.php?letter=".$letit."&amp;page=".($page + 1)."&amp;ws=".$ws."&amp;sid=".$sid."\">more...</a><br/>";
                      print "<a href=\"lyrics.php?letter=".$letit."&amp;page=".($page - 1)."&amp;ws=".$ws."&amp;sid=".$sid."\">back...</a><br/>";
                      print "<a href=\"lyrics.php?sid=".$sid."\">Lyrics Index</a>";
                      }
                      $singer = $_REQUEST["s"];
                      if($wapsidemode=="singer"){
                      $sa = file_get_contents('http://www.lyricsdownload.com/'.$singer.'');
                      $sa = str_replace("<ul imagesrc=\"http://www.lyricsdownload.com/images/arrow_r.gif\" style=\"margin-left: 20\">","<ul imagesrc=\"arrow_r.gif\">",$sa);
                      $sa = str_replace("<ul imagesrc=\"http://www.lyricsdownload.com/images/arrow_r.gif\" style=\"margin-left: 5\">","<ul imagesrc=\"arrow_r.gif\">",$sa);
                      $sa = get_string_between($sa,"<ul imagesrc=\"arrow_r.gif\">","</ul>");
                      $links = extract_URLs($sa);
                      $list= "";
                      foreach ($links as $v) {
                      $v = str_replace("<font size=2>","",$v);
                      $v = str_replace("</font>","",$v);
                      $list .= "<a href=\"lyrics.php?song=".myhtmlentities($v[1])."&amp;ws=viewlyrics&amp;sid=".$sid."\">".myhtmlentities($v[0])."</a><br/>";
                      }
                      $fulllist = explode("<br/>",$list);
                      $page = trim($_REQUEST["page"]);
                      print "Lyrics ";
                      print ($page - 10)." / ".$page." of ";
                      print count($fulllist)."<br/>------<br/>";
                      for ($i = $page-1; $i < $page+10; $i++) {
                      print $fulllist[$i]."<br/>";
                      }
                      $firstletter = substr($s, 0, 1);
                      print "------<br/>";
                      print "<a href=\"lyrics.php?ws=".$ws."&amp;s=".$s."&amp;page==".($page + 1)."&amp;sid=".$sid."\">more...</a><br/>";
                      print "<a href=\"lyrics.php?ws=".$ws."&amp;s=".$s."&amp;page==".($page - 1)."&amp;sid=".$sid."\">back...</a><br/>";
                      print "<a href=\"lyrics.php?ws=".$ws."&amp;letter=".$firstletter."&amp;sid=".$sid."\">Back to [".$firstletter."]</a><br/>";
                      print "<a href=\"lyrics.php?sid=".$sid."\">Lyrics Index</a>";
                      }
                      $song = $_REQUEST["song"];
                      if($wapsidemode=="viewlyrics"){
                      $saaa = file_get_contents('http://www.lyricsdownload.com/'.$song.'');
                      $saaa = str_replace("\n", "", $saaa);
                      $saaa = str_replace("\t", "", $saaa);
                      $saaa = get_string_between($saaa,"<center><font class=\"txt_1\">","</font>");
                      $saaa = str_replace("<br /><br />","<br/>",$saaa);
                      $saaa = str_replace("<center><font class=\"txt_1\">","",$saaa);
                      $saaa = str_replace("</font></center>","",$saaa);
                      $saaa = str_replace("&","&amp;",$saaa);
                      echo $saaa;
                      $firstletter = substr($song, 0, 1);
                      print "<br/>------<br/><anchor>Back to singer<prev/></anchor><br/>";
                      print "<a href=\"lyrics.php?ws=letter&amp;letter=".$firstletter."&amp;sid=".$sid."\">Back to [".$firstletter."]</a><br/>";
                      print "<a href=\"lyrics.php?sid=".$sid."\">Lyrics Index</a>";
                      }
                      ?>
                      </p>
                      </card>
                      </wml>
                      Last edited by wap2k; 27.11.09, 21:00.

                      Comment


                        #12
                        Please upload full script not only index
                        Buying mobile traffic, PM me with your traffic details

                        Comment


                          #13
                          Heres a script i used on my site (needs to be edited for wap) its similar to the hotsmusic script gumslone posted but some of the sources work on this script
                          Attached Files

                          Comment


                            #14
                            any1 have a lyric search script like lyricsfly.mobi?

                            Comment


                              #15
                              lyricsfly.mobi uses lyricsfly api.
                              you can visit lyricsfly website and get the api and use it.

                              Comment

                              Working...
                              X