Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 10 of 10
  1. #1
    Junior Member
    Join Date
    Jul 2010
    Posts
    13

    Custom skip plugin: skip low rating

    Hi,
    I just wanted to use the custom skip plugin to skip the low ratings (=1) songs when set. No rating, no skip. Higher than 1, no skip.
    But how do I do that ?
    I don't have any rating criteria on the filter creation page.
    Here is what I have :
    >>
    Select type of filter item to add to filter set

    Album Skip songs from selected album
    Artist Skip songs by selected artist
    Genre Skip songs in selected genre
    Greater Than Year Skip songs newer or equal to selected year
    Less Than Year Skip songs older or equal to selected year
    Long songs Skip long songs
    Lossless Skip songs with lossless formats
    Lossy Skip songs with lossy formats
    Not album Skip songs not from selected album
    Not artist Skip songs not by selected artist
    Not genre Skip songs not in selected genre
    Not playlist Skip songs not in selected playlist
    Playlist Skip songs in selected playlist
    Recently added album Skip songs from albums that have been recently added to current dynamic playlist
    Recently added artist Skip songs by artists that have been recently added to current dynamic playlist
    Short songs Skip short songs
    Song Skip selected song
    Zapped Skip songs in zapped playlist
    >>

    Thanks for help !

  2. #2
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,313
    You need to have TrackStat installed and licensed since the rating support in Custom Skip relies on TrackStat plugin.
    After installing TrackStat you should get a "Rated (TrackStat)" skipping type which you can use which have exactly the behavior you want.

    You can apply for a 30 day free evaluation license of TrackStat to verify that it works as you like before you make the purchase. You will find the evaluation license link on the same page as the PayPal BuyNow buttons.
    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.

  3. #3
    Junior Member
    Join Date
    Jul 2010
    Posts
    13
    Quote Originally Posted by erland View Post
    You need to have TrackStat installed and licensed since the rating support in Custom Skip relies on TrackStat plugin.
    After installing TrackStat you should get a "Rated (TrackStat)" skipping type which you can use which have exactly the behavior you want.

    You can apply for a 30 day free evaluation license of TrackStat to verify that it works as you like before you make the purchase. You will find the evaluation license link on the same page as the PayPal BuyNow buttons.
    Hi Erland, thanks for your answer
    I have the trackstat, the SQL playlist and dynamic playlist plugins installed and licensed when needed. They work all great.
    But still doesn't have the "rating" filter item in the list.
    Anyway, I have a problem with my install of the plugin : after my post I tried to add some other filter item to an existing filter, doesn't seem to work.
    I selected "Skip songs in selected genre" then next screen is
    Enter filter item parameters
    (nothing)
    save button
    If I click on save I've the error message :

    Error: Filename must end with .cs.xml

    I did many trials, but didn't succed
    Thanks a lot for your assistance

  4. #4
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,313
    Quote Originally Posted by Antoniop View Post
    Hi Erland, thanks for your answer
    I have the trackstat, the SQL playlist and dynamic playlist plugins installed and licensed when needed. They work all great.
    But still doesn't have the "rating" filter item in the list.
    Try restarting LMS after you have verified that TrackStat is licensed, I think the "Rating (TrackStat)" item might not appear until after a restart after the license has been activated.

    Quote Originally Posted by Antoniop View Post
    Anyway, I have a problem with my install of the plugin : after my post I tried to add some other filter item to an existing filter, doesn't seem to work.
    I selected "Skip songs in selected genre" then next screen is
    Enter filter item parameters
    (nothing)
    save button
    If I click on save I've the error message :

    Error: Filename must end with .cs.xml

    I did many trials, but didn't succed
    Thanks a lot for your assistance
    Hmm, that's strange, can you:
    1. Goto LMS Settings/Advanced/Custom Skip and check which value the "Filter directory" directory is set to
    2. Goto this directory with a file manager and check if you have any file which is named similar as the filter set you try to edit, does the file have a *.cs.xml extension at the end of the file name ? What is the complete filename of the file ?

    If you had to specify a filename when creating the filter item, it means you created a new filter, what did you specify in the "File name" parameter ?
    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.

  5. #5
    Junior Member
    Join Date
    Jul 2010
    Posts
    13

    Same thing

    You're right, I hadn't the licence on trackstat. Done now.
    Restarted LMS. I had to kill it because it didn't want to stop. Since I have MusicIp enabled too, this might be the cause.
    About the filter skiping.
    I checked the filter directory, look ok.
    I tried to create a new filter set.
    My filter name is "Low_rating"
    When I look at the filter directory there is a file :
    Low_rating.cs.xml
    owned by the squeezeboxserver
    But same problem, now I tried to add a rating filter value but there's no selection box.

    Thanks a lot

  6. #6
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,313
    Quote Originally Posted by Antoniop View Post
    You're right, I hadn't the licence on trackstat. Done now.
    Restarted LMS. I had to kill it because it didn't want to stop. Since I have MusicIp enabled too, this might be the cause.
    About the filter skiping.
    I checked the filter directory, look ok.
    I tried to create a new filter set.
    My filter name is "Low_rating"
    When I look at the filter directory there is a file :
    Low_rating.cs.xml
    owned by the squeezeboxserver
    But same problem, now I tried to add a rating filter value but there's no selection box.

    Thanks a lot
    1. Can you check if there are any errors in the server.log file or post it if you don't know how to interpret it, you will find it through SBS/LMS Settings/Advanced/Logging.
    2. Can you post a screenshot of how it looks like when you get the error, I tried creating a filter called Low_rating in my own setup with a Rating filter item and that work so there has to be something different in your setup that's causing it.
    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.

  7. #7
    Junior Member
    Join Date
    Jul 2010
    Posts
    13
    Server log,
    I restarted LMS and then tried to modify my Low_rating filter :

    >>>
    [12-07-21 17:20:36.1986] main::init (354) Starting Logitech Media Server (v7.7.2, r33893, Wed Mar 14 06:31:06 MDT 2012) perl 5.014002

    >>>
    Well, nothing special

    Here is the screen capture

    Name:  skipfilter.jpg
