StreamingSoundtracks.com
Search

 

VIP
Subscribe to become a VIP member of SST!

· Request More Often
· Unshared Requests
· Request Countdown Timer
· Request Ready Indicator
· Your Request History
· Access To The VIP Forum
· Add More Favorites

:: Click Here To Upgrade ::

:: Give VIP as a Gift ::

Click Here To Listen

Follow Us


Donation Meter


Make donations with PayPal!
Monthly Goal:
$500.00

Need:
$200.00

27 Donations:
$300.00

Death.FM (Aug-21) blackvision $5.00
StreamingSoundtracks.com (Aug-21) Last_Starfighter $5.00
StreamingSoundtracks.com (Aug-19) Bryophyte $10.00
StreamingSoundtracks.com (Aug-19) ZeframCochrane $10.00
StreamingSoundtracks.com (Aug-19) BiRhar $10.00
StreamingSoundtracks.com (Aug-19) masked_platypus $10.00
StreamingSoundtracks.com (Aug-19) treki $10.00
StreamingSoundtracks.com (Aug-19) molossus $10.00
Death.FM (Aug-18) Windsor $10.00
Death.FM (Aug-18) tabh666 $10.00
StreamingSoundtracks.com (Aug-18) Anonymous $2.00
StreamingSoundtracks.com (Aug-15) Ghostkeeper $10.00
StreamingSoundtracks.com (Aug-13) LuvMusic $15.00
Adagio.FM (Aug-12) AkuAku $20.00


 


Last Month's Donors
StreamingSoundtracks.com (Jul-30) molossus $6.63
Death.FM (Jul-29) diginferno $50.00
Death.FM (Jul-24) htmm $13.37
StreamingSoundtracks.com (Jul-24) megadith $87.00
StreamingSoundtracks.com (Jul-22) danico $10.00
StreamingSoundtracks.com (Jul-21) Anonymous $3.00




Windows Phone App

Android App

SSTore



:: SSTore ::


Windows Media

Partners


:: Link To Us ::
:: Add Your Link ::


New feature: Developer API
Goto page 1, 2  Next
 
Post new topic   Reply to topic    StreamingSoundtracks.com Forum Index -> Announcements
View previous topic :: View next topic 
Author Message
Norway Chandler VIP (subscribed member)
Admiral (Administrator)
Admiral (Administrator)

aw

Joined: Jan 25, 2003
Member#: 333
Posts: 709
Location: Norway

Chandler is offline View user's profile Send private message Send e-mail Visit poster's website View Chandler's Favorites
MSN Messenger ICQ Number
PostPosted: Tue Jul 08, 2008 2:05 pm   Post subject: New feature: Developer API Reply with quote


Some of you have done a great job developing gadgets and widgets and whatnot. I've recently developed a new feature for all the websites in the 24seven.fm network that should make your development a lot easier.
You will no longer need to parse the websites to get the queue, history and what's playing. I've put a webservice on all the sites that give you all the information you need in one go.
Those of you who are not software developers or have no idea what this is all about need not worry. This is technical stuff Wink


The webservice definition can be found here:

http://www.streamingsoundtracks.com/soap/FM24seven.wsdl

The webservice can be found on all the sites using /soap/FM24seven.wsdl


Methods provided:

GetCurrentlyPlaying(boolean GetCover)

This method returns an object with all the information about the currently playing track. It's the same information that can be found in playing.php. If you call the method with the GetCover parameter set to "true" the webservice will return the binary data for the currently playing song. "false" puts NULL in the binary data, but you still have the URL to the cover in the message.

GetQueue(int NoOfEntries, boolean GetCover)
GetHistory(int NoOfEntries, boolean GetCover)

Here you will get an array of an object that contains information about the songs in the queue or history. The information in the object is the same as can be found on the Queue/Played page.
The NoOfEntries parameter lets you control how many entries is returned. The maximum number of entries returned is 20.
The GetCover parameter behaves in the same way as for GetCurrentlyPlaying().


We would appreciate if you would limit your requests to the webservice. Use it only when a song has changed. The GetCurrentlyPlaying() includes the length of the currently playing track (in milliseconds), when the track started playing (dateTime) and what the time was on the server when you invoked the webservice. That should make it easy enough to calculate a countdown timer so that you know when the track has finished playing.
_________________
Ms. Chanandler Bong?

"Anything one man can imagine,
other men can make real."
- Jules Verne
Netherlands SiriusCreations VIP (subscribed member)
Admiral (Administrator)
Admiral (Administrator)



Joined: Aug 26, 2007
Member#: 18704
Posts: 4289
Location: Rotterdam, The Netherlands

SiriusCreations is offline View user's profile Send private message Send e-mail Visit poster's website View SiriusCreations's Favorites
Visit MySpace
PostPosted: Tue Jul 08, 2008 4:11 pm   Post subject: Reply with quote


Very nice feature!

Maybe I will use it sometime in something I do not know what for application yet. Smile

