Thread Rating:
  • 0 Vote(s) - 0 Average
Updating User Rating for MusicPlayer.UserRating
#1
How can I (in my skin) update the song user rating for the song just played (MusicPlayer.UserRating)?
Thank you for your help.
Reply
#2
Create button in player bar id=7
XBoxMediaCenter (Kodi Leia) 18.0 , LibreElec RasPi3 Krypton Skin AeonMQ6
Reply
#3
(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.
Reply
#4
no, you dont .. Smile
just need to write simple code
Code:
<onclick>setrating</onclick>
XBoxMediaCenter (Kodi Leia) 18.0 , LibreElec RasPi3 Krypton Skin AeonMQ6
Reply
#5
(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
Reply
#6
Set rating button goes in player bar not in dialog.. .
XBoxMediaCenter (Kodi Leia) 18.0 , LibreElec RasPi3 Krypton Skin AeonMQ6
Reply
#7
(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
Reply



Updating User Rating for MusicPlayer.UserRating00