Fix crash in rating.

Forgot to rename 2 variables in rating update to support non-library items. This caused a crash when stopping a video.

Yes, I know, I'm opening to many pull requests. Still have a few more in the works.