Thank you.
_________________
That's the beauty of music. They can't take that away from you. (Andy Dufresne)
Collections
Requests
NUT/RAT
Freetrack
Cadet 1
Cadet 1



Joined: Sep 02, 2008
Member#: 22509
Posts: 2


Freetrack is offline View user's profile Send private message Freetrack's Favorites are Private
PostPosted: Thu Dec 18, 2008 2:33 pm   Post subject: Some suggestions Reply with quote


First of all: Thanks for the API. I was able to satisfy my basic needs...

Here some suggestions you may consider the next time you build / change the API:

1. CurrentlyPlaying.CoverArt is defined as a byte array, but contains a base64 encoded string
2. All text properties (and links) are html escaped. i.e.: & instead of &, > instead of >
3. The QueueEntry class is missing the Artist property?
4. All DateTime's should be in UTC, someone may use them for i.e. time synch
5. the time CurrentlyPlaying.PlayStart does not match the real timestamp ~ 15 seconds off --> i guess this has some lawful reasons (to prevent someone to rip the stream to a harddisk)

I do not have a http space so I can't upload the little program i wrote.
Netherlands SiriusCreations VIP (subscribed member)
Admiral (Administrator)
Admiral (Administrator)



Joined: Aug 26, 2007
Member#: 18704
Posts: 4289
Location: Rotterdam, The Netherlands

SiriusCreations is offline View user's profile Send private message Send e-mail Visit poster's website View SiriusCreations's Favorites
Visit MySpace
PostPosted: Thu Dec 18, 2008 2:59 pm   Post subject: Reply with quote


Freetrack I just sent you a Private Message
_________________
That's the beauty of music. They can't take that away from you. (Andy Dufresne)
Collections
Requests
NUT/RAT
Poland molossus VIP (subscribed member)
Vice Admiral (Moderator)
Vice Admiral (Moderator)



Joined: Aug 09, 2005
Member#: 11167
Posts: 2479
Location: Szczecin and Warsaw (Poland)

molossus is offline View user's profile Send private message View molossus's Favorites
PostPosted: Thu Dec 18, 2008 3:06 pm   Post subject: Re: Some suggestions Reply with quote


Freetrack wrote:

3. The QueueEntry class is missing the Artist property?


Hello Freetrack! Welcome to SST Forums!

