Home > Software > XUL Music!

XUL Music!

It uses gstreamer for linux and DirectShow for windows. I’m hoping to write a mac version soon that will probably use QuickTime.

subversion: https://updates.simosoftware.com/repos/xulmusic/

Screen shot:

Linux binaries


xulmusic-0.1.tar.gz

Windows binaries


xulmusic-0.1.tar.gz

Update:

The linux binaries were built on a fedora core 3 machine, having dependencies on gstreamer-0.8

Update:

I forgot the most important part! This is a xulrunner package. To try it out you need to download xulrunner. I would get one of the nightlies from mozilla.org.
If you’re curious about xulrunner the wiki page should provide a good starting place.

Software , , , , , , ,

  1. Martijn
    June 6th, 2005 at 19:46 | #1

    Well, it was kind of complicated to get it going (having to unzip all kinds of stuff, and making shortcuts, etc).
    Also, I get kind of garbled music.
    But for the rest: really awesome!!!
    XUL music, who had thought this was possible.

  2. Anonymous
    June 7th, 2005 at 01:30 | #2

    Would probably make better sense to package it as an FF extension – see MAB.

  3. Alex Fritze
    June 7th, 2005 at 02:11 | #3

    Hi Todd,
    Very cool!
    I’m currently working on an open-source Mozilla-based SIP/VoIP client which, among other things, contains a cross-platform audio/streaming lib.
    Maybe we could collaborate?
    Give me a shout if you are interested: alex at croczilla.com

  4. Tazman
    June 7th, 2005 at 02:51 | #4

    I was trying to find a component that would let me play music in a xulrunner app ( I have not yet tried to build an xpcom myself ).. But this looks great.. Hope you don’t mind if I am going to play with this..

    alex: what kind of files can your component play ?

  5. Alex Fritze
    June 7th, 2005 at 05:32 | #5

    tazman: so far only voip streams (iLBC, speex)

  6. George
    June 7th, 2005 at 08:10 | #6

    Oooooooh nice!
    A million ideas come to my mind
    A remote music player is one.
    Have your music online, share it with everybody ;-)

    Nice job!

  7. XULPower
    June 7th, 2005 at 08:44 | #7

    Hey guys,

    How about putting together a blogroll of all XUL bloggers?
    I just started mine here at blogspot and would like to know, besides Todd, who else is bloggin about XUL.

    George
    http://www.georgenava.com
    http://www.bloxor.com

  8. todd
    June 8th, 2005 at 12:54 | #8

    tazman: Yep feel free to use my code however you like. I wrote it both to play my music and as an example for xulrunner…

  9. Grauw
    June 8th, 2005 at 18:14 | #9

    Ooh, this is awesome.

    I hope you’ll make an official project out of it! With Winamp’s lack of updates and problems with e.g. UTF-8, I need something to replace it ^_^.

    For starters, you might want to allow multiple file selection in the add file window, and change its title too (which is currently a bit… weird :) ).

    ~Grauw

  10. Anonymous
    June 10th, 2005 at 09:52 | #10

    I’m very interested in XUL Music as an example “XUL+audio” program. Though I have a problem : I can run the GUI, select a song, but then, when I push the “play” button, I don’t get any sound and nothing happens (no freeze, no play, no warning). I’m running Linux. I’ve checked that nothing is blocking my sound card, since I can play the file with XMMS.

    Have you any idea? I’m very new to XUL programming.

    Greg

  11. Anonymous
    June 12th, 2005 at 20:16 | #11

    nice music man!

  12. Anonymous
    June 14th, 2005 at 11:51 | #12

    Ok, it’s me who had a problem under Linux. I think it comes from an old version of Gstreamer (0.6.3). It works fine under Windows.

    Todd : is it possible to add a setPosition(in double position) to the xMTrack.idl file? Being forced to go to the closest second is not very convenient…

    Anyway, good job, you should start a real project around this.

    Greg

  13. Anonymous
    June 14th, 2005 at 12:44 | #13

    My wishlist :
    * play(in long start, in long end)
    * play(in double start, in double end)
    * setPosition(in double position)

    Thanks,
    Greg

  14. Anonymous
    June 14th, 2005 at 13:18 | #14

    Could we have a look at the source code for the component ?

  15. Anonymous
    June 15th, 2005 at 02:20 | #15

    Click on the “Xul Music” title, or go to :
    https://updates.simosoftware.com/repos/xulmusic

    Greg

  16. Anonymous
    June 15th, 2005 at 03:28 | #16

    If you have wget, do :

    wget -r -L -x https://updates.simosoftware.com/repos/xulmusic/

    Greg

  17. todd
    June 17th, 2005 at 20:19 | #17

    I made some updates see my new post

  18. tc
    September 30th, 2005 at 11:54 | #18

    Top gear! This is the only XULRunner sample I can find on the planet — with both XUL and XPCOM parts.

  19. bronius
    February 21st, 2006 at 12:46 | #19

    I’m anxious to get into xul dev for desktop but am failing to get this example up and running. I’ve followed the XULRunner Installation guide for 1.8.0.1, and I followed the installation instructions at the end of that, substituting your untar’d file path info. I see that there’s now an executable under Program Files\MozillaTest, but when I dbl-click to execute, nothing happens that I can see… ideas?

  20. taf2
    February 22nd, 2006 at 07:59 | #20

    bronius,
    I think you need to run the start.bat file in the package. Be sure it points to the correct xulrunner.exe… It has been a while for me now since I worked on this project, I hope to have some free time soon to work on it more

  21. bronius
    February 22nd, 2006 at 15:19 | #21

    todd-
    thanks for the know-how. I don’t see anything but the essentials in the .gz for windows at the top of this post. If you have the time, I am a bit curious to see this thing whir, but it’s not critical– the one thing I really wanted to learn (chromeless fullscreen) to do I figured out I can do against the Mozilla install already on my machine afterall.

    Still, good stuff.

  22. Siemens
    March 4th, 2008 at 06:47 | #22

    Top blog

  23. claudette
    July 16th, 2008 at 10:35 | #23

    hello todd!
    could you please tell me how to embed audio and video files in a simple XUL-GUI? can I do this a similar way I do this in HTML? could you show me a small example, please?
    I know thats not a forum, but I cannot find any information about this.
    thanks a lot!
    claudette

  1. No trackbacks yet.
CommentLuv Enabled

Comments links could be nofollow free.