Death.FM
RIP
Subscribe to become a RIP member of Death.FM!

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

:: Click Here To Upgrade ::

:: Give RIP as a Gift ::

Listen Live!

Follow Us

Search

 

Donation Meter


Make donations with PayPal!
Monthly Goal:
$500.00

Need:
$-192.24

12 Donations:
$692.24

StreamingSoundtracks.com (Dec-24) molossus $100.00
Death.FM (Dec-21) SeclusionSolution $50.00
Death.FM (Dec-19) dred77 $5.00
StreamingSoundtracks.com (Dec-18) tohuwabohu $100.00
Death.FM (Dec-8) Burnt $10.00
StreamingSoundtracks.com (Dec-7) Anonymous $10.00
StreamingSoundtracks.com (Dec-6) molossus $100.00
StreamingSoundtracks.com (Dec-5) klingon50 $10.00
StreamingSoundtracks.com (Dec-1) Retired $25.00
StreamingSoundtracks.com (Dec-1) molossus $22.00
Death.FM (Dec-1) SeclusionSolution $240.00
1980s.FM (Dec-1) SeclusionSolution $20.24

 


Last Month's Donors
StreamingSoundtracks.com (Nov-24) molossus $22.00
StreamingSoundtracks.com (Nov-24) Paul4Opus $27.02
StreamingSoundtracks.com (Nov-17) molossus $45.00
Entranced.FM (Nov-17) Der_Wichtig $5.99
Death.FM (Nov-7) Burnt $10.00
StreamingSoundtracks.com (Nov-4) molossus $111.00




Death.FM Store



:: Death.FM Store ::



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



Joined: Feb 08, 2006
Member#: 1459
Posts: 7


Muriel is offline View user's profile Send private message Visit poster's website Muriel's Favorites are Private
PostPosted: Tue Jul 08, 2008 2:14 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://death.fm/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.
diginferno
Rear Admiral (Ambassador)
Rear Admiral (Ambassador)



Joined: Apr 11, 2006
Member#: 1771
Posts: 3182


diginferno is offline View user's profile Send private message View diginferno's Favorites
Yahoo Messenger MSN Messenger ICQ Number Visit MySpace
PostPosted: Tue Jul 08, 2008 2:33 pm   Post subject: Reply with quote


Sounds yummy! Thanks for putting it up and letting us know! Smile
_________________
diginferno

.:: ::.
Liberia cjjeepercreeper
Commodore
Commodore

aw

Joined: Nov 27, 2006
Member#: 2665
Posts: 6146
Location: At the Mountains of Madness

cjjeepercreeper is offline View user's profile Send private message cjjeepercreeper's Favorites are Private
PostPosted: Tue Jul 08, 2008 2:50 pm   Post subject: Reply with quote


diginferno wrote:
Sounds yummy! Thanks for putting it up and letting us know! Smile


CHOMP, CHOMP, CHOMP. Nope, tasteless. Of course I know nothing about software development. LOL

Carry on geeks. Mr. Green
_________________
Not dead, just sleeping.

Memento Mori
Afghanistan DOSphantom
Commander
Commander



Joined: Aug 27, 2007
Member#: 3904
Posts: 787


DOSphantom is offline View user's profile Send private message View DOSphantom's Favorites
PostPosted: Tue Jul 08, 2008 5:27 pm   Post subject: Reply with quote


I only deal with basic, c(and minimal c++ stream crap), and html/css.... Sad
What does a boolean do? An input with multiple possible listings?
_________________
I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.
Norway Muriel RIP (subscribed member)
Admiral (Administrator)
Admiral (Administrator)



Joined: Feb 08, 2006
Member#: 1459
Posts: 7


Muriel is offline View user's profile Send private message Visit poster's website Muriel's Favorites are Private
PostPosted: Wed Jul 09, 2008 5:31 am   Post subject: Reply with quote


A boolean can be either true or false.
So for GetCurrentlyPlaying you are either getting the album cover in binary form (true) or you are not (false).
_________________
"Anything one man can imagine,
other men can make real."
- Jules Verne
Brazil Pesadelo RIP (subscribed member)
Admiral (Administrator)
Admiral (Administrator)

aw

Joined: Feb 18, 2007
Member#: 3090
Posts: 1955
Location: Rio de Janeiro, Brazil

Pesadelo is offline View user's profile Send private message Send e-mail View Pesadelo's Favorites
PostPosted: Wed Jul 09, 2008 6:55 pm   Post subject: Reply with quote


\m/ congratz Chand \m/

this is really cool! OK!
Brazil duh666
Cadet 1
Cadet 1



Joined: Jul 08, 2008
Member#: 5481
Posts: 4


duh666 is offline View user's profile Send private message duh666's Favorites are Private
PostPosted: Mon Jul 14, 2008 11:41 am   Post subject: Reply with quote


Salute...

I was wondering if someone has already develop some "addon" or "gagdet" or "plugin"(whatever) for the linux mp3 player, Rhythmbox (for Gnome) ?

There is anybody else here who uses linux ? Anybody ?

Regards...
Brazil duh666
Cadet 1
Cadet 1



Joined: Jul 08, 2008
Member#: 5481
Posts: 4


duh666 is offline View user's profile Send private message duh666's Favorites are Private
PostPosted: Wed Aug 19, 2009 11:34 am   Post subject: Reply with quote


Salutes again...

..a few months later... lol

I was trying to access the wsdl uri:

http://24seven.fm/FM24seven.wsdl

... but i got 404 error ...

The Service still running ?

