I knew it was probably going to be a bad idea to click the "Delete
Unused Statistics" button. I can't say for certain that it was the
culprit, but I'm leaning towards it.

Problem: I can't rate any tracks. When I do I get "bad params" in the
server.log (with plugin.trackstat set to DEBUG).


Code:
--------------------
    
  [20-08-30 16:57:27.7119] main::init (387) Starting Logitech Media Server 
(v7.9.3, 1597753178, Sun Aug 23 19:27:27 CEST 2020) perl 5.028002 - 
arm-linux-gnueabihf-thread-multi-64int
  [20-08-30 17:06:29.3560] Plugins::TrackStat::Storage::findTrack (533) 
findTrack(): URL: 
tmp:///Music/lossless/Big%20Audio%20Dynamite/The%20Globe/1991%20-%201-1%20-%20Rush.flac
  [20-08-30 17:06:32.2934] Plugins::TrackStat::Plugin::getRatingMenu (3554) 
Entering getRatingMenu
  [20-08-30 17:06:32.2949] Plugins::TrackStat::Plugin::getRatingMenu (3617) 
Exiting getRatingMenu
  [20-08-30 17:06:35.0331] Plugins::TrackStat::Plugin::setCLIRating (4757) 
Entering setCLIRating
  [20-08-30 17:06:35.0415] Plugins::TrackStat::Plugin::setCLIRating (4819) 
Track -126428440 not found
  [20-08-30 17:06:35.0422] Plugins::TrackStat::Plugin::setCLIRating (4821) 
Exiting setCLIRating
  [20-08-30 17:06:35.0430] Slim::Web::JSONRPC::requestMethod (455) Request 
failed with error: Bad params!
  
--------------------


I've tried nearly everything I can think of to fix the issue, but I'm
clearly missing something or not doing things in the correct order. What
I have tried (or believe I have tried):

1. Uninstall TrackStat. Restart LMS. Reinstall Trackstat.
2. Stop LMS. Remove TrackStat prefs. Restart LMS. 
3. Stop LMS. Rename persist.db, library.db. Restart LMS. LMS
automatically rebuilds these files.
4. Stop LMS. Uninstall LMS. Reinstall LMS.
5. Install TrackStat. Restart LMS.

I gather that TrackStat is not finding Track 126428440 in some database.
It's not clear to me which database the track cannot be found in nor why
(other than "bad params").

A search of the forums (using Google so I could search for the exact
phrase 'bad params') turned up no one having this issue before -- no
surprise. 

I have backups of my ratings, so all options are on the table for me. 

Any hints?


------------------------------------------------------------------------
prabbit's Profile: http://forums.slimdevices.com/member.php?userid=11142
View this thread: http://forums.slimdevices.com/showthread.php?t=112859

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

Reply via email to