Announcement

Collapse
No announcement yet.

creating winamp-play links?

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

  • creating winamp-play links?

    Alright, here's how it goes. I wanna make a link to a .nsv stream, and I want the link to open that stream inside winamp.

    (when I just put in a normal .nsv url, it opens the .nsv as data inside internet explorer, not in winamp)

    Anyone know how to do this?

  • #2
    Select WinAmp, ctrl+L, enter the address of the stream. Or go into the Internet TV section of the Media Library. That is, of course, if you have WinAmp 5.
    -- Michael

    Comment


    • #3
      You could put the link inside a m3u or pls playlist, but that'll only work if itunes or other media players didn't snatch the association from winamp.
      NSV downloads
      An in-depth step by step guide for newbies, coming soon.

      Comment


      • #4
        Make a PLS
        -- Michael

        Comment


        • #5
          Hey, thanks that .pls stuff works.

          Though now I gotta find somewhere to upload it, 'coz my free web host won't let me upload it. :S

          Comment


          • #6
            I'm sure that some nice person around here that has a large webserver would be willing to host a tiny little .pls. Just ask around nicely.
            -- Michael

            Comment


            • #7
              Originally posted by djmastermind
              I'm sure that some nice person around here that has a large webserver would be willing to host a tiny little .pls. Just ask around nicely.
              I tried the same thing but when I click on the a.pls link.. it gets displayed on the browser a this:

              [playlist]
              NumberOfEntries=1
              File1=Charmed%206x01%20Trailer.nsv
              Title1=test
              Length1=-1
              Version=2

              Whats wrong?

              Comment


              • #8
                you need to enter pls into your mime types file

                audio/x-scpls pls
                -Jay | Radio Toolbox.com

                Comment


                • #9
                  Originally posted by KXRM
                  you need to enter pls into your mime types file

                  audio/x-scpls pls
                  on apache?

                  m3u seems to work, but not pls

                  Comment


                  • #10
                    On Apache add to .htaccess:
                    code:
                    AddType audio/x-scpls pls

                    Comment


                    • #11
                      Weird, I did and dont know why pls still dont work but m3u do so I made my own stream.php script that makes the m3u on the fly and now I finally got nsv on demand working

                      Comment


                      • #12
                        How about posting that php script. Would be helpfull to other broadcasters im sure
                        Scenic Television is your ambient window to the world - - www.ScenicTelevision.com

                        Comment


                        • #13
                          Of course... here is the code.

                          <?
                          header("Content-Type: audio/x-mpegurl");
                          header("Content-Disposition: inline; filename=\"playlist.m3u\"");
                          $server=$_SERVER['SERVER_NAME'];
                          $file=rawurlencode($HTTP_GET_VARS['file']);
                          print "http://".$server."/download/$file";
                          ?>

                          Its very short and clean... the php assumes that your files are located in /download on your web server so change accordingly.

                          The script receives one parameter, filename you want to stream. It also takes care of doing the ' ' to %20 convertion.

                          You can call it like this for ex.

                          Make a button or link like this:

                          <a href="/stream.php?file=$item"><img src="images/watch
                          .jpg"></a>

                          Where $file is the name of the file to stream.

                          If you need any help, please drop me a note.

                          Comment

                          Working...
                          X
                          😀
                          🥰
                          🤢
                          😎
                          😡
                          👍
                          👎