vagskal;660811 Wrote: 
> It seems that the Rating Tag was scanned without indication. The newly
> added albums I wanted to scan now has a rating. But the problem is that
> my 1-5 rating scheme was not properly converted so a top rated new album
> now has a rating of 5/100, i.e. no star at all. The max rating value is
> set to 5 in the rating tag scan options as it has always been.
> Something is wrong.
> 
Could you try to run Rating Tag module with "plugin.customscan" debug
level logging ?

It should output things like:
Setting TrackStat rating on Some Nice Song to 80

Or if TrackStat isn't installed, things like:
Setting Squeezebox Server rating on Some Nice Song to 80

If you are using a rating tag called "RATING", this will also be picked
up by the standard Squeezebox Server scanner, and it doesn't have any
smart logic so it will write 5 if you have put 5 in the RATING tag.

The overall process typically looks like this if you use tags named
RATING with a value 4:
1. Standard SBS scanner writes 4 to the standard SBS tables
2. Custom Scan Rating Tag scanning module runs after SBS scanner and
writes 80 to the standard SBS tables if you don't have TrackStat
installed or 80 to the TrackStat tables if you have TrackStat
installed. It will also always write 80 to the Custom Scan tables, but
I don't think there are any pre-defined browse menus that use that
information at the moment.
3. If you have TrackStat installed, it will copy its ratings to the
standard SBS tables the next time it does a refresh, this normally
happens at SBS restart and after a SBS rescan. It could maybe be a good
idea if I changed it so Rating Tag module wrote to both SBS standard
tables and TrackStat tables.

I suspect you might be looking at the rating in the standard SBS
tables, and that information might not even have been written by the
Rating Tag module.

But running Rating Tag with plugin.customscan logging set to debug
should show what it actually writes.


-- 
erland

Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets'
(http://wiki.slimdevices.com/index.php/User:Erland). If my answer
helped you and you like to encourage future presence on this forum
and/or third party plugin/applet development, 'donations are always
appreciated' (http://erland.isaksson.info/donate))
Interested in music discovery ? See 'Social Music Discovery (SMD)'
(http://forums.slimdevices.com/showthread.php?p=656713) project.
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to