regards.
diginferno
Rear Admiral (Ambassador)
Rear Admiral (Ambassador)



Joined: Apr 11, 2006
Member#: 1771
Posts: 3182


diginferno is offline View user's profile Send private message View diginferno's Favorites
Yahoo Messenger MSN Messenger ICQ Number Visit MySpace
PostPosted: Wed Aug 19, 2009 1:05 pm   Post subject: Reply with quote


duh666 wrote:
Salutes again...

..a few months later... lol

I was trying to access the wsdl uri:

http://24seven.fm/FM24seven.wsdl

... but i got 404 error ...

The Service still running ?

regards.


How did you get there? There is a different URL posted in the announcement: http://death.fm/soap/FM24seven.wsdl

Try this one and let us know if it works Peace
_________________
diginferno

.:: ::.
Brazil duh666
Cadet 1
Cadet 1



Joined: Jul 08, 2008
Member#: 5481
Posts: 4


duh666 is offline View user's profile Send private message duh666's Favorites are Private
PostPosted: Mon Aug 24, 2009 5:54 pm   Post subject: Reply with quote


Hail...

Actually I was trying to "import" the wsdl with the java tool "wsimport" and I got a weird error... than I looked into the wdsl and I found this uri in this same file I've downloaded... (line 10 and 11...)

I just tried to download the .xsd schema and I got a big 404 error !

Any ideas ?

Regards.
diginferno
Rear Admiral (Ambassador)
Rear Admiral (Ambassador)



Joined: Apr 11, 2006
Member#: 1771
Posts: 3182


diginferno is offline View user's profile Send private message View diginferno's Favorites
Yahoo Messenger MSN Messenger ICQ Number Visit MySpace
PostPosted: Mon Aug 24, 2009 6:35 pm   Post subject: Reply with quote


According to the W3C WSDL Primer:

Quote:

The value of the WSDL target namespace MUST be an absolute URI. Furthermore, it SHOULD be dereferenceable to a WSDL document that describes the Web service that the WSDL target namespace is used to describe. For example, the GreatH owners SHOULD make the WSDL document available from this URI. (And if a WSDL description is split into multiple documents, then the WSDL target namespace should resolve to a master document that includes all the WSDL documents needed for that service description.) However, there is no absolute requirement for this URI to be dereferenceable; thus a WSDL processor must not depend on it being dereferenceable.



More in Chapter 6: "WSDL Essentials" of "Web Services Essentials" from O'Reilly:

Quote:

The definitions element also specifies a targetNamespace attribute. The targetNamespace is a convention of XML Schema that enables the WSDL document to refer to itself. In Example 6-1, we specified a targetNamespace of h**p://www.ecerami.com/wsdl/HelloService.wsdl. Note, however, that the namespace specification does not require that the document actually exist at this location; the important point is that you specify a value that is unique, different from all other namespaces that are defined.


The target namespace is just an identifier, the only important thing is that these namespaces are unique. So it seems that the tool you are using may have some issues. Sorry, I don't know anything about it.
_________________
diginferno

.:: ::.
Brazil duh666
Cadet 1
Cadet 1



Joined: Jul 08, 2008
Member#: 5481
Posts: 4


duh666 is offline View user's profile Send private message duh666's Favorites are Private
PostPosted: Fri Aug 28, 2009 12:33 pm   Post subject: Reply with quote


Hail there..

For using the "wsimport" tool, I needed to change the .wsdl file, adding the line:

Code:
<xs:import namespace="http://schemas.xmlsoap.org/soap/encoding/"
      schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"/>


... then I got the warning:

Code:
[WARNING] rpc/encoded wsdls are not supported in JAXWS 2.0.


...it seems like I will change to JAX-RPC ... f*ck... an old java tool...

Anybody here already did any desktop app. with this service ?
If not... i must continue this battle...

see you... in hell...

Evil or Very Mad

ps: tkz for helping dude !

(editing)
ps2: typo... bad typo... sorry ! Shocked

Last edited by duh666 on Fri Aug 28, 2009 3:16 pm; edited 1 time in total
Germany Dami
Commodore
Commodore



Joined: Feb 04, 2005
Member#: 87
Posts: 2567
Location: Stalag 13

Dami is offline View user's profile Send private message Visit poster's website Dami's Favorites are Private
PostPosted: Fri Aug 28, 2009 1:04 pm   Post subject: Reply with quote


Has Digi just been called Dude?
_________________
o
L_
OL
This is Schäuble. Copy Schäuble into your signature to help him on his way to Überwachungsstaat.
Afghanistan DOSphantom
Commander
Commander



Joined: Aug 27, 2007
Member#: 3904
Posts: 787


DOSphantom is offline View user's profile Send private message View DOSphantom's Favorites
PostPosted: Fri Aug 28, 2009 2:50 pm   Post subject: Reply with quote


Dami wrote:
Has Digi just been called Dude?


I think she has, dudette.

Silly
_________________
I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.
Brazil Pesadelo RIP (subscribed member)
Admiral (Administrator)
Admiral (Administrator)

aw

Joined: Feb 18, 2007
Member#: 3090
Posts: 1955
Location: Rio de Janeiro, Brazil

Pesadelo is offline View user's profile Send private message Send e-mail View Pesadelo's Favorites
PostPosted: Sat Aug 29, 2009 5:00 am   Post subject: Reply with quote


duh (possible word play here), email the API father: chandler@streamingsoundtracks.com

Yes
Display posts from previous:
Post new topic   Reply to topic    Death.FM 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-2020 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.