Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: compatibility RATING tag? (Read 2220 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

compatibility RATING tag?

Hi,

I'm having trouble getting my rating tags to show up in Beatunes. 
Beatunes uses a 0-100 rating system and it seems FB uses 1-5. When I rate a song in Beatunes, the value in FB is x20 (BT rating 3 => FB 60).

Is this a user setting in FB? If it is, I haven't been able to find it.
Any info on how FB handles this and hints as to make this compatible between FB an BT (also from the BT-side, the BT developer is very helpful) would be very welcome.

Edit: I should add that i don't use the statistics plugin, but write to custom RATING tag.

Re: compatibility RATING tag?

Reply #1
If Beatunes has trouble displaying ratings why ask in a foobar forum? If you want Beatunes to display foobar ratings then I would think you need to solve your problem with Beatunes.
If your question would be focused on foobar as for example how to display Beatunes ratings in foobar on a 1-5 scale then it would be a foobar2000 relevant question.

Btw, foobar doesn't "use" any rating, it's just most users use 1-5 scale but it can be anything people want to use. Some use 1-10.

Re: compatibility RATING tag?

Reply #2
Thanks for answering.
I realize it's a Beatunes issue, but to solve it some info on how things work in FB might be helpful, don't you think?
Anyway, it's solved.

My problem now is to figure out a way for Foobar to make sense of BT's 1-100 scale, so I can also rate songs in BeaTunes.
The value that get's written to the RATING tag needs to be divided by 20, or I multiply all my existing values by 20 and accept input in the 1-100 range and find a way to display in the 1-5 or preferably, the 1-10 range.
Does this make sense?

The current pattern for the RATING column is $pad($repeat(★,%rating%), 5,✩)

Any advice appreciated. 



Re: compatibility RATING tag?

Reply #3
Try this

Code: [Select]
$pad($repeat(★,$div(%rating%,20)), 5,✩)

This divides rating by 20.

Re: compatibility RATING tag?

Reply #4
Thanks.
This displays the actual value of RATING divided by 20 in the rating column.
To make this workable I would have to multiply my existing ratings by 20 which is doable.
I would also have to multiply every new rating from within FB by 20.
When I go from a 5-star display to a 10-star display I'd have to enter a value of 20 in tagbox for every star.

It's all doable, but it feels like there should be a more straightforward, elegant solution.

BTW I never got rating to work by clicking on a star...

Re: compatibility RATING tag?

Reply #5
That's what you get for trying to use two systems with differing rating scales.
It is indeed possible to have foobar rate your files and automatically have the ratings multiplied by 20 while rating them but that involves jscript and is above my abilities.

The "clicking on star" you mention is a separate issue but a workaround would be to use keyboard shortcuts. I always use Ctrl numpad to rate my tracks.

Re: compatibility RATING tag?

Reply #6
Hm didn't know about the ctr numpad. Doesn't work here though. Is it something I have assign or enable in the settings? don't see it in the actions for keyboard shortcuts...

Re: compatibility RATING tag?

Reply #7
Yes, you need to assign the keyboard shortcuts: type: Context/Now Playing  action: tagging/scripts rate=1 (repeat for other ratings).
Ctlr numpad is what I'm using since I find it more convenient but whatever is suitable for you can be assigned of course.

Re: compatibility RATING tag?

Reply #8
jazzthieve. Are you using a component that adds the option "Context/Now Playing  action: tagging/scripts rate=1"? I can't find that in my foobar2000.

Re: compatibility RATING tag?

Reply #9
I'm not using any special component AFAIK those keyboard shortcuts come with foobar2000. You don't have Context/Now Playing available in your keyboard shortcut action list?

Re: compatibility RATING tag?

Reply #10
The "tagging/scripts" action would be added by the Masstagger component, I believe.

Re: compatibility RATING tag?

Reply #11
I can follow along until [Context/Now Playing] > tagging but from there I can't see a scripts rate=1. [Context] > tagging has a lot of the same settings. 


 

Re: compatibility RATING tag?

Reply #12
It is the Masstagger component that creates entries that can then be bound to a keyboard shortcut. I tested this by saving one initial script and it showed up under three areas. [Context], [Context/Playlist] and [Context/Now Playing]. Of course under the tagging sub menu.