Views: 50
Size:  10.7 KB

    (it's so small, I don't know why)

  8. #8
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,313
    I think you have found a bug.

    Fortunately there seems to be an easy work around.
    When selecting the "Rating (TrackStat)" item, make sure to click on the "Rating (TrackStat)" text and not on the "Skip tracks with a low rating".
    Clicking on "Skip tracks with a low rating" gives the same result in my setup as your screenshot and this is the bug, that link is incorrect.

    Let me know if this solves the problem.
    If it solves it, I'll try to release a new TrackStat or Custom Skip version in the near future that corrects it.
    Last edited by erland; 2012-07-22 at 04:01.
    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.

  9. #9
    Junior Member
    Join Date
    Jul 2010
    Posts
    13
    Quote Originally Posted by erland View Post
    I think you have found a bug.

    Fortunately there seems to be an easy work around.
    When selecting the "Rating (TrackStat)" item, make sure to click on the "Rating (TrackStat)" text and not on the "Skip tracks with a low rating".
    Clicking on "Skip tracks with a low rating" gives the same result in my setup as your screenshot and this is the bug, that link is incorrect.

    Let me know if this solves the problem.
    If it solves it, I'll try to release a new TrackStat or Custom Skip version in the near future that corrects it.
    Yes, it seems to work. I'll do some testing and I'll let you know.
    Thanks a lot !

  10. #10
    Junior Member
    Join Date
    Jul 2010
    Posts
    13
    Quote Originally Posted by Antoniop View Post
    Yes, it seems to work. I'll do some testing and I'll let you know.
    Thanks a lot !
    Yes it's fine !
    Many thanks for this and all your work !
    Antonio

Posting Permissions

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