imdb_rating as Stars

This is the place to post your skins, and discuss skinning

Re: imdb_rating as Stars

Postby CiXel on Mon Mar 31, 2008 5:31 pm

S Pittaway wrote:if you dont mind coding (or waiting till i get round to it:)) its easy enuff to get the pluging to use images instead of a rating character
in the code i use imdb.rating = no of chars, its easy to change it to use imdb.rating = image path + (no of chars) + ".jpg", its probably just a few lines of code.
For me the wingding star character is fine and i don't really care about the decimal point on the rating (6.7 = 7 to me :))

Holy Crap. It worked. Right out of the box! And I still have time for lunch! Woo hoo! ;)

This is great though! I never thought I'd get this far so timely. Being able to have a nice gold star with a little gradient image would be loverly though, so I would like to try the image option. Of course, if i had the coding ability to do it, it'd be done already ;)
How are you parsing 'stars' presently? >=6.5 =7 <6.5 =6
I figure if the point information is there, I might as well display it. It should be relatively simple to take 6.7/10 and turn it into 67 which could call stars67.jpg or the like.

I'll attempt to create some basic graduated star images when I get a chance as an out of 5 or out of 10 pack of a decent size and I'll up them here a la dalanik. That way between your code change and these star packs, you could just drop them in with the option for 'fancy' stars.
CiXel
 
Posts: 177
Joined: Tue Feb 22, 2005 6:27 pm
Location: New York

Re: imdb_rating as Stars

Postby S Pittaway on Tue Apr 01, 2008 9:48 am

great, i will add it in at the weekend :)
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: imdb_rating as Stars

Postby CiXel on Fri Apr 04, 2008 5:00 pm

I created 100 star images each in a 10 star and 5 star version. They're all zipped up... I just don't know how to upload them

Image
Image
CiXel
 
Posts: 177
Joined: Tue Feb 22, 2005 6:27 pm
Location: New York

Re: imdb_rating as Stars

Postby wesblack on Sat Apr 05, 2008 12:53 am

Send the file to me and I can uoload them on the website. :D

wesblack@calrad.com






Wes Black \ Calrad
wesblack
 
Posts: 852
Joined: Mon Mar 05, 2007 5:02 pm
Location: Valencia, Ca

Re: imdb_rating as Stars

Postby CiXel on Sat Apr 05, 2008 12:52 pm

wesblack wrote:Send the file to me and I can uoload them on the website. :D
wesblack@calrad.com


On the way...
CiXel
 
Posts: 177
Joined: Tue Feb 22, 2005 6:27 pm
Location: New York

Re: imdb_rating as Stars

Postby wesblack on Sun Apr 27, 2008 1:05 am

You can download them here. xLobby paid users they are also accessable under the My xLobby area under Add-Ons Downloads. :D

http://www.xlobby.com/addondownloads/Stars5.zip

http://www.xlobby.com/addondownloads/Stars10.zip






Wes Black \ Calrad
wesblack
 
Posts: 852
Joined: Mon Mar 05, 2007 5:02 pm
Location: Valencia, Ca

Re: imdb_rating as Stars

Postby S Pittaway on Mon Jun 02, 2008 12:06 pm

CiXel, do you still want this functionality?

I added it in a while ago but have been busy in Real-World(tm) :) if you want it i could knock a release up?
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: imdb_rating as Stars

Postby CiXel on Mon Jun 02, 2008 1:41 pm

Yeah, it'd be nice. I still think it's a good idea.
I too have been working on other things while I wait for the media functions to catch up with the WAF. doh!
CiXel
 
Posts: 177
Joined: Tue Feb 22, 2005 6:27 pm
Location: New York

Re: imdb_rating as Stars

Postby lpg on Sun Oct 12, 2008 2:52 am

dalanik wrote:
scottw wrote:This is my template, and the line that is important is

<starimage>skin://buttons/stars/star$$ITEM_RATING.png</starimage>

It makes <starimage> field in the database which points to the image in skin folder....

D.


I am trying to use this to display a logo for hddvd, Blu-ray, or DVD on the movies screen. I can easily get the text using %movie>format% but I cannot seem to get the logo to show and change. I have a field in my database called format that identifies the type of movie and have .png files for each one. I have tried setting up a Movie Format database and a format category but I cannot figure out how to tie it to the movies category. Is this much different that what you are trying to wo with the rating stars?

Thanks Larry
lpg
 
Posts: 296
Joined: Thu Apr 14, 2005 8:17 pm
Location: Chicago

Re: imdb_rating as Stars

Postby scottw on Fri Oct 17, 2008 5:28 pm

What does your moviestemplate.xml look like? If you set it up the way it is above you would make a new textbox with category>movies>starimage as the text.

Does that help???

Let me see your XML and maybe I can help.
scottw
 
Posts: 774
Joined: Mon Feb 06, 2006 4:21 pm
Location: Glen Burnie, Maryland

Re: imdb_rating as Stars

Postby dalanik on Fri Oct 17, 2008 8:46 pm

lpg wrote:
Is this much different that what you are trying to wo with the rating stars?

Thanks Larry


No, it should be exactly the same. As long as image names match the text in the field in database.

Select a field in AMC to contain image name (i.e. Format, then inside put DivX, DVD, HDDVD, BlueRay, etc)

Make images with those names (i.e. DivX.jpg, DVD.jpg, HDDVD.jpg, BlueRay.jpg, etc)

Add the line similar to the one I use for stars in your XAnt template.

That's it!

Hope it helps.

D.
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Re: imdb_rating as Stars

Postby P3rv3rt B3ar on Fri Oct 17, 2008 9:24 pm

lpg wrote:I am trying to use this to display a logo for _hddvd_


:shock: I suggest three week ban for blasphemy :lol:
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Re: imdb_rating as Stars

Postby lpg on Sat Oct 18, 2008 12:08 am

P3rv3rt B3ar wrote:
lpg wrote:I am trying to use this to display a logo for _hddvd_


:shock: I suggest three week ban for blasphemy :lol:


I will do my penence. I could not resist when the hammer fell. The prices were so low, many discs were under $12, that I bought a few. It is really a pain though since I have to maintain two versions of PDVD. If it is any consolation My Blu-ray collection is growing nicely.
lpg
 
Posts: 296
Joined: Thu Apr 14, 2005 8:17 pm
Location: Chicago

Re: imdb_rating as Stars

Postby Marbles_00 on Fri Jan 23, 2009 2:28 pm

Thanks guys for all this, especially dalanik, since I'm such a XANT convert. Incorporated your stars scheme last night in the MediaPVR skin (KISS Modified), and it looks great. For my Mirage skin I was using a user rating "5 star" setup, which is always overwritten when I do an Xant Refresh. Now should I do the same mod with that skin...keeping a uniform movietemplate file across systems, or modify that file on Mirage (take out anything to do with ratings) and keep the user rating system....I have to decide.
Marbles_00
 
Posts: 1867
Joined: Wed Apr 06, 2005 12:44 pm
Location: Canada

Re: imdb_rating as Stars

Postby S Pittaway on Sun Jan 25, 2009 4:34 pm

assuming on are on V3...
...we really need to get user ratings and playtimes sorted in the core.

its a few mins coding for them to sort it out properly, so it works out of the can.
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Previous