Slashdot Log In
Songbird Source Released
Posted by
ScuttleMonkey
on Tue Jun 27, 2006 01:16 PM
from the for-your-patching-pleasure dept.
from the for-your-patching-pleasure dept.
Rinisari writes "The source for Songbird, a music-oriented XULRunner application, is now available via Subversion. Rob Lord, CEO of Pioneers of the Inevitable, released the source for the not-yet-0.2 version of the music player, which integrates a music library and the facility to purchase and download music from a variety of vendors. If you haven't heard of it, read the features list and try it out. Slashdot previously mentioned Songbird when it was released as a preview in February."
Related Stories
[+]
Songbird Flies Today 412 comments
fr1kk writes to tell us that with the recent advent of a preview version for the new open source response to iTunes, Songbird, BoingBoing has taken a few minutes to interview team lead Rob Lord. While this program may be a great alternative to the DRM ridden iTunes and Windows Media Player platforms it is still only a Windows release. The good news is that by being open source that will (hopefully) not last very long. The Songbird site appears to be swamped right now, but there are several different mirrors available to download the client.
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.

I wonder if... (Score:1)
List of XUL Applications? (Score:5, Informative)
(http://www.intelligentblogger.com/ | Last Journal: Monday August 27, @11:47AM)
XULRunner is still a problem, though. It's not clear to most programmers that XUL applications can function just as well standing alone as in a browser. Songbird is a great start, but does anyone know if there's a list of existing XULRunner applications? If such a list existed, it would be a lot easier to show people what XUL can do just by pointing them to a single URL.
Re:List of XUL Applications? (Score:5, Interesting)
And for good reason! XUL is a terrible, terrible, terrible, terrible, terrible system.
Crap, now I have to back that up with reasons, don't I? And the fact that I hate JavaScript really doesn't count, does it?
You can think of XUL as being almost exactly like VB, except without any nice GUI tools for building UIs. Almost all the things people hate about VB also apply to XUL.
But anyway, that's rather vague. How about some specific reasons?
First off, XUL is rendered using the same rendering engine as Firefox uses for rendering webpages. Yes, when you're looking at Firefox, everything you see is rendered by Gecko. That includes the menu, the toolbars, the tabs, and the webpage itself. This mixing of UI and webpages is just asking for security holes. The webpage is embedded in what is practically an IFRAME within the XUL document. There have already been a number of security exploits caused by webpages elevating their privileges into the "chrome" security level. If ActiveX has taught us anything, there will likely be more.
This relates directly to the next problem: because the entire interface is implemented using Gecko, the widgets aren't native. They feel out of place. Gecko does an amazing job of making the widgets look almost-right, but they're still not native and they still don't look quite right, even on Windows (most work spent on this) and GTK (second most work). And forget about Mac OS X, it's not even close!
But the real problem with not using native widgets is that XUL doesn't get the benefit of a platform's accessibility features. Yes, they have some hacks that attempt to stitch XUL widgets back to a platform's native accessibility system, but this means that they're chasing whatever new features are added. Right click on a native text field on my Windows system, I get the full set of Unicode editing features for dealing with BIDI text. Right click on a Firefox text field, and it's not there.
And, finally, JavaScript. You knew it was coming. But I'm not going to go after the language, I'm going to complain about the JavaScript interpretor that Mozilla uses. Most of the widgets are implemented by using JavaScript glue to access native code using XPConnect. Some widgets are implemented almost entirely in JavaScript - this is why the progress meter under Windows looks completely wrong. The concept of having native code do the heavy lifting and using a scripting language to glue everything together is a very good idea.
But that turns out to be a problem. If you want to write a cross-platform XUL application, you can only use JavaScript since that's what XULRunner provides. (Keep in mind, if you want to run on every platform XULRunner runs on, it's JavaScript or else.) Otherwise you'll have to compile for every platform, and you can only rely on the core XPCOM objects to be available. JavaScript is an interpretted language. And it's slllllllow. And - here's the most important part - in Mozilla, it's strictly single-threaded.
Now, combine that up above with JavaScript being used to implement some widgets. Plus, the thread used to run chrome JavaScript is the UI thread - the thread that receives messages from the windowing system. This means that if an application is using JavaScript to do heavy lifting, the application will literally freeze while it can no longer accept messages. The windows will stop redrawing. Clicks will be ignored. Nothing will happen until the JavaScript finishes and the UI thread can start handling messages again.
Trying to write XUL applications that don't do things that are already implemented as part of the core XUL system is mostly a waste of time. XUL works best if you can write native code for the heavy lifting and use JavaScript soley for the UI. Unfortunately, that makes your application non-portable - something XUL is supposed to help sol
Re:List of XUL Applications? (Score:5, Informative)
(http://www.intelligentblogger.com/ | Last Journal: Monday August 27, @11:47AM)
As it so happens, the widgets are native. Mozilla exposes the underlying implementation. Which is why buttons look like Windows, Mac, or GTK+ buttons. The caveat to this is that you can create XUL buttons/components that are entirely virtual. These components are generally used to produce skins like that used in Firefox. But most XUL applications actually rely on the native components instead. Which is why the Amazon browser I linked to looks like a native Windows app.
JavaScript is an interpretted language. And it's slllllllow.
It's also just glue. All the heavy lifting is done by the XPCOM components, which are FAAAAAASSSST.
This means that if an application is using JavaScript to do heavy lifting, the application will literally freeze while it can no longer accept messages. The windows will stop redrawing. Clicks will be ignored. Nothing will happen until the JavaScript finishes and the UI thread can start handling messages again.
Putting aside for a moment that this is an issue in all GUI programming, Mozilla does support multithreading. It just doesn't do it at the Javascript level. Threads are pushed down to the XPCom level instead, where they do the most good. (e.g. The XmlHttpRequest object can run synchronously or asynchronously.) If you really must multithread your JavaScript app, then cooperative multithreading is easy to do. Timed call-backs allow you to regain control whenever you need it, or in spurts if you'll be processing for a long period of time.
Re:List of XUL Applications? (Score:5, Informative)
(http://weill.org/ | Last Journal: Saturday October 01 2005, @01:18PM)
Open Firefox (or Camino). Start VoiceOver. Notice how absolutely nothing in the web page display area is interpreted as a Cocoa widget. Notice how in the web page display area, checkboxes, drop-downs, text fields, and any other controls lack any access to Cocoa services such as spell checking and Dictionary. The same lack of OS-native widgets is apparent in Firefox for Windows, though GTK does a much better job of emulating the look of these widgets, if not the feel.
If it looks like a native app, it's not necessarily a native app.
would be cool if... (Score:4, Interesting)
Re:would be cool if... (Score:4, Informative)
(http://robvincent.net/ | Last Journal: Tuesday October 09, @01:55PM)
awesome! (Score:4, Funny)
What's that quote? (Score:4, Insightful)
(http://127.31.33.7/)
Songbird is barely usable (Score:3, Interesting)
Like I said I know its new and I look forward to it maturing some. But this isn't one of those alphas where the devs are just super dragging their feet till release (*cough gmail) This this really is ALPHA!
Trashhalo [mindjunk.org]
Re:Songbird is barely usable (Score:5, Funny)
(http://www.clutterme.com/)
That's a feature.
bugs, questions etc etc (Score:5, Informative)
What's the big deal? (Score:3, Interesting)
(http://www.wildpad.com/)
Re:What's the big deal? (Score:5, Informative)
(http://aymanh.com/ | Last Journal: Wednesday October 25 2006, @04:23AM)
- Written in XUL [wikipedia.org] and JavaScript.
- Runs on top of Mozilla's XULRunner [wikipedia.org] platform.
- Cross-platform, can run on Linux, Windows, and Mac OS X (among the others).
It can be seen as a proof of concept on how general purpose multi-platform applications can be developed on top of XULRunner. Songbird also lets you visit online music stores and organize your music library, which makes it an Open Source alternative to iTunes.Enough to deserve
Re:What's the big deal? (Score:5, Funny)
(http://www.stilldesigning.com/)
This one goes to eleven
Re:What's the big deal? (Score:5, Informative)
(http://www.j1m.net/)
On the Linux front, Songbird will give us a media player with an attractive front end, all of the standard rip-organize-burn capabilities, plus the ability to purchase music from online music stores. Not to knock the current Linux offerings (I'm currently an Amarok user), but the UI's aren't as attractive as Songbird's UI (yes, XMMS is slick-looking, but those buttons are so small . . . ), and AFAIK, the ability to buy music from online music stores through a Linux app is slim to none.
As for iTunes and Windows Media Player, they each lock you into their own music stores (the iTunes Music Store and the MTV-powered Urge, respectively). Songbird is going to allow you to purchase music from a wider array of online music stores from the outset, and online music stores will be able to write plugins to make them searchable from within Songbird. From the website . . . "Web page authors will be able to publish playlists and transfer MP3s into Songbird to build digital music stores like eMusic, music subscription services like Yahoo! Music Unlimited, virtual jamming services like Ninjam, playlist sharing services like WebJay and more."
And, of course, neither iTunes nor WMP plays natively under Linux. All in all, a strong cross-platform app like this just makes Linux that much more viable for everyday desktop users.
songbird? (Score:4, Funny)
Re:songbird? (Score:5, Funny)
THey have the logo with cramps, the runs and throwing up.
lovely.
Doesn't play anything on Mac OS X (Score:3, Informative)
Why XUL? (Score:5, Insightful)
(http://www.hwacha.net/)
Is XUL a good application platform? If so, why?
It doesn't seem to have much to reccommend it at first glance -- a language that lacks features and performance (javascript) a runtime that's bulky (mozilla), and worst of all a real case of Java-itis -- XML files and source files that endlessly have to be kept in sync and bundled together, no self-documentation and no metadata.
I ask because I tried porting a semi-complicated IE plugin to XUL and had to give up -- admittedly, I had to give up because of limitations in the HTML renderer, but long before then I had learned to dread the process of hooking into Mozilla at all. And that's saying something, considering that the original IE plugin was entirely made of hand-written COM, written against IE's none-too-predictable interfaces.
So, why XUL? I appreciate that you _could_ write an application in it, but what's the unique selling point that justifies all the work?
Re:Why XUL? (Score:4, Insightful)
(http://www.hwacha.net/)
To be honest, your reply comes across as 'don't use XUL'. Being cross-platform (to platforms that have Mozilla available and installed) is hardly a big unique selling point that justifies a whole new way of doing things. As you point out:
To be sure, you don't need to do XUL- you can do the application in Qt, GTK+, Fltk, and a few others and get
the same results with less effort unless you need some HTML rendering support
So, why use XUL...
all ofmp3 (Score:1, Flamebait)
(Last Journal: Wednesday May 16 2007, @12:43PM)
Curious about the 'variety of online music stores' (Score:3, Interesting)
(also, nitpick: did they have to make it look like iTunes so much? sheesh. As if these users need a superfriendly, superbasic user interface. XULRunner is innovative, but the app design, not so much.)
What good is an 'online' music player... (Score:1)
At least, version 0.1 didn't, and it certainly wasn't copying my IE or FF settings properly, if at all.
Let's hope they fix it this time round.
Open Source Media Player? (Score:3, Interesting)
I'm still using winamp 2.72 because I've never found anything that compares (although Snackamp [sourceforge.net] is pretty slick for dealing with my 20,000 song mp3 collection).
Now this is stupid (Score:1)
(http://www.ninjakitten.us/ | Last Journal: Saturday July 08 2006, @04:21PM)
Release the source of a script? (Score:1)
(http://kieran.ca/)
The title is a tad misleading - you've been able to view the "source" since it's first release... after all, it's written in javascript and XML.
Now if they open sourced the project, that would be something!
Forgot about this (Score:1)
Wasn't overly impressed with it, iTunes and its simplicity has left me pretty jaded. Songbird is almost a direct rip off of iTunes. I prefer originals to copy cats.
My biggest question is, why does every music player have to have online music store tie ins? I mean, whatever happend to a simple music player that played music. Now I must be affliated with some music store which robs me of system and network resources in the background. Whether I fire up WMP with Urge, iTunes with the iTMS, or WinAmp and AOL, its going off in the background and updating its music store tie ins and making sure to make me aware of music advertising.
You would think that an open source application would avoid this kind of overhead and bloat.
I guess that its a matter of money, and online music stores off big bucks to have some media player tie in.
The bottom line is, no media player out there is that great. They really don't organize music well. Showing me lists and lists of music files isn't the best way to organize music, and ALL application lack personality in favour. In fact, I actually prefer the new Windows Media Player 11 interface as its the first media player to organize music that looks like collections of CD's.
Anyways, I will give Songbird another shot as I don't have any arrogant preference to which music player I use, I am still struggling to find one that works well without the bloat of multimedia and blatant RIAA DRM and music store fronts.
linux (Score:2, Offtopic)
(http://tom.digitalelite.com/)
Just curious.
Tom Caudron
http://tom.digitalelite.com/ [digitalelite.com]
Re:linux (Score:4, Informative)
(http://eric.halo43.com/ | Last Journal: Tuesday October 16, @12:54AM)
MPD? (Score:1)
(http://jordanthoms.no-ip.org/)
iTunes integration? (Score:2)
(Last Journal: Monday November 21 2005, @11:45AM)
One thing I couldn't figure out how to do in iTunes (granted, I didn't try very hard) was to order a (non-smart) playlist in any order, not just sorting by one of the column headers. Does Songbird allow this?
Damn, I Really Need This (Score:2, Interesting)
Re:Sounds great (Score:1)
(http://ghostnotebook.com/)