Rating/ranking plug-in?

For discussion related to MythTV which doesn't belong in another forum.

Moderator: Forum Moderators

Post Reply
ricks03
Junior
Posts: 61
Joined: Thu Oct 01, 2015 8:59 pm
United States of America

Rating/ranking plug-in?

Post by ricks03 » Fri Aug 02, 2019 6:21 pm

Is there any ability to rate/rank shows within MythTV?

When watching a long TV Series, I'd like to be able to flag the episodes that were particularly good (and bad!) so if I'm just hankering for an episode or two later I know which ones were highlights.

Thanks!

User avatar
bill6502
Developer
Posts: 1403
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: Rating/ranking plug-in?

Post by bill6502 » Sat Aug 03, 2019 5:22 pm

No, there is a "(x Stars)" entry if set from the guide source. They're only > 0
for recorded movies for me. There isn't a GUI available to change them.

If you speak Python, the bindings allow changing stars:

Code: Select all

if recording.recordedid == 16282:                                       
    recording.update({'stars': '0.7'})
If you want a bigger example, let me know.

ricks03
Junior
Posts: 61
Joined: Thu Oct 01, 2015 8:59 pm
United States of America

Re: Rating/ranking plug-in?

Post by ricks03 » Mon Aug 05, 2019 2:46 am

So I can see a ranking set from the Guide source, but not set one on my own (and likely if I changed it, it'd get overwritten).

Drat! I"m not good enough to create such a thing on my own, even if I want one! :-)

User avatar
bill6502
Developer
Posts: 1403
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: Rating/ranking plug-in?

Post by bill6502 » Mon Aug 05, 2019 3:47 pm

Future rankings in the Guide won't be applied to programs already recorded.
That data is stored in a different table.

Here's a learning opportunity. Read the text between the initial ''' ... '''
lines. Copy/paste to the file recommended, you'll sudo to save it. It's an old
program that's been modified to change the stars value of a recorded episode.

https://pastebin.com/JTZ9mPyF

Post Reply