Skip songs with a rating of zero?

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Skip songs with a rating of zero?

Re: Skip songs with a rating of zero?

by deremder » Mon Aug 06, 2018 8:34 pm

I think, just creating an auto-playlist with rating > (whatever) is the solution. You can also create a new collection in the same way.

Re: Skip songs with a rating of zero?

by rivorson » Mon Jul 16, 2018 6:53 pm

tangonat wrote: Tue May 08, 2018 7:23 pm The script below was provided by Loe. It is exactly what I want but when I try to run it in the scripts/Auto folder I get an error on execution. Since I am not a coder, I can't spot the error. Can anyone help? Many thanks.


Sub OnStartup
Script.RegisterEvent SDB, "OnPlay", "SkipBelowRating" 'Register SkipBelowRating on OnPlay event
End sub

Sub SkipBelowRating
Dim min_rating
min_rating = 16
If (SDB.Player.CurrentSong.Rating < min_rating) And (SDB.Player.CurrentSong.Rating > -1) Then
SDB.Player.Next
End If
End Sub
Try this:

Code: Select all

Sub OnStartup()
Script.RegisterEvent SDB, "OnPlay", "SkipBelowRating" 'Register SkipBelowRating on OnPlay event
End sub

Sub SkipBelowRating()
Dim min_rating
min_rating = 16
If (SDB.Player.CurrentSong.Rating < min_rating) And (SDB.Player.CurrentSong.Rating > -1) Then
SDB.Player.Next
End If
End Sub

Re: Skip songs with a rating of zero?

by bateye23 » Mon Jul 16, 2018 4:44 am

tangonat wrote: Tue May 08, 2018 7:23 pm The script below was provided by Loe. It is exactly what I want but when I try to run it in the scripts/Auto folder I get an error on execution. Since I am not a coder, I can't spot the error. Can anyone help? Many thanks.


Sub OnStartup
Script.RegisterEvent SDB, "OnPlay", "SkipBelowRating" 'Register SkipBelowRating on OnPlay event
End sub

Sub SkipBelowRating
Dim min_rating
min_rating = 16
If (SDB.Player.CurrentSong.Rating < min_rating) And (SDB.Player.CurrentSong.Rating > -1) Then
SDB.Player.Next
End If
End Sub
It would be good if you post also the error code or screenshot of error you received so other viewers can respond to it or the mod. Thanks i'm also not a coder but I love to know how to solve this.

Re: Skip songs with a rating of zero?

by tangonat » Tue May 08, 2018 7:23 pm

The script below was provided by Loe. It is exactly what I want but when I try to run it in the scripts/Auto folder I get an error on execution. Since I am not a coder, I can't spot the error. Can anyone help? Many thanks.


Sub OnStartup
Script.RegisterEvent SDB, "OnPlay", "SkipBelowRating" 'Register SkipBelowRating on OnPlay event
End sub

Sub SkipBelowRating
Dim min_rating
min_rating = 16
If (SDB.Player.CurrentSong.Rating < min_rating) And (SDB.Player.CurrentSong.Rating > -1) Then
SDB.Player.Next
End If
End Sub

skip files from playing

by peto » Thu Nov 06, 2014 6:23 am

Hi,

I believe similar request (s?) have been made before..

but can a new symbol; representative of the following request; be set up say in the rating field to bypass playing a particular track/tracks when playing multiple tracks by album/artist etc. I wish to keep and display the track but not play it but could play the track directly if I wish, for example added bonus alternate tracks that may not be that good. I was hoping to avoid setting up multiple playlists/collections and still see what tracks are on the album or by the particular artist etc.

regards

Re: Set Files to Manual Only?

by nohitter151 » Wed Nov 05, 2014 7:18 pm

LightFoot wrote:Does MM have a function to set music files to play manually only? Holiday music, for example, I want to play only at that time of year rather than coming up in automatic shuffle play.

