View unanswered posts | View active topics It is currently Sat May 25, 2013 9:32 pm



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 60 posts ]  Go to page 1, 2, 3, 4  Next
 BBInterface & iTunes 
Author Message
BBChild

Joined: Tue Oct 17, 2006 11:41 pm
Posts: 5
Reply with quote
Post 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! :D ;)


Attachments:
BBInterface.zip [285.34 KiB]
Downloaded 988 times
Fri Feb 02, 2007 4:10 pm
Report this post
Profile
Sponsored Links
Google Adsense


Site Admin
User avatar

Joined: Sun Dec 05, 2004 8:59 pm
Posts: 1316
Location: Boise, Idaho
Reply with quote
Post 
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 :P [That's a hint to anyone who wants to hack with BBI.] It'd be the worlds greatest plugin loading plugin! :P

_________________
-- Brian


Fri Feb 02, 2007 5:49 pm
Report this post
Profile ICQ YIM WWW
Moderator
User avatar

Joined: Wed Jan 26, 2005 8:04 am
Posts: 2252
Location: Philadelphia, PA
Reply with quote
Post 
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
Report this post
Profile WWW
BBSage

Joined: Tue Jan 09, 2007 5:30 pm
Posts: 101
Location: Illinois
Reply with quote
Post 
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
Report this post
Profile
BBSage

Joined: Tue Jan 09, 2007 5:30 pm
Posts: 101
Location: Illinois
Reply with quote
Post 
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
Report this post
Profile
Site Admin
User avatar

Joined: Tue Jan 25, 2005 1:13 am
Posts: 741
Reply with quote
Post 
Wow, excellent job...


Sun Feb 04, 2007 11:20 am
Report this post
Profile
BBOneHitWonder

Joined: Tue Feb 06, 2007 1:51 am
Posts: 1
Reply with quote
Post 
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
Report this post
Profile
Site Admin
User avatar

Joined: Sun Dec 05, 2004 8:59 pm
Posts: 1316
Location: Boise, Idaho
Reply with quote
Post 
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
Report this post
Profile ICQ YIM WWW
Site Admin
User avatar

Joined: Tue Jan 25, 2005 1:13 am
Posts: 741
Reply with quote
Post 
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
Report this post
Profile
Site Admin

Joined: Sun May 22, 2005 5:39 pm
Posts: 72
Location: San Francisco, CA
Reply with quote
Post 
Language barrier maybe? :)

_________________
NC-17 -> Styles, BBPager & BBStyle || BB4Win Wiki


Tue Feb 06, 2007 3:50 pm
Report this post
Profile ICQ YIM WWW
Site Admin
User avatar

Joined: Tue Jan 25, 2005 1:13 am
Posts: 741
Reply with quote
Post 
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
Report this post
Profile
Moderator
User avatar

Joined: Mon Dec 06, 2004 12:06 am
Posts: 411
Location: Kungsbacka, Sweden
Reply with quote
Post 
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! 8)

BR//Karl -> qwilk


Tue Feb 06, 2007 7:31 pm
Report this post
Profile WWW
Boy meets Box
User avatar

Joined: Fri Dec 29, 2006 2:47 am
Posts: 623
Location: in front of the monitor.
Reply with quote
Post 
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! 8)

BR//Karl -> qwilk


:shock:

_________________
attack of the mini-man!
bb4win FAQs
mini-man-land


Tue Feb 06, 2007 7:34 pm
Report this post
Profile YIM WWW
Moderator
User avatar

Joined: Mon Dec 06, 2004 12:06 am
Posts: 411
Location: Kungsbacka, Sweden
Reply with quote
Post 
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
Report this post
Profile WWW
Site Admin
User avatar

Joined: Tue Jan 25, 2005 1:13 am
Posts: 741
Reply with quote
Post 
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
Report this post
Profile
Sponsored Links
Google Adsense


Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 60 posts ]  Go to page 1, 2, 3, 4  Next


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

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.