Development Music streaming service (PHP + DBXML)

Discussion in 'Software' started by hacker 8991, 10 Jan 2009.

  1. hacker 8991

    hacker 8991 What's a Dremel?

    Joined:
    8 Jan 2004
    Posts:
    643
    Likes Received:
    1
    I've been working on a PHP script to stream music over the web (specifically to my iPhone), and I think it has reached the point where I'd like some external feedback. Check out the live demo using tracks available for free from Amazon.

    The indexing and searching are done with PHP 5.2.8 and BDBXML 2.4.16, so chances are you won't be able to download this and get it running on your box. (If you happen to have BDBXML support in PHP, send me a PM and I'll send you the project.)

    Anyway, it's relatively plain but let's you do searches through the title, album, artist, and album artist (hidden in the interface) fields. It scans a directory and reads ID3 tags, so it's basically a lightweight media library.

    This project is in the same vein as Jinzora and several other online media libraries. It's different because it's powered by DBXML. And, it's dirt simple. So take it for a spin and let me know what you like/don't like and any bugs you come across. Thanks!
     
  2. Firehed

    Firehed Why not? I own a domain to match.

    Joined:
    15 Feb 2004
    Location:
    An hour north of Boston
    Posts:
    12,574
    Likes Received:
    16
    Never used (or even heard of DBXML) before, but I take it that it's in the same vein of SQLite in the sense that it's basically a DB that exists in a very portable file.

    Anyways, a quick test worked fine for me, though I did it in a Fluid window rater than on my iPhone. AJAX search results would be great at least when using it on the desktop, but otherwise it's quite simple and easy to use.

    And you own thursday.com? Awesome.
     
  3. hacker 8991

    hacker 8991 What's a Dremel?

    Joined:
    8 Jan 2004
    Posts:
    643
    Likes Received:
    1
    Heh, I do indeed own thursday.com. It's quite nice when handing out e-mail addresses or URLs in person. "Like the day of the week?" "Yeah."

    DBXML is, to quote Wikipedia, "a database specialised for the storage of XML documents, supporting XQuery queries. It is implemented as an additional layer on top of Berkeley DB." Basically you get the performance of a database but the awesomeness of using XML.

    AJAX is something I'm looking into developing (especially since playlists are a no-go on the iPhone), but I'm somewhat of a noob in that regard. It doesn't bother me a whole lot that search results are on another page, but I might look at iUI and borrow how they do searches.

    By the way, if there's any demand at all, I'll port this over to PDO so you can use MySQL, SQLite, etc.
     

Share This Page