IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
ColumnsUI / Tagzscript / Enqueued Files Question
iOsiris
post Aug 8 2006, 04:31
Post #1





Group: Members
Posts: 175
Joined: 4-June 05
Member No.: 22520



I looked at the Titleformatting script manual but I could not find a solution. I was wondering if there was anyway to mark songs which have been queued up. Ie: On the playlist view, add a [1] (for the next song queued), [2] (the one after, etc) I believe Winamp does something like this, is there anyway of doing this in Foobar?
Go to the top of the page
+Quote Post
pepoluan
post Aug 8 2006, 08:12
Post #2





Group: Members
Posts: 1455
Joined: 22-November 05
From: Jakarta
Member No.: 25929



AFAIK, no.


--------------------
Nobody is Perfect.
I am Nobody.

http://pandu.poluan.info
Go to the top of the page
+Quote Post
db1989
post Aug 8 2006, 10:28
Post #3





Group: Super Moderator
Posts: 5275
Joined: 23-June 06
Member No.: 32180



I think a method of highlighting queued tracks or allowing to view the current playback queue (e.g. in the console) would be handy. Is there any chance of something like this?
Go to the top of the page
+Quote Post
gfngfgf
post Aug 9 2006, 00:38
Post #4





Group: Members
Posts: 899
Joined: 2-November 04
Member No.: 17951



foo_pqview will allow you to view the playback queue, but not edit it.
Go to the top of the page
+Quote Post
iOsiris
post Aug 9 2006, 00:44
Post #5





Group: Members
Posts: 175
Joined: 4-June 05
Member No.: 22520



thanks for the headups sleep.gif
Go to the top of the page
+Quote Post
vlada
post Aug 14 2006, 23:54
Post #6





Group: Members
Posts: 401
Joined: 7-January 04
Member No.: 11023



QUOTE (iOsiris @ Aug 8 2006, 05:31) *
I looked at the Titleformatting script manual but I could not find a solution. I was wondering if there was anyway to mark songs which have been queued up. Ie: On the playlist view, add a [1] (for the next song queued), [2] (the one after, etc) I believe Winamp does something like this, is there anyway of doing this in Foobar?


I just got the same idea as you today and tried looking for a solution. It's a shame that this is not possible. But I think it might be added as a feature in next foobar2000 release. A tag %queue% which would have a value of 0 if the track is not queued or it would be the number of the track.

Edit: I just discovered a component which might help us. It is foo_cwb_hooks by cwbowron. Let's hope this feature will be implemented soon.

This post has been edited by vlada: Aug 15 2006, 00:13
Go to the top of the page
+Quote Post
Yotsuya
post Aug 30 2006, 18:53
Post #7





Group: Members
Posts: 1535
Joined: 8-May 06
Member No.: 30546



Using foo_cwb_hooks, here's some code to highlight any songs in queue and append their position(s) to the end of the title column:

1) Set the color for the background of queued items in your globals (note also added an entry for selected items):
CODE
$set_global(color.bg.queue,$rgb(255,0,128))
$set_global(color.bg.selected,$rgb(10,36,106))


2) For every column you want colored (probably all of them) add this bit of code to your style tab:
CODE
$if(%cwb_queueindex%,$set_style(back,$get_global(color.bg.queue),$get_global(color.bg.selected)),)


3) Add this to your title column display tab to show the position(s):
CODE
$if(%cwb_queueindex%,$tab()$char(91)%cwb_queueindexes%$char(47)%cwb_queuelength%$char(93),)
Go to the top of the page
+Quote Post
iOsiris
post Aug 30 2006, 19:05
Post #8





Group: Members
Posts: 175
Joined: 4-June 05
Member No.: 22520



^^ Thanks Yotsuya
Go to the top of the page
+Quote Post
Generalverdacht
post Aug 30 2006, 21:23
Post #9





Group: Members
Posts: 238
Joined: 20-March 06
Member No.: 28640



yeah, nice! thanks for the code and cwb_hooks!
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd December 2014 - 02:49