| Author |
Message |
|
dah4m5ter
BBChild
Joined: Tue Oct 17, 2006 11:41 pm Posts: 5
|
 BBInterface & iTunes
Well, I've been messing a bit with the BBInterface 0.9.89 source code, and in spite of my lack of programming experience, I have managed to cobble an iTunes control together.
It was done using the iTunes COM for Windows SDK (this might bring some copyright restrictions with it, I'm not sure), and copying & pasting the code from the Winamp control
features:
- track position & volume control via sliders
- play/pause (switchbutton)
- track time elapsed / remaining / total
- track name, artist and album
- various agents (prev, next, play, pause, stop, etc.)
- options to disable iTunes and/or Winamp controls (although they require a reconfigure to work - I guess this could be improved....)
Since I often used hotkeys with my tcl-bb control, I thought it would be nice to have bro@ms to toggle play/pause and the like: - bro@ms to trigger (switch-) buttons (e.g. @BBInterface Control Trigger PlayPause LeftMouseUp)
- bro@ms to increase/decrease slider values (e.g. @BBInterface Control Increment iTunesVolume -2)
The whole stuff was compiled using VisualStudio 2005. You will find the sources and project files in the attachment; the compiled .dll (120kb) can be found in the Release subdirectory.
Since I have upcoming exams to deal with, I hardly have time to do a thourough testing or fix bugs....
Also, I'm sorry I cannot guarantee that you will be able to compile or run the plugin on your machine (although the control should work for a properly installed iTunes, version 4.7 or above).
Please feel free to improve, and.... enjoy! 
|
| Fri Feb 02, 2007 4:10 pm |
|
 |
|
Google
Sponsored Links
|
|
 |
|
tresni
Site Admin
Joined: Sun Dec 05, 2004 8:59 pm Posts: 1316 Location: Boise, Idaho
|
Wow. In 1 swoop you have managed to obsolete TunA and Nightbreed's tcl-bb controller (except I think his does artwork as well..) I say excellent effort! Now if only somebody could may BBInterface load agents dynamicly then we wouldn't have to worry about 100 differant version surfacing all with differant agents  [That's a hint to anyone who wants to hack with BBI.] It'd be the worlds greatest plugin loading plugin! 
_________________ -- Brian ♠ ♥ ♣
|
| Fri Feb 02, 2007 5:49 pm |
|
 |
|
Nightbreed
Moderator
Joined: Wed Jan 26, 2005 8:04 am Posts: 2252 Location: Philadelphia, PA
|
dynamic loading would be interesting to see.
_________________ if you can not believe it's not butter, then help out with the blackbox Wiki http://wiki.bb4win.org/wiki/Main_Page
|
| Fri Feb 02, 2007 8:14 pm |
|
 |
|
clone
BBSage
Joined: Tue Jan 09, 2007 5:30 pm Posts: 101 Location: Illinois
|
wow, man. very very nice. i am so glad you did this.
i have an ipod so i use itunes and pretty much every blackbox plugin is for winamp or foobar. (i used foobar before i got an ipod).
nice work
_________________ - *_* -
|
| Sat Feb 03, 2007 8:19 pm |
|
 |
|
clone
BBSage
Joined: Tue Jan 09, 2007 5:30 pm Posts: 101 Location: Illinois
|
is there a way to display album art for current track, or a plugin to do so?
it would make it really nice.
i've added this to my BBInterface "Dashboard" frame:
http://ic1.deviantart.com/fs15/i/2007/0 ... LoNeXx.jpg
created/edited some buttons and the itunes title bar.
_________________ - *_* -
|
| Sat Feb 03, 2007 8:59 pm |
|
 |
|
pitkon
Site Admin
Joined: Tue Jan 25, 2005 1:13 am Posts: 741
|
Wow, excellent job...
|
| Sun Feb 04, 2007 11:20 am |
|
 |
|
move
BBOneHitWonder
Joined: Tue Feb 06, 2007 1:51 am Posts: 1
|
Hello.
I'm japanese , and I can't speak English well. sorry:(
I'm using this modification of bbinterface.
http://www.kazmix.com/upload/bbinterfaceMod_iTunes.zip
this mod also can control iTunes, and some other features are added.
(e.g. Network Monitor, Font face Selector , etc...)
And iTunes control from bro@ms, using this.
http://www.kazmix.com/upload/bbBroamTunes.zip
Thanks.
|
| Tue Feb 06, 2007 2:53 am |
|
 |
|
tresni
Site Admin
Joined: Sun Dec 05, 2004 8:59 pm Posts: 1316 Location: Boise, Idaho
|
Wow, the Japanese bb4win community is kickin hard it seems! Are there any other plugins floating around out there that us English users don't know about? That BBinterface mod has things that people have been asking for in plugins for a while now!
_________________ -- Brian ♠ ♥ ♣
|
| Tue Feb 06, 2007 6:06 am |
|
 |
|
pitkon
Site Admin
Joined: Tue Jan 25, 2005 1:13 am Posts: 741
|
Wow indeed... And why is the Japanese bb4win community a separate entity? Guys, we are all together in this... Come over, beer is on the house... 
|
| Tue Feb 06, 2007 9:11 am |
|
 |
|
NC-17
Site Admin
Joined: Sun May 22, 2005 5:39 pm Posts: 72 Location: San Francisco, CA
|
Language barrier maybe? 
_________________ NC-17 -> Styles, BBPager & BBStyle || BB4Win Wiki
|
| Tue Feb 06, 2007 3:50 pm |
|
 |
|
pitkon
Site Admin
Joined: Tue Jan 25, 2005 1:13 am Posts: 741
|
NC-17 wrote: Language barrier maybe? 
Nope. Instructions in the zip file are in English... And, btw, both itunes and system meter work like a dream...
|
| Tue Feb 06, 2007 4:46 pm |
|
 |
|
qwilk
Moderator
Joined: Mon Dec 06, 2004 12:06 am Posts: 411 Location: Kungsbacka, Sweden
|
Yay, thanks for the link to the iTunes COM for Windows SDK! I guess support for a 9th player in multiamp just got closer... WinAmp, CoolPlayer, K-Jöfol, Foobar2000, QCD, musikCube, Apollo, Windows Media Player... and now possibly iTunes!
BR//Karl -> qwilk
|
| Tue Feb 06, 2007 7:31 pm |
|
 |
|
/\/\inimal
Boy meets Box
Joined: Fri Dec 29, 2006 2:47 am Posts: 623 Location: in front of the monitor.
|
qwilk wrote: Yay, thanks for the link to the iTunes COM for Windows SDK! I guess support for a 9th player in multiamp just got closer... WinAmp, CoolPlayer, K-Jöfol, Foobar2000, QCD, musikCube, Apollo, Windows Media Player... and now possibly iTunes!  BR//Karl -> qwilk

_________________ attack of the mini-man! bb4win FAQs mini-man-land
|
| Tue Feb 06, 2007 7:34 pm |
|
 |
|
qwilk
Moderator
Joined: Mon Dec 06, 2004 12:06 am Posts: 411 Location: Kungsbacka, Sweden
|
Btw move, are you and kazmix the same person?
(I'd like to get his approval before uploading his plugins to the xoblite.net plugins page)
BR//Karl -> qwilk
|
| Tue Feb 06, 2007 7:35 pm |
|
 |
|
pitkon
Site Admin
Joined: Tue Jan 25, 2005 1:13 am Posts: 741
|
Hmmmm. there seems to be a problem with this modified bbinterface.dll. After some time, graphics go weird all around the screen and Blackbox freezes... Maybe BBClean is the culprit...
|
| Tue Feb 06, 2007 7:59 pm |
|
 |
|
Google
Sponsored Links
|
|
 |
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
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 post attachments in this forum
|
|