HydrogenAudio

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: vmartins on 2013-02-21 12:04:47

Title: Playlist highLight and Time lapse code?
Post by: vmartins on 2013-02-21 12:04:47
Hi to all,
I'm using Foobar2000 as a simple drag a drop audio player for some time and is great but I'm missing some useful info that probably is very easy to add for people that know code.

I just need the info of the playlist duration and if possible the ending time prediction based on my system time clock
Other thing would be to highlight the music that is playing instead of the playing tab info.

I've been playing around with the Playback state display formatting at the status bar code in the Default user interface of the Display preferences but can't seem to make it work.
Could anyone help me out with this please???

thanks a lot for the help
Vasco
Title: Playlist highLight and Time lapse code?
Post by: kode54 on 2013-02-21 12:52:39
Sorry, title formatting scripts do not get access to information which requires processing the entire playlist. You will notice that the Default (and I think also Columns) UI module(s) have optional status bar displays for both total time and volume. The total time display will count either the current selection, or the current playlist. Either optional display may be enabled by activating the status bar's context menu, usually with a right click.
Title: Playlist highLight and Time lapse code?
Post by: vmartins on 2013-02-21 13:57:50
Hi,

Thanks for the reply but I can't seem to find this status bar you are talking, I have all selected in the preferences -> Display -> columns UI ->  status bar . but it doesn't show anywhere !!!
And the colors change I make don't seem to make any effect!!!

Thanks for any help
Vasco

Sorry, title formatting scripts do not get access to information which requires processing the entire playlist. You will notice that the Default (and I think also Columns) UI module(s) have optional status bar displays for both total time and volume. The total time display will count either the current selection, or the current playlist. Either optional display may be enabled by activating the status bar's context menu, usually with a right click.

Title: Playlist highLight and Time lapse code?
Post by: kode54 on 2013-02-21 14:38:15
Status bar, bottom of window. You know, in case you're using a normal looking window, like this:

(http://i.imgur.com/iOHNBmL.png)
Title: Playlist highLight and Time lapse code?
Post by: vmartins on 2013-02-21 15:23:27
Hi,
yes, was in this status bar code I was trying to add the functions but it doesn't seem to work!!!
Or simple the most probable reason I don't know the syntax to make or I need!!

the Line I was trying to change is in Default User Interface in the preferences menu

If anyone know how to make it please help
thanks in advance
best regards
Vasco
Title: Playlist highLight and Time lapse code?
Post by: Andreasvb on 2013-02-21 16:58:32
Then why are you using Columns UI?
Title: Playlist highLight and Time lapse code?
Post by: vmartins on 2013-02-21 17:11:47
Then why are you using Columns UI?



Hi, thank for joining in...

Nop, I'm using a costume Default user interface, that has a Playback state display formatting fields for edition
here is where I want to add the time lapse display for the entire playlist but I don't have the know how!!!

is it possible??
best regards
Title: Playlist highLight and Time lapse code?
Post by: db1989 on 2013-02-21 17:40:06
I'm using a costume Default user interface, that has a Playback state display formatting fields for edition
here is where I want to add the time lapse display for the entire playlist but I don't have the know how!!!
Once again:
Sorry, title formatting scripts do not get access to information which requires processing the entire playlist.
Title: Playlist highLight and Time lapse code?
Post by: vmartins on 2013-02-22 09:10:00
Thanks for all the feedback,
hope this will be available in future versions updates anyway

Best regards to all
Title: Playlist highLight and Time lapse code?
Post by: kode54 on 2013-02-22 19:34:29
Formatting information from multiple tracks into a single track display line will never be available, at least not for the playlist. Nobody wants O(n^2) going on there.
Title: Playlist highLight and Time lapse code?
Post by: vmartins on 2013-02-25 12:12:57
Hi,
So showing the total time of a playlist or the remaining time of a playlist will never be available !!! in a media player that is proud to say it can be full customized !!!
Strange... but thanks for the feedback

best regards
Vasco

Formatting information from multiple tracks into a single track display line will never be available, at least not for the playlist. Nobody wants O(n^2) going on there.

Title: Playlist highLight and Time lapse code?
Post by: dhromed on 2013-02-25 13:36:57
So showing the total time of a playlist or the remaining time of a playlist will never be available !!!


That's not the same thing.

What is says is that generic user-writable scripts that operate on the entire set of items in a playlist will not be available.

What's displayed in the status bar works essentially the same as any single item in a playlist, so functions that operate on the entire playlist would incur incredible processing overhead.

You can always right-click the status bar and enable Show Total Time of Selection, though that's not precisely what you're looking for.