Advanced nowplaying forum signature

Third-party modifications and add-ons, Apps and Clients

Moderator: moderators

Advanced nowplaying forum signature

Postby SparkyRih » Fri Jun 03, 2011 11:05 pm

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
Last edited by SparkyRih on Sun Dec 04, 2016 5:58 pm, edited 5 times in total.
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Postby bytethdgroove » Sat Jul 16, 2011 1:14 am

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
"I'm as honest as the day is long, the longer the daylight the less I do wrong!"
Image
User avatar
bytethdgroove
 
Posts: 59
Joined: Mon Apr 25, 2011 1:02 pm
Location: Chicago

Postby bytethdgroove » Sat Jul 16, 2011 2:49 am

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
"I'm as honest as the day is long, the longer the daylight the less I do wrong!"
Image
User avatar
bytethdgroove
 
Posts: 59
Joined: Mon Apr 25, 2011 1:02 pm
Location: Chicago

Postby SparkyRih » Sat Jul 16, 2011 10:40 am

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...
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Postby bytethdgroove » Tue Jul 19, 2011 10:47 am

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
"I'm as honest as the day is long, the longer the daylight the less I do wrong!"
Image
User avatar
bytethdgroove
 
Posts: 59
Joined: Mon Apr 25, 2011 1:02 pm
Location: Chicago

Postby SparkyRih » Tue Jul 19, 2011 12:01 pm

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...
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Postby bytethdgroove » Wed Jul 20, 2011 4:53 pm

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'm as honest as the day is long, the longer the daylight the less I do wrong!"
Image
User avatar
bytethdgroove
 
Posts: 59
Joined: Mon Apr 25, 2011 1:02 pm
Location: Chicago

Postby SparkyRih » Thu Jul 21, 2011 9:30 am

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?
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Postby bytethdgroove » Thu Jul 21, 2011 12:22 pm

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
"I'm as honest as the day is long, the longer the daylight the less I do wrong!"
Image
User avatar
bytethdgroove
 
Posts: 59
Joined: Mon Apr 25, 2011 1:02 pm
Location: Chicago

Re: Advanced nowplaying forum signature

Postby Hellscream » Thu Feb 23, 2012 4:21 pm

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
Image
User avatar
Hellscream
 
Posts: 160
Joined: Fri Apr 22, 2011 11:47 am
Location: Serbia

Re: Advanced nowplaying forum signature

Postby SparkyRih » Thu Feb 23, 2012 4:32 pm

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...
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Re: Advanced nowplaying forum signature

Postby Hellscream » Thu Feb 23, 2012 10:31 pm

Downloading
Nop m8 same thing cant display image
Sent from my GT-P7500 using Tapatalk
Image
User avatar
Hellscream
 
Posts: 160
Joined: Fri Apr 22, 2011 11:47 am
Location: Serbia

Re: Advanced nowplaying forum signature

Postby SparkyRih » Thu Feb 23, 2012 10:43 pm

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?
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Re: Advanced nowplaying forum signature

Postby Hellscream » Thu Feb 23, 2012 10:47 pm

Yes i still get errors.
I download archive from your page.
Still trying.
Image
User avatar
Hellscream
 
Posts: 160
Joined: Fri Apr 22, 2011 11:47 am
Location: Serbia

Re: Advanced nowplaying forum signature

Postby SparkyRih » Thu Feb 23, 2012 10:48 pm

Hellscream wrote:Yes i still get errors.
I download archive from your page.
Still trying.



Ok, but what do they say? :P
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands

Next

Return to Mods, Apps and Clients

Who is online

Users browsing this forum: No registered users and 3 guests