Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_uie_trackinfo (Read 819138 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_uie_trackinfo

Reply #625
I fear you can't do that, at least I don't know how and have never seen that kind of effect in anyone's screenshot.

foo_uie_trackinfo

Reply #626
Sorry if this had been answered before but after two days looking for it I couldn't find anything.
Is it possible to code font size so that I can have several font sizes inside the same trackinfo window?

no.

foo_uie_trackinfo

Reply #627
Well, I must say that I was convinced I would get this answer.
Thanks anyway.
At least I can stop searching for it.
Now, can you please tell me where can I get a more complete information about TAGZ? I’ve found some tutorials but not a real document with all the tags and functions.

foo_uie_trackinfo

Reply #628
You're probably looking for this

foo_uie_trackinfo

Reply #629
Well, a new version of my trackinfo-string. (See code for changes)


wouldnt it be easier for the spacer to put:

$puts(spacer,d6d6d6$repeat(-,90)$char(10))


foo_uie_trackinfo

Reply #631
Quote
' date='Apr 13 2006, 11:18 PM' post='382182']
You're probably looking for this


Thanks Shade[ST].
Foobar2000 is the best but I was lost!!
Not anymore.

foo_uie_trackinfo

Reply #632
It fails to load for me with foobar 0.9, columns UI 0.1.3 pre-alpha 17v6. I'm also using foo_browser. Are there any other dependancies?

foo_uie_trackinfo

Reply #633
Please make it possible to align both left and right on the same line.

foo_uie_trackinfo

Reply #634
http://www.foobar2000.org/components/index.html

Download Playback Statistics. Use %play_count% and %last_played%. Statistics are kept from when you first install the plug-in.


I have downloaded Playback Statistics but using the code below in my Track Info panel nothing shows! Also, the data is not written to the tag. What am I missing here?

$puts(play_count)
$puts(last_played)

foo_uie_trackinfo

Reply #635
use:

$meta(play_count)
$meta(last_played)

or

%play_count%
%last_played%

or

$add(%play_count%,%play_counter%) <-----for compatibility
%last_played%

or, if you want your time stamp to look fancy:
Code: [Select]
// Day Conversion
$puts(day,$substr(%last_played%,9,10))
$if(%last_played%,
$if($strcmp($left($get(day),1),0),$puts(day,$right($get(day),1))))
$if($strcmp($get(day),11),$puts(xx,th),
$if($strcmp($get(day),12),$puts(xx,th),
$if($strcmp($get(day),13),$puts(xx,th),
$if($strcmp($right($get(day),1),1),$puts(xx,st),
$if($strcmp($right($get(day),1),2),$puts(xx,nd),
$if($strcmp($right($get(day),1),3),$puts(xx,rd),
$puts(xx,th)))))))

// Month Conversion
$puts(month,$substr(%last_played%,6,7))
$puts(month_name,$select($get(month),
Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec))

// Year Conversion
$puts(year,$substr(%last_played%,1,4))

// Time Conversion
$puts(hour,$substr(%last_played%,12,13))
$puts(min,$substr(%last_played%,14,16))
$puts(sec,$substr(%last_played%,17,19))

// 24 Hour to 12 Hour Conversion
$if($strcmp($left($get(hour),1),0),$puts(hour1,$right($get(hour),1)))
$if($strcmp($left($get(hour),1),1),$puts(hour1,$sub($get(hour),12)))
$if($strcmp($left($get(hour),1),2),$puts(hour1,$sub($get(hour),12)))
$if($strcmp($get(hour),00),$puts(hour1,12))
$if($strcmp($get(hour),10),$puts(hour1,10))
$if($strcmp($get(hour),11),$puts(hour1,11))
$if($strcmp($get(hour),12),$puts(hour1,12))

// AM/PM Conversion
$if($strcmp($get(hour),00),$puts(yy,am))
$if($strcmp($get(hour),10),$puts(yy,am))
$if($strcmp($get(hour),11),$puts(yy,am))
$if($strcmp($get(hour),12),$puts(yy,pm))
$if($strcmp($get(hour),24),$puts(yy,am))
$if($strcmp($left($get(hour),1),0),$puts(yy,am))
$if($strcmp($left($get(hour),1),1),$puts(yy,pm))
$if($strcmp($left($get(hour),1),2),$puts(yy,pm))

// Date Format
$puts(time_of_year,$get(month_name) $get(day)$get(xx)',' $get(year))

// Time Format
$puts(time_of_day,$get(hour1)$get(min)$get(sec) $get(yy))
If you use the above code for %last_played%, replace %last_played% with
Code: [Select]
Last played on $get(time_of_year) at $get(time_of_day)

foo_uie_trackinfo

Reply #636
Actually none of that works as the tags aren't showing a play_count or  last_played. They do show play_counter and play_date tags generated from the old play counter dll from 0.8.3

foo_uie_trackinfo

Reply #637
ok, then. Replace all %last_played%'s with %play_date%'s, and all %play_counter%'s with %play_count%'s.

foo_uie_trackinfo

Reply #638
Hi, i've got a question concerning certain titleformat-fields. I want to show the  playlist index of a track and the total number of tracks in that playlist, eg:
"Track 9 of 45"

i've looked into this titleformatting wiki, which suggests the use of  %_playlist_number% (either with or without a prior underscore) and  %_playlist_total%. Both fields return a "?" however... I also found this:
Code: [Select]
Defined as $num(%_playlist_number%,$len(%_playlist_total%)). Returns the position of the track as index into the playlist. The first track has index 1. The index is padded from the left with zeroes to the same number of digits as the last track.

when i copy that string into my trackinfo panel all i get is a "0". I tried everything in both 0.8.3 and 0.9, I'm at loss. Can someone please help me out?

foo_uie_trackinfo

Reply #639
ok, then. Replace all %last_played%'s with %play_date%'s, and all %play_counter%'s with %play_count%'s.


The problem with that is that Play Statistics doesn't update those tags. Thanks for trying to help though!

foo_uie_trackinfo

Reply #640
hi, i got a problem, i took some code from this thread and tried my luck, but there is an error in it, and probably was before.

Code: [Select]
$if(%rating%,
//Rating
$char(1)C$transition($repeat(─═,2),6c5037,$get(color2))$get(color2) Rating $transition($repeat(═─,2),$get(color2),6c5037)$char(10)
$char(1)C$select(%rating%,
$get(color2)□$get(color1)□□□□,
$get(color2)□□$get(color1)□□□,
$get(color2)□□□$get(color1)□□,
$get(color2)□□□□$get(color1)□,
$get(color2)□□□□ )$char(10)
$char(1)C$get(color1)Song Rated $get(color2)$select(%rating%,One,Two,Three,Four,Five) $get(color1)out of Five$char(10)$char(10)$char(10),$char(10)$get(color1)You Have Not Rated This Song.$char(10)$char(10)$char(10)$char(10))

the problem is: when there is an unrated file, id like to have "zero out of five", and there shoulnd be any symbols, when i rate a file =1, there should be one symbol, two=two and so forth. when i rate 2,3,4 there are all 5 symbols, when i rate 5 the fifth disappears... thats shitty. hope can figure my error out, i cant see it really.

 

foo_uie_trackinfo

Reply #641
the problem is: when there is an unrated file, id like to have "zero out of five", and there shoulnd be any symbols, when i rate a file =1, there should be one symbol, two=two and so forth. when i rate 2,3,4 there are all 5 symbols, when i rate 5 the fifth disappears... thats shitty. hope can figure my error out, i cant see it really.

Why not use
Code: [Select]
$progress(%rating%,5,'$get(color1)*','$get(color2)*')
?


foo_uie_trackinfo

Reply #643
sadly your purpose doesnt either... for me at least

foo_uie_trackinfo

Reply #644
Works fine here. What result do you get?  Have you defined color1 and color2? I get an effect like this:

I'm on a horse.

foo_uie_trackinfo

Reply #645
Here's mine, i used one of your guy's configs..I really appreciate it, as it was one of the last things to make my foobar perfect  muchas gracias


foo_uie_trackinfo

Reply #646
I'd like to use different font sizes on texts. That would be a nice feature.

foo_uie_trackinfo

Reply #647
Here's mine, i used one of your guy's configs..I really appreciate it, as it was one of the last things to make my foobar perfect  muchas gracias



Which one do you use? I'd like to know how to create your "Panel Stack" in fb2k 0.9.

foo_uie_trackinfo

Reply #648
Quick Question, Whats the code for if the file was submitted to last.fm?

foo_uie_trackinfo

Reply #649
Quick Question, Whats the code for if the file was submitted to last.fm?

afaik, there's no real code to see last.fm submissions. the plugin submits after playing for 4 minutes, or 50% so you'll have to create a string that works like that as well. Because i had nothing to do myself, and liked the idea for my own trackinfopanel, i created one:

Code: [Select]
$if(%_isplaying%,$ifgreater(%_time_elapsed_seconds%,240,Scrobbled,$ifgreater($muldiv(%_time_elapsed_seconds%,100,%_time_total_seconds%),50,
Scrobbled,Non-scrobbled)))


This approach does not detect when you skip tracks, so it isnt 100% accurate