foo_uie_trackinfo, now-playing/selected-item panel |
![]() ![]() |
foo_uie_trackinfo, now-playing/selected-item panel |
Nov 13 2004, 09:30
Post
#1
|
|
|
Group: Members Posts: 333 Joined: 1-February 03 Member No.: 4829 |
I figured it would be handy to have a sidebar panel that displayed some info (via TAGZ) about the currently playing or currently selected track. This will probably be a little redundant for people with complex/complete playlist displays, but for others that have limited info displayed in their playlist I hope this will be useful to you.
Check out a basic screenshot here. The panel has two modes:
You can configure the display for all modes using a single TAGZ formatting string in the preferences. It supports the regular TAGZ and special fields (%_isplaying%,%_ispaused%,%_time_total%,etc), plus a few specific to the panel:
Latest version (0.1.1): foo_uie_trackinfo.dll foo_uie_trackinfo-src.zip Note: Make sure you download foo_ui_columns v0.1.2 beta 4 (or newer) if you are expecting to add this panel to a sidebar (as seen in the screenshot). Uses some code from kode54's foo_osd, and foosion's foo_history. Formatting string used in screenshot: CODE $if(%_trackinfo_notrack%, $char(10)$char(10)$char(1)CNo track playing, $char(1)Ca0caf3%_trackinfo_mode% mode$char(10) $char(1)C$if(%_isplaying%,$select($add(1,$mod(%_time_remaining_seconds%,4)), ,.,..,...),)$char(10) dcab50Artist:$char(10) $char(1)C4040ff%artist%$char(10) dcab50Title:$char(10) $char(1)C4040ff%title%$char(10) dcab50Release:$char(10) $char(1)C4040ff%album%) You can stop reading now This post has been edited by Phi: Dec 7 2004, 11:07 |
|
|
|
Nov 13 2004, 11:02
Post
#2
|
|
![]() Group: Members Posts: 99 Joined: 9-June 02 From: England Member No.: 2253 |
Great plugin!
keep up the good work -------------------- "If you cannot read this, please ask the flight attendant for assistance."
- United Airlines Flight Safety Brochure |
|
|
|
Nov 13 2004, 11:54
Post
#3
|
|
![]() Group: Members Posts: 99 Joined: 9-June 02 From: England Member No.: 2253 |
This is just a quick thing i came up with, will fefine it a little more later
Screenshot and heres the code CODE $if(%_trackinfo_notrack%, $char(10)$char(10)$char(1)CNo track playing, $char(1)C$if(%_isplaying%,$select($add(1,$mod(%_time_remaining_seconds%,4)), ,.,..,...),)$char(10) $char(1)C000000Album Information$char(10) 000000Artist: 4040ff%artist%$char(10) 000000Title: 4040ff%title%$char(10) 000000Album: 4040ff%album%)$char(10)$char(10) $char(1)C000000Technical Information$char(10) 000000Track Bitrate: 4040ff%__bitrate% Kbit/s$char(10) 000000Time: 4040ff%_time_elapsed% / %_time_total%$char(10) 000000Track Gain: 4040ff%__replaygain_track_gain%$char(10) 000000Album Gain: 4040ff%__replaygain_album_gain%$char(10) hmm it seems to get rid of the squares around the colour codes :/ This post has been edited by Saint: Nov 13 2004, 11:56 -------------------- "If you cannot read this, please ask the flight attendant for assistance."
- United Airlines Flight Safety Brochure |
|
|
|
Nov 13 2004, 12:25
Post
#4
|
|
|
Group: Members Posts: 808 Joined: 10-June 03 From: Zaragoza Member No.: 7113 |
Thanks!
Playing with it right now.... -------------------- Iván
My Blog: http://www.ivancastell.org |
|
|
|
Nov 13 2004, 12:28
Post
#5
|
|
![]() Group: Members Posts: 71 Joined: 23-July 04 From: Australia Member No.: 15689 |
Yeah great work, thanks been hoping for something like this for a while.
-------------------- You're talking to my guy all wrong... It's the wrong tone. Say it again, and i'll stab you in the face with a soldering iron!
|
|
|
|
Nov 13 2004, 13:12
Post
#6
|
|
![]() Group: Members Posts: 1317 Joined: 4-January 03 From: Finland Member No.: 4418 |
Great work!
Damn I just love all these new UIEs Also, could you add a "word wrap" feature? This would be really useful for displaying lyrics, as the lines tend to get clipped. Also a vertical scrollbar would also be nice when the displayed info doesn't fit... This post has been edited by anza: Nov 13 2004, 13:23 |
|
|
|
Nov 13 2004, 13:22
Post
#7
|
|
|
Group: Members Posts: 55 Joined: 10-July 04 Member No.: 15270 |
|
|
|
|
Nov 13 2004, 14:19
Post
#8
|
|
![]() Group: Members Posts: 599 Joined: 9-October 03 From: ZZ 9 Plural Z Alpha Member No.: 9230 |
I was thinking about album art too, but right now this seems to be text only...I hope an album art UIE can be implemented, sadly I'm not good in foobar component programming
-------------------- Life is Real...
(But not in audio :) ) |
|
|
|
Nov 13 2004, 16:42
Post
#9
|
|
![]() Group: Members Posts: 123 Joined: 10-April 04 Member No.: 13389 |
for me to album art is real a must...
edit: typo This post has been edited by linus: Nov 21 2004, 12:31 |
|
|
|
Nov 13 2004, 16:46
Post
#10
|
|
|
Group: Members Posts: 21 Joined: 28-August 04 Member No.: 16587 |
Coool uie
-------------------- Russian foobar2000 site: www.foobar2000.h12.ru
--- Splinter |
|
|
|
Nov 13 2004, 17:28
Post
#11
|
|
![]() Group: Members Posts: 184 Joined: 10-July 04 Member No.: 15291 |
plz add option to see the album cover. it will be really great.
|
|
|
|
Nov 13 2004, 17:29
Post
#12
|
|
|
Group: Members Posts: 100 Joined: 8-February 02 Member No.: 1288 |
Great plugin so far.
But it would be even usefuller to me, if one could add it to the toolbar. Is this possible? Thanks |
|
|
|
Nov 13 2004, 18:10
Post
#13
|
|
![]() Group: Members Posts: 1099 Joined: 18-March 03 From: Oslo, Norway Member No.: 5569 |
QUOTE (Schinkentoni @ Nov 13 2004, 06:29 PM) Great plugin so far. Preferences->Display->Columns UI->Other->List all toolbarsBut it would be even usefuller to me, if one could add it to the toolbar. Is this possible? Thanks Edit: Phi, could you please add support for $tab() ? Edit2: And maybe make "dynamic info" optional? Display is flickering from time to time, and I suppose it's wasting some CPU cycles too when you don't have animations. Just a thought... Btw: Thanks for making yet another plugin/panel This post has been edited by upNorth: Nov 13 2004, 19:17 |
|
|
|
Nov 13 2004, 18:55
Post
#14
|
|
![]() Group: Members Posts: 110 Joined: 29-July 04 Member No.: 15867 |
Great. Anyone have a cool format string to post?
EDIT: Suggestion: Double clicking the information area brings up the special info tag editor. This post has been edited by jokull: Nov 13 2004, 19:18 |
|
|
|
Nov 13 2004, 20:59
Post
#15
|
|
|
Group: Members Posts: 94 Joined: 7-January 04 Member No.: 11009 |
Phi, thanks for this great UIE! Been waiting for this ever since panel support was added to Columns UI.
Request: Besides now playing and follow cursor modes, could you add an additional mode that automatically switches to now playing mode when a track is currently playing and back to follow cursor when no track is playing? |
|
|
|
Nov 13 2004, 21:25
Post
#16
|
|
![]() Group: Members Posts: 51 Joined: 7-August 04 Member No.: 16082 |
QUOTE (jokull @ Nov 13 2004, 07:55 PM) I don't know if it's cool, but anyway here it is: CODE $char(1) Mode: %_trackinfo_mode%$char(10)$char(10)$if(%_trackinfo_notrack%,No track, ------------------------------------------------------------------------------------------$char(10) $char(1)CAbout the song:$char(10) Artist: %artist%$char(10) Title: %title% ->%_length%<-$char(10) Album: $if3(%album%,still unknown))$char(10) Release date: $if3(%date%,not available yet)$char(10) Comments: $if3(%comment%, no comments available)$char(10) ------------------------------------------------------------------------------------------$char(10) $char(1)CTechnical stuff:$char(10) $char(1)CCodec: %__codec% Bitrate: %__bitrate% Kbit/s$char(10) Track Gain: $if3(%__replaygain_track_gain%, RG not applied)$char(10) Album Gain: $if3(%__replaygain_album_gain%, RG not applied)$char(10) ------------------------------------------------------------------------------------------$char(10) $char(1)CStatistics:$char(10) This song was played %play_counter% times so far. $char(10) Last played: %play_date% at %play_time%$char(10) My rating: $if3(%rating% stars, not rated) screenshot:
This post has been edited by stroke: Nov 13 2004, 21:31 -------------------- I felt weak, perhaps I was.
|
|
|
|
Nov 13 2004, 22:17
Post
#17
|
|
|
Group: Members Posts: 21 Joined: 28-August 04 Member No.: 16587 |
My fstring
screenshot http://img103.exs.cx/my.php?loc=img103&ima...ooooooooooo.png CODE DCAE8DMode: %_trackinfo_mode%$char(10)$if(%_trackinfo_notrack%,No track,
$char(1)C0CEBA4Song Info$char(10) D7B997Title: ffffff%title%$char(10) D7B997Artist: F3EAE0%artist%$char(10) D7B997Album: F3EAE0%album%$char(10) D7B997Date: F3EAE0%date%)$char(10) D7B997Genre: F3EAE0%genre%$char(10) $char(1)C0CEBA4Tech Info$char(10) D7B997Codec: F3EAE0%__codec% $char(10) D7B997Bitrate: F3EAE0%__bitrate% Kbit/s$char(10) D7B997Samplerate: F3EAE0%__samplerate% Hz$char(10) D7B997Channels: F3EAE0$if(%__channels%,$ifgreater(%__channels%,2,%__channels%ch,$ifgreater(%__channels%,1,' 'Stereo,''Mono)),)$char(10) D7B997Time: F3EAE0%_time_elapsed% / %_time_total%$char(10) $puts(theme,1) // progressbar config $puts(progress_char,█) $puts(progress_length,20) $if($strcmp($get(theme),1), $puts(progress_color1,$rgb(164,235,12)) $puts(progress_color2,$rgb(54,106,179)) ) // PREPARE COLOR-STRINGS // ========================================= $puts(progress_color1a,$blend($get(progress_color1),000000,1,4.5)) $puts(progress_color2a,$blend($get(progress_color2),000000,1,5.7)) // progressbar $puts(progressbar, $if(%_length_seconds%, $puts(progress,$muldiv(%_time_elapsed_seconds%,$get(progress_length),%_length_seconds%)) $transition($repeat($get(progress_char),$get(progress)),$get(progress_color1a),$get(progress_color1)) $transition($repeat($get(progress_char),$sub($get(progress_length),$get(progress))),$get(progress_color2a),$get(progress_color2)) $pad_right($muldiv(%_time_elapsed_seconds%,100,%_length_seconds%),3)'%' ,streaming... ) ) $get(progressbar) -------------------- Russian foobar2000 site: www.foobar2000.h12.ru
--- Splinter |
|
|
|
Nov 13 2004, 22:55
Post
#18
|
|
|
Group: Members Posts: 319 Joined: 9-October 03 Member No.: 9218 |
free: nice.
|
|
|
|
Nov 13 2004, 23:35
Post
#19
|
|
![]() Group: Members Posts: 568 Joined: 6-May 02 From: Warsaw / Poland Member No.: 1977 |
CODE $select($add(1,$mod(%_time_elapsed_seconds%,10)), o $char(10)<!> $char(10)< >$char(10)$char(10), o/$char(10)<! $char(10) <>$char(10) $char(10), o>$char(10)<! $char(10) <>$char(10)$char(10),<o> $char(10) ! $char(10)< >$char(10)$char(10),<o/ $char(10) ! $char(10)/ >$char(10)$char(10), o $char(10)'/!,' $char(10)/ >$char(10)$char(10), o $char(10)',!>' $char(10) >>$char(10)$char(10), o $char(10)'<!,'$char(10)<< $char(10) $char(10), o/$char(10)/! $char(10) >>$char(10) $char(10), o> $char(10)/! $char(10)/ > $char(10) ) (hint: fixed width font recommended) |
|
|
|
Nov 14 2004, 01:03
Post
#20
|
|
![]() Group: Members Posts: 1099 Joined: 18-March 03 From: Oslo, Norway Member No.: 5569 |
|
|
|
|
Nov 14 2004, 01:09
Post
#21
|
|
|
Group: Members Posts: 319 Joined: 9-October 03 Member No.: 9218 |
Messer: best thing I've seen all day
|
|
|
|
Nov 14 2004, 05:01
Post
#22
|
|
![]() Group: Members Posts: 295 Joined: 27-March 04 Member No.: 13034 |
QUOTE (free @ Nov 13 2004, 01:17 PM) Can you tell me where you got those playback buttons? I'd love to have those for my foobar2000 configuration. |
|
|
|
Nov 14 2004, 08:09
Post
#23
|
|
|
Group: Members Posts: 149 Joined: 6-May 04 Member No.: 13926 |
stroke mod
CODE $char(1) Mode: ffffff%_trackinfo_mode%$char(10)$char(10)$if(%_trackinfo_notrack%,No track, ------------------------------------------------------------------------------------------$char(10) $char(1)CAbout the song:$char(10) Artist: ffffff%artist%$char(10) Title: ffffff%title%$char(10)Time: ffffff$if(%_isplaying%,%_time_elapsed% '/' )%_length%$char(10) Track Number: ffffff$num(%tracknumber%,1)$char(10) Album: ffffff$if3(%album%,still unknown))$char(10) Release date: ffffff$if3(%date%,not available)$char(10) ------------------------------------------------------------------------------------------$char(10) $char(1)CTechnical stuff:$char(10) $char()Codec: ffffff%__codec% $char(10)Bitrate: ffffff%__bitrate% Kbit/s$char(10) Track Gain: ffffff$if3(%__replaygain_track_gain%, RG not applied)$char(10) Album Gain: ffffff$if3(%__replaygain_album_gain%, RG not applied)$char(10) $if(%play_counter%,------------------------------------------------------------------------------------------$char(10) $char(1)CStatistics:$char(10) This song was played ffffff%play_counter% times. $char(10) Last played: ffffff%play_date% at ffffff%play_time%)
|
|
|
|
Nov 14 2004, 08:18
Post
#24
|
|
|
Group: Members Posts: 333 Joined: 1-February 03 Member No.: 4829 |
QUOTE (anza @ Nov 13 2004, 11:12 PM) Great work! Damn I just love all these new UIEs Also, could you add a "word wrap" feature? This would be really useful for displaying lyrics, as the lines tend to get clipped. Also a vertical scrollbar would also be nice when the displayed info doesn't fit... Thanks. Heh. I just updated uie_tabs. Word wrap is a possibility. Technically, you could do it with TAGZ, but the code required gets a bit repetitive. Scrollbar maybe, it would need a bit of a redesign to support that though. QUOTE (upNorth @ Nov 14 2004, 04:10 AM) Edit: Phi, could you please add support for $tab() ? Edit2: And maybe make "dynamic info" optional? Display is flickering from time to time, and I suppose it's wasting some CPU cycles too when you don't have animations. Just a thought... Btw: Thanks for making yet another plugin/panel Yep. I'd planned $tab support for this release, but ran into a few problems. I'll see if I can fix it. And I'll add disabling dynamic info to my todo as well. There is also something I need to try to eliminate of the flickering (not sure if it will make a difference though). QUOTE (jokull @ Nov 14 2004, 04:55 AM) Yes, thats planned (maybe not with double-click though). The executed command will be configurable. QUOTE (desigrid @ Nov 14 2004, 06:59 AM) Request: Besides now playing and follow cursor modes, could you add an additional mode that automatically switches to now playing mode when a track is currently playing and back to follow cursor when no track is playing? Yeah, I could do that. It'll probably take the form of an option in the preferences to "switch to follow cursor mode when no track is playing." Just to confirm, would you want changing playlist focus to never affect the currently displayed track while a song is playing? Or would you want the displayed track to change when a new song starts, but also allow a change in playlist focus to affect the displayed track? EDIT: actually, you'd want to be able to switch to and from that mode without going into the prefs, right? @messer: Haha. I'm glad the plugin is being put to good use. This post has been edited by Phi: Nov 14 2004, 08:34 |
|
|
|
Nov 14 2004, 08:49
Post
#25
|
|
|
Group: Members Posts: 94 Joined: 7-January 04 Member No.: 11009 |
QUOTE (Phi @ Nov 13 2004, 11:18 PM) Just to confirm, would you want changing playlist focus to never affect the currently displayed track while a song is playing? Or would you want the displayed track to change when a new song starts, but also allow a change in playlist focus to affect the displayed track? The former... Thanks Phi! |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 21st May 2013 - 20:08 |