Thanks!
Yes in MM Gold you would create a custom collection to keep that kind of music separate.

Set Files to Manual Only?

by LightFoot » Wed Nov 05, 2014 1:48 pm

Does MM have a function to set music files to play manually only? Holiday music, for example, I want to play only at that time of year rather than coming up in automatic shuffle play.

Thanks!

Can MM Set Files To Not Play?

by LightFoot » Wed Nov 05, 2014 1:04 pm

Greetings ~ Can I set music files to not play automatically in MM? In other words, there are some music files (i.e. holiday music) that I only want to play manually.

Thank you!

Re: Skip songs with a rating of zero?

by lordphoenix » Fri Oct 24, 2014 1:07 pm

I realize my reply is a tad late (ok, a LOT late :) ), but THANKS!

Re: Skip songs with a rating of zero?

by trixmoto » Tue Jul 22, 2014 10:52 am

Yep, that should do the trick! :)

Re: Skip songs with a rating of zero?

by Loe » Mon Jul 21, 2014 2:27 pm

So I have been using MediaMonkey for a few days now and am using AutoRateAccurate to rate my songs from 1-5 Stars. I rate songs that I simply don't want to listen to anymore to 0.5 Stars manually.
I have done a quick search for a feature quite similar to the one that is requested in the OP. Since noone has provided you with a script, I have tried it myself for the last 30 minutes. The webhelp is good reference for such things.
This script runs a function every time the current song is changed and checks if the rating is between -1 and 16 (you can change the values in the script file, it's not that hard ;)).
Refer to this for the values.
If the rating is in the specified range, the song is skipped.
Simply put the code into a file called SkipBelowRating.vbs and copy it to your Scripts/Auto folder:

Code: Select all

Sub OnStartup
  Script.RegisterEvent SDB, "OnPlay", "SkipBelowRating" 'Register SkipBelowRating on OnPlay event
End sub
 
Sub SkipBelowRating
  Dim min_rating
  min_rating = 16
  If (SDB.Player.CurrentSong.Rating < min_rating) And (SDB.Player.CurrentSong.Rating > -1) Then
	SDB.Player.Next
  End If
End Sub
Have fun :)
PS: Just registered! First post - Yay :D

Re: Skip songs with a rating of zero?

by trixmoto » Sun Jul 20, 2014 4:51 pm

I've said this a few times already tonight, but this could be done by script. In this case, it would check the rating on play and simply click next for you.

Re: Skip songs with a rating of zero?

by lordphoenix » Wed Jul 16, 2014 7:24 pm

When I said "officially" I was just using a figure of speech :) I'll post it in the wishlist topic though.

I don't really want to delete the tracks because someday I might have a reason to listen to one of them (or maybe my taste in music just might change dramatically!). Skipping tracks with a rating of zero just makes perfect sense to me, and it couldn't be hard to implement (e.g. logic: if (rating == 0.0) nextTrack(); ).

Re: Skip songs with a rating of zero?

by MMFrLife » Wed Jul 16, 2014 7:06 pm

You can request anything you want within reason in the "wishlist" topic. Simply posting isn't an "official" thing. It can be in official regard if it is reported and then can become an official function if added. If you hate those tracks, the only reason to keep them would be for collector/historical interest purposes or a change in music tastes. If you don't have that invested in them they are extremely easy to batch delete. Yes, they are a pain to set, but paradoxically you still have to make a decision about them/rate them before you could have a feature to auto-skip them based on rating.

Re: Skip songs with a rating of zero?

by lordphoenix » Wed Jul 16, 2014 6:57 pm

Can I officially make that a feature request, then? Otherwise, what's the point of the zero/bomb rating? (which btw is a pain to set, as you have to right click->my rating->bomb). This would be a really nice feature since who wants to hear a song with a zero rating? :) I've thought about just deleting the tracks I hate, but it would be nice if the player would just automatically skip over them, which would allow me to play them if I really wanted to (by double clicking on them).

Top