Topic: [OFFENSIVE] Rating based playback and random mode (Read 5137 times)
0 Members and 1 Guest are viewing this topic.

## [OFFENSIVE] Rating based playback and random mode

##### 2003-09-12 07:52:10
The more I think for my idea of rating based playback & random mode, the more I like it.
Let's say you have a playlist loaded with 236 songs. In normal random mode the chance of playing #28 is equal to playing #186 which is equal to #12. All songs have equal chance to be played.
OK, but you know, that you like some songs more, some no so much etc.
Let's say you have 10 songs in a folder. Song #1 is your least favorite and song #10 is your all-time best favorite. Then you load into your playlist song #1 once, song #2 twice, song #3 three times... song #10 - 10 times. Now when you select random mode, the chance of playing #10 is much greater than playing #1.
I many times load to my playlists my favorite songs 2 or 3 times, just to increase the chance of playing them in random mode.
My idea is to "embed" the rating info into the file itself, I don't know, maybe ID3v2 could be used, may be even ID3v1 (like newer version of ID3v1).
The rating system I imagine is 0 - 10 with 0 meaning no play (a song with 0 rating will exist in playlist, but will not play at all, just will be skipped during random mode. If you select it manuallly, it will play), 5 meaning "normal" rating (like if there is no rating at all, no priority to this song. If your songs have all rating of 5, they will be played like they are played now).

Rating 0 - No play
Rating 1 - Normal priority -4
Rating 2 - Normal priority -3
Rating 3 - Normal priority -2
Rating 4 - Normal priority -1
Rating 5 - Normal priority (=no priority at all)
Rating 6 - Normal priority +1
Rating 7 - Normal priority +2
Rating 8 - Normal priority +3
Rating 9 - Normal priority +4
Rating 10 - Normal priority +5 (Biggest priority)

I don't know mathematics much, but I am sure, that a formulae (algorhytm) can be created, to select random songs, with a touch of priority. I can imagine even a slider, selecting "Priority weight" for random mode - with "0" meaning no ratings will be used (like what random mode is now) and "Max" where ratings will weight a lot. There can be even "reverse rating" mode, which means playing rated "1" songs most. If you want to listen to your least favorite songs, for example.
The posibilities are many.
The rating system will be useable also for normal (not random) modes, you can sort your songs by rating etc.

If I only had the knowledge and abilities to implement it...

## [OFFENSIVE] Rating based playback and random mode

##### Reply #1 – 2003-09-12 08:24:47
Well, this post really belongs in the foobar forum.
And you should not double post.

Using APE2 tags you can add your rating attibute, then you could have a playback plugin for foobar that would use that attribute in just the way you want it.
I cannot implement it either, so all that's left for you is hope than somebody will pickup this idea and make it a reality.
I'm the one in the picture, sitting on a giant cabbage in Mexico, circa 1978.
Reseñas de Rock en Español: www.estadogeneral.com

## [OFFENSIVE] Rating based playback and random mode

##### Reply #2 – 2003-09-12 12:47:50
How come, that my idea belongs to foobar forum?
My idea is applicable to every king of audio file, and even video files, as well.
I never looked into the foobar forum, never looked at the Foobar itself, and I promise - I will never do, even it becames the best and only player in the world. That's because on every post, every topic, appears somebody, who says: "Foobar this, Foobar that".
And my idea, if it's any good, and will be implemented one day, I even hope that iRiver will embed it in their players. Other companies too. I'm afraid, that every company will write their own algorhytm implementing Raings, but maybe that's for good.

No more Foobar stuff in this topic, please.

## [OFFENSIVE] Rating based playback and random mode

##### Reply #3 – 2003-09-12 13:12:15
[span style='font-size:7pt;line-height:100%'](deleted - posted to wrong thread)[/span]

## [OFFENSIVE] Rating based playback and random mode

##### Reply #4 – 2003-09-12 14:33:31
This is an interesting idea, but, of course, you'ld have to make sure that
when your "modified-random-order" player was in use, it wouldn't count
those statistics, or it would become "self-selective", if you know
what I mean.

