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 815315 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_uie_trackinfo

Reply #601
is it possible to display db level in the trackinfo panel?  i could get rid of my status bar if this is the case.

foo_uie_trackinfo

Reply #602
All I want is how many times a song has been played and what date it was played last. 

Another thing, do the play records start from now or from when I started using Foobar 0.9?

foo_uie_trackinfo

Reply #603
This question seems really dumb, but how do I add one of these to the top, above the playlist view? I found the Columns UI Layout tab but I can't make it do anything useful.

foo_uie_trackinfo

Reply #604
I have a question about coding in track info:

screenshot

I want to know if one is able to have one line of text with different text alignment. Personally I don't think that's possible... even in MS Word.
Well, I just want to have the artist-title align to the left, while the song position/elapsed on the right... without using 2 lines. And also, it seems like $tab() doesn't work for me.

If anyone has an idea... please help!

Thanks

moderation: please refrain from inlining images larger than roughly 800x600 and 80KB. please use thumbnails and/or links for large pictures instead.

foo_uie_trackinfo

Reply #605
well in ms word you can if you make tab markers
as for this i am not so sure

foo_uie_trackinfo

Reply #606
it would work in track info if $char(9) would work...

foo_uie_trackinfo

Reply #607
hi, i want to change my time format from american to west-european.

here is my code so far, i guess i have to change somethign in it:

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),
January,February,March,April,May,June,July,August,September,October,November,December))

// 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))

i want a 24-hour system and i dont like this "th" after the number of the day.

hope somebody could help me out.

foo_uie_trackinfo

Reply #608
I have a question about coding in track info:

screenshot

I want to know if one is able to have one line of text with different text alignment. Personally I don't think that's possible... even in MS Word.
Well, I just want to have the artist-title align to the left, while the song position/elapsed on the right... without using 2 lines. And also, it seems like $tab() doesn't work for me.

If anyone has an idea... please help!

Thanks

moderation: please refrain from inlining images larger than roughly 800x600 and 80KB. please use thumbnails and/or links for large pictures instead.


You could do this in two ways (that I know of, and I don't know too much, lol).

First the hard way.

I would figure out how many characters can go across the whole thing (lets say for sake of example, 20). Next, with that number, I would limit how long the artist-title can be. Lets say, I limit that to 12 characters.

If the artist-title is longer than 12, have it cut down to 12. If it is lower than two, pad it with spaceing after it till it reaches 12.

I would then have it count the characters for song position/elasped, and it has room for 8 characters (20-12). Would subtract the amount the song position/elasped takes, then pad it with characters BEFORE the song position/elasped, so that it is pressed all the way to the right.


The second way, I believe, would be to just create two different infoboxs that are side-by-side. Have the first one set to $char(1)R and the other as $char(1)L ...

foo_uie_trackinfo

Reply #609
Code: [Select]
$puts(a,%album%)
$puts(t,%_time_elapsed% / %_time_total%)
$padcut($get(a),25)
$padcut_right($get(t),50)


There ya go.

Edit: Yeah, as you can see, I wasn't thinking when I wrote the prior post. Still really rusty on my coding lol. It is just mostly trial and error =\

foo_uie_trackinfo

Reply #610
Thanks for your response.
I tried out the idea with your code, and realized that it is kind of hard to line up since my font is not fixed width... It's a good idea, and I am still trying to tweak it...

Anyone know why $tab() or $char(9) won't work?


foo_uie_trackinfo

Reply #612
All I want is how many times a song has been played and what date it was played last. 

Another thing, do the play records start from now or from when I started using Foobar 0.9?


Anyone?


foo_uie_trackinfo

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


Thank you, thats perfect. 

All the albums I've played today(in my playlist) are in the log now too.


edit - Sorry to be a pain, I saw it somewhere. Whats the code for making the date:

24-04-06
If it were the 24th April 2006, English has day/month/year...

foo_uie_trackinfo

Reply #615
I'm using the following to display comments in a second instance of Track Info.
%comment%$char(10)
The problem is that the comments only show when the song is playing. When stopped, it only shows a "?".
Any ideas?

Thanks.

 

foo_uie_trackinfo

Reply #616
What about "[%comment%]"?


foo_uie_trackinfo

Reply #618
doubleclick on the panel


foo_uie_trackinfo

Reply #620


What about "[%comment%]"?

Same problem only now it displays nothing when not playing.

In "Track info" change "Mode:" from "Now playing" to "Follow cursor". This should make all of your tag info show when you click on a file.

Thanks! After two years of this you'd think I could have figured that out. Geez.

foo_uie_trackinfo

Reply #621

What about "[%comment%]"?

Same problem only now it displays nothing when not playing.


I use the following code, maybe it helps
Code: [Select]
$puts(noinf,$get(red)'(n/a)')

$puts(artistinfo,$get(blue-light)Artist: $get(grey)$if2(%artist%,$get(noinf)))
... same for album, title etc.

$if(
$strcmp(%_trackinfo_mode%,Now playing),
$if(
$or(%isplaying%,%ispaused%),
$get(artistinfo),
$get(grey-light)Artist:
),
$get(artistinfo)
)

$char(10)
... same for album, title etc.

when i selcect "follow cursor" or now playing mode and play the file it looks like this:
[a href="http://img135.imageshack.us/my.php?image=play3nz.jpg" target="_blank"]  )

greetings
nlights

foo_uie_trackinfo

Reply #622


What about "[%comment%]"?

Same problem only now it displays nothing when not playing.

In "Track info" change "Mode:" from "Now playing" to "Follow cursor". This should make all of your tag info show when you click on a file.


Where can I change this? I read the first post, but I don't understand how to set the mode to "Follow cursor". Thanks.

P.S. I'm using fb2k 0.9 and track_info 0.5

foo_uie_trackinfo

Reply #623
Just double-click or middle-click on the panel, it should change it's mode.

foo_uie_trackinfo

Reply #624
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?