As far as I know it's programmed this way because of RIAA regulations.
You can read more about it for example in this old thread: http://www.streamingsoundtracks.com/modules.php?name=Forums&file=viewtopic&t=2999
_________________
"The piano keys
Are black and white
But they sound like a million colours in your mind"
(from Spider's Web by Katie Melua)
---
Avatar is from work of art by Drew Struzan
Techo
Lieutenant
Lieutenant



Joined: Feb 12, 2004
Member#: 5054
Posts: 176


Techo is offline View user's profile Send private message View Techo's Favorites
PostPosted: Thu Dec 18, 2008 5:46 pm   Post subject: Reply with quote


Chandler, this is great news. I wonder why I never found this thread before! Thanks to freetrack for the revival.

Currently I've been parsing the now playing php header, and every time a little change is made to the layout I have to do some recoding. On avg once every few months or as it happens twice in a week on rare occasions. And yes, the app only refetches "what's playing" after the internal timer runs out e.g. "00:00".

I've PMed the little util I've created to a few users but have been way out of touch recently so no one has the upgraded parsing version! doh! even I didn't run it for a few weeks, which is way out of the norm for me.


If anyone's curious here's the app. I've been using it myself for close to two years now. It alerts you when your requested track is on and you can sort and search faves and tracks you've requested. If interested, please PM. As I'd like to keep track of who's using it , to send updates to.

http://img213.imageshack.us/img213/5300/logsspy3.jpg
http://img301.imageshack.us/img301/1863/popupalert3an.jpg
http://img522.imageshack.us/img522/962/sstutilformmenuym6.jpg
http://img123.imageshack.us/img123/9313/sstutilmainformplusoptica1.jpg
http://img238.imageshack.us/img238/9453/sstutilform4ox1.jpg
Freetrack
Cadet 1
Cadet 1



Joined: Sep 02, 2008
Member#: 22509
Posts: 2


Freetrack is offline View user's profile Send private message Freetrack's Favorites are Private
PostPosted: Fri Dec 19, 2008 3:49 am   Post subject: Thanks to SiriusCreations Reply with quote


He showed me the thread!
Your application seems to be exactly what I was looking for!
Netherlands stefan_nl
Lieutenant
Lieutenant



Joined: Aug 07, 2005
Member#: 11136
Posts: 248
Location: The Netherlands

stefan_nl is offline View user's profile Send private message Visit poster's website View stefan_nl's Favorites
PostPosted: Thu Nov 04, 2010 3:52 am   Post subject: Reply with quote


As of a few days the 'GetCurrentlyPlaying' method returns an empty 'CoverLink' entity.

Is this something that should be fixed after the install of the new server?
_________________
The Hitchhiker's Guide to the Galaxy on Flying: The knack of throwing yourself at the ground and miss.
24SeVeN.FM Gadgets
USA JERIC VIP (subscribed member)
Fleet Admiral (Proprietor)
Fleet Admiral (Proprietor)



Joined: Feb 12, 2002
Member#: 1
Posts: 4939
Location: Richmond, VA

JERIC is offline View user's profile Send private message Send e-mail Visit poster's website View JERIC's Favorites
AIM Address Yahoo Messenger MSN Messenger ICQ Number Skype Name
PostPosted: Sun Nov 14, 2010 12:41 pm   Post subject: Reply with quote


I'm not sure how it is pulling that info. If you can email me at jeric@(this site) with how it pulls this info, I can try to track down what changed. The images are still in the same locations though.
_________________
"Are you not entertained? Are you not entertained? Is this not why you are here?." -Maximus

Please do not PM me. Use email, Feedback or Contact Us links.
Norway Chandler VIP (subscribed member)
Admiral (Administrator)
Admiral (Administrator)

aw

Joined: Jan 25, 2003
Member#: 333
Posts: 709
Location: Norway

Chandler is offline View user's profile Send private message Send e-mail Visit poster's website View Chandler's Favorites
MSN Messenger ICQ Number
PostPosted: Thu Dec 02, 2010 7:27 am   Post subject: Reply with quote


stefan_nl wrote:
As of a few days the 'GetCurrentlyPlaying' method returns an empty 'CoverLink' entity.

Is this something that should be fixed after the install of the new server?


I've made a change to the SOAP service. Can you try again now to see if it works like it used to?
_________________
Ms. Chanandler Bong?

"Anything one man can imagine,
other men can make real."
- Jules Verne
Netherlands stefan_nl
Lieutenant
Lieutenant



Joined: Aug 07, 2005
Member#: 11136
Posts: 248
Location: The Netherlands

stefan_nl is offline View user's profile Send private message Visit poster's website View stefan_nl's Favorites
PostPosted: Thu Dec 02, 2010 10:28 am   Post subject: Reply with quote


Chandler wrote:
I've made a change to the SOAP service. Can you try again now to see if it works like it used to?


The image path is back in the result.
Works like a charm.
_________________
The Hitchhiker's Guide to the Galaxy on Flying: The knack of throwing yourself at the ground and miss.
24SeVeN.FM Gadgets
USA Luther_III
Commander
Commander



Joined: Jun 20, 2005
Member#: 10621
Posts: 744
Location: New Orleans

Luther_III is offline View user's profile Send private message View Luther_III's Favorites
PostPosted: Thu Dec 02, 2010 12:30 pm   Post subject: Reply with quote


Works like a charm, indeed. My iGoogle gadget is now fixed!

Great work, gang!

Mr. Green
_________________
"If I were not a physicist, I would probably be a musician. I often think in music. I live my daydreams in music. I see my life in terms of music.... I get most joy in life out of music."
--Albert Einstein
France masked_platypus VIP (subscribed member)
Vice Admiral (Moderator)
Vice Admiral (Moderator)



Joined: Jul 19, 2007
Member#: 18358
Posts: 1155
Location: Chartres, France

masked_platypus is offline View user's profile Send private message Send e-mail Visit poster's website View masked_platypus's Favorites
PostPosted: Fri Dec 03, 2010 2:19 am   Post subject: Reply with quote


Yeah to Chandler! Great job!
_________________
There is no problem that can't be solve without any solution
Netherlands stefan_nl
Lieutenant
Lieutenant



Joined: Aug 07, 2005
Member#: 11136
Posts: 248
Location: The Netherlands

stefan_nl is offline View user's profile Send private message Visit poster's website View stefan_nl's Favorites
PostPosted: Mon Aug 22, 2011 2:43 am   Post subject: Reply with quote


The SOAP service is again not returning any image data.

Can this be fixed again?
_________________
The Hitchhiker's Guide to the Galaxy on Flying: The knack of throwing yourself at the ground and miss.
24SeVeN.FM Gadgets
megadith
Lieutenant Commander
Lieutenant Commander



Joined: May 06, 2002
Member#: 82
Posts: 262
Location: Arlington, VA

megadith is offline View user's profile Send private message Send e-mail Visit poster's website megadith's Favorites are Private
AIM Address
PostPosted: Thu Oct 27, 2011 5:49 pm   Post subject: Reply with quote


Does anyone know if there's a WinPhone app yet? if not, i'm thinking of writing one for this and the rest of 24seven site. Wanted to know if there was an app already and if the web service was still working.

thanks!
_________________
Grab a beer, don't cost nuttin...
Display posts from previous:
Post new topic   Reply to topic    StreamingSoundtracks.com Forum Index -> Announcements All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Forums ©


Copyright © 2001-2014 24seven.FM, LLC All rights reserved.
Comments, images, and trademarks are property of their respective owners.
You can syndicate our news using the file backend.php or ultramode.txt. Robots may follow the Sitemap.