FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Add-on Software › FireStats – Top 40 php script (now with added charts)
- This topic has 175 replies, 17 voices, and was last updated 14 years, 8 months ago by
wwarren.
-
AuthorPosts
-
30/11/2007 at 5:01 AM #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
30/11/2007 at 11:23 AM #14700sonichouse
ParticipantA 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.
30/11/2007 at 2:51 PM #14701blamm
ParticipantHi.
I would like to get this going on my PC. What config do I need to do to the files?
30/11/2007 at 3:14 PM #14702sonichouse
ParticipantYou 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
30/11/2007 at 7:58 PM #14703mas
Participanthttp://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.
30/11/2007 at 9:24 PM #14704blamm
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”
30/11/2007 at 9:39 PM #14705sonichouse
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.
30/11/2007 at 9:54 PM #14706blamm
ParticipantTa.
Now I get “Error!: could not find driver”
30/11/2007 at 10:11 PM #14707sonichouse
ParticipantI think your php install needs the pdo_sqlite package.
http://uk2.php.net/sqlite/Steve
30/11/2007 at 10:31 PM #14708blamm
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?
-
AuthorPosts
- The forum ‘Add-on Software’ is closed to new topics and replies.