Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 9 of 9
  1. #1
    Senior Member
    Join Date
    Jun 2006
    Location
    Colchester, UK
    Posts
    336

    TrackStat - how do I enable the ratings buttons?

    I've just installed TrackStat, but I think I'm missing something obvious.....

    I believe that I should be able to rate tracks by holding a 0-5 key on the remote. Unfortunately when I do this I just get a "Favorite is not defined" message.

    Is there something I need to set to change the key mapping for these buttons?

    Thanks in advance,

    Richard

  2. #2
    Senior Member
    Join Date
    Mar 2006
    Location
    Sydney, Australia
    Posts
    1,166
    It should be automatically on. It may simply be that you are not holding the button long enough (short press: jump to favorite, long press: rate).

  3. #3
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,318
    Quote Originally Posted by SadGamerGeek View Post
    I believe that I should be able to rate tracks by holding a 0-5 key on the remote. Unfortunately when I do this I just get a "Favorite is not defined" message.
    Rating buttons currently only works in "Now Playing" menu and in "TrackStat" menu. You are probably standing in one of the browse menu where the rating buttons isn't enabled and then you will get the favorite commands instead.
    Erland Isaksson (My homepage)
    (Developer of many plugins/applets (both free and commercial).
    If you like to encourage future presence on this forum and/or third party plugin/applet development, consider purchasing some plugins)
    You may also want to try my Android apps Squeeze Display and RSS Photo Show
    Interested in the future of music streaming ? ickStream - A world of music at your fingertips.

  4. #4
    Senior Member
    Join Date
    Jun 2006
    Location
    Colchester, UK
    Posts
    336
    Quote Originally Posted by erland View Post
    Rating buttons currently only works in "Now Playing" menu and in "TrackStat" menu. You are probably standing in one of the browse menu where the rating buttons isn't enabled and then you will get the favorite commands instead.
    Unfortunately I can't seem to get it to work in the Now Playing menu either, I still just get "Playlist .. not defined" (no matter how long I hold the buttons down).

    I'm not sure if any other plugins could be causing a problem? I use SlimScrobbler, LastFM, LazySearch & MusicInfoScr. I'm running a recent 6.5.1 on Linux (Fedora FC5).

    Cheers,

    Richard

  5. #5
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,318
    Quote Originally Posted by SadGamerGeek View Post
    Unfortunately I can't seem to get it to work in the Now Playing menu either, I still just get "Playlist .. not defined" (no matter how long I hold the buttons down).
    1.
    Which TrackStat version are running ?
    You will need at least 1.28.2 if you are running 6.5.1 of slimserver, 1.28.1 works with 6.5.0 but not with 6.5.1.

    2.
    Is the TrackStat menu availabe under Plugins or is that missing too ? If its missing TrackStat is probably not started, for some reason. In that case startup slimserver manually with "slimserver.pl --d_plugins --d_startup" and post the log here or mail it to me.

    3.
    Could you enable debugging in the TrackStat settings page in the web interface and restart slimserver and post the log ?
    Erland Isaksson (My homepage)
    (Developer of many plugins/applets (both free and commercial).
    If you like to encourage future presence on this forum and/or third party plugin/applet development, consider purchasing some plugins)
    You may also want to try my Android apps Squeeze Display and RSS Photo Show
    Interested in the future of music streaming ? ickStream - A world of music at your fingertips.

  6. #6
    Senior Member
    Join Date
    Jun 2006
    Location
    Colchester, UK
    Posts
    336
    Quote Originally Posted by erland View Post
    Which TrackStat version are running ?
    You will need at least 1.28.2 if you are running 6.5.1 of slimserver, 1.28.1 works with 6.5.0 but not with 6.5.1.
    It is version 1.28.2


    Is the TrackStat menu availabe under Plugins or is that missing too ? If its missing TrackStat is probably not started, for some reason. In that case startup slimserver manually with "slimserver.pl --d_plugins --d_startup" and post the log here or mail it to me.
    It is available under Plugins (via web & SB).

    Could you enable debugging in the TrackStat settings page in the web interface and restart slimserver and post the log ?
    No problems.
    I tried holding "4" from Now Playing while playing a track, and this is all that was written to the log:
    2006-10-04 19:35:29.2075 TrackStat: Entering commandCallback65
    2006-10-04 19:35:29.2105 TrackStat: Exiting commandCallback65
    2006-10-04 19:35:29.3681 TrackStat: Entering commandCallback65
    2006-10-04 19:35:29.3713 TrackStat: Exiting commandCallback65
    2006-10-04 19:35:29.3778 TrackStat: Entering commandCallback65
    2006-10-04 19:35:29.3804 TrackStat: Starting a new song
    2006-10-04 19:35:29.4984 TrackStat: Starting to time file:///public/audio/music/The%20Buggles/The%20Age%20of%20Plastic/06%20Elstree.mp3
    2006-10-04 19:35:29.5010 TrackStat: Exiting commandCallback65
    2006-10-04 19:35:29.8427 TrackStat: Entering commandCallback65
    2006-10-04 19:35:29.8463 TrackStat: Exiting commandCallback65

    Interestingly, I've just noticed something else happening:

    1. I play a track, then press "Now Playing". The screen shows "playlist 6 of 11"
    2. I press "4" and hold it....
    3. (keep holding 4) Screen changes to "playlist 4 of 11"
    4. (keep holding 4) Screen changes to "favorite 4 not defined")
    5. (keep holding 4) Screen returns to "playlist 4 of 11"
    6. Nothing else happens, so I release button

    Thanks again for your help,

    Richard
    Last edited by SadGamerGeek; 2006-10-04 at 11:49.

  7. #7
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,318
    Have you changed the keymapping manually for any other plugin ?
    Erland Isaksson (My homepage)
    (Developer of many plugins/applets (both free and commercial).
    If you like to encourage future presence on this forum and/or third party plugin/applet development, consider purchasing some plugins)
    You may also want to try my Android apps Squeeze Display and RSS Photo Show
    Interested in the future of music streaming ? ickStream - A world of music at your fingertips.

  8. #8
    Senior Member
    Join Date
    Jun 2006
    Location
    Colchester, UK
    Posts
    336
    Quote Originally Posted by erland View Post
    Have you changed the keymapping manually for any other plugin ?
    Red face time.......

    Yes, I did have a custom button function set with the following additions:

    Code:
    # LastFM skip/love/ban           
    arrow_right.hold = lastfm_skip
    arrow_up.hold = lastfm_love
    arrow_down.hold = lastfm_ban
    As those were the only changes (no numeric button related changes) I didn't think this would have any effect.

    Is there an easy way to get the trackstat numbers working at the same time as the LastFM arrows? Would I have to add the LastFM arrow settings to the Default.map file?

    Many apologies for wasting everyone's time - I really should have been able to suss this out myself!

    Thanks for all the help,

    Richard

  9. #9
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,318
    Slimserver doesn't allow a plugin to change the settings for the same mode where key mappings already exists. I haven't setup custom key mappings manually myself so I am not completely sure how its done. How did you setup the LastFM settings, did you just modify the Default.map file ?

    If you created a [playlist] section in the Default.map file or some other file and put the custom LastFM keymappings there I am sure this is the problem. TrackStat tries to change the settings in the [playlist] section and would fail if it already exists.

    Anyway, what you would need to do is probably just to also add the TrackStat settings manually to the [playlist] section in the same way as you did with LastFM. The TrackStat settings should be something like:

    Code:
    0.hold = saveRating_0
    1.hold = saveRating_1
    2.hold = saveRating_2
    3.hold = saveRating_3
    4.hold = saveRating_4
    5.hold = saveRating_5
    0.single = numberScroll_0
    1.single = numberScroll_1
    2.single = numberScroll_2
    3.single = numberScroll_3
    4.single = numberScroll_4
    5.single = numberScroll_5
    0 = dead
    1 = dead
    2 = dead
    3 = dead
    4 = dead
    5 = dead
    You probably just need the *.hold rows to get it to work, but TrackStat setup all the rows listed above.
    Erland Isaksson (My homepage)
    (Developer of many plugins/applets (both free and commercial).
    If you like to encourage future presence on this forum and/or third party plugin/applet development, consider purchasing some plugins)
    You may also want to try my Android apps Squeeze Display and RSS Photo Show
    Interested in the future of music streaming ? ickStream - A world of music at your fingertips.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •