Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / iTunes written in darkbasic?

Author
Message
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 29th Jan 2009 20:18 Edited at: 2nd Feb 2009 19:44
I know it can play MP3s and others have shown how to extract ID3 tags using DBP, so why not give it a go? Spawned from my recent obsession with GUI design, I'm going to attempt to create iTunes in DBP (ipod syncing not included).

Edit: Feb 2, '09
- Screenshot shows current progress. Currently loaded data in the table and lists is hard-coded, ID3 tags not yet implemented. But it is set up to easily add a new column at anytime, a feature to hide columns is easily supported.
- You can sort the columns in ascending or descending order, resize columns, and even reorder the columns with the same visual effect as seen in iTunes.
- Audio playback is supported with an accurate timer.
- You can reposition the window, resize it, and move the divider which separates the table from the browse lists. (filtering not yet supported)


Download Demo



Your signature has been erased by a mod because it's larger than 600x120

Attachments

Login to view attachments
flashing snall
19
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 29th Jan 2009 20:46
that looks like a simple enough program. Looks good already.
does the Ipod syncing actually convert the file? Because if it doesnt, you might just be able to do it with some copy / pasting.

PGDO. it consumes my every waking moment, that is not already being eaten by work / school / sleeping
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 29th Jan 2009 22:40
I wouldn't have any way to detect if an iPod is connected. I'm not positive, but my guess is once it's connected it begins broadcasting through the bonjour service and sends data using DAAP protocol, which is how iTunes communicates with other networked iTunes.

Your signature has been erased by a mod because it's larger than 600x120
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 2nd Feb 2009 19:42
Significant updates to the GUI have been made, as shown by the screenshot above.

And just because I'm so happy with how the gui has turned out so far with all the various features, here's a small demo you can try. Audio playback is disabled because the song path is hard-coded right now.

Your signature has been erased by a mod because it's larger than 600x120

Attachments

Login to view attachments
AndrewT
17
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 3rd Feb 2009 04:10
Very cool! I'm really impressed the the GUI. I only get about 35FPS but don't worry about that, I only get about 150FPS in a totally empty DBP scene in the first place.

Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 3rd Feb 2009 21:24
I think I only get about 45fps and I get over 1200 with a blank screen. Part of this is due to all the variables that are constantly being calculated when they don't need to be, this is only temporary. The other reason, and probably the biggest cause for poor frame rates, is due to setting colors inline with the box commands to create the gradients and alpha effects. I'm going to try my own gradient fill method and see if that is any faster.

I'm guessing you didn't find any bugs or weird quirks?

Your signature has been erased by a mod because it's larger than 600x120
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 3rd Feb 2009 22:29
@Phaelax
Just use the D3D plugin, if you aren't already. Just don't use the built-in DBP drawing commands, as you know, they are horrible.

I can't try it right now, I'll try it when I get a chance though

Cheers,

-naota

I'm not a dictator to those that do stuff for me by will. Only those who don't.
AndrewT
17
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 4th Feb 2009 00:05
Quote: "I'm guessing you didn't find any bugs or weird quirks?"


Didn't notice any Worked pretty much as I expected it to.

Login to post a reply

Server time is: 2024-11-24 08:59:48
Your offset time is: 2024-11-24 08:59:48