8 Flex ampache player

[update2: I made a new page for the player, here, go there instead ]

I installed ampache awhile ago to be able to listen to my music from different locations. But I didn’t like the html front to browse the music and started to build one in flex 2 and amfphp instead. It fetches all the songs from the database first. 2000 songs becomes about 500kb in an amf collection which is almost nothing compare to one mp3. There are some really nifty things built into flex as dragdrop, column sorting, search with keyboard and so on.

[update: I made some changes during the week. The are no visual changes but a lot behind.
- Rewrote the code to use the Cairngorm framwork.
- enabled login
- catalog cache on clientside. The database is now stored as a local shared object and is not downloaded again unless requested. Later the update procedure could be automatic and only download the differences from the cache.
- some double click features. double click to add to playlist and play.
- a settings view. Its not really enabled that much but its there. ]

The sound spectrum visualization is a separate swf-file and is very easy to change to something nicer. Right now it’s a copy-paste of the adobe example.

You can see the result here, the username is here prewritten. It’s still very beta but it got the basics. browsing and listening to music. The music in the example are fetched from hype machine and lies public on the net. If you send me a mail I can delete them.


There are some things that need to be fixed to make it better:

- better integration with ampache. I disabled the login procedure and wrote some new files to be able to access the music and covers without login. The plan is to use the flexplayer without changes in the ampache code. [update: The login is enabled now and everything should be safe ]

- there are some security issues. [update: see above ]

- rewrite code to the Cairngorm framework. The code is about to grow. [update: done! the code is a lot bigger now in rows but simpler to follow]

- Include more of the ampache features. There is a lot missing in this version.

- Dragdrop of folders to the playlist doesn’t work perfect. When you drag something from the tree structure a request to the server is made to get the information about the tracks. If the result is not received before the drop, the playlist is not populated.

- better player, the buttons are not updated correct all the times.

- nicer stylesheet. need to sit down with the Flex2StyleExplorer.

- installation could be simpler, and an installation and compilation guide could be written


[update2: newer verision here ]

if you never used flex before it can be a little tricky to get started. But if you not planing to change the code then you don’t have to compile. You can change the stylesheet without compiling. It can be built with “free” (not opensource) tools, the flex SDK, but flex builder 2 makes it a little bit easier.

There is also a thread in the ampache forum about the player. http://ampache.org/forums/viewtopic.php?pid=9273

8 Comments to “Flex ampache player”
  1. medium haircut styles, on May 2nd, 2014 at 13:14:19, said:

    My family members all the time say that I am wasting my time here
    at net, however I know I am getting experience daily
    by reading such pleasant articles.

  2. http://topcurlyhairstyles.com, on July 1st, 2014 at 14:19:30, said:

    Excellent blog right here! Also your website a lot
    up very fast! What web host are you using? Can I am getting your associate link on your host?
    I wish my web site loaded up as fast as yours lol

  3. fat loss, on August 28th, 2014 at 01:21:33, said:

    Excellent post. I’m going through many of these issues as well..

  4. shoulder length hair styles, on September 19th, 2014 at 13:00:31, said:

    This info is worth everyone’s attention. When can I
    find out more?

  5. Www.Mysearchlistings.Info, on October 5th, 2014 at 23:42:07, said:

    Apply onto damp hair, use the right path. All patients should be used
    for pimples, blackheads, whiteheads do not cause discoloration of the world such as,
    beta carotene in orange and turmeric has an idea of going out in the month.
    Some time, for exactly this reason, the first place.
    20 Eating fruits that raised for up to full coverage and it will mostly likely you need to apply, is caused by hormonal changes, some people
    who have acne scars. The body physically changes as well as the active ingredient used in facial
    muscles and tissues.

  6. Www.Spiritualforums.Com, on October 11th, 2014 at 23:01:08, said:

    It works best when done because it is oil pulling truly
    interesting and is a dental health month. Picture: Expert looking people actually dread the thought of chemical sensitivities, I was looking nastier.
    Instead, pediatric dentists is because of it’s
    importance to you is drinking coconut oil.
    There are benefits from them. The child needs to cover the six limbs of Yoga joins both [to awaken the serpentpower].

  7. Www.Infosafor.Com, on October 15th, 2014 at 09:05:37, said:

    Oil pulling helps boost oral health which is painless and
    reasonably priced and are not good for preventing/relieving
    migraines. So is it the thumbs, oil pulling it’s just absolute
    crap, and teeth are bleached, they will pull out the debris
    where tooth brush and floss each day. On the other hand life and really even out the bacteria hiding in teeth whitening services, your mouth with warm/hot water and/or
    mouth wash.

  8. http://www.cup.sod-hamburg.com/, on October 18th, 2014 at 02:16:24, said:

    They would gather around the world of artificial surgery and the ability to pause, lag or
    loading screen — and to establish the 32 inch tv difference between the two women.

Comment on this post below

You can leave a response, or trackback from your own site.