New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable editing of userrating from the frontend #8049
Conversation
<onclick>DecreaseRating</onclick> | ||
<texturenofocus>scroll-down-2.png</texturenofocus> | ||
<texturefocus>scroll-down-focus-2.png</texturefocus> | ||
<onleft>8</onleft> |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Only looked briefly through code, can runtime-test next days if needed. |
@phil65 |
Hmm what do you think about changing it to a builtin which opens dialogselect to select desired rating ("set rating") instead of adding 2 builtins for increasing/decreasing? That way it would fit much better into the typical settings lists in infodialogs. |
And change song info rating at the same time ;) |
yup, that would have been my next request after this is done :) |
So a button with a new pop up essentially? |
Just wanted to say please make this as easy and quick as possible to update the rating. The latest Aeon 5 nox does it very nicely for music ratings, it might be worth taking a look at that. |
@zag2me |
No idea how Nox does it, in general I hate mapping actual "actions" to navigation keys (like onup/ondown). In ExtendedInfo script i use DialogSelect to set rating and that works very well and is easy to integrate into any menu. |
Heres a video of the Nox process |
...well that's the "classic" way with two builtins. While this might still work well with music which has 5 rating values it becomes cumbersome for movies with 10 rating values. |
Indeed, that's why I prefer votes out of 5 for user ratings. Much quicker to set. I think we had that discussion already though. |
I'm not a skinner but I think the way the video info window is done, it might be very hard to add the two up/down buttons, without rewriting it. |
yep, it doesnt fit into most layouts, that's why I would prefer to have one "Set rating" button which opens dialogselect. |
we should go with same rating system for music/video. No way that we should do 5 stars for music and 10 for videos. |
"No way" comes a bit too late since everything is already merged. ;) |
I still dont understand. You suggest to also change song rating to a 10-step system? |
yes edit: |
Ah ok. Up to the music guys, I never used song ratings up to now. |
if video uses a 10 step system for personal rating then so should music. |
will get on that as soon as we have this sorted. I also want to change the datatype for music ratings, as they are chars right now, which is pretty stupid to me. |
@MartijnKaijser All albums are currently rated 0-5 though. |
Yes, we should change each appearance to userrating. Two types of ratings for music may also be nice. But as far as I know there is no source for those, yet. @zag2me will know. (but it's out of scope for this pr) I like your ideas for better names, but it's a shame that it comes up after working on it for two month. Anyway I will change everything to "Personal rating" as soon as possible. |
music rating (songs/track) is already userratting (only, theres no external rating from online databases being pulled or at least displayed), you cant rate albums, and you cant rate songs in the view screenshot in #8049 (comment) shows. Only via pressing (i) when song is playing using (im sure you know) http://kodi.wiki/view/Action_IDs IncreaseRating and DecreaseRating (would be nice if video userrating responded to those action IDs though no matter how you do it.) You have quite a challenge here to make video/music rating consistent good luck. Music rating is outside the scope of this PR though |
You can rate via that button in the screenshot. Increase and decrease rating should already work for video. |
thank you for your code contribution on behalf of the entire team. i've reviewed the skin related changes and there's a few things that could be improved: song info dialog:
video info dialog:
|
Dear ronie, I think I'm not skinner enough for that. I might be able to figure the center stuff out, but that will take some time. |
no problem, here's the needed changes: ronie@f73353d |
Thanks ronie! |
jenkins build this please |
Build errors are unrelated |
…ecrease and update video info and listings accordingly
…g the user rating of this item
…the video library
485eaa0
to
240f689
Compare
jenkins build and merge |
@razzeee do you plan on making the My rating available in the various list views of skin? I had some TV shows with no rating scraped at time of scanning, so after setting My rating for them and was slightly disappointed that the rating doesn't show up on that the list views of skin and that there was still no entry there. |
Well if you order by my rating it should show up. Otherwise I may not understand what you're saying. |
Ah, I dindt realize thers a special rating sorting, feel odd having to activate a view to see 3 or 4 ratings and then dont show any rating for the items that have scraped rating... Problem is I dont want to rate 1000 items or more especially to make this view useful. I thought this was going to integrate in a different manner, never mind, Ill keep using WIMM. |
Addons will be able to give you a good start. I will add this to trakt soon. |
Trakt is not an option here nor will it ever be. Thats fine with WIMM Im able to add rating that integrates perfectly with stock Confluence in those times where simply need a fast and simple manner to rate the odd episode or movie that doesnt have scrapable rating at the scan time, without having to fiddle about too much and or having to sign into tvdb or tmdb to add a rating that I can scrape later. I want to spend the little time I have enjoying Kodi, not spend it rating everything we have. |
Not sure what WIMM is, but it sounds like it may write nfos? If thats the case, userratings should also work from nfos. |
No nfos and no user rating http://forum.kodi.tv/showthread.php?tid=188839 simple and works like I need it to. In this cases I can just add a rating and save, done, as if it was scraped from online databases. |
This adds the logic to increase and decrease userrating from the videoinfo. The videoinfo dialog can now have an up and down control and editing this will edit the userrating. It will also refresh the listing, if the userrating got changed.
Still needs some more testing, as I've only tested movies so far.
I have added a modified
DialogVideoInfo.xml
that needs to be removed before this can be merged.Maybe one of our skinners can do a real replacement for it, otherwise I would like it to go in without that.