Page 1 of 5

Advanced nowplaying forum signature

PostPosted: Fri Jun 03, 2011 11:05 pm
by SparkyRih
The image below shows what I'm (user Marc) playing in Subsonic...

Image

Features:
-Knows which user to monitor simply by going to username.png.
-Knows difference between music and video files (Now Palying/Now Watching).
-Can show all information about music file (my personal example only shows Artist, Title, Album and Cover art).
-Stops displaying Now Playing/Now Watching after playback length.
-Shows a server offline signature if the Subsonic server is offline.
-Fully customizable!

Requirements:
-PHP 5.3
-PHP modules: cURL and GD
-Apache modules: rewrite

Now also available as plugin for the subsonic registration engine.
Image

Download: http://download.schattorie.nl/subsig/ (Version 1.22 is for Subsonic 6.0, 1.21 is for versions below that)
Original thread: viewtopic.php?t=1872

PostPosted: Sat Jul 16, 2011 1:14 am
by bytethdgroove
finally got php 5.3 installed and curl working
can see someting finally
it shows i can connect, but im guessing its failing on the xml feeds
as it shows im cuently not listening to anything even though i am

its not showing offline just that im not playing anything even when i am

i am using iis
i see it says apache rewrite mod needed? is there an alt for iis?
dont think i cant get around switchin from iis as my home server is dependent on it.

can the code be modified for iis?
please advise
thanks
byte

here is signature
http://bytethegroove.homeserver.com/sub ... ature1.php

PostPosted: Sat Jul 16, 2011 2:49 am
by bytethdgroove
ok got working for the most part... minus the apahce mod rewrite as I am Running IIS
is this why coverart is not working?
i did get music to show up now, but no cover art
http://bytethegroove.homeserver.com/sigg/signature.php

thanks for your help
byte

PostPosted: Sat Jul 16, 2011 10:40 am
by SparkyRih
The coverart is obtained via the cURL module, the rewrite had nothing to do with this...

Rewrite is used inside the .htaccess file, it tells the server that if signature.png is requested, it should use signature.php instead (which prints image information, so the browser shows it :) )...

I had an IIS server before, but after a crash I never re-installed it (since I use apache as main web server)...

So if the coverart is not working, you should look for an issue with cURL, to get the .png trick working, you shoudl search for a rewrite solution for IIS...

I guess I'll build a new IIS server next week, my code should work fine on all platforms, but I can't give any support for IIS at this moment...

PostPosted: Tue Jul 19, 2011 10:47 am
by bytethdgroove
that would be awesome if you made iis version...
I will work on seeing if I can get curl working today.....then its just the rewrite and we should be good.
thanks foryour help sparky

peace
byte

PostPosted: Tue Jul 19, 2011 12:01 pm
by SparkyRih
The script should be working on IIS already, but I can't give you any support atm... I'll see if I build an IIS server this evening, see if I can get the signature fully running on that server...

PostPosted: Wed Jul 20, 2011 4:53 pm
by bytethdgroove
I think im gonna give up on this until I wack my WHS and start from scratch using apache instead of IIS... although it might be some time before I do that... I think i will ask you to host my sig in the meantime (after im done editing the look of it)...
I did have a ? though
who is web provider? maybe I might switch my main site if need be....

peace
byte

PostPosted: Thu Jul 21, 2011 9:30 am
by SparkyRih
bytethdgroove wrote:I think im gonna give up on this until I wack my WHS and start from scratch using apache instead of IIS... although it might be some time before I do that... I think i will ask you to host my sig in the meantime (after im done editing the look of it)...
I did have a ? though
who is web provider? maybe I might switch my main site if need be....

peace
byte


I'll host you'r signature on schattorie.nl, it's my own server in my own network, so I'm 100% the owner of everything...

I'm not hosting any other websites on that server, but I'm planning on geting a dedicated server with a couple of guys to do this kind of stuff, so that could be a solution for you in the future?

PostPosted: Thu Jul 21, 2011 12:22 pm
by bytethdgroove
sounds like a great idea....
maybe we should all pitch in and get a vps?
we can talk more on that later..
thanks again
peace
byte

Re: Advanced nowplaying forum signature

PostPosted: Thu Feb 23, 2012 4:21 pm
by Hellscream
HM
I think i need a little help here
Cant make this signature to work
I follow the instructions all modules are installed and nothing.
SparkyRih can I have 10 min of your time to check this thing on my PC.
TY

Re: Advanced nowplaying forum signature

PostPosted: Thu Feb 23, 2012 4:32 pm
by SparkyRih
I will update the code somewhere today... I guess I already know what your problem could be :P

Edit: I've updated the script, if you're still unable to get it to work, let me know...

Re: Advanced nowplaying forum signature

PostPosted: Thu Feb 23, 2012 10:31 pm
by Hellscream
Downloading
Nop m8 same thing cant display image
Sent from my GT-P7500 using Tapatalk

Re: Advanced nowplaying forum signature

PostPosted: Thu Feb 23, 2012 10:43 pm
by SparkyRih
But the code is still better than the previous :P

If you disable the header()'s... do you get an error of you brows to the signature.php file?

Re: Advanced nowplaying forum signature

PostPosted: Thu Feb 23, 2012 10:47 pm
by Hellscream
Yes i still get errors.
I download archive from your page.
Still trying.

Re: Advanced nowplaying forum signature

PostPosted: Thu Feb 23, 2012 10:48 pm
by SparkyRih
Hellscream wrote:Yes i still get errors.
I download archive from your page.
Still trying.



Ok, but what do they say? :P