rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: gwvenus on August 13, 2006, 12:26:12 AM

Title: mp3 streamer
Post by: gwvenus on August 13, 2006, 12:26:12 AM
Can HFS be used as an mp3 streamer like my streamer or shoutcast?
Thanks,
Gary
Title: mp3 streamer
Post by: rejetto on August 13, 2006, 03:12:45 PM
not exactly.
streaming yes, but as simple http, can't be used for radio stations as shoutcast.
Title: Re: mp3 streamer
Post by: TCube on September 26, 2006, 04:38:44 PM
Could anyone who done it before develop a bit "how to" ?
I'm thinking how the hell could I link playlists from my media center [J.River] to HFS [local machine] :P

Would be cool !
Title: Re: mp3 streamer
Post by: GothicSuicide on October 05, 2006, 05:17:47 AM
um actualy it can if the person is using windows media player.. all you have to do is make a playlist of the songs you wont to be played then when the playlist is saved open it in notpad e.g you get somthing that looks like this.

<?wpl version="1.0"?>
<smil>
    <head>
        <meta name="Generator" content="Microsoft Windows Media Player -- 10.0.0.4040"/>
        <author/>
        <title>Mindless self indulgence</title>
    </head>
    <body>
        <seq>
            <media src="E:\Music\1999 - FGWSSS\01 - Backmask.mp3" tid="{B8E21483-471A-4556-A160-FE45EB3D1C20}"/>
            <media src="E:\Music\1999 - FGWSSS\02 - Bitches.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\03 - Boomin.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\04 - Clarissa.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\05 - Cocaine And Toupees.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\06 - Dicks Are For My Friends.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\07 - F.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\08 - Faggot.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\09 - Futures.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\10 - Golden I.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\11 - Harry Truman.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\12 - Holy Shit.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\13 - I Hate Jimmy Page.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\14 - I&apos;m Your Problem Now.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\15 - J.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\16 - Keepin Up With The Kids.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\17 - Kick The Bucket.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\18 - Kill The Rock.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\19 - Last Time I Tried To Rock You.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\20 - London Bridge.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\21 - M.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\22 - Masturbates.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\23 - Planet Of The Apes.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\24 - Played.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\25 - Ready For Love.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\26 - Royally Fucked.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\27 - Eleven.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\28 - Step Up Ghetto Blaster.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\29 - Whipstickagostop.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\30 - Z.mp3"/>
        </seq>
    </body>
</smil>

now the thing you need to change is the Driveletter:\\music\ with the url or your hfs e.g. again

<?wpl version="1.0"?>
<smil>
    <head>
        <meta name="Generator" content="Microsoft Windows Media Player -- 10.0.0.4040"/>
        <author/>
        <title>Mindless self indulgence</title>
    </head>
    <body>
        <seq>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\01 - Backmask.mp3" tid="{B8E21483-471A-4556-A160-FE45EB3D1C20}"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\02 - Bitches.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\03 - Boomin.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\04 - Clarissa.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\05 - Cocaine And Toupees.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\06 - Dicks Are For My Friends.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\07 - F.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\08 - Faggot.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\09 - Futures.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\10 - Golden I.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\11 - Harry Truman.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\12 - Holy Shit.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\13 - I Hate Jimmy Page.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\14 - I&apos;m Your Problem Now.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\15 - J.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\16 - Keepin Up With The Kids.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\17 - Kick The Bucket.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\18 - Kill The Rock.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\19 - Last Time I Tried To Rock You.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\20 - London Bridge.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\21 - M.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\22 - Masturbates.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\23 - Planet Of The Apes.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\24 - Played.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\25 - Ready For Love.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\26 - Royally Fucked.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\27 - Eleven.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\28 - Step Up Ghetto Blaster.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\29 - Whipstickagostop.mp3"/>
            <media src="http://70.000.000.00:port/E:/Music/1999 - FGWSSS\30 - Z.mp3"/>
        </seq>
    </body>
</smil>

replace all the 0's with your external ip address and the port number found by your hfs server. then save the wpl file again and have ppl dl it from you hfs server and it will stream your music over the net through there player "windows media player" or anything els that uses Wpl playlist formating. and your all set i use this for when im at work.

hope this helps.

GothicSuicide

