I got a question, but I really don't know if its a question to carpman or yirkha
I'm using these newest components (only relevant ones)
- foobar2000 core 1.1.2
- Dynamic Fields 1 beta 3
- Playback Statistics 3.0.1
- Columns UI 0.3.8.7
I have a column with carpman's code from the start page of this thread
$puts(maxdar,11000)
$puts(mindar,8000)
$puts(maxsub,$sub($get(maxdar),0))
$puts(r3,$ifgreater(%_dynamic_rating%,$get(maxsub),$get(maxsub),%_dynamic_rating%))
$puts(r4,$ifgreater($get(r3),0,$get(r3),1))
$puts(minmax,$sub($get(maxdar),$get(mindar)))
$puts(darind1,$sub($get(r4),$get(mindar)))
$puts(darind2,$div($mul($get(darind1),10),$get(minmax)))
$puts(darind3,$ifgreater($get(darind2),1,$get(darind2),1))
$puts(display,$rgb(100,100,100)$repeat($char(9679),$get(darind3))$rgb(220,220,220)$repeat($char(9679),$sub(10,$get(darind3))))
$puts(notplayed,$rgb(200,200,200)- n/a -)
$ifgreater(%play_count%,0,$get(display),$get(notplayed))
I got 3 sorts of music
1) mp3 watched by my media library and got a playcount (=working fine with dynamic ratings)
2) mp3 not watched by media library and got a playcount (= not working fine)
3) dynamic URLs (radio streams) not watched by media library and got a playcount (= not working fine)
4) mp3 not watched by media library but got no playcount after playing (thats a problem related only to foo_playcount)
Ok, the second and third type of music are the strange ones.
These mp3 files aren't included to my media library, ok.
And they got growing playcounts from foo_playcount, thats ok too.
Now my question: carpman's column code is showing 1 dot/star even for these files without a calculated dynamic rating.
Can I tweak this code to hide this dot for files which
- has playcount stats
- but aren't included to media library
Thanks
PS: I read yirkhas statement to exclude files from calculation which aren't in ML.
But I wish he would rethink this and add an option to include even those files (e.g. with a big hint "this will slowdown your foobar's start time dramatically! Use at own risk"