Kodi Community Forum

Full Version: Updating User Rating for MusicPlayer.UserRating
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I (in my skin) update the song user rating for the song just played (MusicPlayer.UserRating)?
Thank you for your help.
Create button in player bar id=7
(2017-03-30, 09:00)Angelinas Wrote: [ -> ]Create button in player bar id=7
Thanks, I know. Smile
I use:
(...)
<Onclick> SendClick (songinformation, 7) </ onclick>
(...)
It works for the library.

When playing a song, the value of the user rating is not stored in the database. Sad
It seems to me that saving a rating value while playing a song does not work.
no, you dont .. Smile
just need to write simple code
Code:
<onclick>setrating</onclick>
(2017-03-30, 18:13)Angelinas Wrote: [ -> ]no, you dont .. Smile
just need to write simple code
Code:
<onclick>setrating</onclick>
Hi Smile
Sorry Angelinas, for me it does not work (while playing the song and for this song from Musicvisualisation / DialogMusicInfo). Sad
Look at the code: MQ7 2.0.6.4 + my mod JB_DialogMusiInfo in Musicvisualisation / DialogMusicInfo (while playing the song) please .
What do I have to add to the code to save the user rating works well? Huh
Thanks for the help
Set rating button goes in player bar not in dialog.. .
(2017-03-31, 12:18)Angelinas Wrote: [ -> ]Set rating button goes in player bar not in dialog.. .
COOL!
Thank you very much!
Works perfectly! RoflBig Grin