Dex

## [OFFENSIVE] Rating based playback and random mode

##### Reply #5 – 2003-09-12 15:15:55
Quote
And my idea, if it's any good, and will be implemented one day, I even hope that iRiver will embed it in their players. Other companies too. I'm afraid, that every company will write their own algorhytm implementing Raings, but maybe that's for good.

No more Foobar stuff in this topic, please.

Well, you must be quite unlucky (if there's such a thing as luck), to come across so many trolling posts and threads in the non-foobar forums (oops I used the word foobar; oops, double oops) .

Your idea was suggested before, but, yes, in the Foo*** forum. I don't have anything against such an implementation, although I do not find the need to ever use it. My point of debate is, as was discussed, why would one buy or download (ahem) a song one does not like?

## [OFFENSIVE] Rating based playback and random mode

##### Reply #6 – 2003-09-12 15:37:45
Quote

Well, this particular point is easy to debate.      I keep all the music in one general folder, (Music), whether it be mine, my wife's, or my teenage son's.  Also, there are many CD's I buy where I only care for a song or two.  I still like to keep the album intact, both for archival purposes, and that someone else might like a song that I don't.

If I select "random" play, and also select the overall music folder, alot of stuff gets played that I don't want to hear.  It would be nice if the song's could be "tagged" with some sort of user-ID, then random be started with some sort of "profile".  If user "A" was playing in random mode, only songs with "A" user-ID would be selected.

Or something like that.  Dex

## [OFFENSIVE] Rating based playback and random mode

##### Reply #7 – 2003-09-12 17:00:27
I've thought about that. Until I dare to write my own software, I figured it was just easier to create a playlist of the files I liked, and shuffle it.

If you play with the settings and selection in Media Jukebox (Media Center now, isn't it?) you can get close. But you'll have to set it manually.

Cheers,
David.

## [OFFENSIVE] Rating based playback and random mode

##### Reply #8 – 2003-09-12 17:11:34
Have you tried dBPowerAmp's player and database?  It already has a rating system very much like what you are describing.

## [OFFENSIVE] Rating based playback and random mode

##### Reply #9 – 2003-09-12 17:32:50
Quote
. . . I figured it was just easier to create a playlist of the files I liked, and shuffle it.

Heh-heh . . . now don't go muddying things up with common sense!

Dex

## [OFFENSIVE] Rating based playback and random mode

##### Reply #10 – 2003-09-12 18:50:34
"I never looked into the foobar forum, never looked at the Foobar itself, and I promise - I will never do, even it becames the best and only player in the world. That's because on every post, every topic, appears somebody, who says: "Foobar this, Foobar that"."

Then you will have to live with the choices one makes in life, and I don't have to listen to what you play, thankfully.
In Case Of Bose, Break Glass
Flac yuo in teh ASIO!

## [OFFENSIVE] Rating based playback and random mode

##### Reply #11 – 2003-09-12 19:22:29
Quote

I use a very very light version of this in my playlist formatting for The-Player-That Must-Not-Be-Named. I simply add a %trackrating% tag to the files that I want to remember.

I rate them like this:
0 = good
1 = better
2 = best

Then a small colored symbol will show up in my playlist at the end of the line, and I'll be able to distinguish these tracks from the others.
I find three levels adequate and usable. 10 levels might be ok if it's based on the number of times you have played a track or something, but there's no way I would be able to utilize 10 levels for manual use. The reason I use this at all is that after a while I tend to forget about quite a few of the good tracks on an album.

I think the idea is quite good and it sound like something that could be done by somebody with the required skills, but until a plugin for You-Know-What-Player appears I'll stick to:
Add all files -> sort by %trackrating% -> select all rated tracks -> crop -> random playback.

## [OFFENSIVE] Rating based playback and random mode

##### Reply #12 – 2003-09-12 19:26:53
Quote
The-Player-That Must-Not-Be-Named

Quote
You-Know-What-Player

(w00t)

## [OFFENSIVE] Rating based playback and random mode

##### Reply #13 – 2003-09-12 19:47:29
LongPlayer

It does, almost exactly, what you're looking for, though it is Winamp (and XMMS) specific.

It uses its own database to store the ratings, songs can be rated 1-10, and I'm pretty sure there's a couple sliders to fine-tune the behavior a bit.

If anyone was curious about porting such a feature into other players, then here's a nice, already-written engine that could be used.  The last time I looked at the source code, it seemed to be reasonably readable and modular.  My C++ isn't that great though, so I could be completely wrong about that.

## [OFFENSIVE] Rating based playback and random mode

##### Reply #14 – 2003-09-12 19:48:15
Quote
My idea is applicable to every king of audio file, and even video files, as well.

Indeed, but I don't see it happening, they way you want it too anywhere else than in foobar2000
That's because foobar2000 has a really good SDK and a very knowledgeable and open-minded user base that could, maybe be talked into implementing this kinda thing.

Quote
And my idea, if it's any good, and will be implemented one day, I even hope that iRiver will embed it in their players. Other companies too. I'm afraid, that every company will write their own algorhytm implementing Raings, but maybe that's for good.

iRiver players? They are great for sure, but, as you where told before, the best tag to hold this kind of meta-information is APE2 tag, and only foobar2000 supports those.

Quote
No more Foobar stuff in this topic, please

I'm the one in the picture, sitting on a giant cabbage in Mexico, circa 1978.
Reseñas de Rock en Español: www.estadogeneral.com

## [OFFENSIVE] Rating based playback and random mode

##### Reply #15 – 2003-09-12 21:17:19
OKFoobar2000, I'veFoobar2000 readFoobar2000 thatFoobar2000 someFoobar2000 kindFoobar2000 ofFoobar2000 aFoobar2000 ratingFoobar2000 systemFoobar2000 existsFoobar2000 inFoobar2000 differentFoobar2000 formsFoobar2000, inFoobar2000 differentFoobar2000 playersFoobar2000. ThereFoobar2000 areFoobar2000 alsoFoobar2000 otherFoobar2000 possibleFoobar2000 solutionsFoobar2000, toFoobar2000 achieveFoobar2000 similarFoobar2000 resultFoobar2000. AsFoobar2000 IFoobar2000 mentionedFoobar2000 inFoobar2000 myFoobar2000 firstFoobar2000 postFoobar2000, evenFoobar2000 IFoobar2000 figuredFoobar2000 outFoobar2000 aFoobar2000 wayFoobar2000 toFoobar2000 achieveFoobar2000 similarFoobar2000 resultsFoobar2000 -Foobar2000 IFoobar2000 simplyFoobar2000 addFoobar2000 myFoobar2000 favoriteFoobar2000 songsFoobar2000 moreFoobar2000 thanFoobar2000 onceFoobar2000, toFoobar2000 increaseFoobar2000 theirFoobar2000 chancesFoobar2000 ofFoobar2000 playingFoobar2000. ThereFoobar2000 areFoobar2000 manyFoobar2000 possibleFoobar2000 solutionsFoobar2000.
IFoobar2000 wasFoobar2000 thinkingFoobar2000 ofFoobar2000 oneFoobar2000, generalFoobar2000, standardFoobar2000 wayFoobar2000, whichFoobar2000 canFoobar2000 beFoobar2000 (orFoobar2000 notFoobar2000 beFoobar2000) implementedFoobar2000 inFoobar2000 differentFoobar2000 hardwareFoobar2000 andFoobar2000 softwareFoobar2000 playersFoobar2000. EachFoobar2000 ofFoobar2000 themFoobar2000 wilFoobar2000l haveFoobar2000 possiblyFoobar2000 differentFoobar2000 algorhytmFoobar2000, butFoobar2000 theFoobar2000 wayFoobar2000 toFoobar2000 achieveFoobar2000 thisFoobar2000 (viaFoobar2000 standartizedFoobar2000 ratingFoobar2000 tagsFoobar2000 orFoobar2000 soFoobar2000) willFoobar2000 beFoobar2000 oneFoobar2000.
YouFoobar2000 knowFoobar2000, thereFoobar2000 areFoobar2000 manyFoobar2000 waysFoobar2000 (andFoobar2000 reasonsFoobar2000) forFoobar2000 somethingFoobar2000 notFoobar2000 toFoobar2000 beFoobar2000 doneFoobar2000, butFoobar2000 usuallyFoobar2000 lessFoobar2000 waysFoobar2000 toFoobar2000 doFoobar2000 somethingFoobar2000.

P.S. Foobar2000

## [OFFENSIVE] Rating based playback and random mode

##### Reply #16 – 2003-09-12 21:32:26
Quote
OKFoobar2000, I'veFoobar2000 readFoobar2000 thatFoobar2000 someFoobar2000 kindFoobar2000 ofFoobar2000 aFoobar2000 ratingFoobar2000 systemFoobar2000 existsFoobar2000 inFoobar2000 differentFoobar2000 formsFoobar2000, inFoobar2000 differentFoobar2000 playersFoobar2000. ThereFoobar2000 areFoobar2000 alsoFoobar2000 otherFoobar2000 possibleFoobar2000 solutionsFoobar2000, toFoobar2000 achieveFoobar2000 similarFoobar2000 resultFoobar2000. AsFoobar2000 IFoobar2000 mentionedFoobar2000 inFoobar2000 myFoobar2000 firstFoobar2000 postFoobar2000, evenFoobar2000 IFoobar2000 figuredFoobar2000 outFoobar2000 aFoobar2000 wayFoobar2000 toFoobar2000 achieveFoobar2000 similarFoobar2000 resultsFoobar2000 -Foobar2000 IFoobar2000 simplyFoobar2000 addFoobar2000 myFoobar2000 favoriteFoobar2000 songsFoobar2000 moreFoobar2000 thanFoobar2000 onceFoobar2000, toFoobar2000 increaseFoobar2000 theirFoobar2000 chancesFoobar2000 ofFoobar2000 playingFoobar2000. ThereFoobar2000 areFoobar2000 manyFoobar2000 possibleFoobar2000 solutionsFoobar2000.
IFoobar2000 wasFoobar2000 thinkingFoobar2000 ofFoobar2000 oneFoobar2000, generalFoobar2000, standardFoobar2000 wayFoobar2000, whichFoobar2000 canFoobar2000 beFoobar2000 (orFoobar2000 notFoobar2000 beFoobar2000) implementedFoobar2000 inFoobar2000 differentFoobar2000 hardwareFoobar2000 andFoobar2000 softwareFoobar2000 playersFoobar2000. EachFoobar2000 ofFoobar2000 themFoobar2000 wilFoobar2000l haveFoobar2000 possiblyFoobar2000 differentFoobar2000 algorhytmFoobar2000, butFoobar2000 theFoobar2000 wayFoobar2000 toFoobar2000 achieveFoobar2000 thisFoobar2000 (viaFoobar2000 standartizedFoobar2000 ratingFoobar2000 tagsFoobar2000 orFoobar2000 soFoobar2000) willFoobar2000 beFoobar2000 oneFoobar2000.
YouFoobar2000 knowFoobar2000, thereFoobar2000 areFoobar2000 manyFoobar2000 waysFoobar2000 (andFoobar2000 reasonsFoobar2000) forFoobar2000 somethingFoobar2000 notFoobar2000 toFoobar2000 beFoobar2000 doneFoobar2000, butFoobar2000 usuallyFoobar2000 lessFoobar2000 waysFoobar2000 toFoobar2000 doFoobar2000 somethingFoobar2000.

P.S. Foobar2000

you mean fb2k?
PANIC: CPU 1: Cache Error (unrecoverable - dcache data) Eframe = 0x90000000208cf3b8
NOTICE - cpu 0 didn't dump TLB, may be hung

## [OFFENSIVE] Rating based playback and random mode

##### Reply #17 – 2003-09-12 21:35:06
I think I was clear enough.
If you still don't understand what I mean, see my previous post.