FireStats – Top 40 php script (now with added charts)

FireFly Media Server Firefly Media Server Forums Firefly Media Server Add-on Software FireStats – Top 40 php script (now with added charts)

Viewing 10 posts - 11 through 20 (of 176 total)
  • Author
    Posts
  • #14699
    rpedde
    Participant

    @sonichouse wrote:

    Hi All,

    The first release (v1.0) is available to download from here.

    As previously mentioned this relies on phpChart from here.

    Here is a teaser of what it produces

    Feedback and comments always welcome.

    You can even embed it in your Firefly web pages by creating FireStats.html as

    @include hdr.html@

    <Iframe src="http://localhost:8008/firefly.php"
    frameborder=0 marginwidth=-20 width=800 height=1800>


    @include ftr.html@

    And then add a reference in hdr.html

    /Steve

    Clearly I have to find a place for user contributed stuff. I keep wanting to work some on a nightlies page that doesn’t suck, along with a way for people to add contributed builds and stuff (like add-ons and whatnot), but my eyes are bigger than my stomach, or something.

    — Ron

    #14700
    sonichouse
    Participant

    A new version v1.01 has been uploaded here.

    Changes are

      1. Pie charts resized slightly to allow more information for track names.
      2. New Menu bar with ff color scheme
      3. Headers now left aligned to fit better with firefly web pages.

    #14701
    blamm
    Participant

    Hi.

    I would like to get this going on my PC. What config do I need to do to the files?

    #14702
    sonichouse
    Participant

    You need a web server capable of php.

    I use cherokee on my slug, but apache will also work.

    In functions.php change the path of the database if required.

    In the getFirefly function this defaults to localhost and port 3689, amend if required.

    The other thing is libchart, as detailed in previous posts.

    Steve

    #14703
    mas
    Participant

    http://www.lighttpd.net is what I would suggest. Also a small and fast webserver.

    You also need php-cgi, which you can install with (on debian)

    aptitude install php php-cgi lighttpd

    all together.

    #14704
    blamm
    Participant

    @sonichouse wrote:

    In functions.php change the path of the database if required.

    Ta. What is the syntax for the path? Mine us at “C:Program FilesFirefly Media Server”

    #14705
    sonichouse
    Participant

    @blamm wrote:

    @sonichouse wrote:

    In functions.php change the path of the database if required.

    Ta. What is the syntax for the path? Mine us at “C:Program FilesFirefly Media Server”

    Not used on windows before, but looking on the web you could use

    sqlite://C://Program Files/Firefly Media Server/songs.db

    or

    sqlite:./songs.db

    if the database is in the same directory.

    #14706
    blamm
    Participant

    Ta.

    Now I get “Error!: could not find driver”

    #14707
    sonichouse
    Participant

    I think your php install needs the pdo_sqlite package.
    http://uk2.php.net/sqlite

    /Steve

    #14708
    blamm
    Participant

    @sonichouse wrote:

    I think your php install needs the pdo_sqlite package.
    http://uk2.php.net/sqlite

    /Steve

    ‘fraid this is all a bit beyond me. What do I do with it?

Viewing 10 posts - 11 through 20 (of 176 total)
  • The forum ‘Add-on Software’ is closed to new topics and replies.