home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
My Streamradio
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="kroko" data-source="post: 325220" data-attributes="member: 45719"><p>Hi rtv,</p><p></p><p>i just had to add some lines of code to provide thumbs even for pls, asx and my xml stations files. Then I added my web parser to get the artist title from the web pages. Also i added a part to bypass the token protection from tiscali. So far every thing works. The radio plugin was using the playlist player. I did not change much, only exchanging the file path with my url and also the viz is dammed working without doing anything ;-) There is just one open item:</p><p></p><p>How can I record the stream and transcode it into a mp3 ?</p><p></p><p>I know from one of my projects how to use bassenc and lame.exe to do this job. But in the MP source I was not able to find real good solution. It just too much code to lock at. Do you have a clue where is a good point to look at ? The bassenc is not implemented and also I missing some methods to do that.</p><p></p><p>Regards</p><p>kroko</p><p></p><p></p><p>OK after seaching for a while here is the code if somebody need to record the stream...</p><p></p><p> // get the ID for the stream</p><p> int _stream = (int)MediaPortal.Visualization.VisualizationBase.Bass.CurrentAudioStream;</p><p> // save mp3 through lame.exe</p><p> string name = "File_" + DateTime.Now.Ticks.ToString();</p><p> string cmd = "lame.exe --alt-preset standard - " + name + ".mp3";</p><p> BassEnc.BASS_Encode_Start(_stream, cmd, BASSEncode.BASS_ENCODE_AUTOFREE, null, 0);</p><p></p><p>u need to add bassenc.dll and lame.exe but thats not to bad.</p><p></p><p>its time for a glass of wine ;-)) so far , cheers</p></blockquote><p></p>
[QUOTE="kroko, post: 325220, member: 45719"] Hi rtv, i just had to add some lines of code to provide thumbs even for pls, asx and my xml stations files. Then I added my web parser to get the artist title from the web pages. Also i added a part to bypass the token protection from tiscali. So far every thing works. The radio plugin was using the playlist player. I did not change much, only exchanging the file path with my url and also the viz is dammed working without doing anything ;-) There is just one open item: How can I record the stream and transcode it into a mp3 ? I know from one of my projects how to use bassenc and lame.exe to do this job. But in the MP source I was not able to find real good solution. It just too much code to lock at. Do you have a clue where is a good point to look at ? The bassenc is not implemented and also I missing some methods to do that. Regards kroko OK after seaching for a while here is the code if somebody need to record the stream... // get the ID for the stream int _stream = (int)MediaPortal.Visualization.VisualizationBase.Bass.CurrentAudioStream; // save mp3 through lame.exe string name = "File_" + DateTime.Now.Ticks.ToString(); string cmd = "lame.exe --alt-preset standard - " + name + ".mp3"; BassEnc.BASS_Encode_Start(_stream, cmd, BASSEncode.BASS_ENCODE_AUTOFREE, null, 0); u need to add bassenc.dll and lame.exe but thats not to bad. its time for a glass of wine ;-)) so far , cheers [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
My Streamradio
Contact us
RSS
Top
Bottom