Old 18th July 2013, 05:20   #1
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,943
Send a message via Skype™ to thinktink
Streaming input plugins.

So I've been mulling around in my head for a while about how to best go about adding proxy/https/authentication support to in_bpopus.

Today I remembered seeing some funny WASABI objects in the components list on my last gen_bpthinktink report:
  • URL Manager API {B5E9E32E-4C4A-49D6-804F-8858B396F27E}
  • JSAPI2 Security API {D8BA8766-E489-4CFC-8527-9F3206257FFC}
  • Winamp Javascript Objects {53CCACEF-1EFE-4060-8D09-329AD0D4F9C4}
  • Winamp URI Handler {800A9A73-8891-4892-AEEB-FF970B16A39D}
  • Download Manager {9E5E732A-C612-489D-AB52-1501E1AF1710}
  • HTTP reader {BC10FA00-53F5-4032-A009-022B87EC3404}
  • Resource reader {C975969A-5DFD-4F2B-B767-4EDC6C7D6484}
  • JNetLib HTTPGet {12475CD9-1BA3-4665-B395-F87DBF31E30F}
  • JNetLib Connection {049E1B1E-56DF-46E0-B88F-E7E319F131DD}
  • JNetLib SSL Connection {8F0B5D22-699B-486B-B39D-650E5B09C1F1}
  • JNetLib Asynchronous DNS {F0435E72-5A1A-4D57-A9E2-3FDC421C1010}
  • JNetLib WebServ {A8880018-C62A-4F58-8B43-F424C9C01787}
  • OmBrowser Object {D5325EAB-9BD7-4382-A31D-38EF603061B3}
  • OmServiceManager Interface {BB0A9154-6D31-413B-96FB-9466E535E0C4}
  • OmUtility Interface {14E8C9B6-1BA4-4E8D-AD26-FA848813CC5B}

I then remembered someone mentioning to me a setting in the preferences for proxy connections:


So my question is, are there any WASABI components that can help me do this already, or otherwise assist me in my endeavors?

TIA
Attached Thumbnails
Click image for larger version

Name:	InterSetScrn.gif
Views:	927
Size:	21.0 KB
ID:	50717  
thinktink is offline   Reply With Quote
Old 18th July 2013, 22:44   #2
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,943
Send a message via Skype™ to thinktink
I searched the forums and Google and found that it seems JNetLib WASABI component is what I'm looking for. However, I can't find the JNetLib Dispatchable interface headers. I looked in the old Wasabi SDK and the current Winamp SDK. I've been all over Google and the forums search but all I could find were the standalone library files, not the WASABI headers. Are they available at all anywhere?
thinktink is offline   Reply With Quote
Old 19th July 2013, 11:20   #3
rockouthippie
Banned
 
rockouthippie's Avatar
 
Join Date: Jun 2004
Location: Oregon
Posts: 11,002
I'm not a rocket scientist on this stuff, but can't you just call the dispatchable class from the WASABI component?
rockouthippie is offline   Reply With Quote
Old 19th July 2013, 14:38   #4
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,943
Send a message via Skype™ to thinktink
Quote:
Originally Posted by rockouthippie View Post
I'm not a rocket scientist on this stuff, but can't you just call the dispatchable class from the WASABI component?
The Dispatchable class is the base WASABI component. There's no mechanism that I'm aware of in the WASABI framework that allows you to determine the function number, return value (if any) and parameters for all the class member functions. For that, you have to have the header files for the component. I can't find them anywhere. I'm still searching as well. I don't even know the damnable class name for any of the components either. Even if they are available somewhere online it's like looking for a one-tenth of a millimeter wide needle in a universe sized haystack.

Maybe a professional computer hacker could reverse engineer the headers up but I'm not a professional computer hacker.
thinktink is offline   Reply With Quote
Old 19th July 2013, 14:45   #5
DrO
 
Join Date: Sep 2003
Posts: 27,873
nudge me about this next week, i might be able to find a few hours to find out some details. though is it just the getting of the proxy settings or the whole of the networking that you're wanting ?
DrO is offline   Reply With Quote
Old 19th July 2013, 15:17   #6
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,943
Send a message via Skype™ to thinktink
Quote:
Originally Posted by DrO View Post
nudge me about this next week, i might be able to find a few hours to find out some details. though is it just the getting of the proxy settings or the whole of the networking that you're wanting ?
OmNomNom, I want it all!

I would like to replace (or supplement) my entire threaded streaming mechanism with JNetLib, which appears to also support https and proxy connections. Would also make my plugin better able to conform to consistent behavior patterns with the core plugins and general network activity.
thinktink is offline   Reply With Quote
Old 19th July 2013, 23:14   #7
rockouthippie
Banned
 
rockouthippie's Avatar
 
Join Date: Jun 2004
Location: Oregon
Posts: 11,002
Just figure a way around it. I am not on Winamp's dev team.

"if I get a few hours"

Who has a few hours?

Most anything is held together with spit and wire.

Winamp... a unique mixture of ham, llama shit, sawdust and wood. It makes people smile most of the time.

Kudo's gentlemen. If I don't sound like it, Winamp has only screwed up my computer a couple times. Good job. I have been using Winamp since 0.9
rockouthippie is offline   Reply With Quote
Old 22nd July 2013, 17:49   #8
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 2,943
Send a message via Skype™ to thinktink
Quote:
Originally Posted by DrO View Post
nudge me about this next week...
Attached Thumbnails
Click image for larger version

Name:	NudgeDrO.png
Views:	778
Size:	7.5 KB
ID:	50721  
thinktink is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > Winamp Development

Tags
api, http, streaming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump