Welcome Guest.   Make a donation to an author on the site October 21, 2014, 02:09:58 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Your Support Funds this Site: View the Supporter Yearbook.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: DI.FM/SKY.FM Aliases/quick launch via FARR  (Read 4654 times)
Kamel
Honorary Member
**
Posts: 138


View Profile Give some DonationCredits to this forum member
« on: November 19, 2008, 10:52:42 PM »

I am a huge fan of di.fm and sky.fm (basically the same place). I love the music, but I scan through their stations a lot. I noticed, it is annoying that every time I play a different radio station I have to reopen their service etc. What I'd like to do is learn how to make my own aliases so that I can use find and run robot to launch winamp with the corresponding radio station. For instance:

di.fm eurodance aac

Should open di.fm's eurodance station the aac version.

di.fm vocal trance mp3

Should open the vocal trance station, the mp3 stream.

Is there an easy way to do this? I have thought about manually editing the playlist to add all of the stations I want, but then again I listen to some pretty crazy ones when I'm in those weird moods (such as salsa) that I truly would only want when I specifically request it, rather than having it on a playlist that it may auto jump to if the buffer runs out.

Would this be fairly easy to do? I am thinking it is, but perhaps I'm very wrong.
Logged

I'm the guy you yell at when your DSL goes down...
mouser
First Author
Administrator
*****
Posts: 33,571



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: November 20, 2008, 11:28:03 AM »

seems fairly easy to do but im not sure it would depend on winamp i guess.

let me ask you this.. is there a commandline you could invoke that would open winamp and tell it to go to those stations you mention?
or, is there some windows messages you can send to winamp to cause it to do that?
or maybe there is simply a url that when opened in web browser (or winamp) causes winamp to open to that?

in other words, your first step has to be to figure out how to call winamp and have it open those streams, leaving aside any issue of interfacing with farr.  once you figure out how to do that non-interactively, then ask again how to add such triggers to farr.
Logged
tranglos
Supporting Member
**
Posts: 1,079



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #2 on: November 20, 2008, 01:22:46 PM »

What I did was create bookmarks (in both Winamp and AIMP) for all the stations listed at http://www.sky.fm. It takes a couple of clicks to get to a bookmark, but it's still pretty quick.

An easy solution using FARR would be to right-click and save-as all the links to the stations listed on that SkyFM page, each with a unique name, e.g. "salsa.pls", and put those files where FARR can find them. FARR would then launch whatever player is registered for handling pls playlist fles.

(I love Sky.FM!)
Logged

mouser
First Author
Administrator
*****
Posts: 33,571



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: November 20, 2008, 01:37:22 PM »

if tranglos solution works you could even create a special farr alias that knows where the pls files are and restricted a search to them, so you could type:

difm blah

and it would show all .pls files in a certain directory that match the term "blah"

using pls files would also probably have the advantage that:
it would launch winamp if not running, or leave winamp running and just open stream if it was already running (like a browser).
Logged
Kamel
Honorary Member
**
Posts: 138


View Profile Give some DonationCredits to this forum member
« Reply #4 on: November 22, 2008, 09:32:32 PM »

Thanks guys, gives me some 'food for thought'. I need to clear some other things from my plate before beginning this, but I'd really like to do this. I'll definitely share my work if I am able to get this, glad to see I'm not the only di/sky user here tranglos cheesy
Logged

I'm the guy you yell at when your DSL goes down...
Kamel
Honorary Member
**
Posts: 138


View Profile Give some DonationCredits to this forum member
« Reply #5 on: November 23, 2008, 08:05:48 PM »

let me ask you this.. is there a commandline you could invoke that would open winamp and tell it to go to those stations you mention?
or, is there some windows messages you can send to winamp to cause it to do that?


Simply doing for instance, winamp.exe "http://www.di.fm/aacplus/eurodance.pls" will open the appropriate file. There is not really a good reason to store the playlist files locally since if the playlist files aren't available at the specified location, the radio itself wont be available either.

Is it easy to make FARR aliases to do things as this? Could I make it automatic, or would I have to include an alias for handling each and every radio station on sky/di?
Logged

I'm the guy you yell at when your DSL goes down...
Kamel
Honorary Member
**
Posts: 138


View Profile Give some DonationCredits to this forum member
« Reply #6 on: November 23, 2008, 08:08:42 PM »

What I did was create bookmarks (in both Winamp and AIMP) for all the stations listed at http://www.sky.fm. It takes a couple of clicks to get to a bookmark, but it's still pretty quick.

An easy solution using FARR would be to right-click and save-as all the links to the stations listed on that SkyFM page, each with a unique name, e.g. "salsa.pls", and put those files where FARR can find them. FARR would then launch whatever player is registered for handling pls playlist fles.

(I love Sky.FM!)

Unfortunately, I don't believe the version of winamp I use supports bookmarks. I hate winamp pro. As a matter of fact, I've yet to find a media player for windows that is satisfactory (however, I love the linux xmms player).
Logged

I'm the guy you yell at when your DSL goes down...
Kamel
Honorary Member
**
Posts: 138


View Profile Give some DonationCredits to this forum member
« Reply #7 on: November 23, 2008, 08:11:01 PM »

using pls files would also probably have the advantage that:
it would launch winamp if not running, or leave winamp running and just open stream if it was already running (like a browser).

Sorry for posting so many times in a row! This is exactly the manner in which winamp works when invoking from the command line in the way I mentioned earlier. Sending messages to winamp is actually quite trivial, they have made it very easy for external programs etc to control and use winamp from my understanding.
Logged

I'm the guy you yell at when your DSL goes down...
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.04s | Server load: 0.12 ]