jbuski / erlandplugins

Automatically exported from code.google.com/p/erlandplugins
0 stars 0 forks source link

Problem updating trackstat rating with Custom Scan plugin (Rating tag module) #103

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which plugin is the bug/enhancement related to ?
Custom Scan plugin / Rating tag module

What version of SlimServer/SqueezeCeneter are you using? On what operating
system?
Version : 7.5.2 - r31632
OS : Windows seven

Could you describe the problem or enhancment ?
1)Actions:
- I modify the rating tag in a file (using Media Monkey)
- I make a rescan

2)Results:
The new rating value is well updated in the following tables:
- customscan_track_attributes
- tracks_persistent

But not in the table: track_statistics
In that table, the old value of the rating remains unchanged

What steps will reproduce the problem?
See above

Original issue reported on code.google.com by cmartim...@live.fr on 30 Dec 2010 at 1:29

GoogleCodeExporter commented 8 years ago
Do you have TrackStat installed and enabled ?

Can you enable debug logging of "plugin.customscan" in SBS 
Settings/Advanced/Logging and see if you get log messages like:
"Setting TrackStat rating on..."
or
"Setting Squeezebox Server rating on..."

Original comment by erlan...@telia.com on 30 Dec 2010 at 2:18

GoogleCodeExporter commented 8 years ago
Thanks for your very quick answer

Yes TrackStat is installed and enabled

After enabling debug logging in customscan and trackstat, i restarted 
squeezebox server
and made a rescan.
As I am in a testing phase with the new version of squeezebox server, there are 
only 2 tracks in my library (1 flac + 1 mp3).
I attached the server.log.

As you will see at the end of the file, i get message like:
"Setting Squeezebox Server rating on..."

but no message like: "Setting TrackStat rating on..."

This corresponds to the result that I see in the tables.
But I do not understand what is happening.

I must add that I'm just testing the squeezebox server, but without player 
connected.
(i'm currently in holiday, out of home, with just my PC. The player stayed at 
home) 
I do not think this can explain the problem.

Original comment by cmartim...@live.fr on 30 Dec 2010 at 10:25

Attachments:

GoogleCodeExporter commented 8 years ago
I think it will work when you connect a player. 

Original comment by erlan...@telia.com on 30 Dec 2010 at 11:39

GoogleCodeExporter commented 8 years ago
I will try next week, with the player connected, and let you know the result.

Original comment by cmartim...@live.fr on 30 Dec 2010 at 12:47

GoogleCodeExporter commented 8 years ago
As you said last week, it works well with the player connected.
Thank you for your help and sorry for the inconvenience.

Original comment by cmartim...@live.fr on 5 Jan 2011 at 3:11

GoogleCodeExporter commented 8 years ago

Original comment by erlan...@telia.com on 5 Jan 2011 at 3:59