Title: Re: mp3 streamer
Post by: TCube on October 05, 2006, 01:22:33 PM
(http://xs307.xs.to/xs307/06404/onemore.gif) (http://xs.to)

Million thanks GothicSuicide !

 Link removed  (http://.wpl)

J.River' Mediacenter doesn't extract directly the correct amount of data for *.wpl - I'll work it out later ...

Still it works nicely
Title: Re: mp3 streamer
Post by: ledufe on October 05, 2006, 11:21:12 PM
i like this solution, so we could make a feature in the hfs to auto create these playlist compatilbe with media player, and with other players too, like winamp, realplayer and others....they all have this particullar kind of playlist,l if all of then are avaliable on the folder with the mp3 or with the videos, well we could use this......really a cool idea....
i will try to make a tool to generate this kind of play lists and also a template that hold the players inside the page and we could "skined" it....what you guys think?

give some suggestions...
Title: Re: mp3 streamer
Post by: GothicSuicide on October 06, 2006, 01:26:04 AM
Im glad i was of some help. yes i think that would be a great idea. personaly i think it would look good in the modified black tamplet. but thats just me.
Title: Re: mp3 streamer
Post by: GothicSuicide on October 06, 2006, 01:30:18 AM
Plus that it would be great if someone proged a addon that would alow you to stream software to a remote computer .. i know you can use rdc but if you didint wont to actualy log in to the computer with rdc .. make sence.. lol anyway ill contenue to find ways around stuff and post them and see if ppl can make add ons or tamplets that allow us to do them easer

GothicSuicide
Title: Re: mp3 streamer
Post by: GothicSuicide on October 06, 2006, 02:46:14 AM
By the way Rejetto i think you should pin this topic i think its going to go good for a while if there is a little intrest in this then there might be a big intrest in the future plus its allways good to know these things.
Title: Re: mp3 streamer
Post by: rejetto on October 06, 2006, 03:30:13 AM
ok, i will put it sticky for a while.
what about having it in the wiki?
Title: Re: mp3 streamer
Post by: GothicSuicide on October 06, 2006, 03:44:04 AM
sounds good but i dont know how to do that ... lol i really dont mess with wiki's all that mutch ...

thanks for the sticky

GothicSuicide
Title: Re: mp3 streamer
Post by: TCube on October 06, 2006, 01:35:30 PM
Hello !
still using my Media Center [the One and Only ;D] it took me a few minutes to compile this short playlist and make it available trough HFS (*)

Funny Little Videos (http://82./wmv.wpl) link obsolete

I' used to broadcast by Sopcast [P2P] with Windows Player file format  [Video CD (MPEG v.1) 352x240 Freq 32Khz AudioB 64kbps mono Bitrate 11500 Framerate 25fps]  ... What's the heck ! drop everything and run ! this new way above is top quality for viewing !

(*) Playlist available within WMP


Title: Re: mp3 streamer
Post by: rejetto on October 06, 2006, 01:41:59 PM
i don't see why this wpl format should be better than the actual m3u format, that you can obtain in HFS with http://host/folder/~files.lst.m3u
Title: Re: mp3 streamer
Post by: GothicSuicide on October 08, 2006, 12:24:12 AM
WPL :

<?wpl version="1.0"?>
<smil>
    <head>
        <meta name="Generator" content="Microsoft Windows Media Player -- 10.0.0.4040"/>
        <author/>
        <title>Mindless self indulgence</title>
    </head>
    <body>
        <seq>
            <media src="E:\Music\1999 - FGWSSS\01 - Backmask.mp3" tid="{B8E21483-471A-4556-A160-FE45EB3D1C20}"/>
            <media src="E:\Music\1999 - FGWSSS\02 - Bitches.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\03 - Boomin.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\04 - Clarissa.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\05 - Cocaine And Toupees.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\06 - Dicks Are For My Friends.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\07 - F.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\08 - Faggot.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\09 - Futures.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\10 - Golden I.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\11 - Harry Truman.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\12 - Holy Shit.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\13 - I Hate Jimmy Page.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\14 - I&apos;m Your Problem Now.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\15 - J.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\16 - Keepin Up With The Kids.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\17 - Kick The Bucket.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\18 - Kill The Rock.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\19 - Last Time I Tried To Rock You.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\20 - London Bridge.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\21 - M.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\22 - Masturbates.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\23 - Planet Of The Apes.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\24 - Played.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\25 - Ready For Love.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\26 - Royally Fucked.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\27 - Eleven.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\28 - Step Up Ghetto Blaster.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\29 - Whipstickagostop.mp3"/>
            <media src="E:\Music\1999 - FGWSSS\30 - Z.mp3"/>
        </seq>
    </body>
</smil>


M3U :

01 - Hey Stoopid -=mgr=-.mp3
02 - Love's A Loaded Gun -=mgr=-.mp3
03 - Snakebite -=mgr=-.mp3
04 - Burning Our Bed -=mgr=-.mp3
05 - Dangerous Tonight -=mgr=-.mp3
06 - Might As Well Be On Mars -=mgr=-.mp3
07 - Feed My Frankenstein -=mgr=-.mp3
08 - Hurrican Years -=mgr=-.mp3
09 - Little By Little -=mgr=-.mp3
10 - Die For You -=mgr=-.mp3
11 - Dirty Dreams -=mgr=-.mp3
12 - Wind-Up Toy -=mgr=-.mp3

... mm dono you think the diference would be the amount of code .. if any or buffing it would have to do i think that M3U would be easer to convert to you hfs plus that i think M3U is more compatable with other players..... mmm ill give it a try with vids and see if theres any real diference with the bitrate or buffing with the M3U or WPL formats... but for simplistic's wpl is easer to edit. all you have to do is add the url most cases. the m3u you would have to add the url dir and name.

ill look into it ..
GothicSuicide

Title: Re: mp3 streamer
Post by: rejetto on October 08, 2006, 01:09:08 AM
i meant.... the m3u is already available. i don't have to do anything.
Title: Re: mp3 streamer
Post by: GothicSuicide on October 08, 2006, 04:03:13 AM
for music files in hfs.. mmm gues i missed that or im just not seeing somthing right.
Title: Re: mp3 streamer
Post by: rejetto on October 08, 2006, 10:39:02 AM
you just have to access the URL i told you, and the .m3u is done
Title: Re: mp3 streamer
Post by: help420me on October 08, 2006, 11:05:27 AM
I've been doing this for awhile with HFS.  I made an M3U playlist that looks just like this:

http://tinyurl.com/j944y
http://tinyurl.com/j3lj7
http://tinyurl.com/klnkh
http://tinyurl.com/j79v3
http://tinyurl.com/ffw8v
http://tinyurl.com/e8sa9
http://tinyurl.com/z9wes
http://tinyurl.com/zh95k
http://tinyurl.com/kqvl3
http://tinyurl.com/kgxzf
http://tinyurl.com/e7v7a
http://tinyurl.com/ke6ch
http://tinyurl.com/zsm9o
http://tinyurl.com/zwalk
http://tinyurl.com/ztn67
http://tinyurl.com/gvp2r


and host the file on my HFS site.  User clicks the link, downloads the playlist, media player fires up, and starts getting the music from the hosts.  Nothin simpler.  I actually use the .pls format for my media player (XMPlay), but the formatting is exactly the same.  A link to some formats for reference. (http://gonze.com/playlists/playlist-format-survey.html#M3U)  I dunno if the first post was actually talking about streaming the actual MP3s using HFS, but I know my upload bandwidth sucks for sucha thing, especially with more than a few users.  I use offsite hosting and only host the smallest of files for the site with HFS, but still give directory access to the files I wanna share.
Title: Re: mp3 streamer
Post by: TCube on October 11, 2006, 05:11:49 PM
i like this solution, so we could make a feature in the hfs to auto create these playlist compatilbe with media player, and with other players too, like winamp, realplayer and others....they all have this particullar kind of playlist,l if all of then are avaliable on the folder with the mp3 or with the videos, well we could use this......really a cool idea....
i will try to make a tool to generate this kind of play lists and also a template that hold the players inside the page and we could "skined" it....what you guys think?

give some suggestions...

I think that would be a GREAT idea ... *.wpl I'm doing at the moment are for general purpose :a - "my playlist of the week", b - "best songs I liked on CD I bought this week", c - most played today, d - so on ...

I though managers may add such playlists within the virtual or real rep. so users may get a chance to listen/view "only" the overall contents of a rep. before downloading immediatly the choosen file(s).

@leduf .... unluckly for U i'm not at all any helpful into creating such templates  :'( but i can help U test for sure !
Title: Re: mp3 streamer
Post by: ledufe on October 12, 2006, 02:54:47 PM
im already trying to develop a app like this

--generate playlist windows media player
--generate playlist Real player
--generate playlist Quicktime
--generate playlist VLC player( for videos too)
--generate playlist windows media player

-- and also a template code to put a player on the pages, but still no idea about the look of it, but i alread know how to make it work..


I think that would be a GREAT idea ... *.wpl I'm doing at the moment are for general purpose :a - "my playlist of the week", b - "best songs I liked on CD I bought this week", c - most played today, d - so on ...
That could be added to the tool that generate the playlists and also generate the html template section or the file.ext section to use on the template inside the hfs(or inside my tool the template builder)
I though managers may add such playlists within the virtual or real rep. so users may get a chance to listen/view "only" the overall contents of a rep. before downloading immediatly the choosen file(s).

@leduf .... unluckly for U i'm not at all any helpful into creating such templates  :'( but i can help U test for sure !
but im still learning the language, but im begining to convice a friendt o work on this tool with me ....but any help would be welcome.. :-)

and also i am working in a nice and clean skin for the player to put inside the custom html, because i think like this
we should have a file.dif section to these files or should we apply some diff templat eto the folders that we want the player to apear?

im doing some tests here and the solution to apply a dif template only to the folders that contain mp3 files worked better, but im not publishing the code here until i get a activex or flash player(this could be used?) after all, all other guys here don´t like javascript, im saying this becouse it would be simple to add a player in java script to do the job, but im trying to release a sollution that, work on all the popular browsers, like firefox, and ie & opera, trying all the king of sollutions, and until i get the right way to play a m3u as embed script (no javascript) inside a template or a file.ext section, i will not release the tool that make the other playlist kinds, but untill it i catch some other bugs.....

help!

please, could someone send me some links to cool look players that could be used as a player to show on the hfs players?
but we have to think that this player should be light (less bytes better) and should be simple interface like show only the list and the buttons? comm'on, give me some ideas....
:-)
Title: Re: mp3 streamer
Post by: proenca on October 12, 2006, 03:42:56 PM
hi again rejjeto..

flash players:
http://www.wimpyplayer.com/ (not free)
http://www.genbeta.com/2006/05/08-10-reproductores-de-audio-en-streaming-en-flash (all 10 free)

an awesome ajax player:
http://www.ajax13.com/es/ajaxtunes/
Title: Re: mp3 streamer
Post by: rejetto on October 12, 2006, 03:58:27 PM
here you can find an interesting flash player (to be extracted from)
http://www.serialtv.it/telefilm/greatest_american_hero_the
Title: Re: mp3 streamer
Post by: proenca on October 12, 2006, 04:07:31 PM
looks really good
Title: Re: mp3 streamer
Post by: TCube on October 12, 2006, 07:49:55 PM
I 'may be right or I may be wrong .... ;)
http://www.streamplug.info/eng/main/index.html
Anyhow that's sounded interesting at the time 'cause of Ogg Vorbis + Full MPEG4-AVC streaming support (H264).  As I understand right MP3 will be the first step to test with a flashplayer ? can't wait !  ;)
Title: Re: mp3 streamer
Post by: ledufe on October 13, 2006, 01:44:33 AM
im working on all the possible sollutions, but until i get the right flash player and the right javascript to make a "clean player" im doing tests with embed , is simple and use no javascripts and also don´t need to distribute the .swf(but this kind of player is getting done....just wait...)
and now here a brief solution

well this is a try to make a decent mod to the template at least until we get the right and compatible code.

just insert this code in any part of your template
rename the image that is the cover of the album to "cover.jpg" or edit the code

it will generate a table with the cover,
the name of the folder(the album name???)
and the comment of the folder(could be the album description???)
and the embeded player tha worked in my opera, internet explorer and firefox.

just a try.....



Code: [Select]
<div>
<table width="170" border="2" cellspacing="1" cellpadding="1">
  <tr>
    <td><table width="100%" border="1" cellspacing="1" cellpadding="1">
      <tr>
        <td><img src="%encoded-folder%cover.jpg" alt="cover.jpg Missing" width="213" height="201" /></td>
      </tr>
      <tr>
        <td>%folder%</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td>%folder-comment%</td>
  </tr>
  <tr>
    <td><embed src="%encoded-folder%~files.lst.m3u" height="45" width="170"
    type="application/x-mplayer2" autostart="1"
    loop="0" volume="-300"></embed></td>
  </tr>
</table>
</div>
Title: Re: mp3 streamer
Post by: rejetto on October 13, 2006, 01:50:39 AM
i used that player in my personal website :)
http://www.rejetto.com/me/?idx=1
Title: Re: mp3 streamer
Post by: ledufe on October 14, 2006, 07:44:01 AM
i used that player in my personal website :)
http://www.rejetto.com/me/?idx=1
readin the forum of that great flashmx mp3 player i found this, so it will serve on hfs, but one for each music(in a ne section called [file.mp3] with the proper config, but not with the .m3u file generated by the url command of the hfs, as you can read here...

http://www.jeroenwijering.com/?thread=Possible_to_play_streaming_m3u? (http://www.jeroenwijering.com/?thread=Possible_to_play_streaming_m3u?)

but im still working on it, and leaning.....heheeh "-o my god! my head, is gonna explode"  ???
Title: Re: mp3 streamer
Post by: GothicSuicide on October 14, 2006, 09:19:48 AM
Wow im glad this is really takin off You know rejjeto you do have a great program and a great community. hope you get this workin LA it will be cool to see what you come up with in the end and see allthe variations other ppl try to come out with.

GothicSuicide.
Title: Re: mp3 streamer
Post by: rejetto on October 14, 2006, 02:02:04 PM
of course i'm interested.
i hope one day the default template won't be made by me.
Title: Re: mp3 streamer
Post by: ledufe on October 14, 2006, 09:21:57 PM
another try to do the " action of play media files with hfs" i tryed this and found a interesting results....

try this solution, like rejetto sugested, i used the mp3 player that he used on his page...

from
http://creativecommons.org/


please, teste, comment, improve it, comon guys, give it a try...

do this, restore the default template and add this section right bellow the entire [File] section. (or you can import the template inside the zip file)

Code: [Select]
[file.mp3]
<tr>
<td>
%new%
<a href="%item-url%">
<img src="/~img_file" />
 %item-name%
</a>
%comment%
<td align=right>
%item-size%
<td align=right>
%item-modified%
<td align=right>
%item-dl-count%
<td align=right>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="200" id="mp3player"
    codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" >
  <param name="movie" value="http://%host%/mp3player.swf" />
<param name="flashvars" value="config=http://www.server.com/config.xml&file=http://www.server.com/playlist.xml" />
  <embed src="http://%host%/mp3player.swf" width="300" height="20" name="mp3player"
    flashvars="file=%item-url%"
    type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

now just drag and drop the "mp3player.swf" to the root folder of your hfs virtual file system

and its done, you got a macromedia flash mp3 streaming player after every name of every file that is .mp3 :-)

this image show all the files as they must be...
(http://img106.imageshack.us/img106/6023/hfsflashmp3playerinstallhr3.th.jpg) (http://img106.imageshack.us/my.php?image=hfsflashmp3playerinstallhr3.jpg)

but as i post before, this player, don´t support .m3u play list,  you can add the support to the .m3u file play list using the default media plyer of the user browser(client-side) to play the streaming (do not forget to "UNCHECK" the pause streaming option inside the hfs menu or ini)

atached to this post, zip file that contains this
-the  original flash_mp3_player with the original docs and the sources untouched
-there is a mod of the hfs default template to add the flash mp3 player called default+flashmp3.tpl

and here is the snapshot of this half working idea...
(http://img114.imageshack.us/img114/7266/hfsflashmp3playerinstalledjd6.th.jpg) (http://img114.imageshack.us/my.php?image=hfsflashmp3playerinstalledjd6.jpg)

simples as this, but im still looking for a better streaming way, it seems that the solution to make everybody happy would be

-no java script (security)
-no embeded files on the page(huge page load)

maybe a flash player like this(only 10k) with .m3u suport, or rejetto could add the funtion to the hfs to generate also the XSPF playlist that is the only supported streaming playlist of every free flash mp3 player that i found,

atached


[attachment deleted by admin]
Title: Re: mp3 streamer
Post by: TCube on October 15, 2006, 03:56:50 AM
Works perfectly ledufe ! (just have to hide the mp3player.swf at the root)

(http://xs207.xs.to/xs207/06410/CharlotteGainsbourg.jpg.xs.jpg) (http://xs.to/xs.php?h=xs207&d=06410&f=CharlotteGainsbourg.jpg)
Title: Re: mp3 streamer
Post by: maverick on October 15, 2006, 08:02:08 AM

Yes, the mp3player seems to work ok.  I first started to play around with it after rejetto mentioned it.  It's a good way to preview songs.  I still prefer the playlist for uninterrupted music.  But I guess it's good to have both options available for different needs. 

The mp3player can increase CPU load though.  I also noticed that the mp3 page that includes the player loads quick in Opera and IE but a little sluggish with Firefox.  Firefox is a good browser but I find it kind of slow.  Does anyone know how to speed up Firefox?

But overall, the player might be a nice permanent addition.  Thanks for mentioning it rejetto. :)  And ledufe it looks like you are getting yourself involved in some interesting projects.  Good job. ;)
Title: Re: mp3 streamer
Post by: ~GeeS~ on October 15, 2006, 07:07:46 PM
Thank you Ledufe!
Looks good and simple.  :)
Title: Re: mp3 streamer
Post by: SNyB on October 15, 2006, 10:17:01 PM
Thanks ledufe,

but this method don't works with IE6  ??? The track not playing when I press play bouton...

Change this line :

Code: [Select]
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="200" id="mp3player"
by
Code: [Select]
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="20" id="mp3player"
;)
Title: Re: mp3 streamer
Post by: SNyB on October 15, 2006, 11:31:53 PM
for playing with IE6 :

Change :

Quote
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="20" id="mp3player"
    codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" >
  <param name="movie" value="http://%host%/mp3player.swf" />
<param name="flashvars" value="file=%item-url%" />

The same stream for the video ? :)
Title: Re: mp3 streamer
Post by: ledufe on October 16, 2006, 12:14:03 AM
i found a bug with this flash player, but i guess that will afect only some of us, the filename of the mp3 files must not have any acentuation or special characters.... like (~^`´' " ) some brazilian sogs that i have here simple refuse to play....

just for you to know, and about videos, at least the mpeg or mpg this worked for me

Code: [Select]
[file.mpg]
<tr>
<td>
%new%
<a href="%item-url%">
<img src="/~img_file" />
 %item-name%
</a>
%comment%
<td align=right>
%item-size%
<td align=right>
%item-modified%
<td align=right>
%item-dl-count%
<td align=right>
    <!-- begin embedded WindowsMedia file... -->
      <table border='0' cellpadding='0' align="center">
      <tr><td>
      <OBJECT id='mediaPlayer' width="176" height="189"
      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="%item-url%">
      <param name='animationatStart' value='true'>
      <param name='transparentatStart' value='true'>
      <param name='autoStart' value="false">
      <param name='showControls' value="true">
      <param name='loop' value="true">
      <EMBED type='application/x-mplayer2'
        pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
        id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
        bgcolor='darkblue' showcontrols="true" showtracker='-1'
        showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="176" height="189"
        src="%item-url%" autostart="false" designtimesp='5311' loop="true">
      </EMBED>
      </OBJECT>
      </td></tr>
      <!-- ...end embedded WindowsMedia file -->
    <!-- begin link to launch external media player... -->
        <tr><td align='center'>
        <a href="%item-url%" style='font-size: 85%;' target='_blank'>Launch in external player</a>
        <!-- ...end link to launch external media player... -->
        </td></tr>
      </table>

and still trying to help the other friend of this forum with the right script or mod to embed the .flv player on hfs like the mp3 player in flash......

and i've been a little busy with my son and his exams in his school, and still finding some time to learn c#, just wait, im testing a new tool to work with the templates and the hfs ini and a data base inside a raw text to store and select to use the user collection of templates and diff templates , but still trying to make it work like i want it to work...
Title: Re: mp3 streamer
Post by: ledufe on October 16, 2006, 05:46:21 AM
i know that so many people in here don´t like javascript for security reasons, but i found this really interesting to share, even if it contain some javascript on it(and we are talking about a little and very comom fuction) that only show a pop-up window modding the default template, i did this to make it easy to just load it (the desired template) so i included the code of the pop-up windows inside the javascript(and not in a external html file as usual), so i tested this 3 sollutions and all seem to work on all browsers, but with a strange effect that i will explain here:

first the templates are atached to this post and i must thank this to rejetto, thanks for let us to put small files atached tho posts, it keep us safe from rapidshare and others......

now let me explain this templates
they all use the pop-up javascript to show a window with a embed player to stream the .m3u list of the current folder that you are browsing but if you use different template you got a different kind and view of the poped-up window

one that load the miniplayer only
(http://img224.imageshack.us/img224/4959/popupmp3playerembededminiplayeronlymm7.th.jpg) (http://img224.imageshack.us/my.php?image=popupmp3playerembededminiplayeronlymm7.jpg)

one tha load the mini player but with the folder name(the folder that generated the current playlist) and also the cover of the album
(just put the file with the front cover on the same folder with the name "cover.jpg") Cool :-)
(http://img82.imageshack.us/img82/8721/popupmp3playerembededcoverfoldernametv3.th.jpg) (http://img82.imageshack.us/my.php?image=popupmp3playerembededcoverfoldernametv3.jpg)

and the last template just call the embed player but not call the default music player of the client to embed, but the default mpeg player(mp3 is a mpeg don´t you know?) so on the internet explorer it calls again(usually the same as the other templates used before) the windows media player, but on my machine with the apple quick time installed from firefox it calls the quick time into the embed window...
(http://img82.imageshack.us/img82/8862/popupmp3playerembededquicktimeandmediaplayerav5.th.jpg) (http://img82.imageshack.us/my.php?image=popupmp3playerembededquicktimeandmediaplayerav5.jpg)

well this was made just to let us keep browsing the hfs file system(it was moondog first who come with the idea...), but using the streaming in a non stop way, this way, the window that is paying the .m3u file don´t change or close unless you want it.

hope it helps the others...



[attachment deleted by admin]
Title: Re: mp3 streamer
Post by: ledufe on October 16, 2006, 05:58:22 AM
it give me some ideas, about file types especified inside the html code, so we could call more kind of specifc players by only clicking in a link so we could make a link to embed Real player, media player, quick time, and so many other player that could fit this parameters of file types and embed active-x, imagine stream other file types with so many links, like this we could add a special button to every kind of file type that could be played, and this button calls a pop-up player with the "right" kind of player for the clicked file like mpeg, mp4, 3gp, avi, mp3, and many more.....

ideas.....o god, my brain is just begining to warm-up come'on guys, lets try , hfs....so many possibilities....
Title: Re: mp3 streamer
Post by: TCube on October 16, 2006, 11:10:59 AM
Firefox is a good browser but I find it kind of slow.  Does anyone know how to speed up Firefox?
"en francais dans le texte"   ;D

http://www.generation-nt.com/astuces/lire/241/accelerer-le-chargement-des-pages-dans-firefox/

Edit : sorry didn't see could send a PM until I was online ... too late by then
Title: Re: mp3 streamer
Post by: maverick on October 16, 2006, 11:44:46 AM
Thanks TCube.  I don't understand french so I used a translator. The result was terrible and didn't make much sense.

Edit:
This is actually off-topic in this thread.  I have found a solution.  Anyone interested in how to speed up Firefox should go here -->
http://www.rejetto.com/forum/index.php?topic=3792.msg1018674#new
Title: Re: mp3 streamer
Post by: TCube on October 17, 2006, 08:38:16 AM
Three-pop-up-mp3-player-streaming-test, my feedback

First : level up the version to HFS 2.1

On FireFox (1.5.0.7):
no chance to open up any playlist generated in either case ... hum !?! ...
Could some one confirm please before I go to Firefox Internal settings ?
(comments : transfert idle - no limit sets on HFS for speed limit)

On IE6 (6.0) : every files templates open correctly but IE as a small strange behavior ...
(comments : I have to use a different User Account each time in order to refresh to the new template)


I like the template with the cover album a lot, the one I would certainly use if - a) it would work on FF - b) if I could get a volume button (PC connected to the hi-fi system) and - c) get the titles of songs. :D

(http://xs308.xs.to/xs308/06422/TemplatewithCoverart.jpg) (http://xs.to)

Last sunday went to friends (with a 2048/128 dsl connection) and test the whole bunch of solutions from you guys (*.wpl, audio and video, mp3player.swf, ...) worked "almost" swell ! ("almost" = just have to encode videos the proper way)

(http://xs308.xs.to/xs308/06422/mrci.gif) (http://xs.to) à vous for all your tips and ideas !

Could Leduf give me a hand to get the proper code for mp3player.swf that works both with FF and IE, I'm still stuck on my Brooke's template to have it work with I.E (sample below)


(http://xs308.xs.to/xs308/06422/IEwithMp3Flashplayer.jpg.xs.jpg) (http://xs.to/xs.php?h=xs308&d=06422&f=IEwithMp3Flashplayer.jpg)


Title: Re: mp3 streamer
Post by: ledufe on October 18, 2006, 04:14:46 AM
well, my friend TCube, i dont know if i understood it right, but as you can see on the atached picture, here is something that may interest you and also some info:

firefox 1.5.0.7
internet explorer 6.0.2900.2180
windows media player 10
hfs2.1 final

(http://img182.imageshack.us/img182/8074/fullplayergq9.th.jpg) (http://img182.imageshack.us/my.php?image=fullplayergq9.jpg)
-volume control
-firefox and ie compatible and fully functional
song name scrolling and more...

try it and see if it works for you, and if you want, you can always contactme by messenger and private message...

i would be happy if i can help....

OBS.: inside the zip file there is a template with this code

just remember that you must create the "cover.jpg" and let it on the same folder of your album...



[attachment deleted by admin]
Title: Re: mp3 streamer
Post by: TCube on October 18, 2006, 06:27:28 AM
Merci beaucoup Ledufe  ;)  ... just 'll have to check a couple of things as i use W2K and Windows MPlayer 9, I'll keep you updated by PM

Edit : works !  (except for M3U playlist in FF, i 'll look into it ...) Funny thing is when you slip a *.wpl within a rep. containing *.mp3 - Popup Player will play them all  ;D
Title: Re: mp3 streamer
Post by: GothicSuicide on October 18, 2006, 10:34:56 PM
Wow you are amazing. i could not have put this project together better myself .. "plus it would have takin me forever" great job lets see if this go's well if it get incorperated .. if its small enough and keeps the cpu loadtimes down .. mabie stripping some of the textures off the player and downscale the code "like omiting certin characters from the code.. looks ugly but it works and makes it smaller and the script is still readable by the program" just a suggestion.

keep up the good work.

"currently im working on anouther project using Lua script .. fun language let me tell you.. anyway ill check back from time to time to see how stuff is going and as soon as i get home ill test this out"
Title: Re: mp3 streamer
Post by: ledufe on October 19, 2006, 12:41:25 AM
works!  (except for M3U playlist in FF, i 'll look into it ...)
it works on my firefox, but i noted one thing important

sometimes it load and start playing the playlist generated with the file "cover.jpg" on the first position of the list, and doing this, the player embeded will start the playlist playing hte file cover.jpg, but this file wont will be show, so i think that the player was not working, but when i press skip to the next track it "now" start playing the playlist as it was supose to be, playing the songs one by one....
so i figure out two simple way to avoid this issue:

-or you put your image in a sub-folder inside the folder of the album like "covers" and change the script on the line that it says " <img src='%encoded-folder%cover.jpg' alt='cover.jpg Missing' width='200' height='200' /> " to " <img src='%encoded-folder%covers/cover.jpg' alt='cover.jpg Missing' width='200' height='200' /> "

-or simple put this on the Files Filter mask(Right-Click over the folder you want to hide the cover from being showed on the file list) of every folder that contains the mp3 :
Code: [Select]
\cover.jpg
Funny thing is when you slip a *.wpl within a rep. containing *.mp3 - Popup Player will play them all  ;D

i could not understand what did you mean when you say these words: slip, rep
but i guess that you want to say that there is something funny happens when you play some wpl list with mp3 inside...
Title: Re: mp3 streamer
Post by: rejetto on October 21, 2006, 12:34:02 PM
Quote
maybe a flash player like this(only 10k) with .m3u suport, or rejetto could add the funtion to the hfs to generate also the XSPF playlist that is the only supported streaming playlist of every free flash mp3 player that i found,

how is this format?
anyway, i guess you could already generate such playlist using the filelist.tpl file. it should be documented on the wiki.
Title: Re: mp3 streamer
Post by: SNyB on October 22, 2006, 03:29:21 PM
TCube and ledufe  ;D

I don't arrive to play movies or music with IE 7/firefox 1.5 and WMP 9 or 10....
WMP try to play music but I can't play... The flash player don't work with IE7 for the moment (don't play file).

I have this message with TCube and ledufe templates :

Translating french to english :

"The file that you try to read comprises an extension which does not agree with its formed. The player of the file is likely to cause unexpected results. Want that the player tries to read the file?"

Original french message:

"Le fichier que vous essayez de lire comporte une extension qui ne concorde pas avec son forma. La leceure du fichier risque de provoquer des résultats inattendus.  Voulez vous que le lecteure essaie de lire le fichier ?"
Title: Re: mp3 streamer
Post by: ledufe on October 22, 2006, 03:51:41 PM
hey, did you check your private messenger of this forum?
Title: Re: mp3 streamer
Post by: TCube on October 22, 2006, 03:56:08 PM
Hello

My configuration : FF 1.5.07 / IE 6.0 / WinAmp 5.3 and Windows Media player 9.0
Try this link and every tag as "new"  Short Lived for test  (http://))

Edit : boy ! that was quick ledufe - link removed
Title: Re: mp3 streamer
Post by: ledufe on October 22, 2006, 07:04:36 PM
as we talked on msn:

i guess that i found the error
remove ANY .tpl file from the root folder of the hfs exe

i found that this it was the error becouse of this link
http://84.97.64.51:8031/MP3z/Angel%20Voices%20-%20Heaven/~files.lst?recursive

on the docnamethe filelst is being generated based on the tpl inside the same folder of hte hfs.exe in this case you should check if there is a file as i could see here, named (<!DOCNAME html PUBLIC "fullplayer.tpl">) fullplayer.tpl and move it and every other .tpl file from the root to another folder...
hope it help you, and if it solve your issue, you should post on forum , becouse someone else could have the same trouble and you could help then....
Title: Re: mp3 streamer
Post by: SNyB on October 23, 2006, 01:15:17 PM
Yes the default templates was changed by the fulltemplate.tpl of TCube and the streaming miracle working :)

thx for all ledufe
Title: Re: mp3 streamer
Post by: TCube on October 23, 2006, 01:56:08 PM
Yes the default templates was changed by the fulltemplate.tpl of TCube and the streaming miracle working :)
thx for all ledufe

Hum ....fulltemplate.tpl  ©ledufe  ;)  edit : OOuuuuups...... fullplayer.tpl ©ledufe
Title: Re: mp3 streamer - Just wandering...
Post by: ledufe on October 24, 2006, 12:24:13 AM
Yes the default templates was changed by the fulltemplate.tpl of TCube and the streaming miracle working :)
thx for all ledufe

Hum ....fulltemplate.tpl  ©ledufe  ;) 

i guess he did some confusion aboute the name of the file and the name of guy who made it, but to make us understand righ....
the name of the file that was interfering on the right work of hfs was "fullplayer.tpl" and not "fulltemplate.tpl" and the guy who made it could be anyone, but i guess that maybe he copyed it from my hfs template repositorium.
but the point is:
the file with the extension .tpl, in this case "fulltemplate.tpl" was making the hfs work in a wrong way, but at this point it is easy to fix, just remove ANY file with the extension .tpl from the hfs folder, and you can even delete the file "hfs.tpl" this file is saved on the hfs folder when you do:
 MENU -> Save Options -> To File
i guess that this file is actualy the template that is already on the hfs runing memory or the template that is showed to you when you call the:
Menu ->  Edit HTML template

 ???

is this right?

and it was this way, the way that it was suposed to work? should any .tpl file in the same folder of the hfs , make it work in a undesirable way?
 ???
Title: Re: mp3 streamer
Post by: TSG on November 10, 2006, 11:53:48 AM
I am wondering how to do this mp3 streaming stuff, been reading this forum and like O_o brain asplosion, i use Firefox 2.0 and when testing ledufe's one when he gave me the link to his hfs, it complained about the xml player... i think a flash player would be best for multi browser support, even tho i build my templates for Opera/ Firefox users, IE = worst browser ever conceived :P

EDIT: i have managed to get a player to play music from the directory and it is in, i put it in its own column for every .mp3 file, thought this would save work on having to make these playlist files, only prob is the player takes a while to load and its only 10kb, anyone know why?

EDIT: i realised why, its cause the lil player that i used from this forum looks for a playlist then goes back to a single player, does anyone know of a player that does not work using playlists aswell?
Title: Re: mp3 streamer
Post by: rejetto on November 14, 2006, 06:04:40 PM
and it was this way, the way that it was suposed to work? should any .tpl file in the same folder of the hfs , make it work in a undesirable way?
 ???

only hfs.tpl and filelist.tpl are loaded, not every tpl file.
they are loaded when HFS starts, not later, and only in the same folder of hfs.exe

moreover, hfs.tpl is loaded ONLY IF hfs.ini exists
Title: Re: mp3 streamer
Post by: ledufe on November 14, 2006, 08:02:56 PM
ok, but maybe some stuffs that i writed above are true.... if he remove avery .tpl file from the hfs folder, so the hfs.tpl and filelist.tpl where also moved, and this is what maked it work...right? but don´t need to answer this....

Title: Re: mp3 streamer
Post by: -Merlin- on November 30, 2006, 07:58:44 AM
Some people (like me) are not using windows mediaplayer.
I foud this litle java applet here:
Each audio file can have his own play and stop button!

http://www.javazoom.net/applets/tinyplayer/tinyplayer.html

Would it be possible to add this to a HFS template...?
Does it require javascript to be switched on on the remote users browser?
Looks very interesting to me but I don't know if it's feasable because I'm a complete HTML noob...  ;D
Title: Re: mp3 streamer
Post by: maverick on November 30, 2006, 08:10:47 AM
Merlin

Why not use a flash mp3 player?  No java or javascript needed.  A lot of us here are using it.  Go to this thread for more info and a download link to it --> http://www.rejetto.com/forum/index.php?PHPSESSID=aef6d7e02b414140dff3f67eed1ec91c&topic=3603.msg1018649#msg1018649
Title: Re: mp3 streamer
Post by: -Merlin- on November 30, 2006, 08:26:53 AM
Merlin

Why not use a flash mp3 player?  No java or javascript needed.  A lot of us here are using it.  Go to this thread for more info and a download link to it --> http://www.rejetto.com/forum/index.php?PHPSESSID=aef6d7e02b414140dff3f67eed1ec91c&topic=3603.msg1018649#msg1018649
Very nice! It works well for smaller files...but....
I've got a bunch of very big audiofiles 16khz mono 60min and longer!
The player plays these files at about 10 times normal speed (strange bug!)
It's a pity, because I like the player but won't be able to use it....  :(

Title: Re: mp3 streamer
Post by: anonym2467 on December 03, 2006, 08:11:05 PM
Flash players are fantastic, great idea yes.. file by file MP3s are working perfect!
problems, they are not working with standard m3u. (mp3)
Does anyone KNOW if there could be a way (without server side scripting à la PHP/ASP), with just client side scripting (javascript) to create on the fly a working XSPF playlist ?

www.jeroenwijering.com : that player is especially great for playlists too.. but not m3u (like every flash players anyway).

With all the excellent available variable and parameters in HFS, with a little scripting on strings (names), with regular files & folders naming (my files are always XX - name.mp3 (here), and folders  artist name - year - album name ... should be possible to create ok *.xspf. Now, could a flash player recognize on the fly a specialy created *.XSPF -as javascript can't write on HD..- (just need to place on the fly artist names, album name, track name.. rest is logical and always similar) ?


PS:
Be careful with your <EMBED> tags in IE7 : IE7 no longer tolerate at all incomplete <OBJECT> tags... even less non standard <EMBED> alone = ignored definitively. To play on IE7 and Firefox &Co, you must have a PERFECT <OBJECT> with all the necessary well defined flash qualifying params inside.. and an <EMBED> tag embedded inside at the end. I had to rewrite properly for it my loosy (but working perfect in IE6..) <OBJECT> 'pre-built' tag for http://www.jeroenwijering.com/?item=Flash_MP3_Player ... IE7 much more picky than IE6... but also 100%compliant to W3C full norm.. but even more picky.

BTW..
The <EMBED> MS player formulas doesn't work either here with the (on paper) great idea %encoded-folder%~files.lst.m3u : when in a protected folder, MS Player seems to be unable to understand correctly the login/pass for the mp3 inside the playlist: blocked here. Only Winamp able here to correctly play perfectly, with the url as such, the automatically generated *.M3u playlist... but winamp is working great.. manually (and externally only so). VLC and/or Ms Player full external players are also not able to use also the *.m3u in protected folders; only Winamp. But of course Winamp can't be embedded, not a real solution too ; have you realy succeeded to play the Ms plugin correctly (with protected folders) ?
Title: Re: mp3 streamer
Post by: Sash! on December 19, 2006, 07:20:31 AM
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?
Title: Re: mp3 streamer
Post by: Garphy on December 25, 2006, 02:54:42 AM
a good idea~
Title: Re: mp3 streamer
Post by: dkjdkfjdkf on January 03, 2007, 11:39:32 PM
Hello
i am newbie in this,i have one problem,how can i add mp3 player to my hfs!??
Title: Re: mp3 streamer
Post by: pehden on March 30, 2007, 05:30:38 AM
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>
Title: Re: mp3 streamer
Post by: Sash!! on April 04, 2007, 06:56:30 AM
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?
Title: Re: mp3 streamer
Post by: alke on May 11, 2007, 06:37:15 PM
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?
Title: Re: mp3 streamer
Post by: TSG on May 12, 2007, 11:51:29 AM
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. ;)
Title: Re: mp3 streamer
Post by: Johan on August 12, 2007, 08:18:08 PM
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.
Title: Re: mp3 streamer
Post by: bmartino1 on March 02, 2015, 06:21:03 PM
...i know its old...:

You can have your musi in a folder on HFS..

create a xml playlist file...caled a m3u...

see posts:
http://www.rejetto.com/forum/hfs-~-http-file-server/serving-video-files/msg1059473/?topicseen#msg1059473

http://www.rejetto.com/forum/hfs-~-http-file-server/information-(mime-types)-embed-pdfsvideo-and-audio/msg1059474/#msg1059474
Title: Re: mp3 streamer
Post by: LeoNeeson on March 07, 2015, 05:43:15 AM
...i know its old...:
:P ;D