rejetto forum

mp3 streamer

Guest · 70 · 67689

0 Members and 1 Guest are viewing this topic.

Offline Sash!

  • Occasional poster
  • *
    • Posts: 11
    • View Profile
ledufe, thanks for that fantastic addon! I'm sorry that i noticed it so lately (from the best tips topic!) :)

I have one more question. Is there a way to make it to relay an internet radio stream? I mean this: I upload an .m3u file somewhere on the server and that .m3u is the one of the chosen radiostation. And is there a way to make it play?



dkjdkfjdkf

  • Guest
Hello
i am newbie in this,i have one problem,how can i add mp3 player to my hfs!??


Offline pehden

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
Ok ok, I dont think this is tuff. All you have to do is open your site find your music directory, then click 'file list' (it should be near the bottom of the page with the basic template) the select all and copy it, then open notepad (a new notepad file) then paste it and then save it as test.m3u then add it to HFS.
Then put this code some where. this will create a media player and start playing from your site.

<OBJECT
ID="mediaPlayer"
CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE="http://activex.microsoft.com/activex/
   controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
STANDBY="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobject">
<PARAM NAME="fileName"
VALUE="http://yourserver.com/test.m3u">
<PARAM NAME="animationatStart" VALUE="true">
<PARAM NAME="transparentatStart" VALUE="true">
<PARAM NAME="autoStart" VALUE="true">
<PARAM NAME="showControls" VALUE="true">
</OBJECT>


Sash!!

  • Guest
I try to use this player.    http://www.jeroenwijering.com/?item=Flash_MP3_Player

How to make it to scan automatically the directory and add the items in the playlist? I just want to have one pleyar per directory that includes the files in it without adding them manually.
What do I have to change in the code?


Offline alke

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
trying to bump this a little.. looking for someting like sash!! asks for.. using ToG template and love the mp3 stream thingy.. would be perfect if it would automatically start streaming next mp3 in the directory when one stream is finished.. do i have to make a playlist of every directory?


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
The ToG will never support a player with a playlist by default, i decided that a long time ago, and making the next player open up and play will be very complex, i would have to make flash talk to javascript which is something i haven't learn't yet. but its an idea for the future. ;)


Johan

  • Guest
Hm.. I've managed to create a script to create XSPF (XML) playlist using the songs stored on a local computer, to use with a flash mp3 player

I am using Mp3tag 2.38 to create a xml template to generate a playlist. It looks like this:

$filename(xml)
<playlist version="1" xmlns="http://xspf.org/ns/0/" encoding="ISO-8859-1">
<trackList>
$loop(%_filename_ext%)
<track>
<Location>http://yourhost.com/dir/%_filename_ext%</Location>
<creator>%artist%</creator>
<title>%title%</title>
</track>
$loopend()

The only thing that needs to be edited is the information in which the path to the directory of the mp3 files.

Note the encoding line, can be changed depending on native chars of where you live.



Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 859
  • Status: On hiatus       (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson