[mythtv] patch - user rankings
Kirby Vandivort
kvandivo at ks.uiuc.edu
Wed Jan 7 00:27:48 EST 2004
This patch adds in the ability for users to rank shows according to how
much they like/dislike them. It will eventually be used to feed the
recommendation engine. So, once this is in, start ranking your shows.
You can rank shows from the info box on a recording, from the delete
box on a recording, from the info box on a program, and from the
advanced recording options on a recording. You can view ranked shows
from the 'schedule recordings' menu and tweak their rankings from that
page.
too big to attach, so...
http://www.ks.uiuc.edu/~kvandivo/mythtv/patches/rank1.tgz
uncompresses to a 'rank1' subdir. (I've got it uncompressed in the
patches URL mentioned above if you wish to look at the contents) the
?'s at the top of the patch tell where the new files go.
issues:
- we might want to change the slider to a set of icons using the 'star'
idea from mythmusic. that doesn't change the functionality of the
patch; just the look.
- not sure why the rank slider in the advanced recording screen isn't
picking up the background color around it. Works fine, however.
- i can't find any evidence of trans-X-background.png actually being
used. But, trans-rk and trans-cr existed, so I decided to be a lemming
and make a trans-530 also. It is named 530 because that's the height
of the box, btw. That seemed more reusable to me that rk or cr.
- 'setRank' temporarily sets the rank value. 'saveRank' actually commits
it. For playbackbox, this lets users slide left and right without
hitting the db. This has the downside of requiring you to trap every
exit point from the box. The db cost really is small, though, and so,
for infodialog and scheduledrecording, i just had it update the db as
the user slid left and right. It is cheap, and this really isn't
something that will happen very much.
--
Kirby Vandivort Theoretical and
Senior Research Programmer Computational Biophysics
Email: kvandivo at ks.uiuc.edu 3051 Beckman Institute
http://www.ks.uiuc.edu/~kvandivo/ University of Illinois
Phone: (217) 244-5711 405 N. Mathews Ave
Fax : (217) 244-6078 Urbana, IL 61801, USA
More information about the mythtv-dev
mailing list